Skip to content

Commit

Permalink
Set 'changelog_uri' in gemspec to point to CHANGELOG.md
Browse files Browse the repository at this point in the history
Changelog URLs have been valid [metadata](https://guides.rubygems.org/specification-reference/#metadata) since 2017 on RubyGems.org.
Setting `changelog_uri` will add a link "Changelog" link to the Rubygems page for ddtrace https://rubygems.org/gems/ddtrace/
  • Loading branch information
sco11morgan authored Apr 21, 2023
1 parent b8154bc commit 12be880
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ddtrace.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Gem::Specification.new do |spec|

if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.metadata['changelog_uri'] = 'https://github.com/DataDog/dd-trace-rb/blob/master/CHANGELOG.md'
else
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
end
Expand Down

0 comments on commit 12be880

Please sign in to comment.