active_publisher 1.2.0.pre4-java → 1.2.0.pre5-java
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40de0cc1b0adca96b23de5ddb5fb5fc79738644e74a8dc5a40990ec3b67a56ed
|
4
|
+
data.tar.gz: 61ae6ef5ae471f9a9c6dce0156e45e7bf51f09b64b7e5ae1cd8a1762b08eb829
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3aabc8bb12969dce2a4e176a6420acfc1cdcd70c47e361f7dd665879e5445e93ba6777cdc6a6f523baea4c116c70040a3cde6fd21b565424f68426fb2c4a04f1
|
7
|
+
data.tar.gz: ed43c8134e853a0a2b8b0d904361c51f6d73120f991b26e5adedc46df454407da5f0ac8317596dc0dfea380f6fc3c5ef1a9c88cb70e011855a61f45ee99b0637
|
@@ -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: java
|
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
|
requirement: !ruby/object:Gem::Requirement
|