apollo-tools 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apollo.rb +2 -2
- data/lib/apollo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c50cfa3247a14f89aca224a8145962117498afa
|
4
|
+
data.tar.gz: 004d1114ae529036454ebf7022f50e6ff36e4dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ff85193e507d7c8fa3e7c022a5756b11257648f99b24fd3373b736e836237ef4c58adf0052c85f7b3f3342dbb518af48a4ecd3824a3b9f109627af5267c1575
|
7
|
+
data.tar.gz: f3cb1de491ba4b1f962a388ecc3c8fc1d22f68bba2093ccdc21c3c3643dcddbf7560d071bfcc5484335efea4c25eb60cfbdca20b967233ea1965299f457d0493
|
data/lib/apollo.rb
CHANGED
@@ -73,8 +73,8 @@ module Apollo
|
|
73
73
|
def check_queue_length(host, queue, opts={})
|
74
74
|
host = @hosts[host]
|
75
75
|
vhost = opts.fetch(:vhost, '/')
|
76
|
-
username = CGI.escape host.fetch('
|
77
|
-
password = CGI.escape host.fetch('
|
76
|
+
username = CGI.escape host.fetch('rmq_admin_username', 'guest')
|
77
|
+
password = CGI.escape host.fetch('rmq_admin_password', 'guest')
|
78
78
|
port = host.fetch('rmq_port', 15672)
|
79
79
|
|
80
80
|
manager = RabbitMQManager.new "http://#{username}:#{password}@#{address host}:#{port}"
|
data/lib/apollo/version.rb
CHANGED