async-websocket 0.23.1 → 0.24.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: a25d76b4b6474985857f1e8dc6bcc69f556349f08ccc1fab8d5c4136306d9fa8
4
- data.tar.gz: 070f7118ec8e2674ec9b4a3952db3f0c7050472a991c5c35668964f5c5ce1bc4
3
+ metadata.gz: a6f55fc97658f8c1ef6a8b1d04302dbe5241361acbf6002635b89acf719defc8
4
+ data.tar.gz: 3a0a0e6fcec7db94b633e35449a18af93190ac5084b12ed0b962453980663620
5
5
  SHA512:
6
- metadata.gz: 63a54f18c629a495d9fc8b184f4ff09ba7b8a42b2fab96f2104f002fff10f67f0b7587cb76b9129d41a40313a769e374bf127f54ed377b8d879f315c0bdbccca
7
- data.tar.gz: 733b864a850c94c88724607e562244445fd4c1b16645b2a83d0499ece0b89a0d8cb47da2ffdc70f11c091badc9e8baf87b32a55e929912d8b363ecf75cc39dc1
6
+ metadata.gz: 905b227102f2bba67b49b4d1b872a009f6e679b837cbb1a5fa161b75af19eb3df461e0a1cfdf90277988c60ac73fdac97dfc0ba5f49eb96635cbb6a335a994a9
7
+ data.tar.gz: 3246ee862abbe2ba80d2736ea6a4c23829eeecfa6fb4bf362a5071e27e42af82f2344d390551988314a646f21fe43a45b2963e399970f22650f72941f082c3ee
checksums.yaml.gz.sig CHANGED
Binary file
@@ -11,15 +11,10 @@ module Async
11
11
  module Rails
12
12
  def self.open(request, **options, &block)
13
13
  if response = Rack.open(request.env, **options, &block)
14
- response[1]['rack.hijack'] = lambda do |stream|
15
- response[2].call(stream)
16
- end
17
-
18
- # Close the response to prevent Rails from... trying to render a view?
19
- return ::ActionDispatch::Response.new(response[0], response[1], nil).tap(&:close)
14
+ ::Rack::Response[*response]
15
+ else
16
+ ::ActionDispatch::Response.new(404, [], [])
20
17
  end
21
-
22
- return ::ActionDispatch::Response.new(404, [], [])
23
18
  end
24
19
  end
25
20
  end
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Async
7
7
  module WebSocket
8
- VERSION = "0.23.1"
8
+ VERSION = "0.24.0"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
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.23.1
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -45,7 +45,7 @@ cert_chain:
45
45
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
46
46
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
47
47
  -----END CERTIFICATE-----
48
- date: 2023-02-04 00:00:00.000000000 Z
48
+ date: 2023-02-13 00:00:00.000000000 Z
49
49
  dependencies:
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: async-http
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
201
  - !ruby/object:Gem::Version
202
202
  version: '0'
203
203
  requirements: []
204
- rubygems_version: 3.4.1
204
+ rubygems_version: 3.4.6
205
205
  signing_key:
206
206
  specification_version: 4
207
207
  summary: An async websocket library on top of websocket-driver.
metadata.gz.sig CHANGED
Binary file