From 3c4b4ea47a7fbf6976508107503cf6013f21704d Mon Sep 17 00:00:00 2001 From: Mark Young Date: Fri, 7 Jun 2024 15:38:41 +0100 Subject: [PATCH] Provide a 'Changelog' link on rubygems.org/gems/cancancan By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/cancancan 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/ --- cancancan.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cancancan.gemspec b/cancancan.gemspec index 2302e1f1..a478ddb3 100644 --- a/cancancan.gemspec +++ b/cancancan.gemspec @@ -10,7 +10,8 @@ Gem::Specification.new do |s| s.authors = ['Alessandro Rodi (Renuo AG)', 'Bryan Rite', 'Ryan Bates', 'Richard Wilson'] s.email = 'alessandro.rodi@renuo.ch' s.homepage = 'https://github.com/CanCanCommunity/cancancan' - s.metadata = { 'funding_uri' => 'https://github.com/sponsors/coorasse' } + s.metadata = { 'changelog_uri' => 'https://github.com/CanCanCommunity/cancancan/blob/develop/CHANGELOG.md', + 'funding_uri' => 'https://github.com/sponsors/coorasse' } s.summary = 'Simple authorization solution for Rails.' s.description = 'Simple authorization solution for Rails. All permissions are stored in a single location.' s.platform = Gem::Platform::RUBY