Skip to content

Commit

Permalink
Properly constrain version of meilisearch ruby gem
Browse files Browse the repository at this point in the history
twiddle-wakka (~>) operator is not meant only for minor versions, its behavior depends on how you specify the version. ~> 0.28 will grab anything >= 0.28 and < 1, while ~> 0.28.0 will grab >= 0.28.0 to < 0.29.

For more information, see meilisearch#386 .
  • Loading branch information
ellnix committed Jan 14, 2025
1 parent d0a6f1a commit cebc486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meilisearch-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 3.0.0'

s.add_dependency 'meilisearch', '~> 0.28'
s.add_dependency 'meilisearch', '~> 0.28.4'
s.add_dependency 'mutex_m', '~> 0.2'
end

0 comments on commit cebc486

Please sign in to comment.