solidus_core 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_core might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/spree/core/engine.rb +8 -0
- data/lib/spree/core/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25d076da4eef33c845f1da39a5bb6e7b6164c98372bc59f1d9cd441fc182576a
|
4
|
+
data.tar.gz: f4b6369b678db721bd71e67323468e376e6ab59bfb67cb766cbc05927a42cc7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5eec6a669e66e4fb3c2a492844ff0e73c60e06b14b959f9ea868995e2f5e766f1a6493da85ef3494e726e0ddbbc483dc93b524d4a07be31305edde61fe917d24
|
7
|
+
data.tar.gz: aae29e7ece97dde8df64e368e2bddf5c9bd95cc5118a345d343d8625234355e15b9edf055f9aac7bca2d048235cff6b77de4cfcbd7ae81b544769924d7aa4c89
|
data/lib/spree/core/engine.rb
CHANGED
@@ -67,6 +67,14 @@ module Spree
|
|
67
67
|
config.after_initialize do
|
68
68
|
Spree::Config.check_load_defaults_called('Spree::Config')
|
69
69
|
end
|
70
|
+
|
71
|
+
config.after_initialize do
|
72
|
+
if defined?(Spree::Auth::Engine) &&
|
73
|
+
Gem::Version.new(Spree::Auth::VERSION) < Gem::Version.new('2.5.4') &&
|
74
|
+
defined?(Spree::UsersController)
|
75
|
+
Spree::UsersController.protect_from_forgery with: :exception
|
76
|
+
end
|
77
|
+
end
|
70
78
|
end
|
71
79
|
end
|
72
80
|
end
|
data/lib/spree/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|
@@ -953,8 +953,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
953
953
|
- !ruby/object:Gem::Version
|
954
954
|
version: 1.8.23
|
955
955
|
requirements: []
|
956
|
-
rubygems_version: 3.1.
|
957
|
-
signing_key:
|
956
|
+
rubygems_version: 3.1.2
|
957
|
+
signing_key:
|
958
958
|
specification_version: 4
|
959
959
|
summary: Essential models, mailers, and classes for the Solidus e-commerce project.
|
960
960
|
test_files: []
|