active_publisher 1.2.0.pre4 → 1.2.0.pre5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e85659b8c9077b818a54ff585db2f0b6725222
|
4
|
+
data.tar.gz: ab4715d5030e4d4a8a75d938d62c2555af446442
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1f14b9a180f322f2de03b68e9cfab1eec8761cbcea16e4b2128022f41c5e16b92c9d6368a64e538c191a588bc5db5599c1042d66fec636e9d068fa4f053ce09
|
7
|
+
data.tar.gz: 9b8db19e5cc9ffbe14f691eb9d79105ecbc1f99116a9057d298fb973354dad818d80b0af392b112fd9e50583c58394f21109e975eb505984fb2c5fc1ced11345
|
@@ -83,8 +83,16 @@ module ActivePublisher
|
|
83
83
|
|
84
84
|
messages = [] if messages.nil?
|
85
85
|
messages = [messages] unless messages.respond_to?(:each)
|
86
|
-
|
87
|
-
|
86
|
+
|
87
|
+
shifted_messages = []
|
88
|
+
messages.each do |message|
|
89
|
+
next unless message.is_a?(::Redis::Future)
|
90
|
+
next if message.value.nil?
|
91
|
+
|
92
|
+
shifted_messages << ::Marshal.load(message.value)
|
93
|
+
end
|
94
|
+
|
95
|
+
shifted_messages
|
88
96
|
end
|
89
97
|
|
90
98
|
def size
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.0.
|
4
|
+
version: 1.2.0.pre5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Stien
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: exe
|
14
14
|
cert_chain: []
|
15
|
-
date: 2018-01-
|
15
|
+
date: 2018-01-23 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bunny
|