async-http 0.41.2 → 0.42.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: b03f8ddfde69ce14285424f87203cc3ff47413bc38e513ad13950204478276ec
4
- data.tar.gz: bbb11d3d4142145a3dca222e3e89aa9892bf0b9ec16a3b28f9bb0e4d8efc2fb7
3
+ metadata.gz: ae1d165553cd9ad7fb47af4dcb243ca4d3f3b9cbde65f360ac9ab34febfd65a7
4
+ data.tar.gz: f04a7246511b88650226c03edd6656c39480e019aee8722cf4637746f12a8bf9
5
5
  SHA512:
6
- metadata.gz: 71e6804a9529943826673158d52f3c5d95b71dea1f20587869b12c537259cf87c624c2a95ae81f2b46e5224bea4cffe763a451aebd2d2f81d49fc45a86d56981
7
- data.tar.gz: a045b0fda84ec00db50dd2949f67cb757a650792a3d0636d271bedbe4fbefb4cfcb51a020b87e7b8daaa71d494f78d992ca3328ee6935f685374e035b3f9259b
6
+ metadata.gz: 54abdde015a17329d63fa355ee7f51c1faf9837e186fbf389ad899264cd30085664ea41f11e948f37a210dcc3d78ddd987490b76fa2e7d3915d06561de0e6a36
7
+ data.tar.gz: 9621cdee27be23eb6a9c98e9054850af548d9fd5f92b7b0dc2f4ce8e95cb4beda604b814e6ec18093a2dd92520a2fdff69b20a36d3bab694860f0ddceba53474
data/async-http.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.add_dependency("async", "~> 1.14")
20
20
  spec.add_dependency("async-io", "~> 1.18")
21
21
 
22
- spec.add_dependency("protocol-http", "~> 0.5.0")
22
+ spec.add_dependency("protocol-http", "~> 0.7.0")
23
23
  spec.add_dependency("protocol-http1", "~> 0.7.0")
24
24
  spec.add_dependency("protocol-http2", "~> 0.3.0")
25
25
 
@@ -55,7 +55,7 @@ module Async
55
55
  while request = next_request
56
56
  response = yield(request, self)
57
57
 
58
- return if @stream.closed?
58
+ return if @stream.nil? or @stream.closed?
59
59
 
60
60
  if response
61
61
  # Try to avoid holding on to request, to minimse GC overhead:
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module HTTP
23
- VERSION = "0.41.2"
23
+ VERSION = "0.42.0"
24
24
  end
25
25
  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.41.2
4
+ version: 0.42.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: 2019-05-23 00:00:00.000000000 Z
11
+ date: 2019-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.5.0
47
+ version: 0.7.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.5.0
54
+ version: 0.7.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: protocol-http1
57
57
  requirement: !ruby/object:Gem::Requirement