isomorfeus-policy 2.0.22 → 2.1.0
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/helper.rb +4 -0
- data/lib/lucid_props.rb +3 -8
- 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: 4cb7a385a1637efa3ef4e88ef8bc067adaff778183eae613572dd654cc53717b
|
4
|
+
data.tar.gz: fe041cec58e8953527119d4fc02d72588e18c5ddfebca19daf1c006e41ab5f6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4074e2b0bdbb5b8ec426ea76d56e9c4a020288573662c03834b46438bcddd808b9a67cce9063f1c23a58eaa0903601e445e3a432e8320c29864eb238b6a24110
|
7
|
+
data.tar.gz: 0c1a04905c537f06d2f8aa6507fb85040b0dec965361eba6cbe093bb5e201030d3ad3e4032cd996640bca24ae3602bde286525b9de759966bccc7b3800e3a45e
|
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.0
|
4
|
+
version: 2.1.0
|
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-14 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.10
|
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.10
|
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.34
|
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.34
|
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.1.0
|
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.1.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|