Skip to content

Commit 47d8400

Browse files
mark-young-atghsbt
authored andcommitted
Provide a 'Changelog' link on rubygems.org/gems/ostruct
By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/ostruct 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/#metadata
1 parent 3ebb524 commit 47d8400

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ostruct.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ Gem::Specification.new do |spec|
2121

2222
spec.files = [".gitignore", "Gemfile", "COPYING", "BSDL", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/ostruct.rb", "ostruct.gemspec"]
2323
spec.require_paths = ["lib"]
24+
25+
spec.metadata["changelog_uri"] = spec.homepage + "/releases"
2426
end

0 commit comments

Comments
 (0)