Skip to content

Commit

Permalink
[ruby/net-protocol] Provide a 'Changelog' link on rubygems.org/gems/n…
Browse files Browse the repository at this point in the history
…et-protocol

By providing a 'changelog_uri' in the metadata of the gemspec
a 'Changelog' link will be shown on https://rubygems.org/gems/net-protocol
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/

ruby/net-protocol@46e78a2a0a
  • Loading branch information
mark-young-atg authored and hsbt committed Dec 25, 2023
1 parent da06c09 commit 24e0f6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/net/net-protocol.gemspec
Expand Up @@ -21,6 +21,7 @@ Gem::Specification.new do |spec|

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = spec.homepage + "/releases"

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
Expand Down

0 comments on commit 24e0f6f

Please sign in to comment.