Skip to content

Commit 55e76b4

Browse files
jgarber623matzbot
authored andcommitted
[ruby/erb] Add changelog_uri to spec metadata
(ruby/erb#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. ruby/erb@85a4f10332
1 parent cad692d commit 55e76b4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/erb/erb.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Gem::Specification.new do |spec|
1818

1919
spec.metadata['homepage_uri'] = spec.homepage
2020
spec.metadata['source_code_uri'] = spec.homepage
21+
spec.metadata['changelog_uri'] = "https://github.com/ruby/erb/blob/v#{spec.version}/NEWS.md"
2122

2223
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
2324
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }

0 commit comments

Comments
 (0)