From 6b676a14deef706d39da1f27bbf3198323de4d22 Mon Sep 17 00:00:00 2001 From: fynsta <63241108+fynsta@users.noreply.github.com> Date: Sat, 22 Jun 2024 23:44:08 +0200 Subject: [PATCH] Add changelog_uri to gemspec Documented here: https://guides.rubygems.org/specification-reference/#metadata Useful for running https://github.com/MaximeD/gem_updater I chose the releases page because `CHANGELOG.md` is missing the newest version, 4.1.1. --- ransack.gemspec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ransack.gemspec b/ransack.gemspec index 3e4e15fd..9bb7a507 100644 --- a/ransack.gemspec +++ b/ransack.gemspec @@ -14,6 +14,10 @@ Gem::Specification.new do |s| s.description = %q{Ransack is the successor to the MetaSearch gem. It improves and expands upon MetaSearch's functionality, but does not have a 100%-compatible API.} s.required_ruby_version = '>= 3.0' s.license = 'MIT' + + s.metadata = { + 'changelog_uri' => "#{s.homepage}/releases/tag/v#{s.version}" + } s.add_dependency 'activerecord', '>= 6.1.5' s.add_dependency 'activesupport', '>= 6.1.5'