queueing_rabbit 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -28,8 +28,14 @@ module QueueingRabbit
|
|
28
28
|
|
29
29
|
attr_reader :connection
|
30
30
|
|
31
|
+
def self.connection_options
|
32
|
+
{:connection_timeout => QueueingRabbit.tcp_timeout,
|
33
|
+
:heartbeat => QueueingRabbit.heartbeat}
|
34
|
+
end
|
35
|
+
|
31
36
|
def self.connect
|
32
|
-
self.new(::Bunny.new(QueueingRabbit.amqp_uri
|
37
|
+
self.new(::Bunny.new(QueueingRabbit.amqp_uri,
|
38
|
+
connection_options))
|
33
39
|
end
|
34
40
|
|
35
41
|
def open_channel(options = {})
|
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.3.
|
4
|
+
version: 0.3.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-01-
|
12
|
+
date: 2014-01-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: amqp
|
@@ -172,7 +172,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
172
|
version: '0'
|
173
173
|
segments:
|
174
174
|
- 0
|
175
|
-
hash: -
|
175
|
+
hash: -2062286161310013900
|
176
176
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
177
|
none: false
|
178
178
|
requirements:
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
version: '0'
|
182
182
|
segments:
|
183
183
|
- 0
|
184
|
-
hash: -
|
184
|
+
hash: -2062286161310013900
|
185
185
|
requirements: []
|
186
186
|
rubyforge_project:
|
187
187
|
rubygems_version: 1.8.23
|