sus-fixtures-async 0.1.0 → 0.1.2

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: b625a920cea82942ff552d431c6a801301935fb322751734a3b27efec374f8f6
4
- data.tar.gz: ab1de467b34707d1e3412396f5054d33f5409267165c606b48a240ec19ece5d2
3
+ metadata.gz: 4e3d4f015f65d164cfee2a56518d31a795830b3a26d28526eb8a0c7e89b1d186
4
+ data.tar.gz: 3da39eb7cdea0313c14f10b11d6a7450514d83a46198f9f2bac87cd5ed5ca425
5
5
  SHA512:
6
- metadata.gz: 452ba3d2ed4cd88e61d72bd0b92b319ae275a2ab52172989a531dd7a8594a07151344ba9275208ec1aa93dcb7c3485c0206e3303f8b9261970505ee0cf6e2e89
7
- data.tar.gz: 2c21470a0986e72387b1f003f80644d8f3dae637c55470b3699a88b00ce84b1a1f8e73001f9e5e48cbaeacd0671183e7b6cd67419dfeb228df04819db06f904e
6
+ metadata.gz: c5182392bc4cab15a4b4f747e1d59808a0805a1b28886d946454aae3ba273d56f2c2b6c241af57675ebe9e0033def9cf3bc2fbe8fc1ff1533ca884ebe73ccda6
7
+ data.tar.gz: 5a24821a3a0ad45d809f336efa8e14f73572baafcfe2a0611c46505297294217590fbe65087831020722a5fe1e292318b71eadda15049f15e1eade3c2b9c7d84
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,22 +1,7 @@
1
- # Copyright, 2019, by Samuel G. D. Williams. <http://www.codeotaku.com>
2
- #
3
- # Permission is hereby granted, free of charge, to any person obtaining a copy
4
- # of this software and associated documentation files (the "Software"), to deal
5
- # in the Software without restriction, including without limitation the rights
6
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- # copies of the Software, and to permit persons to whom the Software is
8
- # furnished to do so, subject to the following conditions:
9
- #
10
- # The above copyright notice and this permission notice shall be included in
11
- # all copies or substantial portions of the Software.
12
- #
13
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- # THE SOFTWARE.
1
+ # frozen_string_literal: true
2
+
3
+ # Released under the MIT License.
4
+ # Copyright, 2022-2023, by Samuel Williams.
20
5
 
21
6
  require 'async'
22
7
  require 'sus/fixtures'
@@ -69,7 +54,7 @@ module Sus::Fixtures::Async
69
54
  end
70
55
 
71
56
  def timeout
72
- 1
57
+ 10
73
58
  end
74
59
 
75
60
  def reactor
@@ -1,27 +1,12 @@
1
- # Copyright, 2019, by Samuel G. D. Williams. <http://www.codeotaku.com>
2
- #
3
- # Permission is hereby granted, free of charge, to any person obtaining a copy
4
- # of this software and associated documentation files (the "Software"), to deal
5
- # in the Software without restriction, including without limitation the rights
6
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- # copies of the Software, and to permit persons to whom the Software is
8
- # furnished to do so, subject to the following conditions:
9
- #
10
- # The above copyright notice and this permission notice shall be included in
11
- # all copies or substantial portions of the Software.
12
- #
13
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- # THE SOFTWARE.
1
+ # frozen_string_literal: true
2
+
3
+ # Released under the MIT License.
4
+ # Copyright, 2022-2023, by Samuel Williams.
20
5
 
21
6
  module Sus
22
7
  module Fixtures
23
8
  module Async
24
- VERSION = "0.1.0"
9
+ VERSION = "0.1.2"
25
10
  end
26
11
  end
27
12
  end
@@ -1,2 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Released under the MIT License.
4
+ # Copyright, 2022, by Samuel Williams.
1
5
 
2
6
  require_relative 'async/reactor_context'
data/license.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright, 2022, by Samuel Williams.
3
+ Copyright, 2022-2023, by Samuel Williams.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/readme.md CHANGED
@@ -2,15 +2,17 @@
2
2
 
3
3
  Provides a convenient fixture for testing async components in a reactor.
4
4
 
5
+ [![Development Status](https://github.com/socketry/sus-fixtures-async/workflows/Test/badge.svg)](https://github.com/socketry/sus-fixtures-async/actions?workflow=Test)
6
+
5
7
  ## Installation
6
8
 
7
- ```bash
9
+ ``` bash
8
10
  $ bundle add sus-fixtures-async
9
11
  ```
10
12
 
11
13
  ## Usage
12
14
 
13
- ```ruby
15
+ ``` ruby
14
16
  include Sus::Fixtures::Async::ReactorContext
15
17
 
16
18
  # Override the default timeout
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
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
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: 2022-08-24 00:00:00.000000000 Z
40
+ date: 2023-08-27 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: async
@@ -59,14 +59,14 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: 0.10.1
62
+ version: '0.10'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: 0.10.1
69
+ version: '0.10'
70
70
  description:
71
71
  email:
72
72
  executables: []
@@ -91,14 +91,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: 2.7.0
94
+ version: '3.0'
95
95
  required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - ">="
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.3.7
101
+ rubygems_version: 3.4.10
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Test fixtures for running in Async.
metadata.gz.sig CHANGED
Binary file