From c8eaad1804a1887b7d97bab2174e95eed0ad5472 Mon Sep 17 00:00:00 2001 From: mark-young-atg <113439900+mark-young-atg@users.noreply.github.com> Date: Thu, 2 Jan 2025 23:21:20 +0000 Subject: [PATCH] [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 --- ext/stringio/stringio.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/stringio/stringio.gemspec b/ext/stringio/stringio.gemspec index b40b7fc824f422..f9a0742049dd69 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