Skip to content

Commit 79d8306

Browse files
authored
Add changelog_uri to gemspec (#1499)
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.
1 parent a391edc commit 79d8306

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ransack.gemspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Gem::Specification.new do |s|
1414
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.}
1515
s.required_ruby_version = '>= 3.0'
1616
s.license = 'MIT'
17+
18+
s.metadata = {
19+
'changelog_uri' => "#{s.homepage}/releases/tag/v#{s.version}"
20+
}
1721

1822
s.metadata['changelog_uri'] = 'https://github.com/activerecord-hackery/ransack/blob/main/CHANGELOG.md'
1923

0 commit comments

Comments
 (0)