q4m 0.0.7 → 0.0.8
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.
- data/VERSION +1 -1
- data/lib/q4m.rb +1 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
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
|
|
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:
|
|
4
|
+
hash: 15
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 8
|
|
10
|
+
version: 0.0.8
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- kazuyoshi tlacaelel
|