sus-fixtures-async-http 0.8.1 → 0.9.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: df078bbaa8b6c50c55f0377a2cb1147d7e58171d4a8eda76c0d15b03bc14a650
4
- data.tar.gz: bfc47968b18f18401542766d273e9b4701236713d8ab50d3ffe53f82dbbee965
3
+ metadata.gz: 2856a58aef69c13a8b9f050b680e3ce837849ca15c730429dfca87583775f92c
4
+ data.tar.gz: 3ef1c816c9a94b45926f67e998823c35509218b184065000fc85f606ffbb4715
5
5
  SHA512:
6
- metadata.gz: e61109a5cd4f88e633bd68433602fa8e309cbb86e4bf86818b99057c3281ad157c9b5870a16a0cc86800c44ffc37e0875dd9ca8a5b907651ce6da83bf3c9c9a7
7
- data.tar.gz: 3089c1e739fd5b5dfa0281d1c046eac58ff8b576aff298271e28755d2529061f0740a089b1de50f755c306d9ed3688d05be1e8264bd5e1c496aebef7f3179209
6
+ metadata.gz: 53797aadfa8b7ab746d5297450b21cc0ff6f312441fdd533bf1dfa0a528a79b4cbef2f568576c583c8cd3adcfde4bb5f2c6734347c3fab59b41a31fc1159f084
7
+ data.tar.gz: f51f4520c165668ffd9906c23289c2d3aaede657b0542c861654b8cb0db4e30f6d96bd8dd67e8ff04d812aa1509dbc820d618a9337e39fc973bad7a54c77d87a
checksums.yaml.gz.sig CHANGED
Binary file
@@ -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.0"
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.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-07-18 00:00:00.000000000 Z
41
+ date: 2024-07-28 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:
metadata.gz.sig CHANGED
Binary file