pundit_helpers 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8c455b30750a6b3dc536ecacf295af59bafd288
4
- data.tar.gz: c335ff2a0838b73bd76e3a4c7a1ea8f673d51f35
3
+ metadata.gz: ac42cf3f0853e9afe356ba5a054815a46649b48c
4
+ data.tar.gz: 31344d02e93ca2b853446b13bb1e74fa9870e31f
5
5
  SHA512:
6
- metadata.gz: fc416de6a4a76cca6546f4e0607ea0fc341e2d675adb3a0cf5d762fa117abb5fab1243e302e54f3347f10ea890dea69c34e038eea86812ab74a0ea5765727dc1
7
- data.tar.gz: eaa6916e9b7bef6ea327fa47edb8104f7935d77a15a17b20f407ebf41cf04341427c7f4320304a8c93e7192ed297661cc1a113e25de00bef7a4a74c059eba9cf
6
+ metadata.gz: 21014937447000f7ddc72e97aa413c47e1cb6b5197af73112949d503d9f4d00b58b5d0b8bad130b9153d7ce12d952dd6cebfeb7276d94690fec180f3c1315c6b
7
+ data.tar.gz: 8ee9e7efa46bceebeab247ed0e32373c5f3fd461384d37035da0137293c9de68090d4cbb20cd8093e54b4c8921dc5ba4438662d932213fb86c2eff2a5886bdff
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PunditHelpers
2
2
 
3
- Authorization helpers for Pundit
3
+ Authorization helpers for [Pundit](https://github.com/elabs/pundit)
4
4
 
5
5
  ## Installation
6
6
 
@@ -1,3 +1,3 @@
1
1
  module PunditHelpers
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -12,6 +12,7 @@ module PunditHelpers
12
12
  methods.each { |m| base.hide_action(m) }
13
13
  end
14
14
  end
15
+
15
16
  # Pundit's core `#authorize` helper always raises
16
17
  # an error, but also lets the controller know an authorization
17
18
  # has been performed. Sometimes it is preferrable to flag that an
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "pundit", "~> 0.2.1"
21
+ spec.add_dependency "pundit", "~> 0.2"
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.5"
24
24
  spec.add_development_dependency "rake"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pundit_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brendon Murphy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-22 00:00:00.000000000 Z
11
+ date: 2014-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pundit
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.1
19
+ version: '0.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.1
26
+ version: '0.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement