File tree 3 files changed +4
-18
lines changed
3 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3')
32
32
gem 'async' , '< 3' , require : false
33
33
end
34
34
35
+ # Temporarily use the `solidus_support` gem with Flickwerk support
36
+ gem "solidus_support" , github : "mamhoff/solidus_support" , branch : "re-enable-flickwerk"
37
+
35
38
# 'net/smtp' is required by 'mail', see:
36
39
# - https://github.com/ruby/net-protocol/issues/10
37
40
# - https://stackoverflow.com/a/72474475
Original file line number Diff line number Diff line change 4
4
require 'devise'
5
5
require 'devise-encryptable'
6
6
require 'spree/auth/version'
7
- require 'flickwerk'
7
+
8
8
module Spree
9
9
module Auth
10
10
class Engine < Rails ::Engine
11
11
include SolidusSupport ::EngineExtensions
12
12
13
- include Flickwerk
14
-
15
13
isolate_namespace Spree
16
14
engine_name 'solidus_auth'
17
15
18
16
Spree . user_class = "Spree::User"
19
17
20
- initializer "spree.auth.frontend_patch_paths" , before : "flickwerk.add_paths" do
21
- if SolidusSupport . frontend_available?
22
- patch_paths = root . join ( "lib/patches/frontend" ) . glob ( "*" )
23
- Flickwerk . patch_paths += patch_paths
24
- end
25
- end
26
-
27
- initializer "spree.auth.backend_patch_paths" , before : "flickwerk.add_paths" do
28
- if SolidusSupport . backend_available?
29
- patch_paths = root . join ( "lib/patches/backend" ) . glob ( "*" )
30
- Flickwerk . patch_paths += patch_paths
31
- end
32
- end
33
-
34
18
initializer "spree.auth.environment" , before : :load_config_initializers do |_app |
35
19
require 'spree/auth_configuration'
36
20
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ Gem::Specification.new do |spec|
31
31
spec . add_dependency 'deface' , '~> 1.0'
32
32
spec . add_dependency 'devise' , '~> 4.1'
33
33
spec . add_dependency 'devise-encryptable' , '0.2.0'
34
- spec . add_dependency 'flickwerk' , '~> 0.3.1'
35
34
spec . add_dependency 'solidus_core' , [ '>= 3' , '< 5' ]
36
35
spec . add_dependency 'solidus_support' , '~> 0.11'
37
36
You can’t perform that action at this time.
0 commit comments