q4m 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/q4m.rb +1 -2
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.7
1
+ 0.0.8
data/lib/q4m.rb CHANGED
@@ -24,13 +24,12 @@ module Q4m
24
24
  # - Executes the latest job.
25
25
  # - Restores the queue so other worker can execute a process.
26
26
  #
27
- def run terminate = false
27
+ def run
28
28
  return unless @has_jobs
29
29
  queue_wait
30
30
  @log.info("Executing: #{latest_job.inspect}")
31
31
  execute latest_job
32
32
  queue_end
33
- shutdown if terminate
34
33
  nil
35
34
  end
36
35
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: q4m
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - kazuyoshi tlacaelel