carnivore 1.0.6 → 1.0.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/message.rb +4 -1
- data/lib/carnivore/source.rb +1 -1
- data/lib/carnivore/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9dabcb460abc6c7b607edd9cc024f0ca87b35933
|
4
|
+
data.tar.gz: 0c4ba1f501e00e3d3abb7de34973085fbc67340e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 193a571b672439b5745249ebee3fac8ec39a2474bc0265fd78f69503235b6982d01beab4dc54b01454421e4a36a7e9e9b0423692448a3bf71fa4c3e5a7b3c7de
|
7
|
+
data.tar.gz: 20f4c3c0641ad551502e4b19a67d8c029fe91c9293e3e5b86dd57fa8322e124467cf2616a051d462ac258ab2acec7fb4f05736af1dcef614f60a86968ac87a7b
|
data/CHANGELOG.md
CHANGED
data/lib/carnivore/message.rb
CHANGED
@@ -33,7 +33,10 @@ module Carnivore
|
|
33
33
|
#
|
34
34
|
# @param args [Object] list passed to Carnivore::Source#confirm
|
35
35
|
def confirm!(*args)
|
36
|
-
|
36
|
+
unless(@confirm)
|
37
|
+
@confirm = true
|
38
|
+
self[:source].async(:locked).confirm(*([self] + args).flatten(1).compact)
|
39
|
+
end
|
37
40
|
end
|
38
41
|
|
39
42
|
# Touch message on source
|
data/lib/carnivore/source.rb
CHANGED
@@ -431,7 +431,7 @@ module Carnivore
|
|
431
431
|
msgs.each do |msg|
|
432
432
|
if(multiple_callbacks? || respond_to?(:orphan_callback))
|
433
433
|
valid_callbacks = callbacks.find_all do |name|
|
434
|
-
callback_supervisor[callback_name(name)].valid?(msg)
|
434
|
+
defer{ callback_supervisor[callback_name(name)].valid?(msg) }
|
435
435
|
end
|
436
436
|
else
|
437
437
|
valid_callbacks = callbacks
|
data/lib/carnivore/version.rb
CHANGED
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: 1.0.
|
4
|
+
version: 1.0.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-10-
|
11
|
+
date: 2015-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bogo-config
|