deepstream 1.0.9 → 1.0.10
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/list.rb +4 -2
- data/lib/deepstream/record_handler.rb +1 -0
- 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: 2bfc3a3e7fb0cbc56c2f9ec0e30ab73136a62d64079741c29d5a812261eb1979
|
4
|
+
data.tar.gz: 4a3fc3e674eafc3ae4a7e622da0dd086c85ed34ab55d0c6e6c03cb32c5a6d377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 560920f9777edd39cdf2d062c855868dac777d8594d67025173353ae295804c11428562fc87dfb56ff5660452fcd331d0735ee7c7cc85804cca6d790b676707e
|
7
|
+
data.tar.gz: '09e60641ee2d502e3fc1f8f5ea017377c4ae2d0aa7dc4a96e1d606b6c4f9d9db509af3edaa543c03e462542042debc1f299c017d5e91986cd0c844ab280bd808'
|
data/deepstream.gemspec
CHANGED
data/lib/deepstream/list.rb
CHANGED
@@ -5,6 +5,8 @@ module Deepstream
|
|
5
5
|
class List < Record
|
6
6
|
LIST_CALLBACKS = %i{added removed}
|
7
7
|
|
8
|
+
attr_reader :version
|
9
|
+
|
8
10
|
def initialize(*args)
|
9
11
|
super
|
10
12
|
@data = []
|
@@ -15,7 +17,7 @@ module Deepstream
|
|
15
17
|
unless @data.include?(record_name)
|
16
18
|
@data << record_name
|
17
19
|
set
|
18
|
-
notify_listeners(:
|
20
|
+
notify_listeners(:added, record_name)
|
19
21
|
end
|
20
22
|
rescue => e
|
21
23
|
@client.on_exception(e)
|
@@ -98,4 +100,4 @@ module Deepstream
|
|
98
100
|
end
|
99
101
|
end
|
100
102
|
end
|
101
|
-
end
|
103
|
+
end
|
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.10
|
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-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|