basicjrpc 0.1.49 → 0.1.50

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: 7b19557441c719d0ee2346156b27637ce8e50166
4
- data.tar.gz: cf5dccc1cf1eeb56a2258e7612e08a6c48d48198
3
+ metadata.gz: a6dcc7e340a1723c300c709da4fd118a89baa791
4
+ data.tar.gz: b93fdf9b2e1737cce7338b7bdcc595f40bbfc7cd
5
5
  SHA512:
6
- metadata.gz: f833493003fddba5e9d48219a493f4614c13ec6d1d9c8ec43e3405f193a587b2ee3909f81d159655188fe0fabb053565d54d7c0b520e8544a364b33114c88972
7
- data.tar.gz: e349010f8013b49bdd2ee47707ac4dcc5a3042d386d7d19382f0b36471ed54ce7c063123e4f6349ea67e0dea28f01178e5cf3a82ff3ff10cdaa640df2f4c42f1
6
+ metadata.gz: c5a3399880798b2c993093834c93d03c7c1113ff9e2840ebae752b0ad5847d6163ff84ce86986c22a2b551110a19f72381a56aa8d6d2c67af1ee1d79d7841c43
7
+ data.tar.gz: c1bd083e198a1050edf9f8e785e9d9c8e8de9306b6fb622daf63ba664cb05cb6c6a2734be602af189f5ff28268d12440da3187ba8eb0278780104f4f2ec93846
@@ -36,7 +36,7 @@ module BasicJRPC
36
36
 
37
37
  Timeout::timeout(5) {
38
38
  ### OR USE POP AND LLEN
39
- Oj.load(@redis.blpop(payload['message_id'])[1])
39
+ Oj.load(@redis.blpop(payload['message_id'])[1], :symbol_keys => true)
40
40
  }
41
41
  rescue Exception => e
42
42
  #terminate
@@ -17,7 +17,7 @@ module BasicJRPC
17
17
 
18
18
  #message = @nsq_consumer.pop
19
19
 
20
- payload = Oj.load(message)
20
+ payload = Oj.load(message, :symbol_keys => true)
21
21
  puts "Processing message #{payload.message_id} #{payload.method_name} #{payload.method_arguments} #{payload.callers}"
22
22
 
23
23
  # Should always return a data object
@@ -1,3 +1,3 @@
1
1
  module BasicJRPC
2
- VERSION = "0.1.49"
2
+ VERSION = "0.1.50"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basicjrpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.49
4
+ version: 0.1.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Simpson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-04 00:00:00.000000000 Z
11
+ date: 2016-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler