pundit-matchers 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pundit/matchers.rb +10 -10
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfd5a57c7b4437b8d499bbbe55c481392c1ce448
|
4
|
+
data.tar.gz: c71db96fd47e148d4a1f49b71317204a97152fbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a79acde2867dce6ef820e198a7377b23115a76f609129e29971e99a7caae4e610caa4a78b4ad8cd38a2d76c4888fdbdfc7bc6e0dc063645741fef66f4745fcd
|
7
|
+
data.tar.gz: 461633362c1ea0788e393e5af9fc21b1242df863b20f3aad924a45fb398da799ca1c2b76f3fa87dc79b1c9e36c00d6bb5c899861ff553ea440b25fe361bb5a02
|
data/lib/pundit/matchers.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
require 'rspec/core'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
3
|
+
require 'pundit/matchers/forbid_action'
|
4
|
+
require 'pundit/matchers/forbid_actions'
|
5
|
+
require 'pundit/matchers/forbid_edit_and_update_actions'
|
6
|
+
require 'pundit/matchers/forbid_mass_assignment_of'
|
7
|
+
require 'pundit/matchers/forbid_new_and_create_actions'
|
8
|
+
require 'pundit/matchers/permit_action'
|
9
|
+
require 'pundit/matchers/permit_actions'
|
10
|
+
require 'pundit/matchers/permit_edit_and_update_actions'
|
11
|
+
require 'pundit/matchers/permit_mass_assignment_of'
|
12
|
+
require 'pundit/matchers/permit_new_and_create_actions'
|
13
13
|
|
14
14
|
if defined?(Pundit)
|
15
15
|
RSpec.configure do |config|
|