queueing_rabbit 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,7 +41,7 @@ module QueueingRabbit
41
41
  def self.connect
42
42
  self.run_event_machine
43
43
 
44
- self.new(::AMQP.connect(QueueingRabbit.amqp_uri),
44
+ self.new(::AMQP.connect(QueueingRabbit.amqp_uri, connection_options),
45
45
  QueueingRabbit.amqp_exchange_name,
46
46
  QueueingRabbit.amqp_exchange_options)
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module QueueingRabbit
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -51,8 +51,9 @@ describe QueueingRabbit::Client::AMQP do
51
51
 
52
52
  describe ".connect" do
53
53
  before do
54
- AMQP.should_receive(:connect).with(QueueingRabbit.amqp_uri).
55
- and_return(connection)
54
+ AMQP.should_receive(:connect).
55
+ with(QueueingRabbit.amqp_uri, subject.connection_options).
56
+ and_return(connection)
56
57
  subject.should_receive(:run_event_machine)
57
58
  end
58
59
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queueing_rabbit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -153,7 +153,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
153
153
  version: '0'
154
154
  segments:
155
155
  - 0
156
- hash: 4549414432260122412
156
+ hash: -404030946286887403
157
157
  required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  none: false
159
159
  requirements:
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  segments:
164
164
  - 0
165
- hash: 4549414432260122412
165
+ hash: -404030946286887403
166
166
  requirements: []
167
167
  rubyforge_project:
168
168
  rubygems_version: 1.8.25