deepstream 0.1.6 → 0.1.7
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.rb +2 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e408d9efd700aa2a8ab393eb87f0e00dba1e43a
|
4
|
+
data.tar.gz: 812bb8d7c5af04a63334d7826701df0d961edf6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5468d8e34eed668c48c396622422884dc0fcf551e2c258b2ea2bab8a19f1ecfb8b1f9e9cd5cc226020608af59ba482da3a16ac0d4320612f497f128ff994d315
|
7
|
+
data.tar.gz: 59d69c20662f95e057f7a0cd3951e31f1cd82f78a18def3976c8cce9829baeb3d91e027c32a14e2d8b880ebb7af6a5e2f60fab08d88b12ed1674a924c0f32f6c
|
data/deepstream.gemspec
CHANGED
data/lib/deepstream.rb
CHANGED
@@ -115,7 +115,8 @@ class Deepstream::Client
|
|
115
115
|
|
116
116
|
def _login(credentials)
|
117
117
|
_write("A", "REQ", credentials.to_json)
|
118
|
-
|
118
|
+
ack = _read_socket
|
119
|
+
raise unless ack == %w{A A} || (ack == %w{C A} && _read_socket == %w{A A})
|
119
120
|
end
|
120
121
|
|
121
122
|
def _read_socket(timeout: nil)
|
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: 0.1.
|
4
|
+
version: 0.1.7
|
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: 2016-
|
11
|
+
date: 2016-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Basic ruby client for the deepstream.io server
|
14
14
|
email:
|
@@ -43,8 +43,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
43
43
|
version: '0'
|
44
44
|
requirements: []
|
45
45
|
rubyforge_project:
|
46
|
-
rubygems_version: 2.
|
46
|
+
rubygems_version: 2.5.1
|
47
47
|
signing_key:
|
48
48
|
specification_version: 4
|
49
49
|
summary: deepstream.io ruby client
|
50
50
|
test_files: []
|
51
|
+
has_rdoc:
|