From ce09b43aa056f8902cd99b7aee253aae725da996 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Tue, 31 Dec 2024 16:53:12 +0000 Subject: [ruby/ostruct] 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 https://github.com/ruby/ostruct/commit/47d84001eb --- lib/ostruct.gemspec | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/ostruct.gemspec b/lib/ostruct.gemspec index 3ffa9c4344..28b5f1f2c0 100644 --- a/lib/ostruct.gemspec +++ b/lib/ostruct.gemspec @@ -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 -- cgit v1.2.3