solidus_auth_devise 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of solidus_auth_devise might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/controllers/backend/spree/admin/admin_orders_controller_decorator.rb +1 -1
- data/lib/controllers/backend/spree/admin/orders/customer_details_controller_decorator.rb +1 -1
- data/lib/controllers/frontend/spree/checkout_controller_decorator.rb +2 -2
- data/lib/controllers/frontend/spree/user_registrations_controller.rb +2 -2
- data/lib/controllers/frontend/spree/users_controller.rb +3 -3
- data/solidus_auth_devise.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3af627c22bba6eef8baec7a7c4295ebfa965f53
|
4
|
+
data.tar.gz: 08c4f939fe23134adf2b5fae23c8f925351259dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59324791f413c3eb9875cb673f6ff9dd64c836844fcf2bc4c58fb3340a3ce70b37d32755fbecc0f691907d75f8939264246d5c1d98af262a469c51ca3cf14bbe
|
7
|
+
data.tar.gz: 563da308b471cfa8c22252f30618571fd382d89caaf5cefaa23dd4205b5c80dff211fd791193b5af3b37d15185ced1b90d27a672bfac83fd0896c64c8d2caf10
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
require 'spree/core/validators/email'
|
2
2
|
Spree::CheckoutController.class_eval do
|
3
|
-
|
3
|
+
prepend_before_action :check_registration,
|
4
4
|
except: [:registration, :update_registration]
|
5
|
-
|
5
|
+
prepend_before_action :check_authorization
|
6
6
|
|
7
7
|
def registration
|
8
8
|
@user = Spree::User.new
|
@@ -10,8 +10,8 @@ class Spree::UserRegistrationsController < Devise::RegistrationsController
|
|
10
10
|
include Spree::Core::ControllerHelpers::Order
|
11
11
|
include Spree::Core::ControllerHelpers::Store
|
12
12
|
|
13
|
-
|
14
|
-
|
13
|
+
before_action :check_permissions, only: [:edit, :update]
|
14
|
+
skip_before_action :require_no_authentication
|
15
15
|
|
16
16
|
def create
|
17
17
|
build_resource(spree_user_params)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class Spree::UsersController < Spree::StoreController
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
skip_before_action :set_current_order, only: :show
|
3
|
+
prepend_before_action :load_object, only: [:show, :edit, :update]
|
4
|
+
prepend_before_action :authorize_actions, only: :new
|
5
5
|
|
6
6
|
include Spree::Core::ControllerHelpers
|
7
7
|
|
data/solidus_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 = "solidus_auth_devise"
|
6
|
-
s.version = "1.6.
|
6
|
+
s.version = "1.6.1"
|
7
7
|
s.summary = "Provides authentication and authorization services for use with Solidus by using Devise and CanCan."
|
8
8
|
s.description = s.summary
|
9
9
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_auth_devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_core
|