nats_messaging 1.0.4 → 1.0.5
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 +0 -2
- 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: 024bad04425d91a4a9674cf078c2bfeebc7f5edbe44bb10811e45b0c4d3e4909
|
4
|
+
data.tar.gz: b251dc00455ba4c726ffba695b0708a7b2a5744e3786f0c288f5982f8d3c8c97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a0bf3614866c633447cdf13431049229e49bf22a1482c234c1b407967bc1762ea2caaa26c2764b46cbb83fbb0875ef01dd0a17198aed8be4c90843c0782006b
|
7
|
+
data.tar.gz: 8fd31978fdb026ca9ce61f29d5829436535ad2cd5ee38b34753c91cffddebb18107c0c45d5ef019f2362aa1a43f065a21d56e949efa40ad955469dbec87572e2
|
@@ -107,7 +107,6 @@ module NatsMessaging
|
|
107
107
|
# Create a new subscription
|
108
108
|
puts "NATS: Suscribing to #{subject}"
|
109
109
|
subscription = @nats.subscribe(subject) do |msg|
|
110
|
-
puts "NATS: process reply?"
|
111
110
|
begin
|
112
111
|
unpacked_data = MessagePack.unpack(msg.data) # Deserializar mensaje recibido
|
113
112
|
puts "NATS: Received request on #{subject}: #{unpacked_data}"
|
@@ -129,7 +128,6 @@ module NatsMessaging
|
|
129
128
|
|
130
129
|
# Store the new subscription in the hash
|
131
130
|
@subscriptions[subject] = subscription
|
132
|
-
puts "NATS: Stored subscription for #{subject}: #{@subscriptions[subject].inspect}"
|
133
131
|
puts "NATS: Listening on #{subject} with reply message: #{reply_message}"
|
134
132
|
end
|
135
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.0.
|
4
|
+
version: 1.0.5
|
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-02-
|
11
|
+
date: 2025-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A service to send and receive messages on a Rails application using NATS
|
14
14
|
email: beatriz.graboloza@bpo-advisors.net
|