async-websocket 0.23.0 → 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: df82f3dd1772a40330282c7e81f48c7eebf4ec60b46dde2967ed205e45505183
4
- data.tar.gz: 2a1bedaeb9fdd84c179505c14ea55cc4ab092b6084b3e9788a0ef54486cec9fa
3
+ metadata.gz: a6f55fc97658f8c1ef6a8b1d04302dbe5241361acbf6002635b89acf719defc8
4
+ data.tar.gz: 3a0a0e6fcec7db94b633e35449a18af93190ac5084b12ed0b962453980663620
5
5
  SHA512:
6
- metadata.gz: d466463ab823a6d305386c27659d32f79437b59e9a12b10402d27322011241cd3b60a96051ca16c1491e3ca023d5a6810429e74deeaf4d8ec117fab2e4bb7c48
7
- data.tar.gz: 18be04929807a7852183fa1b87dac0c4dd012ef7b86cf1f14a1ce53a3e801f86580151b584389378e7db30fde04e15a9e8f258854209c9fa265094b85413c896
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.0"
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.0
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-03 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
@@ -95,14 +95,14 @@ dependencies:
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: 0.9.1
98
+ version: '0.10'
99
99
  type: :runtime
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - "~>"
104
104
  - !ruby/object:Gem::Version
105
- version: 0.9.1
105
+ version: '0.10'
106
106
  - !ruby/object:Gem::Dependency
107
107
  name: bundler
108
108
  requirement: !ruby/object:Gem::Requirement
@@ -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