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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/librb/engine.rb +3 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 647759e2b6b189f700a70a2864e917d757d3d7c0
4
- data.tar.gz: 349e979b4e452fa249e61ced0299f509f522f317
3
+ metadata.gz: 90157382972d581a6facead0647bca9f3cd0f4a7
4
+ data.tar.gz: 390f67522dbd96de0fe6bfae26eeda84cc7da93b
5
5
  SHA512:
6
- metadata.gz: 498c9d2458110ff919b97e8dc2f919b46386503024dd8bf896efc9948817beab9cf4cf24fc08c68ac3848a8b6fef8722c9f5e76c688ce93cab836c773b8ede2a
7
- data.tar.gz: c9a6986b01e7829299e75206db3b0e20c3f6ccf6f4fdfeecedb2d8dbf5daccc33ea35714025d5c5a73722aace42d5ec2e70b0c96184012787718a93e741d310e
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
- complete.call nil
325
- elsif @next
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.21
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-12 00:00:00.000000000 Z
11
+ date: 2017-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake