async-http 0.66.0 → 0.66.2

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: 157179a1991dd7daeb213a740cae403ff3d6d5a5b05bcf83858e348264f81613
4
- data.tar.gz: 365eb62d2144a9fdee94ba17128d4fcba731df3dfea0f4e2f2d5642f700cdcc8
3
+ metadata.gz: 426d98af60ca71ce586cf31e6d29c186e5e9618a514ded1558e408178b1595b8
4
+ data.tar.gz: de7562bb9d073c686f5f7fcf3d067aa5a78d866644d9fbc6892d42acdd3ed1e3
5
5
  SHA512:
6
- metadata.gz: afc15d09522926c841491769ea62efc635e551173e725eab5e50376cd3b8cc0de72020a7f21a76512930e872d0ecf86bcb09eef193bab858973a2b11009c5878
7
- data.tar.gz: d04c69dbdc55e5a2575d8b7b387e4c2048160f9ad41e2badfd6adca3af0f3991d792a79ddbed1363cd7b1e1b30ae9347e73c3c375d4e5e26dc5ec97e42f0c5ef
6
+ metadata.gz: 80066306c74ed642e63b5c904bfea116fdbe435f71b180e7c0d9421eb0402110c31f2a9c32e1fab099ffe64282314afaec2917f7c6ebf49d7ee3d676361d0e62
7
+ data.tar.gz: edcc44c5dfadc2f08d84fff4b142d75cbbca1599bf21af9e92a75353a9c73fd6cd5986dbdb6fb928ca5e145a89e278ba38a7231e0559c11e6f1c2dfe49e590fc
checksums.yaml.gz.sig CHANGED
Binary file
@@ -4,10 +4,9 @@
4
4
  # Copyright, 2017-2024, by Samuel Williams.
5
5
  # Copyright, 2019, by Brian Morearty.
6
6
 
7
+ require 'async'
7
8
  require 'io/endpoint'
8
-
9
9
  require 'protocol/http/middleware'
10
-
11
10
  require 'traces/provider'
12
11
 
13
12
  require_relative 'protocol'
@@ -67,11 +66,11 @@ module Async
67
66
 
68
67
  # @returns [Array(Async::Task)] The task that is running the server.
69
68
  def run
70
- Async do
69
+ Async do |task|
71
70
  @endpoint.accept(&self.method(:accept))
72
71
 
73
72
  # Wait for all children to finish:
74
- self.children.each(&:wait)
73
+ task.children.each(&:wait)
75
74
  end
76
75
  end
77
76
 
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Async
7
7
  module HTTP
8
- VERSION = "0.66.0"
8
+ VERSION = "0.66.2"
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.66.0
4
+ version: 0.66.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file