policy-assertions 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/policy_assertions.rb +7 -1
- data/lib/policy_assertions/version.rb +1 -1
- data/test/test_helper.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53e8739d031b758729afa0bbb35943b9435d82e0
|
4
|
+
data.tar.gz: 7084ff252fda8db066873be079a1955320e3a52d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ea9753e8d7a4b09f8add5e23f9f4077769d53a85123175e035e25287680bf6ec64df9526fb2a2bb8137810aac93a94be497ced0bb8057f776cb9c12186cb5ac
|
7
|
+
data.tar.gz: c90daf60ee58b1b60107c2bf76c18f7f373b3e3004027677969aa18556733856a549604e126fc83871e21fd68d041857ff99b4de11047811858812fb32c987b2
|
data/lib/policy_assertions.rb
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
require 'rack'
|
2
|
+
require 'pundit'
|
2
3
|
require 'rack/test'
|
3
4
|
require 'active_support'
|
4
|
-
|
5
|
+
|
6
|
+
if Gem::Specification.find_all_by_name('strong_parameters').empty?
|
7
|
+
require 'action_controller/metal/strong_parameters'
|
8
|
+
else
|
9
|
+
require 'strong_parameters'
|
10
|
+
end
|
5
11
|
|
6
12
|
require 'policy_assertions/errors'
|
7
13
|
require 'policy_assertions/version'
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: policy-assertions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Simmons
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06
|
11
|
+
date: 2015-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|