card-mod-permissions 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/set/right/read.rb +1 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6d038f07b88613f7556d9e2d11a0ea2e26b1bc29525d681cc6158ed9e9495b0
|
4
|
+
data.tar.gz: c3c8246923b9e281ac5c978d7b1ee0e97302d4e0ae9504ecfe9ead697d2794bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ce1d4e5b248c91a22367f81f520f1464002e5947219a63b398fabebc617ac7166eaee4e3100f0b5a00fa0136bf29c92fd5d34e173e66826966ace9169bdd021
|
7
|
+
data.tar.gz: 53aea5976f296ff07f4f788c2b15cc429a0b6b19003ca77b44ac6f96b499003c2f9c1c61a3b71339da10e73ab902b3458046b9098d587cda29064ea04acc96b8
|
data/set/right/read.rb
CHANGED
@@ -61,11 +61,7 @@ def rule_pattern_index
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def pattern_index pattern_id
|
64
|
-
|
65
|
-
end
|
66
|
-
|
67
|
-
def pattern_ids
|
68
|
-
@pattern_ids ||= set_patterns.map(&:pattern_id)
|
64
|
+
Pattern.ids.index(pattern_id) || invalid_pattern_id(pattern_id)
|
69
65
|
end
|
70
66
|
|
71
67
|
def invalid_pattern_id pattern_id
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-permissions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-09-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.103.
|
21
|
+
version: 1.103.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.103.
|
28
|
+
version: 1.103.3
|
29
29
|
description: ''
|
30
30
|
email:
|
31
31
|
- info@decko.org
|