Skip to content

Commit

Permalink
[ruby/stringio] Provide a 'Changelog' link on
Browse files Browse the repository at this point in the history
rubygems.org/gems/stringio
(ruby/stringio#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

---------

ruby/stringio@8c084bfcdb

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
  • Loading branch information
2 people authored and matzbot committed Jan 2, 2025
1 parent 3b51997 commit c8eaad1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/stringio/stringio.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c8eaad1

Please sign in to comment.