amqp 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/amqp/channel.rb +2 -2
  2. data/lib/amqp/version.rb +1 -1
  3. metadata +18 -18
@@ -828,10 +828,10 @@ module AMQP
828
828
  Queue.new(self, name, opts)
829
829
  else
830
830
  shim = Proc.new { |q, method|
831
- queue = find_queue(method.queue)
832
831
  if block.arity == 1
833
- block.call(queue)
832
+ block.call(q)
834
833
  else
834
+ queue = find_queue(method.queue)
835
835
  block.call(queue, method.consumer_count, method.message_count)
836
836
  end
837
837
  }
@@ -6,5 +6,5 @@ module AMQP
6
6
  #
7
7
  # @see AMQ::Protocol::VERSION
8
8
  # @return [String] AMQP gem version
9
- VERSION = '0.9.3'
9
+ VERSION = '0.9.4'
10
10
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amqp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
4
+ hash: 51
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 3
10
- version: 0.9.3
9
+ - 4
10
+ version: 0.9.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aman Gupta
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2012-02-09 00:00:00 Z
20
+ date: 2012-02-15 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: eventmachine
@@ -75,24 +75,24 @@ extensions: []
75
75
 
76
76
  extra_rdoc_files:
77
77
  - README.md
78
- - docs/08Migration.textile
79
- - docs/AMQP091ModelExplained.textile
80
- - docs/Bindings.textile
81
- - docs/Clustering.textile
82
- - docs/ConnectingToTheBroker.textile
83
- - docs/ConnectionEncryptionWithTLS.textile
84
- - docs/DocumentationGuidesIndex.textile
85
78
  - docs/Durability.textile
86
- - docs/ErrorHandling.textile
87
79
  - docs/Exchanges.textile
88
- - docs/GettingStarted.textile
89
80
  - docs/PatternsAndUseCases.textile
90
- - docs/Queues.textile
91
- - docs/RabbitMQVersions.textile
81
+ - docs/ConnectingToTheBroker.textile
82
+ - docs/ConnectionEncryptionWithTLS.textile
92
83
  - docs/RunningTests.textile
93
- - docs/TestingWithEventedSpec.textile
84
+ - docs/DocumentationGuidesIndex.textile
94
85
  - docs/Troubleshooting.textile
86
+ - docs/RabbitMQVersions.textile
87
+ - docs/Queues.textile
88
+ - docs/08Migration.textile
95
89
  - docs/VendorSpecificExtensions.textile
90
+ - docs/AMQP091ModelExplained.textile
91
+ - docs/Bindings.textile
92
+ - docs/GettingStarted.textile
93
+ - docs/ErrorHandling.textile
94
+ - docs/Clustering.textile
95
+ - docs/TestingWithEventedSpec.textile
96
96
  files:
97
97
  - .gitignore
98
98
  - .rspec
@@ -337,7 +337,7 @@ files:
337
337
  homepage: http://github.com/ruby-amqp/amqp
338
338
  licenses: []
339
339
 
340
- post_install_message: ""
340
+ post_install_message:
341
341
  rdoc_options:
342
342
  - --include=examples --main README.md
343
343
  require_paths:
@@ -363,7 +363,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
363
363
  requirements: []
364
364
 
365
365
  rubyforge_project: amqp
366
- rubygems_version: 1.8.10
366
+ rubygems_version: 1.8.15
367
367
  signing_key:
368
368
  specification_version: 3
369
369
  summary: Widely used, feature-rich asynchronous AMQP 0.9.1 client with batteries included