spree_auth_devise 4.3.0 → 4.3.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of spree_auth_devise might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/controllers/spree/user_confirmations_controller.rb +11 -9
- data/spree_auth_devise.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b4a6cf62ece3fa34c1fd91a3c20bfeb10ec5a658d15f28d9bd250f4e730314b
|
4
|
+
data.tar.gz: 4b16aef83401692f7468b7090e3f4e4184b3f45c4761655a256c7c269b6f1a3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 623b257e40aff603cec630bab6e2fb87b878fcf8fd42f9b462282234fb0ad885caaada7236ef9da8248de71bc6046041550145a0542c7ae6e15fea718802d27e
|
7
|
+
data.tar.gz: cd851d1dd8a27b4c3dd9c27f4f3e8ad39e152551fc5e5429bd125c5f714d34f59a623954485f96f410f0f6c9afdf9f287602af809377af79cfad4dd03b3e0a34
|
@@ -8,15 +8,17 @@ class Spree::UserConfirmationsController < Devise::ConfirmationsController
|
|
8
8
|
|
9
9
|
before_action :set_current_order
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
11
|
+
if Spree.version.to_f >= 4.2
|
12
|
+
# POST /resource/confirmation
|
13
|
+
def create
|
14
|
+
self.resource = resource_class.send_confirmation_instructions(resource_params, current_store)
|
15
|
+
yield resource if block_given?
|
16
|
+
|
17
|
+
if successfully_sent?(resource)
|
18
|
+
respond_with({}, location: after_resending_confirmation_instructions_path_for(resource_name))
|
19
|
+
else
|
20
|
+
respond_with(resource)
|
21
|
+
end
|
20
22
|
end
|
21
23
|
end
|
22
24
|
|
data/spree_auth_devise.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.name = 'spree_auth_devise'
|
6
|
-
s.version = '4.3.
|
6
|
+
s.version = '4.3.1'
|
7
7
|
s.summary = 'Provides authentication and authorization services for use with Spree by using Devise and CanCan.'
|
8
8
|
s.description = s.summary
|
9
9
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_auth_devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-01-
|
12
|
+
date: 2021-01-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: devise
|
@@ -221,9 +221,9 @@ licenses:
|
|
221
221
|
- BSD-3-Clause
|
222
222
|
metadata:
|
223
223
|
bug_tracker_uri: https://github.com/spree/spree_auth_devise/issues
|
224
|
-
changelog_uri: https://github.com/spree/spree_auth_devise/releases/tag/v4.3.
|
224
|
+
changelog_uri: https://github.com/spree/spree_auth_devise/releases/tag/v4.3.1
|
225
225
|
documentation_uri: https://guides.spreecommerce.org/
|
226
|
-
source_code_uri: https://github.com/spree/spree_auth_devise/tree/v4.3.
|
226
|
+
source_code_uri: https://github.com/spree/spree_auth_devise/tree/v4.3.1
|
227
227
|
post_install_message:
|
228
228
|
rdoc_options: []
|
229
229
|
require_paths:
|