pebbles-river 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pebbles/river/river.rb +0 -6
- data/lib/pebbles/river/version.rb +1 -1
- data/lib/pebbles/river/worker.rb +0 -11
- data/lib/pebbles/river.rb +6 -0
- data/spec/lib/river_spec.rb +1 -0
- data/spec/lib/worker_spec.rb +1 -0
- metadata +2 -2
data/lib/pebbles/river/river.rb
CHANGED
@@ -123,12 +123,6 @@ module Pebbles
|
|
123
123
|
|
124
124
|
EXCHANGE_OPTIONS = {type: :topic, durable: :true}.freeze
|
125
125
|
|
126
|
-
CONNECTION_EXCEPTIONS = [
|
127
|
-
Bunny::Exception,
|
128
|
-
# These should be caught by Bunny, but apparently aren't.
|
129
|
-
Errno::ECONNRESET
|
130
|
-
].freeze
|
131
|
-
|
132
126
|
end
|
133
127
|
|
134
128
|
end
|
data/lib/pebbles/river/worker.rb
CHANGED
@@ -202,17 +202,6 @@ module Pebbles
|
|
202
202
|
end
|
203
203
|
end
|
204
204
|
|
205
|
-
CONNECTION_EXCEPTIONS = [
|
206
|
-
Bunny::ConnectionError,
|
207
|
-
Bunny::ForcedChannelCloseError,
|
208
|
-
Bunny::ForcedConnectionCloseError,
|
209
|
-
Bunny::ConnectionClosedError,
|
210
|
-
Bunny::ServerDownError,
|
211
|
-
Bunny::ProtocolError,
|
212
|
-
# These should be caught by Bunny, but apparently aren't.
|
213
|
-
Errno::ECONNRESET
|
214
|
-
].freeze
|
215
|
-
|
216
205
|
end
|
217
206
|
|
218
207
|
end
|
data/lib/pebbles/river.rb
CHANGED
@@ -19,6 +19,12 @@ require_relative "river/daemon_helper"
|
|
19
19
|
|
20
20
|
module Pebbles::River
|
21
21
|
|
22
|
+
CONNECTION_EXCEPTIONS = [
|
23
|
+
Bunny::Exception,
|
24
|
+
# These should be caught by Bunny, but apparently aren't.
|
25
|
+
Errno::ECONNRESET
|
26
|
+
].freeze
|
27
|
+
|
22
28
|
def self.rabbitmq_options
|
23
29
|
@rabbitmq_options ||= {}.freeze
|
24
30
|
end
|
data/spec/lib/river_spec.rb
CHANGED
data/spec/lib/worker_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pebbles-river
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-09-
|
13
|
+
date: 2014-09-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: pebblebed
|