rabbitmqadmin-cli 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -59,8 +59,8 @@ class RabbitMqAdminCli
59
59
  parse execute("#{stub} list vhosts")
60
60
  end
61
61
 
62
- def purge_queues
63
- list_queues.each { |queue| execute "#{stub vhost} purge queue name=#{queue[:name]}" }
62
+ def purge_queues vhost
63
+ list_queues(vhost).each { |queue| execute "#{stub vhost} purge queue name=#{queue[:name]}" }
64
64
  end
65
65
 
66
66
  def user_exists? user
@@ -1,3 +1,3 @@
1
1
  module RabbitMqAdminCli
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'rabbitmqadmin-cli'
3
- s.version = '1.0.3'
3
+ s.version = '1.0.4'
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']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbitmqadmin-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,12 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-10-07 00:00:00.000000000 +01:00
14
- default_executable:
13
+ date: 2011-10-07 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: json
18
- requirement: &10384540 !ruby/object:Gem::Requirement
17
+ requirement: &77963690 !ruby/object:Gem::Requirement
19
18
  none: false
20
19
  requirements:
21
20
  - - ! '>='
@@ -23,7 +22,7 @@ dependencies:
23
22
  version: '0'
24
23
  type: :runtime
25
24
  prerelease: false
26
- version_requirements: *10384540
25
+ version_requirements: *77963690
27
26
  description: Requires rabbitmqadmin to be in your path
28
27
  email:
29
28
  - lee.m.henson@gmail.com
@@ -38,7 +37,6 @@ files:
38
37
  - lib/rabbitmqadmin-cli.rb
39
38
  - lib/rabbitmqadmin-cli/version.rb
40
39
  - rabbitmqadmin-cli.gemspec
41
- has_rdoc: true
42
40
  homepage: http://github.com/leemhenson/rabbitmqadmin-cli
43
41
  licenses: []
44
42
  post_install_message:
@@ -59,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
57
  version: '0'
60
58
  requirements: []
61
59
  rubyforge_project:
62
- rubygems_version: 1.6.2
60
+ rubygems_version: 1.8.10
63
61
  signing_key:
64
62
  specification_version: 3
65
63
  summary: Ruby wrapper for calling out the rabbitmqadmin cli script