Skip to content

Commit c8eaad1

Browse files
mark-young-atgkou
authored andcommitted
[ruby/stringio] Provide a 'Changelog' link on
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 <[email protected]>
1 parent 3b51997 commit c8eaad1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/stringio/stringio.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Gem::Specification.new do |s|
3939
s.required_ruby_version = ">= 2.7"
4040
s.summary = "Pseudo IO on String"
4141

42+
s.metadata["changelog_uri"] = "#{s.homepage}/releases/tag/v#{s.version}"
43+
4244
# s.cert_chain = %w[certs/nobu.pem]
4345
# s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
4446
end

0 commit comments

Comments
 (0)