From 2dea4c011d87687a32ac24bafcad01e91cadf7e8 Mon Sep 17 00:00:00 2001 From: Mark Young Date: Wed, 20 Dec 2023 14:25:32 +0000 Subject: [PATCH] Provide a 'Changelog' link on rubygems.org/gems/date By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/date 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/ --- date.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/date.gemspec b/date.gemspec index 660353e..bd42b15 100644 --- a/date.gemspec +++ b/date.gemspec @@ -31,4 +31,6 @@ Gem::Specification.new do |s| s.email = [nil] s.homepage = "https://github.com/ruby/date" s.licenses = ["Ruby", "BSD-2-Clause"] + + s.metadata["changelog_uri"] = s.homepage + "/releases" end