nats_messaging 1.1.1 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/nats_messaging/nats_service.rb +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9df0b5ed68c23c595aeeb4a60a0404da3b763d8ee166638e23d19da5b3a24db4
|
4
|
+
data.tar.gz: 533bac2b8437a034666ffbb5edc28c6a462f3e8cb6104d533fa2c60874502d38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84727b1eb676c41b27fffb47c2db474e5d5d34a69be86ba07c38d11c0295b7d1e192e4b8fd78c18b075e06629aa197ed29a7bd80f17152f10ccf1ab0d42e335b
|
7
|
+
data.tar.gz: 1265072913b5103973e6f0f1d8163aa3fe68a0e320fe9e8aae5ae359c254e2b096e54e9a219373f171f6404994fa02698769ab4f756f28b9a527fe3b5e7de421
|
@@ -55,15 +55,15 @@ module NatsMessaging
|
|
55
55
|
|
56
56
|
if @js
|
57
57
|
subscription = @js.subscribe(subject, durable: durable_name) do |msg|
|
58
|
-
process_received_message(msg, subject)
|
58
|
+
unpacked_data = process_received_message(msg, subject)
|
59
59
|
end
|
60
60
|
else
|
61
61
|
subscription = @nats.subscribe(subject) do |msg|
|
62
|
-
process_received_message(msg, subject)
|
62
|
+
unpacked_data = process_received_message(msg, subject)
|
63
63
|
end
|
64
64
|
end
|
65
|
-
|
66
65
|
@subscriptions[subject] = subscription
|
66
|
+
unpacked_data
|
67
67
|
end
|
68
68
|
|
69
69
|
# Process received message
|
@@ -127,6 +127,7 @@ module NatsMessaging
|
|
127
127
|
# Store the new subscription in the hash
|
128
128
|
@subscriptions[subject] = subscription
|
129
129
|
puts "NATS: Listening on #{subject} with reply message: #{reply_message}"
|
130
|
+
unpacked_data
|
130
131
|
end
|
131
132
|
end
|
132
133
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nats_messaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bea Graboloza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nats-pure
|