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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59657ee853e6da1a3dc473ab72d480314ca4af04
4
- data.tar.gz: 5453c9c17ae5cc87cd6f37bd31265e341d643b2e
3
+ metadata.gz: a3af627c22bba6eef8baec7a7c4295ebfa965f53
4
+ data.tar.gz: 08c4f939fe23134adf2b5fae23c8f925351259dc
5
5
  SHA512:
6
- metadata.gz: 0858cd10ce944dc24381e6acf4837fee98246b438fbe59f4f6055870ef2838638616458399ebb48e815c39d8cd07281070f0a4511095eeb2ecda1d851491c01d
7
- data.tar.gz: abe7d73b5778f7d37273622b54cd6909d2bdea7bfd495de98f2175153c5d9e975161c155c3631e5d84a3f4720cf6cf8605c7693289d1c93b58b4bbcea3ab1eb9
6
+ metadata.gz: 59324791f413c3eb9875cb673f6ff9dd64c836844fcf2bc4c58fb3340a3ce70b37d32755fbecc0f691907d75f8939264246d5c1d98af262a469c51ca3cf14bbe
7
+ data.tar.gz: 563da308b471cfa8c22252f30618571fd382d89caaf5cefaa23dd4205b5c80dff211fd791193b5af3b37d15185ced1b90d27a672bfac83fd0896c64c8d2caf10
@@ -1,5 +1,9 @@
1
1
  ## Master (unreleased)
2
2
 
3
+ ## Solidus Auth Devise v1.6.1 (2016-08-24)
4
+
5
+ * Replace usages of `before_filter` with `before_action` (#73)
6
+
3
7
  ## Solidus Auth Devise v1.6.0 (2016-08-23)
4
8
 
5
9
  * Loading of routes can be disabled through config (#71)
@@ -1,5 +1,5 @@
1
1
  Spree::Admin::OrdersController.class_eval do
2
- before_filter :check_authorization
2
+ before_action :check_authorization
3
3
 
4
4
  private
5
5
  def load_order_action
@@ -1,5 +1,5 @@
1
1
  Spree::Admin::Orders::CustomerDetailsController.class_eval do
2
- before_filter :check_authorization
2
+ before_action :check_authorization
3
3
 
4
4
  private
5
5
  def check_authorization
@@ -1,8 +1,8 @@
1
1
  require 'spree/core/validators/email'
2
2
  Spree::CheckoutController.class_eval do
3
- prepend_before_filter :check_registration,
3
+ prepend_before_action :check_registration,
4
4
  except: [:registration, :update_registration]
5
- prepend_before_filter :check_authorization
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
- before_filter :check_permissions, only: [:edit, :update]
14
- skip_before_filter :require_no_authentication
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
- skip_before_filter :set_current_order, only: :show
3
- prepend_before_filter :load_object, only: [:show, :edit, :update]
4
- prepend_before_filter :authorize_actions, only: :new
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
 
@@ -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.0"
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.0
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-23 00:00:00.000000000 Z
11
+ date: 2016-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core