Skip to content

Commit

Permalink
Provide a 'Changelog' link on rubygems.org/gems/csv (#327)
Browse files Browse the repository at this point in the history
By providing a 'changelog_uri' in the metadata of the gemspec a
'Changelog' link will be shown on https://rubygems.org/gems/csv 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]>
  • Loading branch information
mark-young-atg and kou authored Jan 8, 2025
1 parent f33c613 commit f9254d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions csv.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,6 @@ Gem::Specification.new do |spec|
spec.extra_rdoc_files = rdoc_files

spec.required_ruby_version = ">= 2.5.0"

spec.metadata["changelog_uri"] = "#{spec.homepage}/releases/tag/v#{spec.version}"
end

0 comments on commit f9254d4

Please sign in to comment.