card-mod-permissions 0.13.0 → 0.13.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/locales/en.yml +2 -0
- data/set/right/read.rb +1 -5
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0b2954268b60138cdb1ae4ef106d7e122b0ce842dfc4e7efb358880d3e8d25b
|
4
|
+
data.tar.gz: 406ee2bccf3a497665e01dcf7ea82e0925ba13cd2e3d6b775df9e5716c3bec29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca824f201a457d2159d46181aa025622985233c5a9923e3a54227add38c8e05979840989a87db36608ee64e4245d12ab84e0642419deab86d72c4d05d86ebb8f
|
7
|
+
data.tar.gz: f5dfa67348d6cac555e0915a8fefb4ea5235dc52bc7a1d2a91c2923cfac198abf16c79a918c1d7ad9a15beb5b858fbd41d11b17f280832ad2f293a2763336d78
|
data/locales/en.yml
ADDED
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.4
|
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.4
|
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.4
|
29
29
|
description: ''
|
30
30
|
email:
|
31
31
|
- info@decko.org
|
@@ -33,6 +33,7 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
+
- locales/en.yml
|
36
37
|
- set/abstract/permission.rb
|
37
38
|
- set/all/permissions.rb
|
38
39
|
- set/all/update_read_rules.rb
|