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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9ed569bb920db994f1bbc777cb0edb7134a264bcbe1d4b50d20548b27694484
4
- data.tar.gz: 1ffab71222838d000e0fbfdbeb83736058d8aae007679f55b0f05e2597acba6a
3
+ metadata.gz: 37e8a4add65ab76660e26f32c32f175127010ea482bcc4ec667a33599537955d
4
+ data.tar.gz: 1cf93bfb5264891e5b500c7c9d97462a481d6f5947bd3461b1431c2b4b289e3f
5
5
  SHA512:
6
- metadata.gz: 3f26b555da7f2e0c552e665d34799d51102224f32a3bf5a1b30526bd24751ddb2319cac54ca2292dd8fd11afacd05272ca97c9d28453edfc1e1dc9715b85f840
7
- data.tar.gz: b18f15df6147da77f3dad4d1c0cbd656be2e17107c79c984fd276bd71bb0abe014c64cb28f46ce91f81755ae8790798d993be226b64cc8e95386092dff5210f4
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, protocols: [], **options, &block)
50
- self.open(endpoint, *args, **options) do |client|
51
- connection = client.connect(endpoint.path, protocols: protocols)
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
 
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module WebSocket
23
- VERSION = "0.12.2"
23
+ VERSION = "0.13.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-websocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams