async-http 0.20.1 → 0.21.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: 0e2ccca558821a89422a242433967db6a93a19814c0c0bf156f5452d5a1c0c12
4
- data.tar.gz: 022b29ba936dc2bb708d533990a4ae76a860204577501868702bd795cebb5a03
3
+ metadata.gz: de4dff870c7d93652b036dfc3a5bfd80c9b88d899877f566b3a10a3e52a2a9f2
4
+ data.tar.gz: da2eea4408999ebcef45259231095d531e89f4ae59f287ff9b3fe8b888d2fa77
5
5
  SHA512:
6
- metadata.gz: f45639f625e7bd3b8436598e154c0d066a7b6f8a70ac139895a7f216b2f91490fa2e233367c2e7b762fba28d60e503b75e957ec94fb3151161d59e2e3990a8d0
7
- data.tar.gz: f58a004544f86561eb826474d9e55e24de78355ae81540087b6ae693e27378bd842d281e37c460c57ac6593c6e273bc549cf1dd4bffec8cb2465518d96e78b77
6
+ metadata.gz: 41b9c69088c19277328694962dfa01431af5f33cc058ce348aa15327cda5e83d8e2ad57c38a9f67632b441f95ff463774c8f6e5048f9b23d7ddf8d0debe2106d
7
+ data.tar.gz: cf6842c7be2895859a8bcc17ff0710d45f519658af83bead6facb94b8f25f3ada10eba70c7e2febd0f4418a52c3ad13131e598e689eb519acbb9f27114ca67c5
data/async-http.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.require_paths = ["lib"]
18
18
 
19
19
  spec.add_dependency("async", "~> 1.6")
20
- spec.add_dependency("async-io", "~> 1.8")
20
+ spec.add_dependency("async-io", "~> 1.9")
21
21
 
22
22
  spec.add_dependency("http-2", "~> 0.9.0")
23
23
  # spec.add_dependency("openssl")
@@ -18,7 +18,8 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  # THE SOFTWARE.
20
20
 
21
- require 'async/io/endpoint'
21
+ require 'async/io/host_endpoint'
22
+ require 'async/io/ssl_endpoint'
22
23
  require 'async/io/ssl_socket'
23
24
 
24
25
  require_relative 'protocol/http1'
@@ -99,7 +100,7 @@ module Async
99
100
 
100
101
  if secure?
101
102
  # Wrap it in SSL:
102
- @endpoint = Async::IO::SecureEndpoint.new(@endpoint,
103
+ @endpoint = Async::IO::SSLEndpoint.new(@endpoint,
103
104
  ssl_context: ssl_context,
104
105
  hostname: self.hostname
105
106
  )
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module HTTP
23
- VERSION = "0.20.1"
23
+ VERSION = "0.21.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.20.1
4
+ version: 0.21.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: 2018-04-29 00:00:00.000000000 Z
11
+ date: 2018-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.8'
33
+ version: '1.9'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.8'
40
+ version: '1.9'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: http-2
43
43
  requirement: !ruby/object:Gem::Requirement