isomorfeus-policy 2.0.20 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/isomorfeus/policy/version.rb +1 -1
- data/lib/isomorfeus_policy/lucid_policy/helper.rb +4 -0
- data/lib/lucid_props.rb +3 -8
- metadata +14 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4765b9cd8864017d697977fa55f0c45e36ed37d9f33c66a54a37486545aefd6d
|
4
|
+
data.tar.gz: da0d3deb28fc131d833005af8ec2750c94b067d22e45f929540fb11a71f898fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe82afafc646db27c283722735af2906e4e399b594d0fc825e4139f07ba65e5522e93217917f2ff4f36ab4782278fa1a0a90fd6fec06324d7e3034c2093531ea
|
7
|
+
data.tar.gz: d3b81633ada3668d324fd5462cd504c6149ba5fa67196a8756bca9e145873306d9aaeb8bde7e03c9f9ad9eba86721729a3ce2bde2910d718dfc95da3cf8fb349
|
data/README.md
CHANGED
data/lib/lucid_props.rb
CHANGED
@@ -2,6 +2,9 @@ class LucidProps
|
|
2
2
|
def initialize(props_hash)
|
3
3
|
props_hash = {} unless props_hash
|
4
4
|
@props_hash = props_hash
|
5
|
+
if RUBY_ENGINE != 'opal'
|
6
|
+
@props_hash.freeze
|
7
|
+
end
|
5
8
|
end
|
6
9
|
|
7
10
|
def any?
|
@@ -21,10 +24,6 @@ class LucidProps
|
|
21
24
|
@props_hash[prop_name]
|
22
25
|
end
|
23
26
|
|
24
|
-
def []=(prop_name, value)
|
25
|
-
@props_hash[prop_name] = value
|
26
|
-
end
|
27
|
-
|
28
27
|
def key?(prop_name)
|
29
28
|
@props_hash.key?(prop_name)
|
30
29
|
end
|
@@ -58,10 +57,6 @@ class LucidProps
|
|
58
57
|
nil
|
59
58
|
end
|
60
59
|
|
61
|
-
def []=(prop_name, value)
|
62
|
-
@props_hash[prop_name.to_sym] = value
|
63
|
-
end
|
64
|
-
|
65
60
|
def key?(prop_name)
|
66
61
|
@props_hash.key?(prop_name.to_sym) || @props_hash.key?(prop_name.to_s)
|
67
62
|
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.
|
4
|
+
version: 2.1.1
|
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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|
@@ -30,56 +30,56 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.14.
|
33
|
+
version: 0.14.12
|
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.12
|
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.36
|
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.36
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: isomorfeus-redux
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.1.
|
61
|
+
version: 4.1.17
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 4.1.
|
68
|
+
version: 4.1.17
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: isomorfeus
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
75
|
+
version: 2.1.1
|
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.
|
82
|
+
version: 2.1.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 3.10.0
|
111
|
-
description:
|
111
|
+
description: Access policies for Isomorfeus.
|
112
112
|
email: jan@kursator.de
|
113
113
|
executables: []
|
114
114
|
extensions: []
|
@@ -127,11 +127,12 @@ files:
|
|
127
127
|
- lib/isomorfeus_policy/lucid_policy/helper.rb
|
128
128
|
- lib/isomorfeus_policy/lucid_policy/mixin.rb
|
129
129
|
- lib/lucid_props.rb
|
130
|
-
homepage:
|
130
|
+
homepage: https://isomorfeus.com
|
131
131
|
licenses:
|
132
132
|
- MIT
|
133
133
|
metadata:
|
134
134
|
github_repo: ssh://github.com/isomorfeus/gems
|
135
|
+
source_code_uri: https://github.com/isomorfeus/isomorfeus-project/isomorfeus-policy
|
135
136
|
post_install_message:
|
136
137
|
rdoc_options: []
|
137
138
|
require_paths:
|
@@ -150,5 +151,5 @@ requirements: []
|
|
150
151
|
rubygems_version: 3.3.3
|
151
152
|
signing_key:
|
152
153
|
specification_version: 4
|
153
|
-
summary:
|
154
|
+
summary: Access policies for Isomorfeus.
|
154
155
|
test_files: []
|