async-http 0.54.1 → 0.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/async/http/body/hijack.rb +4 -4
- data/lib/async/http/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c6ded2cff5f70f5f967912da2a390e878ef43ba759e9044b4131ea433a55d7b
|
4
|
+
data.tar.gz: eae09a23793d39af77a72d4cefddf7a9d5b353c887ab3acdb654c2ab7911c661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43a53999b1931ace79bef33c196983aceef0f407dcfdadce076a9faf3b91de9b66bed3b54b87033d90d0c95d59b374b81891ccfac0684489e0cc17d0fc0b8e01
|
7
|
+
data.tar.gz: e2d7f407498eb891cc24a3fc147f031b6f46e2017e92da11c8c3f3496de2612277f63c60a80a800bfe2f8310b82d75b5073735b9b7901c037a1eafdeb171fe3d
|
@@ -32,13 +32,13 @@ module Async
|
|
32
32
|
::Protocol::HTTP::Response[status, headers, self.wrap(request, &block)]
|
33
33
|
end
|
34
34
|
|
35
|
-
def self.wrap(request, &block)
|
36
|
-
self.new(request
|
35
|
+
def self.wrap(request = nil, &block)
|
36
|
+
self.new(block, request&.body)
|
37
37
|
end
|
38
38
|
|
39
|
-
def initialize(input = nil
|
40
|
-
@input = input
|
39
|
+
def initialize(block, input = nil)
|
41
40
|
@block = block
|
41
|
+
@input = input
|
42
42
|
|
43
43
|
@task = nil
|
44
44
|
@stream = nil
|
data/lib/async/http/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: '0'
|
245
245
|
requirements: []
|
246
|
-
rubygems_version: 3.
|
246
|
+
rubygems_version: 3.2.3
|
247
247
|
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: A HTTP client and server library.
|