basicjrpc 0.1.60 → 0.1.61

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: 02d1207ba897a4f9a443ad86dd3fb905a812d375
4
- data.tar.gz: 754c79f87e67a8c5f2f005ebf33c680f817e649f
3
+ metadata.gz: 6d101119084938cc15c01a6c2c237ffd8d4fa6e8
4
+ data.tar.gz: 001d101b16bc5fc649ce2d7fb78ab60bb694c22c
5
5
  SHA512:
6
- metadata.gz: 83a9f16c67c36267e0f99890b682b77473ee6f536cba0ff24e185ba2c2972d4cf96fb28bfb2a1b7336bf0a26f58ae6c4e94f81ba122038bbc8eaa2f323f994fe
7
- data.tar.gz: 87a23ddfc5b820dbeda80065c7f48f440d38920e08acd8362906e986febb25852039678a6e4f10f0c21cfbc3f0ebba6b4ea5851f6a20f1e7bc27da131e397b00
6
+ metadata.gz: 07779746d67e73c94bb8d547d6246cc07b31b714a814ff22ba7c5815f6b0f25ba424fd8ea120efab9f42bdb7f40b891745356028c5a8782eab69047e6f6784db
7
+ data.tar.gz: f11a32356795345118e9c8e41ac45ee3bfe1237dfd030e35534cc3a618078ea85e9f302ff50b5eecff8f2787fb72f83024a2ac3d7abe08ada89d06f323ea4d90
@@ -30,7 +30,7 @@ module BasicJRPC
30
30
 
31
31
  my_message = false
32
32
 
33
- @redis.rpush(@queue, Oj.dump(payload, mode: :compat))
33
+ @redis.rpush(@queue, Oj.dump(payload))
34
34
 
35
35
  Timeout::timeout(5) {
36
36
  Oj.load(@redis.blpop(payload['message_id'])[1], :symbol_keys => true)
@@ -52,7 +52,7 @@ module BasicJRPC
52
52
  payload['message_id'] = SecureRandom.uuid
53
53
  payload['response'] = true
54
54
  payload['caller'] = caller.first(10)
55
- @redis.rpush(@queue, Oj.dump(payload, mode: :compat))
55
+ @redis.rpush(@queue, Oj.dump(payload))
56
56
  rescue Exception => e
57
57
  #terminate
58
58
  raise e
@@ -25,7 +25,7 @@ module BasicJRPC
25
25
 
26
26
  response = @injected_class.send(payload.method_name, *payload.method_arguments)
27
27
 
28
- @redis.rpush(payload.message_id, Oj.dump(response, mode: :compat))
28
+ @redis.rpush(payload.message_id, Oj.dump(response))
29
29
  end
30
30
  rescue Exception => e
31
31
  raise e
@@ -1,3 +1,3 @@
1
1
  module BasicJRPC
2
- VERSION = "0.1.60"
2
+ VERSION = "0.1.61"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basicjrpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.60
4
+ version: 0.1.61
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Simpson