[ruby/logger] Provide a 'Changelog' link on rubygems.org/gems/logger

By providing a 'changelog_uri' in the metadata of the gemspec a
'Changelog' link will be shown on https://rubygems.org/gems/logger
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/#metadata

https://github.com/ruby/logger/commit/c6c64b02a0
This commit is contained in:
Mark Young 2024-12-31 16:38:37 +00:00 committed by git
parent 80b01cc567
commit 8a9f1e600f

View File

@ -19,4 +19,6 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.5.0"
spec.metadata["changelog_uri"] = spec.homepage + "/releases"
end