haredo 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/src/lib/haredo/peer.rb +3 -3
- data/src/lib/haredo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46d06a4070b9f99459fa6b9e316c696fcbac6324
|
4
|
+
data.tar.gz: fb724322cd7195b7dd05850c88704abb1ba3da22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a76e1578cbcff7f49c8a949350ae4f30fcbe42816cbc64cb6a65e319b95c00018b18e021bc06cfbfe9697c8f1ca56ab0c522b817d33ae2bd0d96219daed1eeb2
|
7
|
+
data.tar.gz: a8b7b6a30d7445519145c61721f2068afb3681a9a948169b2533b691562af4d31ba1577b335496037cccd3a5c6f9de953259dac16823e8441243ced2b7c80cc8
|
data/src/lib/haredo/peer.rb
CHANGED
@@ -89,7 +89,7 @@ class Node
|
|
89
89
|
|
90
90
|
def send(to, args)
|
91
91
|
|
92
|
-
data = args[:data]
|
92
|
+
data = args[:data] || ''
|
93
93
|
from = args[:from]
|
94
94
|
headers = args[:headers] || {}
|
95
95
|
properties = args[:properties] || {}
|
@@ -159,7 +159,7 @@ class Client < Node
|
|
159
159
|
|
160
160
|
def send(to, args)
|
161
161
|
|
162
|
-
data = args[:data]
|
162
|
+
data = args[:data] || ''
|
163
163
|
from = args[:from]
|
164
164
|
headers = args[:headers] || {}
|
165
165
|
properties = args[:properties] || {}
|
@@ -295,7 +295,7 @@ class Service < Node
|
|
295
295
|
# message_id).
|
296
296
|
def reply(msg, args)
|
297
297
|
|
298
|
-
data = args[:data]
|
298
|
+
data = args[:data] || ''
|
299
299
|
headers = args[:headers] || {}
|
300
300
|
|
301
301
|
id = msg.properties.message_id.to_i
|
data/src/lib/haredo/version.rb
CHANGED