carnivore 0.3.6 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/carnivore/config.rb +3 -0
- data/lib/carnivore/source.rb +6 -2
- data/lib/carnivore/version.rb +1 -1
- data/lib/carnivore.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36945d2d841d5d9a08f82b25e0ec8751f4b182b7
|
4
|
+
data.tar.gz: 58353a8bb4cd13dacf2bf7b345089125abc14f60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3f0949c7bfc9dcc806e3d01334084e3566ef2a2f9969b82b8cb5ece5a8d39382d9bc7cbde1a4751eae730795ed790b4af5ba4395f23d4adf9f32f0b23064f1c
|
7
|
+
data.tar.gz: 5bc46fb98664573dcd85d4ffeaf1715d694e2f5d38729930dd39e604ce5277eab68d55455bfaeaa5157bfe2563df26ade41c1d61235c7767d950b07a7d9dcedd
|
data/CHANGELOG.md
CHANGED
data/lib/carnivore/source.rb
CHANGED
@@ -226,8 +226,12 @@ module Carnivore
|
|
226
226
|
def teardown_cleanup
|
227
227
|
warn 'Termination request received. Tearing down!'
|
228
228
|
if(callback_supervisor && callback_supervisor.alive?)
|
229
|
-
|
230
|
-
|
229
|
+
begin
|
230
|
+
warn "Tearing down callback supervisor! (#{callback_supervisor})"
|
231
|
+
callback_supervisor.terminate
|
232
|
+
rescue Celluloid::Task::TerminatedError
|
233
|
+
warn 'Terminated task error during callback supervisor teardown. Moving on.'
|
234
|
+
end
|
231
235
|
else
|
232
236
|
warn 'Callback supervisor is not alive. No teardown issued'
|
233
237
|
end
|
data/lib/carnivore/version.rb
CHANGED
data/lib/carnivore.rb
CHANGED
@@ -9,6 +9,7 @@ require 'carnivore/version'
|
|
9
9
|
# Message consumer and processor
|
10
10
|
module Carnivore
|
11
11
|
autoload :Callback, 'carnivore/callback'
|
12
|
+
autoload :Config, 'carnivore/config'
|
12
13
|
autoload :Container, 'carnivore/container'
|
13
14
|
autoload :Error, 'carnivore/errors'
|
14
15
|
autoload :Message, 'carnivore/message'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carnivore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: celluloid
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- carnivore.gemspec
|
78
78
|
- lib/carnivore.rb
|
79
79
|
- lib/carnivore/callback.rb
|
80
|
+
- lib/carnivore/config.rb
|
80
81
|
- lib/carnivore/container.rb
|
81
82
|
- lib/carnivore/errors.rb
|
82
83
|
- lib/carnivore/message.rb
|