async-http 0.65.0 → 0.66.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: 1fed6dc55e6fb3c91f31237ca2356a198b1125d0fa49fc970b37fdab16ae0fde
4
- data.tar.gz: fd0d5ab9f8587f0eb7ef4eadff2c38c9812c96f074135d025a7a15e52b1eb5ce
3
+ metadata.gz: 157179a1991dd7daeb213a740cae403ff3d6d5a5b05bcf83858e348264f81613
4
+ data.tar.gz: 365eb62d2144a9fdee94ba17128d4fcba731df3dfea0f4e2f2d5642f700cdcc8
5
5
  SHA512:
6
- metadata.gz: 86b6e22259dbc347c7921b9a5ee1c01d642599b855e2f5a15d084acf750d05009008d2a0ca6ec4a817dff0b0431c76823fd42a2af8a06a6587246036142ebdf2
7
- data.tar.gz: '0280a0a6750d1d661ee72bf60294942af80680f9d6b96635dc68377a5e672484008e8bace2ee28a5bfcd5c5dd8b458797d7194c1fa6a21e824d36e37e1ace86c'
6
+ metadata.gz: afc15d09522926c841491769ea62efc635e551173e725eab5e50376cd3b8cc0de72020a7f21a76512930e872d0ecf86bcb09eef193bab858973a2b11009c5878
7
+ data.tar.gz: d04c69dbdc55e5a2575d8b7b387e4c2048160f9ad41e2badfd6adca3af0f3991d792a79ddbed1363cd7b1e1b30ae9347e73c3c375d4e5e26dc5ec97e42f0c5ef
checksums.yaml.gz.sig CHANGED
Binary file
@@ -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
- @endpoint.accept(&self.method(:accept))
70
+ Async do
71
+ @endpoint.accept(&self.method(:accept))
72
+
73
+ # Wait for all children to finish:
74
+ self.children.each(&:wait)
75
+ end
70
76
  end
71
77
 
72
78
  Traces::Provider(self) do
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Async
7
7
  module HTTP
8
- VERSION = "0.65.0"
8
+ VERSION = "0.66.0"
9
9
  end
10
10
  end
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.65.0
4
+ version: 0.66.0
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-23 00:00:00.000000000 Z
60
+ date: 2024-04-30 00:00:00.000000000 Z
61
61
  dependencies:
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: async
@@ -93,28 +93,28 @@ dependencies:
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.10.0
96
+ version: '0.10'
97
97
  type: :runtime
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.10.0
103
+ version: '0.10'
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: io-stream
106
106
  requirement: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.3.0
110
+ version: '0.4'
111
111
  type: :runtime
112
112
  prerelease: false
113
113
  version_requirements: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.3.0
117
+ version: '0.4'
118
118
  - !ruby/object:Gem::Dependency
119
119
  name: protocol-http
120
120
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file