deepstream 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/deepstream.gemspec +1 -1
- data/lib/deepstream/client.rb +4 -3
- data/lib/deepstream/helpers.rb +2 -1
- data/lib/deepstream/record.rb +2 -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: ce0d374d6501431341af6d92bc81dac4d69625ff7f1798589d219ac8fdd1a2b9
|
4
|
+
data.tar.gz: 155d1a92062f7fdb6e1743634e1faab24bfcf9ddc4b437989068e1d8fc75c285
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd265a7de16feb50657b0d764a4105b8db11b200d558811d57a8acd0d83c619a007aa98a79246bae1bdda59e55a1bc5c65a9276901fa5751a4be22cb8de95a7f
|
7
|
+
data.tar.gz: 0a980e1dda5288e1b66655951ebd4ef02eb6dfae4496677f02ff2958a29b26b05e77ce09b4a78ac71e92933169088069fb1b601015b38fcc34f90aa588b0f168
|
data/deepstream.gemspec
CHANGED
data/lib/deepstream/client.rb
CHANGED
@@ -34,8 +34,9 @@ module Deepstream
|
|
34
34
|
@challenge_denied, @@deliberate_close = false
|
35
35
|
@state = CONNECTION_STATE::CLOSED
|
36
36
|
@verbose = @options[:verbose]
|
37
|
+
@reinitialize_master = @options[:reinitialize_master]
|
37
38
|
@log = Async.logger
|
38
|
-
@
|
39
|
+
@connected_before = false
|
39
40
|
connect
|
40
41
|
end
|
41
42
|
|
@@ -156,7 +157,7 @@ module Deepstream
|
|
156
157
|
def on_connection_ack
|
157
158
|
@state = CONNECTION_STATE::AUTHENTICATING
|
158
159
|
@message_buffer.delete_if { |msg| msg.action == ACTION::PATCH }
|
159
|
-
@record_handler.reinitialize
|
160
|
+
@record_handler.reinitialize if @connected_before
|
160
161
|
login
|
161
162
|
end
|
162
163
|
|
@@ -166,7 +167,7 @@ module Deepstream
|
|
166
167
|
end
|
167
168
|
|
168
169
|
def on_login
|
169
|
-
@
|
170
|
+
@connected_before = true
|
170
171
|
@state = CONNECTION_STATE::OPEN
|
171
172
|
every(@options[:heartbeat_interval]) { check_heartbeat } if @options[:heartbeat_interval]
|
172
173
|
resubscribe
|
data/lib/deepstream/helpers.rb
CHANGED
data/lib/deepstream/record.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deepstream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Currency-One S.A.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|