capcoauth 0.1.3 → 0.1.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/lib/capcoauth/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a0f67e3a83ec6473b07b2457266900eb0e27e395
4
- data.tar.gz: b08ab8274f0602d1f3b1a09dabf04a1a2283df99
3
+ metadata.gz: 9a84d574dab09d66611c3a8d525d0480cb5aeabf
4
+ data.tar.gz: aab1b067b415ffad7199f4a3174e84e7c2fec81f
5
5
  SHA512:
6
- metadata.gz: f838187c0c67626ab8a390de889ce6cdef44b1a0baf9bf4cca81d17012359d3058de45c3f6be92f25c93bc582a3062d96fe1cba2e8f1c993a8804402f64dc76d
7
- data.tar.gz: 13ca517c867d28b3b376159a4872b12e887d72ffe363499ba90f52a13409077935deedebeaf483dd7c11f618a7c2bcd3cf7f9858dd204ae504f5c7ebfaa8941d
6
+ metadata.gz: aa9cf3ee808b75df538536d81040544faa5251d6450fcd1c95416d8d731276361fa9b10fa73448562da5df13e4b6caeecb1d1ef51dc0da00c3661cd18c7195da
7
+ data.tar.gz: e220ad1bbefff4ba8f399b75c1acb6a6045fedce7eb46d5f575049a17bc5118dab6a2836b6ac11fbd823dc17733270b3b731536f10987ffa1eb24242556a319c
data/README.md CHANGED
@@ -38,7 +38,7 @@ by adding it as a before_action:
38
38
 
39
39
  ```ruby
40
40
  class ApplicationController < ActionController::Base
41
- before_action :verify_authorized
41
+ before_action :verify_authorized!
42
42
  end
43
43
  ```
44
44
 
@@ -46,7 +46,7 @@ You may exclude/include for specific actions:
46
46
 
47
47
  ```ruby
48
48
  class ApplicationController < ActionController::Base
49
- before_action :verify_authorized, only: [:my_super_secret_action], except: [:my_publicly_accessible_action]
49
+ before_action :verify_authorized!, only: [:my_super_secret_action], except: [:my_publicly_accessible_action]
50
50
  end
51
51
  ```
52
52
 
@@ -54,7 +54,7 @@ Or even skip it entirely for specific actions:
54
54
 
55
55
  ```ruby
56
56
  class PublicStuffController < ApplicationController
57
- skip_before_action :verify_authorized
57
+ skip_before_action :verify_authorized!
58
58
  end
59
59
  ```
60
60
 
@@ -1,3 +1,3 @@
1
1
  module Capcoauth
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capcoauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Robertson