wordjelly-auth 1.4.3 → 1.4.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48ee6800d9e4b3fe0c287d125f7808c071a8df66b456873c52f3254d708d59f7
4
- data.tar.gz: ebe4dc0b1ef3c4bc31b79c4d1cf5c24960a4b47bc5036b09210ed53135774442
3
+ metadata.gz: b5dd499aa8e5985f9d835a231a4fdac7d1bd4befa657bb30083f839a57aa947a
4
+ data.tar.gz: 8e4725d8fdb9c5270e17e36ce7cd341a636aed020f288bbc0f97b3c6b6ed6fb8
5
5
  SHA512:
6
- metadata.gz: a2f9992d590b02b8f2fc486b50ccb6b83959c10d0757bc9e5f65fedd513753899efeba2de588f67f539b29f5c933ebf7f5e38a76428967414f6a2a5157140757
7
- data.tar.gz: 8c5826ae2030b694e190bd25596c3ca4fc1db4ff3d67d81ad0cf66e3ead338376d8c2f6468c6370e8a7096e1163a2297d8036d1bce8e06488000d649b055fa54
6
+ metadata.gz: 57a023aaf18fd8f2fc80966819f097491993cded042c5524ad5ee127427e3306bfae53a11c7b2512eccb09b75f8076f72874209190d194214f2d2de319ccca1f
7
+ data.tar.gz: e1ec08ceadf852d93e8c7d6d7c63e8053e50eab414a9962ea6e759059247acf2aa344921e414743a3ec7c80649541e96f125a68cc36efe33a1b393f784c58c0c
@@ -8,10 +8,10 @@ class Auth::EndpointsController < Auth::ApplicationController
8
8
 
9
9
  CONDITIONS_FOR_TOKEN_AUTH = [:create,:update,:destroy,:edit,:new,:index]
10
10
  TCONDITIONS = {:only => CONDITIONS_FOR_TOKEN_AUTH}
11
- before_filter :do_before_request , TCONDITIONS
12
- before_filter :instantiate_classes
13
- before_filter :build_model_from_params
14
- before_filter(:only => [:create]){|c| check_for_create(@model)}
11
+ before_action :do_before_request , TCONDITIONS
12
+ before_action :instantiate_classes
13
+ before_action :build_model_from_params
14
+ before_action(:only => [:create]){|c| check_for_create(@model)}
15
15
 
16
16
  def create
17
17
 
@@ -8,8 +8,8 @@ class Auth::Shopping::BarCodesController < Auth::Shopping::ShoppingController
8
8
  ##this ensures api access to this controller.
9
9
  include Auth::Concerns::DeviseConcern
10
10
  include Auth::Concerns::TokenConcern
11
- before_filter :do_before_request , TCONDITIONS
12
- before_filter :is_admin_user, {:only => [:index]}
11
+ before_action :do_before_request , TCONDITIONS
12
+ before_action :is_admin_user, {:only => [:index]}
13
13
 
14
14
  def new
15
15
 
@@ -8,7 +8,7 @@ class Auth::Shopping::PersonalitiesController < Auth::Shopping::ShoppingControll
8
8
  ##this ensures api access to this controller.
9
9
  include Auth::Concerns::DeviseConcern
10
10
  include Auth::Concerns::TokenConcern
11
- before_filter :do_before_request , TCONDITIONS
12
- before_filter :initialize_vars , TCONDITIONS
11
+ before_action :do_before_request , TCONDITIONS
12
+ before_action :initialize_vars , TCONDITIONS
13
13
 
14
14
  end
@@ -6,6 +6,6 @@ class Auth::Shopping::PlacesController < Auth::Shopping::ShoppingController
6
6
  ##this ensures api access to this controller.
7
7
  include Auth::Concerns::DeviseConcern
8
8
  include Auth::Concerns::TokenConcern
9
- before_filter :do_before_request , TCONDITIONS
10
- before_filter :initialize_vars , TCONDITIONS
9
+ before_action :do_before_request , TCONDITIONS
10
+ before_action :initialize_vars , TCONDITIONS
11
11
  end
@@ -1,3 +1,3 @@
1
1
  class Auth::WebhooksController < ApplicationController
2
- skip_before_filter :verify_authenticity_token
2
+ skip_before_action :verify_authenticity_token
3
3
  end
@@ -9,8 +9,8 @@ class Auth::Work::CommunicationsController < Auth::Work::WorkController
9
9
  ##this ensures api access to this controller.
10
10
  include Auth::Concerns::DeviseConcern
11
11
  include Auth::Concerns::TokenConcern
12
- before_filter :do_before_request , TCONDITIONS
13
- before_filter :initialize_vars , TCONDITIONS
14
- before_filter :is_admin_user , :only => [:create,:update,:destroy,:edit]
12
+ before_action :do_before_request , TCONDITIONS
13
+ before_action :initialize_vars , TCONDITIONS
14
+ before_action :is_admin_user , :only => [:create,:update,:destroy,:edit]
15
15
 
16
16
  end
@@ -9,8 +9,8 @@ class Auth::Work::InstructionsController < Auth::Work::WorkController
9
9
  ##this ensures api access to this controller.
10
10
  include Auth::Concerns::DeviseConcern
11
11
  include Auth::Concerns::TokenConcern
12
- before_filter :do_before_request , TCONDITIONS
13
- before_filter :initialize_vars , TCONDITIONS
14
- before_filter :is_admin_user , :only => [:create,:update,:destroy,:edit]
12
+ before_action :do_before_request , TCONDITIONS
13
+ before_action :initialize_vars , TCONDITIONS
14
+ before_action :is_admin_user , :only => [:create,:update,:destroy,:edit]
15
15
 
16
16
  end
data/lib/auth/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Auth
2
- VERSION = "1.4.3"
2
+ VERSION = "1.4.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wordjelly-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - bhargav