From 7015cb2479309541c58e4b269d6cb55f097be35e Mon Sep 17 00:00:00 2001 From: Mark Young Date: Tue, 9 Jan 2024 15:47:09 +0000 Subject: [ruby/abbrev] Provide a 'Changelog' link on rubygems.org/gems/abbrev By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/abbrev 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/ https://github.com/ruby/abbrev/commit/9643a03ee8 --- lib/abbrev.gemspec | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/abbrev.gemspec') diff --git a/lib/abbrev.gemspec b/lib/abbrev.gemspec index 50c500bbc7..57ae5738b8 100644 --- a/lib/abbrev.gemspec +++ b/lib/abbrev.gemspec @@ -19,6 +19,7 @@ Gem::Specification.new do |spec| spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage + spec.metadata["changelog_uri"] = spec.homepage + "/releases" spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } -- cgit v1.2.3