Skip to content

Commit

Permalink
TMP: Test solidus_support without flickwerk
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.)

Revert happens in solidusio/solidus_support#93

This commit is for testing that the revert works.
  • Loading branch information
tvdeyen committed Dec 17, 2024
1 parent 77f8302 commit 0ebd0ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,5 @@ end

custom_gemfile = File.expand_path('Gemfile-custom', __dir__)
eval File.read(custom_gemfile), nil, custom_gemfile, 0 if File.exist?(custom_gemfile)

gem 'solidus_support', github: 'solidusio/solidus_support', branch: 'revert-flickwerk', require: false
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", github: "solidusio/solidus_support", branch: "revert-flickwerk"'
bundle_command "install"
apply_template_for :payment_method, @selected_payment_method
end

Expand Down

0 comments on commit 0ebd0ac

Please sign in to comment.