basicjrpc 0.1.28 → 0.1.29

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: ca47e9c102553dca5442580b5483cb3de94be034
4
- data.tar.gz: d89c15d00d3894b07e20baa582f9806b152f261c
3
+ metadata.gz: 1306c12d987ed5b1de2b95e63749559ae6c53a90
4
+ data.tar.gz: 855a79c8ab8a89c527c66ccb80d4fed2753dedfa
5
5
  SHA512:
6
- metadata.gz: e1ccd0bfa37e76051cb04b5cdf713f32c76fc9cd54698c10ca0bbebb98bce317337ddb3c92d249da3e972c8403c8c70f2d1850e83a3ccfaf725e7b613c30642e
7
- data.tar.gz: 2ea6e8fc507a6a46dfbcc13b3d2acf3162ed6871ee164890500b14d846cdb39d40eaf7231a1bac33d0005a2c1a79a6437f666d8df4a0437d71a11dd1fa6c6325
6
+ metadata.gz: 9e1e6530a3e5c56cbcc227b52e027fc22a9f8c93b2de0ba5dd8f5df425f38ccd8b34ac47f1d90f818e029f331d34ba0fc07feadcd5889eaf4262d9f36d8bec5d
7
+ data.tar.gz: acdbf18b4fb45ce1d4211babeaa2be9a1bea362431b31129384e1a737f888f0c4ba2e3b0e8c9cb1b86230fc12379de9ca281de2c7e3f9759ea6261d4b6ffaf45
@@ -14,7 +14,7 @@ module BasicJRPC
14
14
  end
15
15
 
16
16
  def send_request payload
17
- nsq_producer = Nsq::Producer.new(nsqd: 'dockerlb:4150', topic: queue)
17
+ nsq_producer = Nsq::Producer.new(nsqd: 'dockerlb:4150', topic: @queue)
18
18
 
19
19
  payload[:message_id] = SecureRandom.uuid
20
20
  payload[:instance_id] = @instance_id
@@ -33,7 +33,7 @@ module BasicJRPC
33
33
  def send_request payload
34
34
  payload[:message_id] = SecureRandom.uuid
35
35
  payload[:response] = true
36
- nsq_producer = Nsq::Producer.new(nsqd: 'dockerlb:4150', topic: queue)
36
+ nsq_producer = Nsq::Producer.new(nsqd: 'dockerlb:4150', topic: @queue)
37
37
  nsq_producer.write(Oj.dump(payload))
38
38
  nsq_producer.terminate
39
39
  end
@@ -1,3 +1,3 @@
1
1
  module BasicJRPC
2
- VERSION = "0.1.28"
2
+ VERSION = "0.1.29"
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.28
4
+ version: 0.1.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Simpson