rbbt-util 5.5.66 → 5.5.67
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/workflow/accessor.rb +6 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f8b6b2e024774e8f3718383d69bed5430c4021e
|
4
|
+
data.tar.gz: 75ce2305d577eb5f195c41a11fcd76a6d137e2f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd4181697d5b382649aeed2c5208012f18e7700d17c07c42bc091f4733aeedbe73d2572b7b073b0de3a1878826efeb3a8c794e5339a6e7887e1fc208c5a49c3a
|
7
|
+
data.tar.gz: 04a24580d81badf154025fe3a25ea5581346e404411a0e9b8fb5839011a4358b326b8db4da644458fe516fb115ec97f8bb4be6012b8b6fc457d659dc84e68459
|
@@ -29,10 +29,12 @@ class Step
|
|
29
29
|
return {} if info_file.nil? or not Open.exists? info_file
|
30
30
|
return @info_cache if @info_cache and File.mtime(info_file) < @info_cache_time
|
31
31
|
begin
|
32
|
-
@info_cache = Misc.insist(
|
33
|
-
Misc.insist(2,
|
34
|
-
|
35
|
-
|
32
|
+
@info_cache = Misc.insist(3, 5, info_file) do
|
33
|
+
Misc.insist(2, 2, info_file) do
|
34
|
+
Misc.insist(2, 0.5, info_file) do
|
35
|
+
Open.open(info_file) do |file|
|
36
|
+
INFO_SERIALIAZER.load(file) || {}
|
37
|
+
end
|
36
38
|
end
|
37
39
|
end
|
38
40
|
end
|