summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Garber <jason@sixtwothree.org>2025-10-14 10:44:52 -0400
committergit <svn-admin@ruby-lang.org>2025-10-14 14:45:28 +0000
commit55e76b4cc969b0ff6ece433c13fae8084744acf4 (patch)
treea745763f5a4a01ec11381b20742b9ec0d24950ee
parentcad692de63d59ef365bce96e78f1baf137919590 (diff)
[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
-rw-r--r--lib/erb/erb.gemspec1
1 files changed, 1 insertions, 0 deletions
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)/}) }