sus-fixtures-async-http 0.9.1 → 0.10.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: 32a14ffa1d2c0acd49dfc634ffc4e8af1c5480b80fa2aaae535c385f074ff6e3
4
- data.tar.gz: 428bc19a33d7ae373737ff17ec5c127ca99a2630b0cca67fecf46c05df2790b7
3
+ metadata.gz: 7ca53e2286a46691cf27d9c9255bd10dabce31145376b7b9b0e64fda362b810a
4
+ data.tar.gz: 432d75147545cd62dd857f03b3ec0c5b6eca775595571c01b3ceb83ddbaeeced
5
5
  SHA512:
6
- metadata.gz: 6f3f59b6e955fe10f477bdf7e7122926bf852586946334184bd1123af541baea5ee329da36dc924995b52b7f08a2049a0c99588eec398d289e9da721bc39ffc7
7
- data.tar.gz: 3dc402301a6fe6b1c8d3f30e36c9453e2e84e8f76707e96bd659b5bbc747761c678509b4a84f7e2951d703bc960876785be8b6bbc48ad94b4f49d86a3b9333ee
6
+ metadata.gz: 80b91bb25f1f2ec269fe0c382a308e2ca015c23c5aad40fa6a48f86d934dcea55595b368b3089790f476510128ba31f901d4efe3ad4155fb23889c72124f3a1a
7
+ data.tar.gz: e40898d89d6c4125b914e47bcb46b4e4f315791e8b168db87fab9fc880cb66575295b3ec2b65b3c265cb873a1f5a5330b4a3ffcd8e38e107048f10a18e738521
checksums.yaml.gz.sig CHANGED
Binary file
@@ -48,8 +48,12 @@ module Sus::Fixtures
48
48
  bound_urls.first
49
49
  end
50
50
 
51
+ def endpoint_options
52
+ {reuse_port: true, protocol: protocol}
53
+ end
54
+
51
55
  def endpoint
52
- ::Async::HTTP::Endpoint.parse(url, reuse_port: true, protocol: protocol)
56
+ ::Async::HTTP::Endpoint.parse(url, **endpoint_options)
53
57
  end
54
58
 
55
59
  def retries
@@ -7,7 +7,7 @@ module Sus
7
7
  module Fixtures
8
8
  module Async
9
9
  module HTTP
10
- VERSION = "0.9.1"
10
+ VERSION = "0.10.0"
11
11
  end
12
12
  end
13
13
  end
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.9.1
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -38,7 +38,7 @@ cert_chain:
38
38
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
39
39
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
40
40
  -----END CERTIFICATE-----
41
- date: 2024-11-13 00:00:00.000000000 Z
41
+ date: 2024-11-20 00:00:00.000000000 Z
42
42
  dependencies:
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: async-http
metadata.gz.sig CHANGED
Binary file