Skip to content

Commit

Permalink
Merge pull request #5812 from MadelineCollier/lock-ransack-version
Browse files Browse the repository at this point in the history
Lock solidus_core.gemspec to ransack '< 4.2'
  • Loading branch information
kennyadsl authored Aug 8, 2024
2 parents f2a32d6 + 1664d10 commit b3111b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<div class="flex gap-4">
<% product = Spree::Product.new(name: "A good product") %>
<% attachment = Object.new.tap { def _1.url(*) "https://placekitten.com/280/200"; end } %>
<% image = Spree::Image.new.tap { _1.define_singleton_method(:attachment) { attachment } } %>
<% image = Spree::Image.new.tap { |img| img.define_singleton_method(:attachment) { attachment } } %>
<% [
Spree::UnitCancel.new,
Spree::TaxRate.new,
Expand Down
4 changes: 3 additions & 1 deletion core/solidus_core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ Gem::Specification.new do |s|
s.add_dependency 'monetize', '~> 1.8'
s.add_dependency 'kt-paperclip', ['>= 6.3', '< 8']
s.add_dependency 'psych', ['>= 4.0.1', '< 6.0']
s.add_dependency 'ransack', '~> 4.0'
# @note ransack 4.2 contains a bug which has not yet been addressed.
# @see https://github.com/activerecord-hackery/ransack/pull/1468
s.add_dependency 'ransack', ['~> 4.0', '< 4.2']
s.add_dependency 'sprockets-rails', '!= 3.5.0'
s.add_dependency 'state_machines-activerecord', '~> 0.6'
s.add_dependency 'omnes', '~> 0.2.2'
Expand Down

0 comments on commit b3111b2

Please sign in to comment.