Skip to content

Commit

Permalink
Use at least solidus_support 0.12.0
Browse files Browse the repository at this point in the history
solidus_support 0.11.0 introduced flickwerk for patch
loading. Somehow this messes with the zeitwerk autoloader
and things acting weird (inflections broken, wrong constant
module nesting, etc.)

0.12.0 reverted flickwerk.
  • Loading branch information
tvdeyen committed Dec 17, 2024
1 parent 77f8302 commit 41a0b8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions core/lib/generators/solidus/install/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ def run_migrations
def install_subcomponents
apply_template_for :authentication, @selected_authentication
apply_template_for :frontend, @selected_frontend
gsub_file "Gemfile", 'gem "solidus_support"', 'gem "solidus_support", ">= 0.12.0"'
bundle_command "install"
apply_template_for :payment_method, @selected_payment_method
end

Expand Down
2 changes: 1 addition & 1 deletion legacy_promotions/solidus_legacy_promotions.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Gem::Specification.new do |s|

s.add_dependency 'solidus_api', s.version
s.add_dependency 'solidus_core', s.version
s.add_dependency 'solidus_support'
s.add_dependency 'solidus_support', '>= 0.12.0'
end
2 changes: 1 addition & 1 deletion promotions/solidus_promotions.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "importmap-rails", "~> 1.2"
spec.add_dependency "ransack-enum", "~> 1.0"
spec.add_dependency "solidus_core", [">= 4.0.0", "< 5"]
spec.add_dependency "solidus_support", "~> 0.5"
spec.add_dependency "solidus_support", ">= 0.12.0"
spec.add_dependency "stimulus-rails", "~> 1.2"
spec.add_dependency "turbo-rails", ">= 1.4"
end

0 comments on commit 41a0b8b

Please sign in to comment.