rabbit-wq 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rabbit_wq/cli.rb +2 -0
- data/lib/rabbit_wq/server_daemon.rb +5 -1
- data/lib/rabbit_wq/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2567a7603af0d8e5b325f79a954b886d23f8a57a
|
4
|
+
data.tar.gz: a2a959493098b42965c5c60bcd3c710cfdc9452f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7269f386abf1bb948ae772927ae2bd1965c258f86d8788395988122a5989f47740bfc4521aeae9d0f983a35599b8dae5b889eaf3f199e3d24e6f3e44dbfca64b
|
7
|
+
data.tar.gz: 7028c4112949da07e0971a7e69e776080b69d5a082cd2bbfeb839f82f683bbf235269c8ee1906ccb3f18a467373676c407221dd90295352aa8385259acbfca22
|
data/lib/rabbit_wq/cli.rb
CHANGED
@@ -63,10 +63,12 @@ options:
|
|
63
63
|
when "status"
|
64
64
|
Trollop::options do
|
65
65
|
opt :pid, "The path for the PID file", :type => String, :default => DEFAULT_PID_PATH
|
66
|
+
opt :quiet, "Do not prompt to remove an old PID file", :type => :boolean, :default => false, :short => '-q'
|
66
67
|
end
|
67
68
|
when "stop"
|
68
69
|
Trollop::options do
|
69
70
|
opt :pid, "The path for the PID file", :type => String, :default => DEFAULT_PID_PATH
|
71
|
+
opt :quiet, "Do not prompt to remove an old PID file", :type => :boolean, :default => false, :short => '-q'
|
70
72
|
end
|
71
73
|
else
|
72
74
|
Trollop::die "unknown command #{cmd.inspect}"
|
@@ -87,7 +87,11 @@ module RabbitWQ
|
|
87
87
|
end
|
88
88
|
|
89
89
|
def kill_process
|
90
|
-
|
90
|
+
unless process_exists?
|
91
|
+
$stdout.write "#{APP_NAME} process is not running"
|
92
|
+
return
|
93
|
+
end
|
94
|
+
|
91
95
|
$stdout.write "Attempting to stop #{APP_NAME} process #{pid}..."
|
92
96
|
Process.kill INT, pid
|
93
97
|
iteration_num = 0
|
data/lib/rabbit_wq/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbit-wq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- C. Jason Harrelson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
162
|
version: '0'
|
163
163
|
requirements: []
|
164
164
|
rubyforge_project:
|
165
|
-
rubygems_version: 2.
|
165
|
+
rubygems_version: 2.4.4
|
166
166
|
signing_key:
|
167
167
|
specification_version: 4
|
168
168
|
summary: A work queue built on RabbitMQ and Celluloid.
|