outoftime-shell_elf 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/shell_elf/runner.rb +2 -2
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/shell_elf/runner.rb
CHANGED
@@ -21,7 +21,7 @@ module ShellElf
|
|
21
21
|
|
22
22
|
def run
|
23
23
|
until @interrupted
|
24
|
-
if @current = starling.fetch(@options[:queue])
|
24
|
+
if starling && @current = starling.fetch(@options[:queue])
|
25
25
|
ShellElf.logger.debug("RUNNER: #{@current.inspect}")
|
26
26
|
ShellElf::Batch.execute(@current)
|
27
27
|
else
|
@@ -54,7 +54,7 @@ module ShellElf
|
|
54
54
|
@queue = nil
|
55
55
|
delay ||= 0.125
|
56
56
|
delay = delay *= 2 if delay < 1
|
57
|
-
retry
|
57
|
+
retry unless @interrupted
|
58
58
|
end
|
59
59
|
end
|
60
60
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: outoftime-shell_elf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mat Brown
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-04-
|
12
|
+
date: 2009-04-02 00:00:00 -07:00
|
13
13
|
default_executable: shell-elf
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|