Skip to content

Commit a51a970

Browse files
Provide a 'Changelog' link on rubygems.org/gems/carrierwave (#2774)
By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/carrierwave 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
1 parent e76e860 commit a51a970

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

carrierwave.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,6 @@ Gem::Specification.new do |s|
4646
if RUBY_ENGINE != 'jruby'
4747
s.add_development_dependency "pry-byebug"
4848
end
49+
50+
s.metadata["changelog_uri"] = s.homepage + "/blob/master/CHANGELOG.md"
4951
end

0 commit comments

Comments
 (0)