rabbitmqadmin-cli 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rabbitmqadmin-cli.rb +1 -1
- data/lib/rabbitmqadmin-cli/version.rb +1 -1
- data/rabbitmqadmin-cli.gemspec +1 -1
- metadata +1 -1
data/lib/rabbitmqadmin-cli.rb
CHANGED
@@ -2,7 +2,7 @@ require 'json'
|
|
2
2
|
|
3
3
|
class RabbitMqAdminCli
|
4
4
|
|
5
|
-
def self.test_connect(host, port, username,
|
5
|
+
def self.test_connect(host, port, username, password, scheme = "http")
|
6
6
|
`wget --spider -T 1 -t 1 --user=#{username} --password=#{password} #{scheme}://#{host}:#{port}/img/rabbitmqlogo.png >/dev/null 2>&1`
|
7
7
|
case $?.exitstatus
|
8
8
|
when 0, 6
|
data/rabbitmqadmin-cli.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'rabbitmqadmin-cli'
|
3
|
-
s.version = '1.0.
|
3
|
+
s.version = '1.0.7'
|
4
4
|
s.platform = RUBY_PLATFORM.to_s == 'java' ? 'java' : Gem::Platform::RUBY
|
5
5
|
s.authors = ['Lee Henson', 'Guy Boertje']
|
6
6
|
s.email = ['lee.m.henson@gmail.com', 'guyboertje@gmail.com']
|