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 +4 -4
- data/README.md +1 -1
- data/lib/pundit_helpers/version.rb +1 -1
- data/lib/pundit_helpers.rb +1 -0
- data/pundit_helpers.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac42cf3f0853e9afe356ba5a054815a46649b48c
|
4
|
+
data.tar.gz: 31344d02e93ca2b853446b13bb1e74fa9870e31f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21014937447000f7ddc72e97aa413c47e1cb6b5197af73112949d503d9f4d00b58b5d0b8bad130b9153d7ce12d952dd6cebfeb7276d94690fec180f3c1315c6b
|
7
|
+
data.tar.gz: 8ee9e7efa46bceebeab247ed0e32373c5f3fd461384d37035da0137293c9de68090d4cbb20cd8093e54b4c8921dc5ba4438662d932213fb86c2eff2a5886bdff
|
data/README.md
CHANGED
data/lib/pundit_helpers.rb
CHANGED
@@ -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
|
data/pundit_helpers.gemspec
CHANGED
@@ -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
|
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
|
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-
|
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
|
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
|
26
|
+
version: '0.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|