Skip to content

Commit

Permalink
Provide a 'Changelog' link on rubygems.org/gems/acts-as-taggable-on (#…
Browse files Browse the repository at this point in the history
…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/
  • Loading branch information
mark-young-atg authored Jan 19, 2025
1 parent ff8360e commit cccaf98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion acts-as-taggable-on.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Gem::Specification.new do |gem|
gem.require_paths = ['lib']
gem.required_ruby_version = '>= 3.1.0'

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

if File.exist?('UPGRADING.md')
gem.post_install_message = File.read('UPGRADING.md')
Expand Down

0 comments on commit cccaf98

Please sign in to comment.