async-websocket 0.12.2 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/async/websocket/client.rb +3 -3
- data/lib/async/websocket/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37e8a4add65ab76660e26f32c32f175127010ea482bcc4ec667a33599537955d
|
4
|
+
data.tar.gz: 1cf93bfb5264891e5b500c7c9d97462a481d6f5947bd3461b1431c2b4b289e3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fc18c9154780780e29ef16a233b7386fa9cc915f94d1e1bc573cdccc3fdc835b7ad778a5c686d14ac4e4b156e77e84ff3bed810afc02feb1bc326ceae8aa237
|
7
|
+
data.tar.gz: 92332727953f7660154439cf5e86524a498ce335b666728f74bca9b22e6ba8f61dfa7b7bc4f6e66b702ff83de5c060b8c2189b7d0831c5fbb98a95e8b8669f32
|
@@ -46,9 +46,9 @@ module Async
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
-
def self.connect(endpoint, *args,
|
50
|
-
self.open(endpoint, *args
|
51
|
-
connection = client.connect(endpoint.path,
|
49
|
+
def self.connect(endpoint, *args, **options, &block)
|
50
|
+
self.open(endpoint, *args) do |client|
|
51
|
+
connection = client.connect(endpoint.path, **options)
|
52
52
|
|
53
53
|
return connection unless block_given?
|
54
54
|
|