async-http 0.65.1 → 0.66.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/async/http/server.rb +8 -2
- data/lib/async/http/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa023984c9bad6b1a2bc4c1f9a9ed84d3bb43c076879dd5b2133f0abed86fc2a
|
4
|
+
data.tar.gz: '09854c36e8e2ea8f6391798af79b3f316e46ddc594c03fa0d5bf50b11cbe0b76'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcb1ef8c2c6dcc8f08e9fe631f715a6a3c4a407f8b225464e2c4a405df4731bd39452fc6ec8ee6708dd87b92c8e5e1f99e7bb0f59f5e307a9c136dabf930aa6c
|
7
|
+
data.tar.gz: c11f3d6d6da11ae58f0e7acba13bf2b493a964efc620cdcb0652b2a4b3f32cc865cb14b19f061c5115234a54e8733c57da8e623ddf304ad4fde88b364c9ed86d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/async/http/server.rb
CHANGED
@@ -64,9 +64,15 @@ module Async
|
|
64
64
|
ensure
|
65
65
|
connection&.close
|
66
66
|
end
|
67
|
-
|
67
|
+
|
68
|
+
# @returns [Array(Async::Task)] The task that is running the server.
|
68
69
|
def run
|
69
|
-
|
70
|
+
Async do |task|
|
71
|
+
@endpoint.accept(&self.method(:accept))
|
72
|
+
|
73
|
+
# Wait for all children to finish:
|
74
|
+
task.children.each(&:wait)
|
75
|
+
end
|
70
76
|
end
|
71
77
|
|
72
78
|
Traces::Provider(self) do
|
data/lib/async/http/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
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.66.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -57,7 +57,7 @@ cert_chain:
|
|
57
57
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
58
58
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
59
59
|
-----END CERTIFICATE-----
|
60
|
-
date: 2024-04-
|
60
|
+
date: 2024-04-30 00:00:00.000000000 Z
|
61
61
|
dependencies:
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: async
|
metadata.gz.sig
CHANGED
Binary file
|