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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: acf143191626d7fdb1cedd8bd12a7b29f000ed99
4
- data.tar.gz: f03f2555d81fe979cb7968325286dd20c2e2b908
3
+ metadata.gz: af038d704eaaa96651e9170f015c5174b2cb3a78
4
+ data.tar.gz: e5605c202c66d2396aaef1e09986d1f11463a8ce
5
5
  SHA512:
6
- metadata.gz: f6ed218dad27da653e39c467f20dc8591496c7aba4fe00328d21960a70f6b6df1a02dcad11c24501a7fe24e004f4d24aaa42b2e84c30162590293f4ad2a63999
7
- data.tar.gz: d3a5f1a77a1799d1d8e202ad7854bc44562b48104358c0e710682f3db0cdf0d6b8e4d8a907e1da80516aa329556efa5ebf95c0344558e8b6b434b573f9a2049c
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', '~> 0.16.0'
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'
@@ -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
- wait(:messages_available)
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)
@@ -1,4 +1,4 @@
1
1
  module Carnivore
2
2
  # Current version of library
3
- VERSION = Gem::Version.new('0.3.14')
3
+ VERSION = Gem::Version.new('0.3.16')
4
4
  end
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.14
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-07-10 00:00:00.000000000 Z
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