From 68c2be09bb2f4e7e0863985dd91919db90c78e05 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Tue, 31 Dec 2024 16:53:12 +0000 Subject: [PATCH] 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 --- ostruct.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ostruct.gemspec b/ostruct.gemspec index 3ffa9c4..28b5f1f 100644 --- a/ostruct.gemspec +++ b/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