Skip to content

Commit f9254d4

Browse files
mark-young-atgkou
andauthored
Provide a 'Changelog' link on rubygems.org/gems/csv (#327)
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 <kou@cozmixng.org>
1 parent f33c613 commit f9254d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csv.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,6 @@ Gem::Specification.new do |spec|
5555
spec.extra_rdoc_files = rdoc_files
5656

5757
spec.required_ruby_version = ">= 2.5.0"
58+
59+
spec.metadata["changelog_uri"] = "#{spec.homepage}/releases/tag/v#{spec.version}"
5860
end

0 commit comments

Comments
 (0)