arbiter 2.0.0 → 3.0.0

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: 51d32f401384d4cb0358b850dfb025cd3843e999
4
- data.tar.gz: 1d33932533ba1b48d5348918cabec42d329e12e8
3
+ metadata.gz: 74ae2f964f0bcc62d282aa7da8dce933613e9066
4
+ data.tar.gz: c155edf6a8e817fdd82455335adffd987c6e5906
5
5
  SHA512:
6
- metadata.gz: 84b5c25c1fb9371f3a76417e07c7aa9729750ca0271238567b79789eae7336af51e3c519ee9cd1e28b511b2c5e41309e3d3571927ea7ab12e658a9af7bfa5e35
7
- data.tar.gz: 6af9f764ac359470ec5aa26df3da74cad6e4c1002bc02afd5769c4e74c3cf57509597ae23c009c43ee729b7be342c0e1a1e65590fc7816726837578b08ffb8e6
6
+ metadata.gz: 60b5d54e2b3a6329e73bbd9629adfeb0e2c474ea38b1d4dd9ba689b9306c844fa655dbb1dbb5adc5beeed7d7337031c4ca39546c526ca65e6822ba57110fa66b
7
+ data.tar.gz: cd494754454c556a8bf7c1a179937a7d8628aade83f9f488b9aa28b025a78e146cda85f9a743ba021e6fbf3f4d3593fc412a2d1e0e3759b156db358fc84169ce
@@ -1,4 +1,5 @@
1
1
  require 'ffi-rzmq'
2
+ require 'multi_json'
2
3
 
3
4
  module Zeromq
4
5
  module Majordomo
@@ -15,7 +16,7 @@ module Zeromq
15
16
  def publish(method, params)
16
17
  sock = connect
17
18
  assert_zmq_ok(sock.send_strings(
18
- ['', 'MDPC01', @md_service, method.to_s, Marshal.dump(params)]
19
+ ['', 'MDPC01', @md_service, method.to_s, MultiJson.dump(params)]
19
20
  ))
20
21
  ensure
21
22
  disconnect(sock) if sock
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arbiter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sitter City
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-17 00:00:00.000000000 Z
11
+ date: 2015-12-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: