carnivore 0.3.14 → 0.3.16
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/carnivore.gemspec +1 -1
- data/lib/carnivore/source.rb +6 -7
- data/lib/carnivore/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af038d704eaaa96651e9170f015c5174b2cb3a78
|
4
|
+
data.tar.gz: e5605c202c66d2396aaef1e09986d1f11463a8ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00a52163a640a92f882cce6c3dba09eee1255223988c02fbbfb4b20625513ef5afc21cf39c26bd1a7425903d3c59c8a866de6d9060c25c46d0fe438c0ea1b16b
|
7
|
+
data.tar.gz: fc28ee9b8f042397a03a341d138e6fa83a9417643bb4d45ef8efae222ce17174902a945ef67b3ea28aafca1fbef8aefde2a94443455beb16d296237a437c6ffb
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# v0.3.16
|
2
|
+
* Explicit celluloid constraint due to breaking changes in 0.16.1
|
3
|
+
* Disable support for local loop back (not currently used)
|
4
|
+
|
1
5
|
# v0.3.14
|
2
6
|
* Call out errors caught that were not handled
|
3
7
|
* Add tight constraint on celluloid due to major changes in 0.17
|
data/carnivore.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.description = 'Message processing helper'
|
11
11
|
s.license = 'Apache 2.0'
|
12
12
|
s.require_path = 'lib'
|
13
|
-
s.add_dependency 'celluloid', '
|
13
|
+
s.add_dependency 'celluloid', '0.16.0'
|
14
14
|
s.add_dependency 'bogo-config'
|
15
15
|
s.add_dependency 'multi_json'
|
16
16
|
s.add_dependency 'hashie'
|
data/lib/carnivore/source.rb
CHANGED
@@ -401,15 +401,14 @@ module Carnivore
|
|
401
401
|
def process(*args)
|
402
402
|
unless(processing)
|
403
403
|
begin
|
404
|
-
async.receive_messages
|
405
404
|
@processing = true
|
406
405
|
while(run_process && !callbacks.empty?)
|
407
|
-
if(message_loop.empty? && message_remote.empty?)
|
408
|
-
|
409
|
-
end
|
410
|
-
msgs =
|
411
|
-
msgs.push message_loop.pop unless message_loop.empty?
|
412
|
-
msgs.push message_remote.pop unless message_remote.empty?
|
406
|
+
# if(message_loop.empty? && message_remote.empty?)
|
407
|
+
# wait(:messages_available)
|
408
|
+
# end
|
409
|
+
msgs = receive
|
410
|
+
# msgs.push message_loop.pop unless message_loop.empty?
|
411
|
+
# msgs.push message_remote.pop unless message_remote.empty?
|
413
412
|
msgs = [msgs].flatten.compact.map do |m|
|
414
413
|
if(valid_message?(m))
|
415
414
|
format(m)
|
data/lib/carnivore/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
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.16
|
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-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: celluloid
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.16.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.16.0
|
27
27
|
- !ruby/object:Gem::Dependency
|