cloudhdr_auth 0.0.7 → 0.0.8

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: 4e2765b67efbbb37e462b4d9fccb46c20a4366a347923776dcb7c74df9d8d625
4
- data.tar.gz: a1cf08c28e1cdcae3696c1d9d23b9f147a33d56b0008a1df9af5d0ce0ca2bea3
3
+ metadata.gz: 86c5dc56a1e8bf5c622727da0ad8b476ee1e80d01dc059f01defd46d8453e44b
4
+ data.tar.gz: bca719c71935e4baee7f9dfeaca3d765f47a37ca9fb962d1a3f48fc5e6ddc957
5
5
  SHA512:
6
- metadata.gz: '03590c072b0e045d592463c87eb549a00d179d7c50bdec723894b43a775f8a3cbd15c8700063aef4997d9b2ab9e28bd0c74d264c7a2a875407558df3836f2b45'
7
- data.tar.gz: 544c9479eb85d6e0baf85fab23aa81b87e264972bfbd9cc5f304cac028e3f1dd58a7c5708438262f37d71680d2dd4cca9b39ead8ac4a05ffd74ebf4ba79f6071
6
+ metadata.gz: 491aa8069eb66cfacbcb38c93baa021fe27aa22c3351554d492b831fb87cd15e2558a04d82354eb5f9a1d92e73022438d602395a42f61db2bf62d4122e8a8d28
7
+ data.tar.gz: e76b56fc180551693d80325aac9adddabb2ed516861e4922ae5f2e3bbe132acba808772f0813456c57bb26dfdcaad4ae4a3ba64ae71707df4755d2fcfc87fc8d
data/README.md CHANGED
@@ -75,5 +75,5 @@ class ApplicationController < CloudhdrAuth::BaseController
75
75
  ## Protect some stuff
76
76
 
77
77
  ```ruby
78
- before_filter :login_required
78
+ before_action :login_required
79
79
  ```
@@ -1,7 +1,7 @@
1
1
  class CloudhdrAuth::BaseController < ActionController::Base
2
2
  protect_from_forgery
3
3
 
4
- before_filter :check_cookie
4
+ before_action :check_cookie
5
5
  def check_cookie
6
6
  if cookies[:cloudhdr_auth].nil? && session[:user_id].present?
7
7
  session[:user_id] = nil
@@ -1,5 +1,5 @@
1
1
  class CloudhdrAuth::UserSessionsController < CloudhdrAuth::BaseController
2
- before_filter :login_required, :only => [ :destroy ]
2
+ before_action :login_required, :only => [ :destroy ]
3
3
 
4
4
  #respond_to :html
5
5
 
@@ -1,3 +1,3 @@
1
1
  module CloudhdrAuth
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudhdr_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green