summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Young <mark.young@atg.auto>2023-12-20 14:25:32 +0000
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-12-25 21:12:49 +0900
commitcb6a556927120eb998f2995dc7fa21e6232d117e (patch)
treeb1ba7e51af7f011f98dac24c1fcde9a152a24d1b
parent4d344dc1948109df55ea8826140c97ec57829b21 (diff)
[ruby/date] 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/ https://github.com/ruby/date/commit/2dea4c011d
-rw-r--r--ext/date/date.gemspec2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/date/date.gemspec b/ext/date/date.gemspec
index 660353ebc5..bd42b1518a 100644
--- a/ext/date/date.gemspec
+++ b/ext/date/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