async-http 0.52.0 → 0.52.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: 66c427890a52386362f35aeecd0fbeeb36e0e8060afc549abc5c2c8d95dfd5ea
4
- data.tar.gz: 8910bc000b79e7b64861678dbfefce75d27f04b5d664008caf4ee8aef8eb584b
3
+ metadata.gz: 3eae41a03fcbeb32308cd6f6632f18ef6f8c3fc8bbf4dabd8e360cca792c2510
4
+ data.tar.gz: 473658b819493d2c4cd493c7b723ae02bccf69f3cb19f760599d18d30867de70
5
5
  SHA512:
6
- metadata.gz: 5e4bbc552ee944565da0d533f318210354bf5eff437a523d2ab02f3cbf7f1d26f98dc5e800af1b0abc2fffda9b2354f73aaa08e4bf4cf89218ae9ad3a015a061
7
- data.tar.gz: bd3149f2b69dfedc9480ec0f0a354151b64e209a2252ae6a557f443dbc5999c9be454d6e0edd3a717f42e18c97a856c494ddb1ee506e936ead0ecc580bf70d4f
6
+ metadata.gz: d7ded1163becb221402d6c048d9611518883662d3efc6a5246268d7feff5fe013736d4fcb60c082a3d821bb9df3f1dc8da0e07f0995d0564c2b37fa6160587f9
7
+ data.tar.gz: 9a7f56f11024114ee9615af2abc60fcba83d20803815519956db9fee20f212cd156d1505da349c21b702c85e85373a0688601541bc3588944e583fe358d55044
@@ -0,0 +1,103 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ async-http (0.52.1)
5
+ async (~> 1.25)
6
+ async-io (~> 1.28)
7
+ async-pool (~> 0.2)
8
+ protocol-http (~> 0.18.0)
9
+ protocol-http1 (~> 0.12.0)
10
+ protocol-http2 (~> 0.14.0)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ ast (2.4.0)
16
+ async (1.25.2)
17
+ console (~> 1.0)
18
+ nio4r (~> 2.3)
19
+ timers (~> 4.1)
20
+ async-container (0.14.1)
21
+ async (~> 1.0)
22
+ async-io (~> 1.4)
23
+ process-group
24
+ async-io (1.29.0)
25
+ async (~> 1.14)
26
+ async-pool (0.3.1)
27
+ async (~> 1.25)
28
+ async-rest (0.12.2)
29
+ async-http (~> 0.42)
30
+ protocol-http (~> 0.7)
31
+ async-rspec (1.14.0)
32
+ rspec (~> 3.0)
33
+ rspec-files (~> 1.0)
34
+ rspec-memory (~> 1.0)
35
+ bake (0.13.0)
36
+ samovar (~> 2.1)
37
+ bake-bundler (0.3.1)
38
+ bake (~> 0.9)
39
+ rspec
40
+ console (1.8.2)
41
+ covered (0.13.1)
42
+ async-rest
43
+ console (~> 1.0)
44
+ msgpack
45
+ parser
46
+ diff-lcs (1.3)
47
+ ffi (1.12.2)
48
+ mapping (1.1.1)
49
+ msgpack (1.3.3)
50
+ nio4r (2.5.2)
51
+ parser (2.7.1.2)
52
+ ast (~> 2.4.0)
53
+ process-group (1.2.1)
54
+ process-terminal (~> 0.2.0)
55
+ process-terminal (0.2.0)
56
+ ffi
57
+ protocol-hpack (1.4.2)
58
+ protocol-http (0.18.0)
59
+ protocol-http1 (0.12.0)
60
+ protocol-http (~> 0.18)
61
+ protocol-http2 (0.14.0)
62
+ protocol-hpack (~> 1.4)
63
+ protocol-http (~> 0.18)
64
+ rack (2.2.2)
65
+ rack-test (1.1.0)
66
+ rack (>= 1.0, < 3)
67
+ rspec (3.9.0)
68
+ rspec-core (~> 3.9.0)
69
+ rspec-expectations (~> 3.9.0)
70
+ rspec-mocks (~> 3.9.0)
71
+ rspec-core (3.9.2)
72
+ rspec-support (~> 3.9.3)
73
+ rspec-expectations (3.9.1)
74
+ diff-lcs (>= 1.2.0, < 2.0)
75
+ rspec-support (~> 3.9.0)
76
+ rspec-files (1.0.2)
77
+ rspec (~> 3.0)
78
+ rspec-memory (1.0.2)
79
+ rspec (~> 3.0)
80
+ rspec-mocks (3.9.1)
81
+ diff-lcs (>= 1.2.0, < 2.0)
82
+ rspec-support (~> 3.9.0)
83
+ rspec-support (3.9.3)
84
+ samovar (2.1.4)
85
+ console (~> 1.0)
86
+ mapping (~> 1.0)
87
+ timers (4.3.0)
88
+
89
+ PLATFORMS
90
+ ruby
91
+
92
+ DEPENDENCIES
93
+ async-container (~> 0.14.0)
94
+ async-http!
95
+ async-rspec (~> 1.10)
96
+ bake-bundler
97
+ bundler
98
+ covered
99
+ rack-test
100
+ rspec (~> 3.6)
101
+
102
+ BUNDLED WITH
103
+ 2.1.4
File without changes
@@ -69,7 +69,7 @@ module Async
69
69
  elsif protocol = request.protocol
70
70
  write_upgrade_body(protocol)
71
71
  else
72
- write_empty_body(request.body)
72
+ write_body(@version, body, false, trailers)
73
73
  end
74
74
 
75
75
  return Response.read(self, request)
@@ -94,12 +94,12 @@ module Async
94
94
  request = nil unless body
95
95
  response = nil
96
96
 
97
- write_body(@version, body, head, trailers)
97
+ write_body(request.version, body, head, trailers)
98
98
  end
99
99
  else
100
100
  # If the request failed to generate a response, it was an internal server error:
101
101
  write_response(@version, 500, {})
102
- write_body(@version, nil)
102
+ write_body(request.version, nil)
103
103
  end
104
104
 
105
105
  # Gracefully finish reading the request body if it was not already done so.
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Async
24
24
  module HTTP
25
- VERSION = "0.52.0"
25
+ VERSION = "0.52.1"
26
26
  end
27
27
  end
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.52.0
4
+ version: 0.52.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-23 00:00:00.000000000 Z
11
+ date: 2020-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async
@@ -204,7 +204,6 @@ files:
204
204
  - ".gitignore"
205
205
  - ".rspec"
206
206
  - ".travis.yml"
207
- - Gemfile
208
207
  - README.md
209
208
  - async-http.gemspec
210
209
  - bake.rb
@@ -228,6 +227,8 @@ files:
228
227
  - examples/upload/data.txt
229
228
  - examples/upload/server.rb
230
229
  - examples/upload/upload.rb
230
+ - gems.locked
231
+ - gems.rb
231
232
  - lib/async/http.rb
232
233
  - lib/async/http/body.rb
233
234
  - lib/async/http/body/delayed.rb