Skip to content

Commit

Permalink
Add changelog_uri to gemspec
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fynsta authored Jun 22, 2024
1 parent 489bf8f commit 6b676a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ransack.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6b676a1

Please sign in to comment.