async-http 0.41.0 → 0.41.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: 35e99a53d484c9c4e0ee98db95695ea2a238dc71e03c958425c37f4a2c6560dd
4
- data.tar.gz: 7a6bcefcc687b98652d0fa1b23d234f6223ca8c5dd80fd88c44624883e871322
3
+ metadata.gz: f706f545028ae3c80415ddedb64e930b1fc5a8af6774f74dd80be5747693d4fd
4
+ data.tar.gz: 7efce248fc3771df87d393fc2dfbc8eaf9f021ca6cf121cbcc2f57d50a689480
5
5
  SHA512:
6
- metadata.gz: 16b58d9b615e7ddb4fe12cda38dd48c3f4a598e27e4175cc14063faad08a8aab42e75e66ff8e7d47207af882f03fe5339b11ac28d281e02f91ca6278da77a3d5
7
- data.tar.gz: 388048425c3444cc34d69712be5d33e6854023be0339a91b2b1f748a74e703339beb5c03de90cdaa693af51d3aa512b6591b57a161c94e6151dbbb327c7fc349
6
+ metadata.gz: f074faf45bca7f0c43d2fe322a17e7512341b5ac6ffce029faa3327a7e2a4a28e956b566d41615e0ac3ce0b2b919239e0d6c181d89172ceb20c17b19f8ab9cf6
7
+ data.tar.gz: d2d4636bedc2faa12cca31acec479e62be04cdb6c140146554f0f46f542821d092e5b1aea24932a58de0793b4ed9d3e5dc68a37b2a2ba44e126873d0d3cd6778
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.add_dependency("async-io", "~> 1.18")
21
21
 
22
22
  spec.add_dependency("protocol-http", "~> 0.5.0")
23
- spec.add_dependency("protocol-http1", "~> 0.6.0")
23
+ spec.add_dependency("protocol-http1", "~> 0.7.0")
24
24
  spec.add_dependency("protocol-http2", "~> 0.3.0")
25
25
 
26
26
  # spec.add_dependency("openssl")
@@ -60,18 +60,17 @@ module Async
60
60
 
61
61
  # Can we use this connection to make requests?
62
62
  def connected?
63
- @stream.connected?
63
+ @stream&.connected?
64
64
  end
65
65
 
66
66
  def reusable?
67
- !@stream.closed?
67
+ @stream && !@stream.closed?
68
68
  # !(self.closed? || @stream.closed?)
69
69
  end
70
70
 
71
71
  def close
72
72
  Async.logger.debug(self) {"Closing connection"}
73
-
74
- @stream.close
73
+ super
75
74
  end
76
75
  end
77
76
  end
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module HTTP
23
- VERSION = "0.41.0"
23
+ VERSION = "0.41.1"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.41.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.6.0
61
+ version: 0.7.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.6.0
68
+ version: 0.7.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: protocol-http2
71
71
  requirement: !ruby/object:Gem::Requirement