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 +4 -4
- data/async-http.gemspec +1 -1
- data/lib/async/http/url_endpoint.rb +3 -2
- data/lib/async/http/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de4dff870c7d93652b036dfc3a5bfd80c9b88d899877f566b3a10a3e52a2a9f2
|
4
|
+
data.tar.gz: da2eea4408999ebcef45259231095d531e89f4ae59f287ff9b3fe8b888d2fa77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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/
|
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::
|
103
|
+
@endpoint = Async::IO::SSLEndpoint.new(@endpoint,
|
103
104
|
ssl_context: ssl_context,
|
104
105
|
hostname: self.hostname
|
105
106
|
)
|
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.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-
|
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.
|
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.
|
40
|
+
version: '1.9'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: http-2
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|