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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/async/websocket/adapters/rails.rb +3 -8
- data/lib/async/websocket/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6f55fc97658f8c1ef6a8b1d04302dbe5241361acbf6002635b89acf719defc8
|
4
|
+
data.tar.gz: 3a0a0e6fcec7db94b633e35449a18af93190ac5084b12ed0b962453980663620
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
15
|
-
|
16
|
-
|
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
|
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.
|
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-
|
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.
|
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
|