haredo 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/src/bin/haredo +2 -1
- data/src/lib/haredo/peer.rb +8 -2
- data/src/lib/haredo/version.rb +4 -4
- 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: 43533e962c0f024fdb12f16ff9ca5258b7c1353b
|
4
|
+
data.tar.gz: 804600d16e7b520588650eb08abb618dd101e240
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19003bf2edb73e5ae6073ea03fa0f83e4b538cb029c87a56768828ec483ce9046245a96a01f883465181abeca078b539b744bc4c70fe7d7bef5dd96aa2055bd8
|
7
|
+
data.tar.gz: 2ca32ed74035e4ede55c035207bc544e1628f2ffa2e1df219645e7f8e7519f9627bb5f0641f2b9683a30b410f0c95cdc96867f217741ac114c2a77c2f91df1db
|
data/src/bin/haredo
CHANGED
data/src/lib/haredo/peer.rb
CHANGED
@@ -294,9 +294,15 @@ class Peer
|
|
294
294
|
# block until @timeout seconds elapse. Sleeps in busywait. Sleep interval is
|
295
295
|
# given by @sleep_interval.
|
296
296
|
|
297
|
-
def call(to,
|
297
|
+
def call(to, args)
|
298
|
+
|
299
|
+
data = args[:data] || ''
|
300
|
+
from = args[:from]
|
301
|
+
headers = args[:headers] || {}
|
302
|
+
properties = args[:headers] || {}
|
303
|
+
|
298
304
|
# Get message id of sent message
|
299
|
-
id = send(to,
|
305
|
+
id = send(to, args)
|
300
306
|
|
301
307
|
# Put blank entry in queue to indicate we are expecting a response with that
|
302
308
|
# message id.
|
data/src/lib/haredo/version.rb
CHANGED
@@ -3,9 +3,9 @@ module HareDo
|
|
3
3
|
|
4
4
|
VERSION_MAJ = '2'
|
5
5
|
VERSION_MIN = '0'
|
6
|
-
VERSION_CL = '
|
7
|
-
VERSION_PL = '
|
8
|
-
VERSION = '2.0.
|
9
|
-
RELEASE_DATE = '
|
6
|
+
VERSION_CL = ''
|
7
|
+
VERSION_PL = '3'
|
8
|
+
VERSION = '2.0.3-1'
|
9
|
+
RELEASE_DATE = 'Tue, 08 Oct 2013 11:41:29 -0500'
|
10
10
|
|
11
11
|
end # module HareDo
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haredo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Owens
|
8
8
|
autorequire:
|
9
9
|
bindir: src/bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|