async-websocket 0.19.0 → 0.19.1

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: 0fd37d5eb2b762f6f5d7bb8027d3d51c1a9300f63d6d38b5bd7aec5a373d1a0d
4
- data.tar.gz: 0c8cf165cf58f920ac80534b08fef3146e08caa3676542bea72b6ae2b2fdbe9c
3
+ metadata.gz: 0a471c482c07189921b6c9af76ea30c02e31d677897567b0616de7c818258cb5
4
+ data.tar.gz: e3d34e6f906b3271ea1da568d450f46faf1e84eaed512f74ef3ba4e275a6fdbf
5
5
  SHA512:
6
- metadata.gz: e05aaeb2c9f4ce782bf99c57789d0e21d89a6fc262eae1141451c40c2d17776920117deae3f7c2864218a90ec5a5f7feb5ff4604460cb1cb5ee2ab783fac230d
7
- data.tar.gz: 919c2aa1bafd05fe0e2283d201553fd546f9e734f7f4134c9adfd62ea9fb6ac714eace090d487b22fd3613dcd52d64eed6a225143a56687f9cecddea973e84db
6
+ metadata.gz: f7ad0c1cbdf9c9e4ccfe35e313474890ed9a134dacbbb1a26c584810619445db585e6fea6620390b10da44bbaa300bc4824879a8feb64505b21c1f6f35bc9d4c
7
+ data.tar.gz: a27f16b8ec763fc216d4fbe63c6867289aebc25e952b68d56517c318d32504b47a2c38d791053547f0c511b512c89c017cd61fe1c1966e26d1b57904018b733c
checksums.yaml.gz.sig ADDED
Binary file
@@ -30,11 +30,11 @@ module Async
30
30
  include ::Protocol::WebSocket::Headers
31
31
 
32
32
  def self.websocket?(request)
33
- Array(request.protocol).include?(PROTOCOL)
33
+ Array(request.protocol).any? { |e| e.casecmp?(PROTOCOL) }
34
34
  end
35
35
 
36
36
  def self.open(request, headers: [], protocols: [], handler: Connection, **options, &block)
37
- if Array(request.protocol).include?(PROTOCOL)
37
+ if websocket?(request)
38
38
  # Select websocket sub-protocol:
39
39
  if requested_protocol = request.headers[SEC_WEBSOCKET_PROTOCOL]
40
40
  protocol = (requested_protocol & protocols).first
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module WebSocket
23
- VERSION = "0.19.0"
23
+ VERSION = "0.19.1"
24
24
  end
25
25
  end
data.tar.gz.sig ADDED
@@ -0,0 +1,5 @@
1
+ ��[��ǽ�Kp��[��aALʟ0��G�G��Nt�]1��b����ק�)�tx�FV;��S�>λ�o�D� ��+�t�'��=�F��l��� q���T:������w����!8ᶔ�S�K�뺳K�P*'8Q<7�U
2
+ \�t�{t���0���#h�&��G-�n�k��
3
+ ��hص��[X�HG���
4
+ ,�z
5
+ !ʈ|�h�$�uU���6�
metadata CHANGED
@@ -1,14 +1,50 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-websocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
+ - destructobeam
9
+ - Olle Jonsson
10
+ - Aurora
11
+ - Bryan Powell
12
+ - Gleb Sinyavskiy
13
+ - Janko Marohnić
14
+ - Michel Boaventura
15
+ - jaml
8
16
  autorequire:
9
17
  bindir: bin
10
- cert_chain: []
11
- date: 2021-06-05 00:00:00.000000000 Z
18
+ cert_chain:
19
+ - |
20
+ -----BEGIN CERTIFICATE-----
21
+ MIIEhDCCAuygAwIBAgIBATANBgkqhkiG9w0BAQsFADA3MTUwMwYDVQQDDCxzYW11
22
+ ZWwud2lsbGlhbXMvREM9b3Jpb250cmFuc2Zlci9EQz1jby9EQz1uejAeFw0yMTA4
23
+ MTYwNjMzNDRaFw0yMjA4MTYwNjMzNDRaMDcxNTAzBgNVBAMMLHNhbXVlbC53aWxs
24
+ aWFtcy9EQz1vcmlvbnRyYW5zZmVyL0RDPWNvL0RDPW56MIIBojANBgkqhkiG9w0B
25
+ AQEFAAOCAY8AMIIBigKCAYEAyXLSS/cw+fXJ5e7hi+U/TeChPWeYdwJojDsFY1xr
26
+ xvtqbTTL8gbLHz5LW3QD2nfwCv3qTlw0qI3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92S47PTOXzwPBDsrFiq3VLbRjHSwf8rpqybQBH9MfzxGGxTaETQYOd6b4e4Ag6
43
+ y92abGna0bmIEb4+Tx9rQ10Uijh1POzvr/VTH4bbIPy9FbKrRsIQ24qDbNJRtOpE
44
+ RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
45
+ HiLJ8VOFx6w=
46
+ -----END CERTIFICATE-----
47
+ date: 2022-08-01 00:00:00.000000000 Z
12
48
  dependencies:
13
49
  - !ruby/object:Gem::Dependency
14
50
  name: async-http
@@ -177,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
213
  - !ruby/object:Gem::Version
178
214
  version: '0'
179
215
  requirements: []
180
- rubygems_version: 3.3.0.dev
216
+ rubygems_version: 3.3.7
181
217
  signing_key:
182
218
  specification_version: 4
183
219
  summary: An async websocket library on top of websocket-driver.
metadata.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ \�C����p�T{� ���I�g�"����o˒:��O�4ޗ�_�2X@��X�����J�[K��
2
+ �Y��lo{��T9>�?���tKJ`��m�_���/Xe�5�#՘�>J�՗�L�˦� ����"�iǝ��ʰe4�x�� ���e�T1��p����") E��H����GZ����6*���[���� P�,2�|���,��w!������E5G��h;�,[/