Skip to content

Commit cccaf98

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

acts-as-taggable-on.gemspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Gem::Specification.new do |gem|
1414
gem.require_paths = ['lib']
1515
gem.required_ruby_version = '>= 3.1.0'
1616

17-
gem.metadata = { 'rubygems_mfa_required' => 'true' }
17+
gem.metadata = { 'changelog_uri' => gem.homepage + '/blob/master/CHANGELOG.md',
18+
'rubygems_mfa_required' => 'true' }
1819

1920
if File.exist?('UPGRADING.md')
2021
gem.post_install_message = File.read('UPGRADING.md')

0 commit comments

Comments
 (0)