From ade7d5f9120c01c23f3e63a214d359186b2097eb Mon Sep 17 00:00:00 2001 From: mark-young-atg <113439900+mark-young-atg@users.noreply.github.com> Date: Sun, 9 Jun 2024 16:38:53 +0100 Subject: [PATCH] Provide a 'Changelog' link on rubygems.org/gems/devise-i18n (#361) By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/devise-i18n 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/ --- devise-i18n.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devise-i18n.gemspec b/devise-i18n.gemspec index 9b1a283c..8e801bac 100644 --- a/devise-i18n.gemspec +++ b/devise-i18n.gemspec @@ -30,5 +30,6 @@ Gem::Specification.new do |s| s.add_development_dependency(%q.freeze, [">= 0"]) s.add_development_dependency(%q.freeze, [">= 0"]) s.add_development_dependency(%q.freeze, [">= 0"]) -end + s.metadata["changelog_uri"] = s.homepage + "/blob/master/CHANGELOG.md" +end