From cccaf98d5b73001976dede60c6dab877959e988b Mon Sep 17 00:00:00 2001 From: mark-young-atg <113439900+mark-young-atg@users.noreply.github.com> Date: Sun, 19 Jan 2025 21:12:37 +0000 Subject: [PATCH] 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/ --- acts-as-taggable-on.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/acts-as-taggable-on.gemspec b/acts-as-taggable-on.gemspec index bc793ca6..8afd8c93 100644 --- a/acts-as-taggable-on.gemspec +++ b/acts-as-taggable-on.gemspec @@ -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')