From a9b656ce326f0c1cc9bea9398d1374ba77d77f9d Mon Sep 17 00:00:00 2001 From: Mark Young Date: Fri, 7 Jun 2024 15:42:38 +0100 Subject: [PATCH] Provide a 'Changelog' link on rubygems.org/gems/racc By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/racc 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/ --- racc.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/racc.gemspec b/racc.gemspec index b211e01a..c25c0c24 100644 --- a/racc.gemspec +++ b/racc.gemspec @@ -44,6 +44,7 @@ DESC s.required_ruby_version = ">= 2.5" s.rdoc_options = ["--main", "README.rdoc"] s.extra_rdoc_files = ["README.ja.rdoc", "README.rdoc"] + s.metadata["changelog_uri"] = "https://github.com/ruby/racc/releases" if RUBY_PLATFORM =~ /java/ s.files << 'lib/java/racc/cparse-jruby.jar'