sus-fixtures-async-http 0.8.1 → 0.9.1

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: df078bbaa8b6c50c55f0377a2cb1147d7e58171d4a8eda76c0d15b03bc14a650
4
- data.tar.gz: bfc47968b18f18401542766d273e9b4701236713d8ab50d3ffe53f82dbbee965
3
+ metadata.gz: 32a14ffa1d2c0acd49dfc634ffc4e8af1c5480b80fa2aaae535c385f074ff6e3
4
+ data.tar.gz: 428bc19a33d7ae373737ff17ec5c127ca99a2630b0cca67fecf46c05df2790b7
5
5
  SHA512:
6
- metadata.gz: e61109a5cd4f88e633bd68433602fa8e309cbb86e4bf86818b99057c3281ad157c9b5870a16a0cc86800c44ffc37e0875dd9ca8a5b907651ce6da83bf3c9c9a7
7
- data.tar.gz: 3089c1e739fd5b5dfa0281d1c046eac58ff8b576aff298271e28755d2529061f0740a089b1de50f755c306d9ed3688d05be1e8264bd5e1c496aebef7f3179209
6
+ metadata.gz: 6f3f59b6e955fe10f477bdf7e7122926bf852586946334184bd1123af541baea5ee329da36dc924995b52b7f08a2049a0c99588eec398d289e9da721bc39ffc7
7
+ data.tar.gz: 3dc402301a6fe6b1c8d3f30e36c9453e2e84e8f76707e96bd659b5bbc747761c678509b4a84f7e2951d703bc960876785be8b6bbc48ad94b4f49d86a3b9333ee
checksums.yaml.gz.sig CHANGED
Binary file
@@ -49,7 +49,7 @@ module Sus::Fixtures
49
49
  end
50
50
 
51
51
  def endpoint
52
- ::Async::HTTP::Endpoint.parse(url, timeout: 0.8, reuse_port: true, protocol: protocol)
52
+ ::Async::HTTP::Endpoint.parse(url, reuse_port: true, protocol: protocol)
53
53
  end
54
54
 
55
55
  def retries
@@ -126,7 +126,7 @@ module Sus::Fixtures
126
126
  @client = make_client(@client_endpoint)
127
127
  end
128
128
 
129
- def after
129
+ def after(error = nil)
130
130
  # We add a timeout here, to avoid hanging in `@client.close`:
131
131
  ::Async::Task.current.with_timeout(1) do
132
132
  @client&.close
@@ -7,7 +7,7 @@ module Sus
7
7
  module Fixtures
8
8
  module Async
9
9
  module HTTP
10
- VERSION = "0.8.1"
10
+ VERSION = "0.9.1"
11
11
  end
12
12
  end
13
13
  end
data/readme.md CHANGED
@@ -2,22 +2,28 @@
2
2
 
3
3
  Provides a convenient fixture for running a web server.
4
4
 
5
- [![Development Status](https://github.com/sus-rb/sus-fixtures-async-http/workflows/Test/badge.svg)](https://github.com/sus-rb/sus-fixtures-async-http/actions?workflow=Test)
5
+ [![Development Status](https://github.com/suspecting/sus-fixtures-async-http/workflows/Test/badge.svg)](https://github.com/suspecting/sus-fixtures-async-http/actions?workflow=Test)
6
6
 
7
- ## Installation
7
+ ## Usage
8
8
 
9
- ``` bash
10
- $ bundle add sus-fixtures-async-http
11
- ```
9
+ Please see the [project documentation](https://suspecting.github.io/sus-fixtures-async-http/) for more details.
12
10
 
13
- ## Usage
11
+ - [Getting Started](https://suspecting.github.io/sus-fixtures-async-http/guides/getting-started/index) - This guide explains how to use the `sus-fixtures-async-http` gem to test HTTP clients and servers.
12
+
13
+ ## Contributing
14
+
15
+ We welcome contributions to this project.
16
+
17
+ 1. Fork it.
18
+ 2. Create your feature branch (`git checkout -b my-new-feature`).
19
+ 3. Commit your changes (`git commit -am 'Add some feature'`).
20
+ 4. Push to the branch (`git push origin my-new-feature`).
21
+ 5. Create new Pull Request.
22
+
23
+ ### Developer Certificate of Origin
14
24
 
15
- ``` ruby
16
- include Sus::Fixtures::Async::HTTP::ServerContext
25
+ In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
17
26
 
18
- let(:response) {client.get("/")}
27
+ ### Community Guidelines
19
28
 
20
- it 'can perform a reqeust' do
21
- expect(response.read).to be == "Hello World!"
22
- end
23
- ```
29
+ This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
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.8.1
4
+ version: 0.9.1
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-07-18 00:00:00.000000000 Z
41
+ date: 2024-11-13 00:00:00.000000000 Z
42
42
  dependencies:
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: async-http
@@ -60,14 +60,14 @@ dependencies:
60
60
  requirements:
61
61
  - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: '0.10'
63
+ version: '0.31'
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: '0.10'
70
+ version: '0.31'
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: sus-fixtures-async
73
73
  requirement: !ruby/object:Gem::Requirement
@@ -93,13 +93,13 @@ files:
93
93
  - lib/sus/fixtures/async/http/version.rb
94
94
  - license.md
95
95
  - readme.md
96
- homepage: https://github.com/sus-rb/sus-fixtures-async-http
96
+ homepage: https://github.com/suspecting/sus-fixtures-async-http
97
97
  licenses:
98
98
  - MIT
99
99
  metadata:
100
- documentation_uri: https://sus-rb.github.io/sus-fixtures-async-http/
100
+ documentation_uri: https://suspecting.github.io/sus-fixtures-async-http/
101
101
  funding_uri: https://github.com/sponsors/ioquatix/
102
- source_code_uri: https://github.com/sus-rb/sus-fixtures-async-http.git
102
+ source_code_uri: https://github.com/suspecting/sus-fixtures-async-http.git
103
103
  post_install_message:
104
104
  rdoc_options: []
105
105
  require_paths:
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubygems_version: 3.5.11
118
+ rubygems_version: 3.5.22
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: Test fixtures for running in Async::HTTP.
metadata.gz.sig CHANGED
Binary file