sus-fixtures-async-http 0.8.0 → 0.8.1
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 +7 -4
- data/lib/sus/fixtures/async/http/version.rb +2 -2
- data/license.md +2 -1
- data/readme.md +1 -1
- data.tar.gz.sig +0 -0
- metadata +8 -19
- metadata.gz.sig +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df078bbaa8b6c50c55f0377a2cb1147d7e58171d4a8eda76c0d15b03bc14a650
|
4
|
+
data.tar.gz: bfc47968b18f18401542766d273e9b4701236713d8ab50d3ffe53f82dbbee965
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e61109a5cd4f88e633bd68433602fa8e309cbb86e4bf86818b99057c3281ad157c9b5870a16a0cc86800c44ffc37e0875dd9ca8a5b907651ce6da83bf3c9c9a7
|
7
|
+
data.tar.gz: 3089c1e739fd5b5dfa0281d1c046eac58ff8b576aff298271e28755d2529061f0740a089b1de50f755c306d9ed3688d05be1e8264bd5e1c496aebef7f3179209
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2022-
|
4
|
+
# Copyright, 2022-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
require 'sus/fixtures/async/reactor_context'
|
7
7
|
|
@@ -127,9 +127,12 @@ module Sus::Fixtures
|
|
127
127
|
end
|
128
128
|
|
129
129
|
def after
|
130
|
-
|
131
|
-
|
132
|
-
|
130
|
+
# We add a timeout here, to avoid hanging in `@client.close`:
|
131
|
+
::Async::Task.current.with_timeout(1) do
|
132
|
+
@client&.close
|
133
|
+
@server_task&.stop
|
134
|
+
@bound_endpoint&.close
|
135
|
+
end
|
133
136
|
|
134
137
|
super
|
135
138
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2022-
|
4
|
+
# Copyright, 2022-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
module Sus
|
7
7
|
module Fixtures
|
8
8
|
module Async
|
9
9
|
module HTTP
|
10
|
-
VERSION = "0.8.
|
10
|
+
VERSION = "0.8.1"
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
data/license.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# MIT License
|
2
2
|
|
3
|
-
Copyright, 2022-
|
3
|
+
Copyright, 2022-2024, by Samuel Williams.
|
4
|
+
Copyright, 2023, by Felix Yan.
|
4
5
|
|
5
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
7
|
of this software and associated documentation files (the "Software"), to deal
|
data/readme.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Provides a convenient fixture for running a web server.
|
4
4
|
|
5
|
-
[![Development Status](https://github.com/
|
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)
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sus-fixtures-async-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
+
- Felix Yan
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain:
|
@@ -37,7 +38,7 @@ cert_chain:
|
|
37
38
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
38
39
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
39
40
|
-----END CERTIFICATE-----
|
40
|
-
date: 2024-
|
41
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
41
42
|
dependencies:
|
42
43
|
- !ruby/object:Gem::Dependency
|
43
44
|
name: async-http
|
@@ -81,20 +82,6 @@ dependencies:
|
|
81
82
|
- - "~>"
|
82
83
|
- !ruby/object:Gem::Version
|
83
84
|
version: '0.1'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: covered
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - "~>"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '0.20'
|
91
|
-
type: :development
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - "~>"
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '0.20'
|
98
85
|
description:
|
99
86
|
email:
|
100
87
|
executables: []
|
@@ -106,11 +93,13 @@ files:
|
|
106
93
|
- lib/sus/fixtures/async/http/version.rb
|
107
94
|
- license.md
|
108
95
|
- readme.md
|
109
|
-
homepage: https://github.com/
|
96
|
+
homepage: https://github.com/sus-rb/sus-fixtures-async-http
|
110
97
|
licenses:
|
111
98
|
- MIT
|
112
99
|
metadata:
|
100
|
+
documentation_uri: https://sus-rb.github.io/sus-fixtures-async-http/
|
113
101
|
funding_uri: https://github.com/sponsors/ioquatix/
|
102
|
+
source_code_uri: https://github.com/sus-rb/sus-fixtures-async-http.git
|
114
103
|
post_install_message:
|
115
104
|
rdoc_options: []
|
116
105
|
require_paths:
|
@@ -119,14 +108,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
108
|
requirements:
|
120
109
|
- - ">="
|
121
110
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
111
|
+
version: '3.1'
|
123
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
113
|
requirements:
|
125
114
|
- - ">="
|
126
115
|
- !ruby/object:Gem::Version
|
127
116
|
version: '0'
|
128
117
|
requirements: []
|
129
|
-
rubygems_version: 3.
|
118
|
+
rubygems_version: 3.5.11
|
130
119
|
signing_key:
|
131
120
|
specification_version: 4
|
132
121
|
summary: Test fixtures for running in Async::HTTP.
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,4 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
'��D�Izq$�wC���#��u��fdJf��.GcW�3_[��T�D�M�
|
2
|
+
:�]�vf�,x�|��#n���7-�ø&x��z�&*�]vQ�Gz?��!%As�L�&���g���4��#B��ʂ����2I�!����Pzg���^���|�2��|��Xk`��T�
|
3
|
+
��
|
4
|
+
����nwu*נ�շrN6k�8����j����L��2�d�@D��L�\IP��c��{��
|