async-http 0.36.3 → 0.37.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/middleware.rb +6 -4
- data/lib/async/http/pool.rb +1 -0
- data/lib/async/http/protocol/request.rb +0 -4
- data/lib/async/http/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26fbaeb1d148dd69a2a092564e4cbee8eda80738a0aa26e510c359634c738a30
|
4
|
+
data.tar.gz: 8cbfc4b0b94394ff62fdbb67fddf6afbab091a917e4328ddf554871ba0045064
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35064ca4a37d8c02c711855e5bb1fbd8cb915967ed654c1ae73a8f53817f00a9991467627b8e4818ce45583b5961261ff008962bbe4767e514a3c0798fc449b8
|
7
|
+
data.tar.gz: fa002d0b6433d0da8076a71117850c62913081e9d327023378f150d4c202de73c16a65e761d18ecbb98cf648c91fb1a20ea0e7e52fb3a5b6dd8e514eacd723ed
|
data/async-http.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.add_dependency("async", "~> 1.6")
|
20
20
|
spec.add_dependency("async-io", "~> 1.16")
|
21
21
|
|
22
|
-
spec.add_dependency("http-protocol", "~> 0.
|
22
|
+
spec.add_dependency("http-protocol", "~> 0.9.0")
|
23
23
|
|
24
24
|
# spec.add_dependency("openssl")
|
25
25
|
|
@@ -41,18 +41,20 @@ module Async
|
|
41
41
|
end
|
42
42
|
|
43
43
|
class Middleware
|
44
|
-
def initialize(
|
45
|
-
@
|
44
|
+
def initialize(delegate)
|
45
|
+
@delegate = delegate
|
46
46
|
end
|
47
47
|
|
48
|
+
attr :delegate
|
49
|
+
|
48
50
|
def close
|
49
|
-
@
|
51
|
+
@delegate.close
|
50
52
|
end
|
51
53
|
|
52
54
|
include Methods
|
53
55
|
|
54
56
|
def call(request)
|
55
|
-
@
|
57
|
+
@delegate.call(request)
|
56
58
|
end
|
57
59
|
|
58
60
|
module Okay
|
data/lib/async/http/pool.rb
CHANGED
data/lib/async/http/version.rb
CHANGED
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.
|
4
|
+
version: 0.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.9.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.
|
54
|
+
version: 0.9.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: async-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|