outoftime-shell_elf 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/shell_elf/runner.rb +2 -2
  3. metadata +2 -2
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 9
3
- :patch: 0
3
+ :patch: 1
4
4
  :major: 0
@@ -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.0
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-01 00:00:00 -07:00
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