Skip to content

Commit

Permalink
Provide a 'Changelog' link on rubygems.org/gems/terser
Browse files Browse the repository at this point in the history
By providing a 'changelog_uri' in the metadata of the gemspec a
'Changelog' link will be shown on https://rubygems.org/gems/terser
which makes it quick and easy for someone to check on the changes
introduced with a new version.

Details of this functionality can be found on https://guides.rubygems.org/specification-reference/
  • Loading branch information
mark-young-atg committed Jan 26, 2024
1 parent f9f0675 commit 547966a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terser.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "sourcemap", "~> 0.1.1"

spec.metadata["changelog_uri"] = spec.homepage + "/blob/master/CHANGELOG.md"
end

0 comments on commit 547966a

Please sign in to comment.