nats-pure 0.6.0 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nats/io/client.rb +7 -2
- data/lib/nats/io/version.rb +1 -1
- 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: 705212803ac5f40ecb4b1ffa6bcb6fa16d0153ef90c2d46ef2f937c66d340503
|
4
|
+
data.tar.gz: 580ac629b82778d88de22293bb5e1f501f8090c8cbd2635728cac38f819e6752
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e41fc0cc6a94ba6e50d7eca22810c20b9cfe133a8cb89df4734b7bbdc4053a4d2dada84cf26ea71c54c4b578af57a24bb8739437489018dfa00637017a44b5aa
|
7
|
+
data.tar.gz: 6e31b6352d5771f6f6da6541a9c045081919630357efe2535f3ac29687a7c2edca7ec26385bb2dbfd75ad0279e41fd76a857aa52e118b3f7b65c3f34cc587b34
|
data/lib/nats/io/client.rb
CHANGED
@@ -981,8 +981,13 @@ module NATS
|
|
981
981
|
if !line or line.empty?
|
982
982
|
raise ConnectError.new("nats: protocol exception, INFO not received")
|
983
983
|
end
|
984
|
-
|
985
|
-
|
984
|
+
|
985
|
+
if match = line.match(NATS::Protocol::INFO)
|
986
|
+
info_json = match.captures.first
|
987
|
+
process_info(info_json)
|
988
|
+
else
|
989
|
+
raise ConnectError.new("nats: protocol exception, INFO not valid")
|
990
|
+
end
|
986
991
|
|
987
992
|
case
|
988
993
|
when (server_using_secure_connection? and client_using_secure_connection?)
|
data/lib/nats/io/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nats-pure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Waldemar Quevedo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: NATS is an open-source, high-performance, lightweight cloud messaging
|
14
14
|
system.
|