async-http 0.64.2 → 0.65.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: 69e55450d843d44bc5b454d5d888cc3e5a5b76c2a437253eb2c29bfd8b6087d5
4
- data.tar.gz: 99982836741ad88a7f86e58a43723861f4a825907026614f0dd7fd9f5a4aa63b
3
+ metadata.gz: 1fed6dc55e6fb3c91f31237ca2356a198b1125d0fa49fc970b37fdab16ae0fde
4
+ data.tar.gz: fd0d5ab9f8587f0eb7ef4eadff2c38c9812c96f074135d025a7a15e52b1eb5ce
5
5
  SHA512:
6
- metadata.gz: 46484d6a407f2334e2c273373e99c2fa75ebde8125b2acd2331d8a00cc35b28b97336248f4d4c780a0e38e469a724aa6c5e6f306f976185082a122faf343e7fc
7
- data.tar.gz: 6a9408adf7ac198d5211dfa9231537e37c33484ad637f17cb7013042ecf35dcddc72321fb823ee20b3d085909fe8552505d86bb8cbd3b9c6f32dce8b5289bb65
6
+ metadata.gz: 86b6e22259dbc347c7921b9a5ee1c01d642599b855e2f5a15d084acf750d05009008d2a0ca6ec4a817dff0b0431c76823fd42a2af8a06a6587246036142ebdf2
7
+ data.tar.gz: '0280a0a6750d1d661ee72bf60294942af80680f9d6b96635dc68377a5e672484008e8bace2ee28a5bfcd5c5dd8b458797d7194c1fa6a21e824d36e37e1ace86c'
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2019-2023, by Samuel Williams.
4
+ # Copyright, 2019-2024, by Samuel Williams.
5
5
 
6
6
  def build
7
7
  # Fetch the code:
@@ -24,9 +24,9 @@ def server
24
24
  require 'async'
25
25
  require 'async/container'
26
26
  require 'async/http/server'
27
- require 'async/io/host_endpoint'
27
+ require 'io/endpoint/host_endpoint'
28
28
 
29
- endpoint = Async::IO::Endpoint.tcp('127.0.0.1', 7272)
29
+ endpoint = IO::Endpoint.tcp('127.0.0.1', 7272)
30
30
 
31
31
  container = Async::Container.new
32
32
 
@@ -1,12 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2019-2023, by Samuel Williams.
4
+ # Copyright, 2019-2024, by Samuel Williams.
5
5
  # Copyright, 2020, by Bruno Sutic.
6
6
 
7
- require 'async/io/socket'
8
- require 'async/io/stream'
9
-
10
7
  require_relative 'writable'
11
8
 
12
9
  module Async
@@ -18,9 +15,9 @@ module Async
18
15
  @input = input
19
16
  @output = output
20
17
 
21
- head, tail = IO::Socket.pair(Socket::AF_UNIX, Socket::SOCK_STREAM)
18
+ head, tail = ::Socket.pair(Socket::AF_UNIX, Socket::SOCK_STREAM)
22
19
 
23
- @head = IO::Stream.new(head)
20
+ @head = ::IO::Stream::Buffered.new(head)
24
21
  @tail = tail
25
22
 
26
23
  @reader = nil
@@ -1,11 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2017-2023, by Samuel Williams.
4
+ # Copyright, 2017-2024, by Samuel Williams.
5
5
  # Copyright, 2022, by Ian Ker-Seymer.
6
6
 
7
- require 'async/io/endpoint'
8
- require 'async/io/stream'
7
+ require 'io/endpoint'
9
8
 
10
9
  require 'async/pool/controller'
11
10
 
@@ -107,7 +106,6 @@ module Async
107
106
 
108
107
  # This signals that the ensure block below should not try to release the connection, because it's bound into the response which will be returned:
109
108
  connection = nil
110
-
111
109
  return response
112
110
  rescue Protocol::RequestFailed
113
111
  # This is a specific case where the entire request wasn't sent before a failure occurred. So, we can even resend non-idempotent requests.
@@ -133,7 +131,9 @@ module Async
133
131
  raise
134
132
  end
135
133
  ensure
136
- @pool.release(connection) if connection
134
+ if connection
135
+ @pool.release(connection)
136
+ end
137
137
  end
138
138
  end
139
139
 
@@ -1,13 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2019-2023, by Samuel Williams.
4
+ # Copyright, 2019-2024, by Samuel Williams.
5
5
  # Copyright, 2021-2022, by Adam Daniels.
6
6
 
7
- require 'async/io/host_endpoint'
8
- require 'async/io/ssl_endpoint'
9
- require 'async/io/ssl_socket'
10
- require 'async/io/shared_endpoint'
7
+ require 'io/endpoint'
8
+ require 'io/endpoint/host_endpoint'
9
+ require 'io/endpoint/ssl_endpoint'
11
10
 
12
11
  require_relative 'protocol/http1'
13
12
  require_relative 'protocol/https'
@@ -15,7 +14,7 @@ require_relative 'protocol/https'
15
14
  module Async
16
15
  module HTTP
17
16
  # Represents a way to connect to a remote HTTP server.
18
- class Endpoint < Async::IO::Endpoint
17
+ class Endpoint < ::IO::Endpoint::Generic
19
18
  def self.parse(string, endpoint = nil, **options)
20
19
  url = URI.parse(string).normalize
21
20
 
@@ -164,7 +163,7 @@ module Async
164
163
 
165
164
  if secure?
166
165
  # Wrap it in SSL:
167
- return Async::IO::SSLEndpoint.new(endpoint,
166
+ return ::IO::Endpoint::SSLEndpoint.new(endpoint,
168
167
  ssl_context: self.ssl_context,
169
168
  hostname: @url.hostname,
170
169
  timeout: self.timeout,
@@ -226,7 +225,7 @@ module Async
226
225
  end
227
226
 
228
227
  def tcp_endpoint
229
- Async::IO::Endpoint.tcp(self.hostname, port, **tcp_options)
228
+ ::IO::Endpoint.tcp(self.hostname, port, **tcp_options)
230
229
  end
231
230
  end
232
231
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2018-2023, by Samuel Williams.
4
+ # Copyright, 2018-2024, by Samuel Williams.
5
5
 
6
6
  require 'protocol/http1'
7
7
 
@@ -62,7 +62,7 @@ module Async
62
62
 
63
63
  # Can we use this connection to make requests?
64
64
  def viable?
65
- @ready && @stream&.connected?
65
+ @ready && @stream&.readable?
66
66
  end
67
67
 
68
68
  def reusable?
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2018-2023, by Samuel Williams.
4
+ # Copyright, 2018-2024, by Samuel Williams.
5
5
 
6
6
  require_relative '../request'
7
7
 
@@ -15,7 +15,7 @@ module Async
15
15
  self.new(connection, *parts)
16
16
  end
17
17
  end
18
-
18
+
19
19
  UPGRADE = 'upgrade'
20
20
 
21
21
  def initialize(connection, authority, method, path, version, headers, body)
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2018-2023, by Samuel Williams.
4
+ # Copyright, 2018-2024, by Samuel Williams.
5
+ # Copyright, 2023, by Josh Huber.
5
6
 
6
7
  require_relative '../response'
7
8
 
@@ -1,9 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2018-2023, by Samuel Williams.
4
+ # Copyright, 2018-2024, by Samuel Williams.
5
5
  # Copyright, 2020, by Igor Sidorov.
6
6
  # Copyright, 2023, by Thomas Morgan.
7
+ # Copyright, 2024, by Anton Zhuravsky.
7
8
 
8
9
  require_relative 'connection'
9
10
 
@@ -14,10 +15,10 @@ module Async
14
15
  class Server < Connection
15
16
  def fail_request(status)
16
17
  @persistent = false
17
- write_response(@version, status, {}, nil)
18
+ write_response(@version, status, {})
18
19
  write_body(@version, nil)
19
20
  rescue Errno::ECONNRESET, Errno::EPIPE
20
- # Handle when connection is already closed
21
+ # Nothing we can do...
21
22
  end
22
23
 
23
24
  def next_request
@@ -109,7 +110,6 @@ module Async
109
110
  end
110
111
  end
111
112
  end
112
-
113
113
  end
114
114
  end
115
115
  end
@@ -1,11 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2017-2023, by Samuel Williams.
4
+ # Copyright, 2017-2024, by Samuel Williams.
5
5
 
6
6
  require_relative 'http1/client'
7
7
  require_relative 'http1/server'
8
8
 
9
+ require 'io/stream/buffered'
10
+
9
11
  module Async
10
12
  module HTTP
11
13
  module Protocol
@@ -21,13 +23,13 @@ module Async
21
23
  end
22
24
 
23
25
  def self.client(peer)
24
- stream = IO::Stream.new(peer, sync: true)
26
+ stream = ::IO::Stream::Buffered.wrap(peer)
25
27
 
26
28
  return HTTP1::Client.new(stream, VERSION)
27
29
  end
28
30
 
29
31
  def self.server(peer)
30
- stream = IO::Stream.new(peer, sync: true)
32
+ stream = ::IO::Stream::Buffered.wrap(peer)
31
33
 
32
34
  return HTTP1::Server.new(stream, VERSION)
33
35
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2017-2023, by Samuel Williams.
4
+ # Copyright, 2017-2024, by Samuel Williams.
5
5
 
6
6
  require_relative 'http1'
7
7
 
@@ -20,13 +20,13 @@ module Async
20
20
  end
21
21
 
22
22
  def self.client(peer)
23
- stream = IO::Stream.new(peer, sync: true)
23
+ stream = ::IO::Stream::Buffered.wrap(peer)
24
24
 
25
25
  return HTTP1::Client.new(stream, VERSION)
26
26
  end
27
27
 
28
28
  def self.server(peer)
29
- stream = IO::Stream.new(peer, sync: true)
29
+ stream = ::IO::Stream::Buffered.wrap(peer)
30
30
 
31
31
  return HTTP1::Server.new(stream, VERSION)
32
32
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2017-2023, by Samuel Williams.
4
+ # Copyright, 2017-2024, by Samuel Williams.
5
5
  # Copyright, 2018, by Janko Marohnić.
6
6
 
7
7
  require_relative 'http1'
@@ -21,13 +21,13 @@ module Async
21
21
  end
22
22
 
23
23
  def self.client(peer)
24
- stream = IO::Stream.new(peer, sync: true)
24
+ stream = ::IO::Stream::Buffered.wrap(peer)
25
25
 
26
26
  return HTTP1::Client.new(stream, VERSION)
27
27
  end
28
28
 
29
29
  def self.server(peer)
30
- stream = IO::Stream.new(peer, sync: true)
30
+ stream = ::IO::Stream::Buffered.wrap(peer)
31
31
 
32
32
  return HTTP1::Server.new(stream, VERSION)
33
33
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2018-2023, by Samuel Williams.
4
+ # Copyright, 2018-2024, by Samuel Williams.
5
5
  # Copyright, 2020, by Bruno Sutic.
6
6
 
7
7
  require_relative 'stream'
@@ -35,6 +35,10 @@ module Async
35
35
  @write_frame_guard = Async::Semaphore.new(1)
36
36
  end
37
37
 
38
+ def synchronize(&block)
39
+ @write_frame_guard.acquire(&block)
40
+ end
41
+
38
42
  def to_s
39
43
  "\#<#{self.class} #{@count} requests, #{@streams.count} active streams>"
40
44
  end
@@ -72,23 +76,6 @@ module Async
72
76
  end
73
77
  end
74
78
 
75
- def write_frame(frame)
76
- # We don't want to write multiple frames at the same time.
77
- @write_frame_guard.acquire do
78
- super
79
- end
80
-
81
- @stream.flush
82
- end
83
-
84
- def write_frames(&block)
85
- @write_frame_guard.acquire do
86
- super
87
- end
88
-
89
- @stream.flush
90
- end
91
-
92
79
  def read_in_background(parent: Task.current)
93
80
  raise RuntimeError, "Connection is closed!" if closed?
94
81
 
@@ -103,19 +90,18 @@ module Async
103
90
  self.consume_window
104
91
  self.read_frame
105
92
  end
106
- rescue SocketError, IOError, EOFError, Errno::ECONNRESET, Errno::EPIPE, Async::Wrapper::Cancelled
107
- # Ignore.
108
- rescue ::Protocol::HTTP2::GoawayError => error
93
+ rescue Async::Stop, ::IO::TimeoutError, ::Protocol::HTTP2::GoawayError => error
109
94
  # Error is raised if a response is actively reading from the
110
95
  # connection. The connection is silently closed if GOAWAY is
111
96
  # received outside the request/response cycle.
112
- if @reader
113
- self.close(error)
114
- end
97
+ rescue SocketError, IOError, EOFError, Errno::ECONNRESET, Errno::EPIPE => ignored_error
98
+ # Ignore.
99
+ rescue => error
100
+ # Every other error.
115
101
  ensure
116
102
  # Don't call #close twice.
117
103
  if @reader
118
- self.close($!)
104
+ self.close(error)
119
105
  end
120
106
  end
121
107
  end
@@ -135,7 +121,7 @@ module Async
135
121
 
136
122
  # Can we use this connection to make requests?
137
123
  def viable?
138
- @stream.connected?
124
+ @stream&.readable?
139
125
  end
140
126
 
141
127
  def reusable?
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2018-2023, by Samuel Williams.
4
+ # Copyright, 2018-2024, by Samuel Williams.
5
5
 
6
6
  require_relative 'connection'
7
7
  require_relative 'request'
@@ -1,8 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2018-2023, by Samuel Williams.
4
+ # Copyright, 2018-2024, by Samuel Williams.
5
5
  # Copyright, 2022, by Marco Concetto Rudilosso.
6
+ # Copyright, 2023, by Thomas Morgan.
6
7
 
7
8
  require 'protocol/http2/stream'
8
9
 
@@ -1,11 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2018-2023, by Samuel Williams.
4
+ # Copyright, 2018-2024, by Samuel Williams.
5
5
 
6
6
  require_relative 'http2/client'
7
7
  require_relative 'http2/server'
8
8
 
9
+ require 'io/stream/buffered'
10
+
9
11
  module Async
10
12
  module HTTP
11
13
  module Protocol
@@ -35,8 +37,7 @@ module Async
35
37
  }
36
38
 
37
39
  def self.client(peer, settings = CLIENT_SETTINGS)
38
- stream = IO::Stream.new(peer, sync: true)
39
-
40
+ stream = ::IO::Stream::Buffered.wrap(peer)
40
41
  client = Client.new(stream)
41
42
 
42
43
  client.send_connection_preface(settings)
@@ -46,8 +47,7 @@ module Async
46
47
  end
47
48
 
48
49
  def self.server(peer, settings = SERVER_SETTINGS)
49
- stream = IO::Stream.new(peer, sync: true)
50
-
50
+ stream = ::IO::Stream::Buffered.wrap(peer)
51
51
  server = Server.new(stream)
52
52
 
53
53
  server.read_connection_preface(settings)
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2018-2023, by Samuel Williams.
4
+ # Copyright, 2018-2024, by Samuel Williams.
5
5
  # Copyright, 2019, by Brian Morearty.
6
6
 
7
7
  require_relative 'http10'
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2019-2023, by Samuel Williams.
4
+ # Copyright, 2019-2024, by Samuel Williams.
5
5
 
6
6
  require_relative 'client'
7
7
  require_relative 'endpoint'
@@ -46,7 +46,7 @@ module Async
46
46
  # @param host [String] the hostname or address to connect to.
47
47
  # @param port [String] the port number to connect to.
48
48
  # @param headers [Array] an optional list of headers to use when establishing the connection.
49
- # @see Async::IO::Endpoint#tcp
49
+ # @see IO::Endpoint#tcp
50
50
  def self.tcp(client, host, port, headers = nil)
51
51
  self.new(client, "#{host}:#{port}", headers)
52
52
  end
@@ -1,11 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2017-2023, by Samuel Williams.
4
+ # Copyright, 2017-2024, by Samuel Williams.
5
5
  # Copyright, 2019, by Brian Morearty.
6
6
 
7
- require 'async/io/endpoint'
8
- require 'async/io/stream'
7
+ require 'io/endpoint'
9
8
 
10
9
  require 'protocol/http/middleware'
11
10
 
@@ -65,7 +64,7 @@ module Async
65
64
  ensure
66
65
  connection&.close
67
66
  end
68
-
67
+
69
68
  def run
70
69
  @endpoint.accept(&self.method(:accept))
71
70
  end
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2017-2023, by Samuel Williams.
4
+ # Copyright, 2017-2024, by Samuel Williams.
5
5
 
6
6
  module Async
7
7
  module HTTP
8
- VERSION = "0.64.2"
8
+ VERSION = "0.65.0"
9
9
  end
10
10
  end
data/license.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright, 2017-2023, by Samuel Williams.
3
+ Copyright, 2017-2024, by Samuel Williams.
4
4
  Copyright, 2018, by Viacheslav Koval.
5
5
  Copyright, 2018, by Janko Marohnić.
6
6
  Copyright, 2019, by Denis Talakevich.
@@ -18,6 +18,9 @@ Copyright, 2022, by Ian Ker-Seymer.
18
18
  Copyright, 2022, by Marco Concetto Rudilosso.
19
19
  Copyright, 2022, by Tim Meusel.
20
20
  Copyright, 2023, by Thomas Morgan.
21
+ Copyright, 2023, by dependabot[bot].
22
+ Copyright, 2023, by Josh Huber.
23
+ Copyright, 2024, by Anton Zhuravsky.
21
24
 
22
25
  Permission is hereby granted, free of charge, to any person obtaining a copy
23
26
  of this software and associated documentation files (the "Software"), to deal
data/readme.md CHANGED
@@ -373,7 +373,7 @@ This project uses the [Developer Certificate of Origin](https://developercertifi
373
373
 
374
374
  ### Contributor Covenant
375
375
 
376
- This project is governed by [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
376
+ This project is governed by the [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
377
377
 
378
378
  ## See Also
379
379
 
data.tar.gz.sig CHANGED
@@ -1,3 +1 @@
1
- ^3�
2
- R�jڇi�F���d�?;�u�Yѫ-)�
3
- 5�)����sv�{&�0�g/:j�q'����"+#G̓���j�- ��34n�L-��&h�]k�!]7�� ��j3�
1
+ 3� ���* �~}��A�����B0�@�Y0�t��h �[��i) �'�Qh��%X�ܗ�H9�AK��w!���i�r3ˡ�( ��\�K%��דo��$�{�m ��QuL~(Ikܹn�[��=��'TQ���;�"��x�5���XnS������dY-%4�/*�s��b�#^�0������9t��ʑn�w�QAT���ӕk���l�'V�~&Pm��tE��;��#аC�;�� ȜOH�)�����L9�\�w��ϙ�<.m!Q��t`^%]����` ��(@��T����<Uv�|��>�\ �`��mp�O,��g���p�3�CR5�'|\nh-+, _�����`�_P�}����.Q��N>o��ZĘ���
metadata CHANGED
@@ -1,19 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.64.2
4
+ version: 0.65.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  - Brian Morearty
9
9
  - Bruno Sutic
10
10
  - Janko Marohnić
11
- - Adam Daniels
12
11
  - Thomas Morgan
12
+ - Adam Daniels
13
+ - Anton Zhuravsky
13
14
  - Cyril Roelandt
14
15
  - Denis Talakevich
15
16
  - Ian Ker-Seymer
16
17
  - Igor Sidorov
18
+ - Josh Huber
17
19
  - Marco Concetto Rudilosso
18
20
  - Olle Jonsson
19
21
  - Orgad Shaneh
@@ -22,6 +24,7 @@ authors:
22
24
  - Tim Meusel
23
25
  - Trevor Turk
24
26
  - Viacheslav Koval
27
+ - dependabot[bot]
25
28
  autorequire:
26
29
  bindir: bin
27
30
  cert_chain:
@@ -54,7 +57,7 @@ cert_chain:
54
57
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
55
58
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
56
59
  -----END CERTIFICATE-----
57
- date: 2024-04-22 00:00:00.000000000 Z
60
+ date: 2024-04-23 00:00:00.000000000 Z
58
61
  dependencies:
59
62
  - !ruby/object:Gem::Dependency
60
63
  name: async
@@ -62,42 +65,56 @@ dependencies:
62
65
  requirements:
63
66
  - - ">="
64
67
  - !ruby/object:Gem::Version
65
- version: '1.25'
68
+ version: 2.10.2
66
69
  type: :runtime
67
70
  prerelease: false
68
71
  version_requirements: !ruby/object:Gem::Requirement
69
72
  requirements:
70
73
  - - ">="
71
74
  - !ruby/object:Gem::Version
72
- version: '1.25'
75
+ version: 2.10.2
73
76
  - !ruby/object:Gem::Dependency
74
- name: async-io
77
+ name: async-pool
75
78
  requirement: !ruby/object:Gem::Requirement
76
79
  requirements:
77
80
  - - ">="
78
81
  - !ruby/object:Gem::Version
79
- version: '1.28'
82
+ version: 0.6.1
80
83
  type: :runtime
81
84
  prerelease: false
82
85
  version_requirements: !ruby/object:Gem::Requirement
83
86
  requirements:
84
87
  - - ">="
85
88
  - !ruby/object:Gem::Version
86
- version: '1.28'
89
+ version: 0.6.1
87
90
  - !ruby/object:Gem::Dependency
88
- name: async-pool
91
+ name: io-endpoint
89
92
  requirement: !ruby/object:Gem::Requirement
90
93
  requirements:
91
- - - ">="
94
+ - - "~>"
92
95
  - !ruby/object:Gem::Version
93
- version: '0.2'
96
+ version: 0.10.0
94
97
  type: :runtime
95
98
  prerelease: false
96
99
  version_requirements: !ruby/object:Gem::Requirement
97
100
  requirements:
98
- - - ">="
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.10.0
104
+ - !ruby/object:Gem::Dependency
105
+ name: io-stream
106
+ requirement: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.3.0
111
+ type: :runtime
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
99
116
  - !ruby/object:Gem::Version
100
- version: '0.2'
117
+ version: 0.3.0
101
118
  - !ruby/object:Gem::Dependency
102
119
  name: protocol-http
103
120
  requirement: !ruby/object:Gem::Requirement
@@ -132,14 +149,14 @@ dependencies:
132
149
  requirements:
133
150
  - - "~>"
134
151
  - !ruby/object:Gem::Version
135
- version: 0.16.0
152
+ version: 0.17.0
136
153
  type: :runtime
137
154
  prerelease: false
138
155
  version_requirements: !ruby/object:Gem::Requirement
139
156
  requirements:
140
157
  - - "~>"
141
158
  - !ruby/object:Gem::Version
142
- version: 0.16.0
159
+ version: 0.17.0
143
160
  - !ruby/object:Gem::Dependency
144
161
  name: traces
145
162
  requirement: !ruby/object:Gem::Requirement
@@ -205,7 +222,9 @@ files:
205
222
  homepage: https://github.com/socketry/async-http
206
223
  licenses:
207
224
  - MIT
208
- metadata: {}
225
+ metadata:
226
+ documentation_uri: https://socketry.github.io/async-http/
227
+ source_code_uri: https://github.com/socketry/async-http.git
209
228
  post_install_message:
210
229
  rdoc_options: []
211
230
  require_paths:
@@ -214,7 +233,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
233
  requirements:
215
234
  - - ">="
216
235
  - !ruby/object:Gem::Version
217
- version: '3.0'
236
+ version: '3.1'
218
237
  required_rubygems_version: !ruby/object:Gem::Requirement
219
238
  requirements:
220
239
  - - ">="
metadata.gz.sig CHANGED
Binary file