[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>
This commit is contained in:
mark-young-atg 2025-01-02 23:21:20 +00:00 committed by git
parent 3b519975d1
commit c8eaad1804

View File

@ -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