sus-fixtures-async-http 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/sus/fixtures/async/http/server_context.rb +3 -3
- data/lib/sus/fixtures/async/http/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -17
- 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: 471d3740244246ef662eae76bb71684344d63f751b3bcb1318128783bc39a4c4
|
4
|
+
data.tar.gz: 426cc86ae59a9b7bf1c294e61d1547996ee359ceb2a9877d53080b73a2c27a7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98e73e0b6c399b1a2b1710a2ebc4d021e3ae5a2e7c5efd72daa07fb24c3883a429940ca9f70b80491a9196e65006ee48c9f1ffea30c6e7bba486638992f49ff6
|
7
|
+
data.tar.gz: 21d9273dcc95e6228f485471490f60cc1ab4b6507632f812225afa41dbba4fdb92854e13d15156eb399a21b15a896656fa5ea6ebccd16b209fc91dc1b787784e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -8,7 +8,6 @@ require 'sus/fixtures/async/reactor_context'
|
|
8
8
|
require 'async/http/server'
|
9
9
|
require 'async/http/client'
|
10
10
|
require 'async/http/endpoint'
|
11
|
-
require 'async/io/shared_endpoint'
|
12
11
|
|
13
12
|
module Sus::Fixtures
|
14
13
|
module Async
|
@@ -86,7 +85,8 @@ module Sus::Fixtures
|
|
86
85
|
end
|
87
86
|
|
88
87
|
def make_client_endpoint(bound_endpoint)
|
89
|
-
|
88
|
+
# Pass through the timeout:
|
89
|
+
bound_endpoint.local_address_endpoint(timeout: endpoint.timeout)
|
90
90
|
end
|
91
91
|
|
92
92
|
def make_client(endpoint, **options)
|
@@ -99,7 +99,7 @@ module Sus::Fixtures
|
|
99
99
|
super
|
100
100
|
|
101
101
|
# We bind the endpoint before running the server so that we know incoming connections will be accepted:
|
102
|
-
@bound_endpoint =
|
102
|
+
@bound_endpoint = endpoint.bound
|
103
103
|
|
104
104
|
@server_endpoint = make_server_endpoint(@bound_endpoint)
|
105
105
|
mock(@server_endpoint) do |wrapper|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sus-fixtures-async-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -37,7 +37,7 @@ cert_chain:
|
|
37
37
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
38
38
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
39
39
|
-----END CERTIFICATE-----
|
40
|
-
date:
|
40
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: async-http
|
@@ -53,20 +53,6 @@ dependencies:
|
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0.54'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: async-io
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '1.34'
|
63
|
-
type: :runtime
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '1.34'
|
70
56
|
- !ruby/object:Gem::Dependency
|
71
57
|
name: sus
|
72
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
126
|
- !ruby/object:Gem::Version
|
141
127
|
version: '0'
|
142
128
|
requirements: []
|
143
|
-
rubygems_version: 3.4.
|
129
|
+
rubygems_version: 3.4.22
|
144
130
|
signing_key:
|
145
131
|
specification_version: 4
|
146
132
|
summary: Test fixtures for running in Async::HTTP.
|
metadata.gz.sig
CHANGED
Binary file
|