isomorfeus-preact 10.6.12 → 10.6.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/props/validate_hash_proxy.rb +1 -1
- data/lib/isomorfeus/props/validator.rb +6 -4
- data/lib/preact/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55b2185c8d266cd270e8e00bae7896a1593ff3e4590a61280888f9c6d4149ff8
|
4
|
+
data.tar.gz: 86a7cb16f143d7152afcf3eb1317cb9f8fb7252f135e79d59297b8f1db496513
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0e06043e4ea705e63437a88aaa85a873d8ba081decda2c2fd652cd3646c8ebff95ac790730521bbf5a547c1a8c4a7a4eb86a78fada0606d8282e8fa874aa6c7
|
7
|
+
data.tar.gz: a351dd0fed547e8a7f0927c08c535fed18bccdff2a76cb6350de231c2c47b04c7bc0f35125cd4fcbceae545cfa3409e2f17107e06d3f3001e7b981078eecd418
|
@@ -52,10 +52,12 @@ module Isomorfeus
|
|
52
52
|
|
53
53
|
def ensure!
|
54
54
|
if @o.key?(:ensure)
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
55
|
+
proc_or_val = @o[:ensure]
|
56
|
+
if proc_or_val.class == Proc
|
57
|
+
@v = proc_or_val.call(@v)
|
58
|
+
else
|
59
|
+
@v = proc_or_val
|
60
|
+
end
|
59
61
|
true
|
60
62
|
else
|
61
63
|
false
|
data/lib/preact/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-preact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.6.
|
4
|
+
version: 10.6.13
|
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-01-
|
11
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|