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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8abd866e745dc0b445fc51ea2375b5945998c66d
4
- data.tar.gz: dd607161a005f9a6a911d507b4642c00489371d8
3
+ metadata.gz: 43533e962c0f024fdb12f16ff9ca5258b7c1353b
4
+ data.tar.gz: 804600d16e7b520588650eb08abb618dd101e240
5
5
  SHA512:
6
- metadata.gz: 6740e4e73805188aba26a93feffc01975225caf1d27ab2402ac33b831a2fa72d58b4fb2615eda0096a52060c1041a080029cb97575f43b59cf1266d3fe363c86
7
- data.tar.gz: 38015dcd2b17d1701139e8671cffb852cc1ec4726618404cd7eb3f6b514c84b52d1bae7a8f707a4b943df0be8d626b7be3c2beac7dda6e7620d54ae564244540
6
+ metadata.gz: 19003bf2edb73e5ae6073ea03fa0f83e4b538cb029c87a56768828ec483ce9046245a96a01f883465181abeca078b539b744bc4c70fe7d7bef5dd96aa2055bd8
7
+ data.tar.gz: 2ca32ed74035e4ede55c035207bc544e1628f2ffa2e1df219645e7f8e7519f9627bb5f0641f2b9683a30b410f0c95cdc96867f217741ac114c2a77c2f91df1db
data/src/bin/haredo CHANGED
@@ -1,5 +1,6 @@
1
- #!/usr/bin/ruby
1
+ #!/usr/bin/env ruby
2
2
 
3
+ require 'rubygems'
3
4
  require 'optparse'
4
5
  require 'haredo/version'
5
6
  require 'haredo/admin/config'
@@ -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, data: '', headers: {}, properties: {}, from: nil)
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, data: data, headers: headers, properties: properties, from: from)
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.
@@ -3,9 +3,9 @@ module HareDo
3
3
 
4
4
  VERSION_MAJ = '2'
5
5
  VERSION_MIN = '0'
6
- VERSION_CL = '-beta'
7
- VERSION_PL = '2'
8
- VERSION = '2.0.2-beta-1'
9
- RELEASE_DATE = 'Thu, 03 Oct 2013 19:34:23 -0500'
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.2
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-04 00:00:00.000000000 Z
11
+ date: 2013-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny