durable_rules 0.34.21 → 0.34.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/librb/engine.rb +3 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90157382972d581a6facead0647bca9f3cd0f4a7
|
4
|
+
data.tar.gz: 390f67522dbd96de0fe6bfae26eeda84cc7da93b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 004ca1ca875a4d5ce7f859dc4d63d828c9d018857f9c27395d81bc3f2eb0d76edf868166f3355a1df8a0f956961a1c96f6d1be4a4e86c6306a6d7c02bdd19d1d
|
7
|
+
data.tar.gz: b4af38edd65adf8c86e06eb2ee1eae1d5b80a2c9fb9730fb5b6702e76d0552713c4b70aba5c11f749ffac7690d79277299258fb5e94d55a42c4a110125751ac5
|
data/librb/engine.rb
CHANGED
@@ -306,8 +306,6 @@ module Engine
|
|
306
306
|
begin
|
307
307
|
@func.call c
|
308
308
|
rescue Exception => e
|
309
|
-
puts "unexpected error #{e}"
|
310
|
-
puts e.backtrace
|
311
309
|
c.s.exception = e.to_s
|
312
310
|
end
|
313
311
|
|
@@ -321,8 +319,9 @@ module Engine
|
|
321
319
|
time_left = @func.call c, -> e {
|
322
320
|
if e
|
323
321
|
c.s.exception = e.to_s
|
324
|
-
|
325
|
-
|
322
|
+
end
|
323
|
+
|
324
|
+
if @next
|
326
325
|
@next.run c, complete
|
327
326
|
else
|
328
327
|
complete.call nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: durable_rules
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.34.
|
4
|
+
version: 0.34.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesus Ruiz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|