deepstream 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/deepstream.gemspec +6 -6
- data/lib/deepstream/async_patch.rb +2 -14
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fff30aea0355fa344202c8b0d7fc50eb68dc6dcc32d2f5da474f9bca70ef068
|
4
|
+
data.tar.gz: c0f4cef7341b68a0378444aa020f3483a6e68fc44dd7c0abb6e7777f94ac6395
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6248cae180ef82f9f1efaecea3366ec2d30c8fc24cf89a395a32e62ac1b75573c2b01a3486f8c30e8584b05dae4ac679318041348148174e8f7fc6367afc396
|
7
|
+
data.tar.gz: 82cf0ed01406e8c9e62e91bacf75e4a3005bef50ea9087d87dd73a4f21ba4f2b51b52949676c612a02e9140b6865e39000fcd2eee227b18935eafc04118a5673
|
data/deepstream.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "deepstream"
|
7
|
-
spec.version = "1.0.
|
7
|
+
spec.version = "1.0.8"
|
8
8
|
spec.authors = ["Currency-One S.A."]
|
9
9
|
spec.email = ["ruby@currency-one.com"]
|
10
10
|
|
@@ -17,12 +17,12 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.bindir = "exe"
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
|
-
spec.required_ruby_version = '>= 2.
|
20
|
+
spec.required_ruby_version = '>= 2.5.0'
|
21
21
|
spec.license = "Apache-2.0"
|
22
|
-
spec.add_runtime_dependency 'async', '~> 1.
|
23
|
-
spec.add_runtime_dependency 'async-io', '~> 1.
|
24
|
-
spec.add_runtime_dependency 'async-http', '~> 0.
|
25
|
-
spec.add_runtime_dependency 'async-websocket', '~> 0.
|
22
|
+
spec.add_runtime_dependency 'async', '~> 1.28.9'
|
23
|
+
spec.add_runtime_dependency 'async-io', '~> 1.30.2'
|
24
|
+
spec.add_runtime_dependency 'async-http', '~> 0.54.1'
|
25
|
+
spec.add_runtime_dependency 'async-websocket', '~> 0.17.0'
|
26
26
|
spec.add_development_dependency 'cucumber'
|
27
27
|
spec.add_development_dependency 'reel'
|
28
28
|
spec.add_development_dependency 'pry'
|
@@ -3,22 +3,10 @@ module Async
|
|
3
3
|
class Client < ::Protocol::HTTP::Middleware
|
4
4
|
include ::Protocol::WebSocket::Headers
|
5
5
|
|
6
|
-
def self.open(endpoint, *args, &block)
|
7
|
-
client = self.new(HTTP::Client.new(endpoint, *args), mask: true)
|
8
|
-
|
9
|
-
return client unless block_given?
|
10
|
-
|
11
|
-
begin
|
12
|
-
yield client
|
13
|
-
ensure
|
14
|
-
client.close
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
6
|
def self.connect(endpoint, *args, **options, &block)
|
19
7
|
self.open(endpoint, *args) do |client|
|
20
|
-
connection = client.connect(endpoint.path, **options)
|
21
|
-
|
8
|
+
connection = client.connect(endpoint.authority, endpoint.path, **options)
|
9
|
+
|
22
10
|
return connection unless block_given?
|
23
11
|
|
24
12
|
begin
|
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.8
|
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-02-
|
11
|
+
date: 2021-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.28.9
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.28.9
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: async-io
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.30.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.30.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: async-http
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.54.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.54.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: async-websocket
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.17.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.17.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: cucumber
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,7 +175,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
175
175
|
requirements:
|
176
176
|
- - ">="
|
177
177
|
- !ruby/object:Gem::Version
|
178
|
-
version: 2.
|
178
|
+
version: 2.5.0
|
179
179
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
180
|
requirements:
|
181
181
|
- - ">="
|