isomorfeus-policy 2.0.12 → 2.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/policy/version.rb +1 -1
- data/lib/isomorfeus_policy/lucid_policy/mixin.rb +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44477bfd5400d272c453cbd3e7fbc310e70ecf2599eb054fd534ea937de4b434
|
4
|
+
data.tar.gz: eb822b6a0c0247c5f290a861907c2680c240cfdde9e929f63ccafdbe94b65fd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bf9a233e84233f877f5228a18bf33ebd97f62797ff43369e7ee4c871bf88bd37f5a25b87510e042c2047100ba5c85db91a9192b9ad18c9956950bf3881009bf
|
7
|
+
data.tar.gz: 8bc2e9a6facdd7b943ead211f96ea679c77f9fc7907cc573f89516b7fba7d8775ada24a477f79e6e144df294bb15a66bb7f04e5f51a76c375c64102c595d4aca
|
@@ -11,7 +11,7 @@ module LucidPolicy
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def all
|
14
|
-
:
|
14
|
+
:all
|
15
15
|
end
|
16
16
|
|
17
17
|
def allow(*classes_and_methods_and_options)
|
@@ -37,7 +37,7 @@ module LucidPolicy
|
|
37
37
|
def _allow_or_deny(thing, *classes_methods_options, &block)
|
38
38
|
rules = authorization_rules
|
39
39
|
|
40
|
-
if %i[allow deny].include?(thing) && classes_methods_options.first
|
40
|
+
if %i[allow deny].include?(thing) && %i[others all].include?(classes_methods_options.first)
|
41
41
|
rules[:others] = thing
|
42
42
|
return
|
43
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-policy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.14.
|
33
|
+
version: 0.14.8
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.14.
|
40
|
+
version: 0.14.8
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: isomorfeus-preact
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 10.6.
|
47
|
+
version: 10.6.27
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 10.6.
|
54
|
+
version: 10.6.27
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: isomorfeus-redux
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.0.
|
75
|
+
version: 2.0.16
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.0.
|
82
|
+
version: 2.0.16
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|