ruby_nest_nats 0.1.0 → 0.1.1

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: eb157d3580a1c3059fd2accca997d62b983e3d02a88256caf933f842efaeb45c
4
- data.tar.gz: 85ca0f29130a422f72ea3a966a38fcafba3c1a59abbc64504fccb5e2d6ed7b84
3
+ metadata.gz: 655b85cbd8f941a46595d30adde13826cf69e8978a829653596aaa1ebd4d6437
4
+ data.tar.gz: 1d72decb7def437e62a6302d1885ef18e66940285ccd10abc3bb34b34e44bbd3
5
5
  SHA512:
6
- metadata.gz: ecb51585d48e0a2e6613815e00b6d9c869444ea70567775138d5c6264fa20f77494f242c0165a975c03b6c24732a7c4050704dd3fc58a98a1f2be0cc789bcf50
7
- data.tar.gz: 6b0c1f22915cffd57897b41df7c9f72173ca3a1e84b7f2d3adee3a611c0bf9dc67509d1fb064966f778b50dda931412a41d1cc4b19b8028df5017876d019b511
6
+ metadata.gz: 17de52f910afb1eb74da267e29f80cbcfdfb0e2f929c4cc8912b4d7dcb8c445c15a063eb30c11a74b2504ec51196a1af72f141b05a9f96ada6103e8cb519c617
7
+ data.tar.gz: ffb654a55f20b835fb7e516af5425c192627146a3be9e2fb61cb07f4de79357f7ee6f7eeb2a1f4a36642fb719270ec30005eef39fe2961b65813157c26d49b4d
@@ -44,7 +44,7 @@ module RubyNestNats
44
44
  fiber = Fiber.new do
45
45
  NATS.start do
46
46
  replies.each do |replier|
47
- NATS.subscribe(replier[:subject], queue: reply[:queue]) do |message, reply, _subject|
47
+ NATS.subscribe(replier[:subject], queue: replier[:queue]) do |message, reply, _subject|
48
48
  response = replier[:handler].call(JSON.parse(message)["data"])
49
49
  NATS.publish(reply, response.to_json, queue: reply[:queue])
50
50
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyNestNats
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_nest_nats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keegan Leitz