From 55e76b4cc969b0ff6ece433c13fae8084744acf4 Mon Sep 17 00:00:00 2001 From: Jason Garber Date: Tue, 14 Oct 2025 10:44:52 -0400 Subject: [PATCH] [ruby/erb] Add `changelog_uri` to spec metadata (https://github.com/ruby/erb/pull/89) This project's `NEWS.md` file appears to be the closest thing to a changelog file that I could find. The change here links to the file in the released version's branch. RubyGems.org will use this metadata to display a link to this file on the gem's release pages. https://github.com/ruby/erb/commit/85a4f10332 --- lib/erb/erb.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/erb/erb.gemspec b/lib/erb/erb.gemspec index 94edc68682..3793e5d70f 100644 --- a/lib/erb/erb.gemspec +++ b/lib/erb/erb.gemspec @@ -18,6 +18,7 @@ Gem::Specification.new do |spec| spec.metadata['homepage_uri'] = spec.homepage spec.metadata['source_code_uri'] = spec.homepage + spec.metadata['changelog_uri'] = "https://github.com/ruby/erb/blob/v#{spec.version}/NEWS.md" spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }