Skip to content

Commit

Permalink
Provide a 'Changelog' link on rubygems.org/gems/ostruct
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mark-young-atg authored and hsbt committed Jan 6, 2025
1 parent 3ebb524 commit 47d8400
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ostruct.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ Gem::Specification.new do |spec|

spec.files = [".gitignore", "Gemfile", "COPYING", "BSDL", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/ostruct.rb", "ostruct.gemspec"]
spec.require_paths = ["lib"]

spec.metadata["changelog_uri"] = spec.homepage + "/releases"
end

0 comments on commit 47d8400

Please sign in to comment.