pundit-matchers 1.8.0 → 1.8.2
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 +5 -5
- metadata +1 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 394ccd7f7a4ca7d409dac69d53c230e37e8a003b33b3d1bf35ba023b04a51e38
|
4
|
+
data.tar.gz: cdbfed8c6543e5210b7e69e57b15d4b7e87d1d4bcf0fa0545f602267147c6cce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88f9827d0cc96d6376cab9956bf4707be9753ec507ab026289ba3662032eeebdc6922b5a5c39661897c9e5e52a520f49abde3d4b438353c4345cc796e3d939ff
|
7
|
+
data.tar.gz: 19816084889873bc6dd31d60dc4568533856faadb072ff36b10f1ca673e57aa686a30a7f088b54820a05f6ca7ac42e9c6182b1ab9929407843deba2b1e489ef5
|
data/lib/pundit/matchers.rb
CHANGED
@@ -2,11 +2,11 @@ require 'rspec/core'
|
|
2
2
|
|
3
3
|
module Pundit
|
4
4
|
module Matchers
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
require_relative 'matchers/utils/policy_info'
|
6
|
+
require_relative 'matchers/utils/all_actions/forbidden_actions_error_formatter'
|
7
|
+
require_relative 'matchers/utils/all_actions/forbidden_actions_matcher'
|
8
|
+
require_relative 'matchers/utils/all_actions/permitted_actions_error_formatter'
|
9
|
+
require_relative 'matchers/utils/all_actions/permitted_actions_matcher'
|
10
10
|
|
11
11
|
class Configuration
|
12
12
|
attr_accessor :user_alias
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pundit-matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Alley
|
@@ -14,9 +14,6 @@ dependencies:
|
|
14
14
|
name: rspec-rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3.0'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 3.0.0
|
@@ -24,9 +21,6 @@ dependencies:
|
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '3.0'
|
30
24
|
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
26
|
version: 3.0.0
|