summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormark-young-atg <113439900+mark-young-atg@users.noreply.github.com>2025-01-02 23:21:20 +0000
committergit <svn-admin@ruby-lang.org>2025-01-02 23:21:31 +0000
commitc8eaad1804a1887b7d97bab2174e95eed0ad5472 (patch)
treeb8fc8c4ecc674c74115a184f1a2782259f33ca54
parent3b519975d15d50d5a1c63d4f4d7d406b84564428 (diff)
[ruby/stringio] Provide a 'Changelog' link on
rubygems.org/gems/stringio (https://github.com/ruby/stringio/pull/111) By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/stringio 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/stringio/commit/8c084bfcdb Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
-rw-r--r--ext/stringio/stringio.gemspec2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/stringio/stringio.gemspec b/ext/stringio/stringio.gemspec
index b40b7fc824..f9a0742049 100644
--- a/ext/stringio/stringio.gemspec
+++ b/ext/stringio/stringio.gemspec
@@ -39,6 +39,8 @@ Gem::Specification.new do |s|
s.required_ruby_version = ">= 2.7"
s.summary = "Pseudo IO on String"
+ s.metadata["changelog_uri"] = "#{s.homepage}/releases/tag/v#{s.version}"
+
# s.cert_chain = %w[certs/nobu.pem]
# s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
end