nats-rpc 0.0.1 → 0.0.2

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
  SHA256:
3
- metadata.gz: ea664ac47363302e169e1bcec559adb687c8f7d973a5de6b0400678d673dd0d3
4
- data.tar.gz: f138923d3d4ca30d039777d6defb45e0873a930d555ba56deb96331a32471c73
3
+ metadata.gz: b8fb12bc77f7a303b8da0dc3170f1d8dec11ec9cf3f9952369a4c227d95a6826
4
+ data.tar.gz: cb0a95242b51cdbf6acd6f75e04b7d4302e28384777a2b6ac88c36463080babe
5
5
  SHA512:
6
- metadata.gz: 52eb7a7357a3359ebde3c94dbbf909e2838bbe272ed913a8dadb5f5e25f5e05d0859dea28f9a98ddf07e4334fd689160dd3593fad4ff0c0d1e0353060b8eadc2
7
- data.tar.gz: 5e38dbbbc061ad9e8188f654348fd1dc58a97d267f7e90582baf6beba3bcd1bc568a4c933dd9e37fdd426b2d2b1caf7d9f5b3d36628f8f4060b4034303a452b4
6
+ metadata.gz: dc9f28e7d74601aef60c7e10c08ecfb74bbd83baf792aa0f4545ef9d61c50be689bd5cc5eb8f6916e4a73b49943ba5795720db2b7c1fc76768b3e4c53e90d54d
7
+ data.tar.gz: 3e5825aacf9aea51e08c6f1fd8f661111b85b53d1ba61b69f7186a5d21962434b5f0cddb9347d8970cc7af3ed6314acca989073d4f9653512fb1d049def1f1c7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nats-rpc (0.0.1)
4
+ nats-rpc (0.0.2)
5
5
  nats-pure
6
6
 
7
7
  GEM
@@ -13,7 +13,7 @@ module NATS
13
13
  obj.to_json
14
14
  end
15
15
 
16
- msg = @nats.request 'testing', obj_json, opts
16
+ msg = @nats.request subscription, obj_json, opts
17
17
  data = JSON.parse(msg["data"])
18
18
  payload = JSON.parse(data["payload"])
19
19
 
@@ -1,5 +1,5 @@
1
1
  module NATS
2
2
  module RPC
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nats-rpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matti Paksula