sus-fixtures-async-http 0.5.0 → 0.6.0
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/sus/fixtures/async/http/server_context.rb +6 -1
- data/lib/sus/fixtures/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: df2bb9c46d8f6d673272830dd7688210094111cb8c4e9fe3b13f7f9a0204c9f3
|
4
|
+
data.tar.gz: 28c48df587ecc424a72f3a0e86f01f713f4abb6989a7b8bc3544a7bf163c7261
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78ecf6f23da89a06e93d80894490ad90c459fff767ee9ba6774c2a8c6bea3a0cd1c229d1f75b3b0020dd7ee66627b9aeb3a8da4b7efc7ccf3e093493fe617b10
|
7
|
+
data.tar.gz: 5a0195e4fa34d1eb874c4c7c3cf4078617d071f900a9c8e46466c0d694b69606b2c9274abf4f6ab7d1e1ffee6de796eaa743392d6ad52bfe68a8ead5d88f527a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -89,7 +89,12 @@ module Sus::Fixtures
|
|
89
89
|
bound_endpoint.local_address_endpoint
|
90
90
|
end
|
91
91
|
|
92
|
+
def make_client(endpoint, **options)
|
93
|
+
options[:retries] = retries unless options.key?(:retries)
|
92
94
|
|
95
|
+
::Async::HTTP::Client.new(endpoint, **options)
|
96
|
+
end
|
97
|
+
|
93
98
|
def before
|
94
99
|
super
|
95
100
|
|
@@ -118,7 +123,7 @@ module Sus::Fixtures
|
|
118
123
|
wrapper.replace(:path) {endpoint.path}
|
119
124
|
end
|
120
125
|
|
121
|
-
@client =
|
126
|
+
@client = make_client(@client_endpoint)
|
122
127
|
end
|
123
128
|
|
124
129
|
def after
|
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.6.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: 2023-09-
|
40
|
+
date: 2023-09-11 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: async-http
|
metadata.gz.sig
CHANGED
Binary file
|