Skip to content

Commit 8c084bf

Browse files
mark-young-atgkou
andauthored
Provide a 'Changelog' link on rubygems.org/gems/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 --------- Co-authored-by: Sutou Kouhei <[email protected]>
1 parent b9da3fe commit 8c084bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stringio.gemspec

+2
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)