rspec-wait 1.0.0.rc1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/lib/rspec/wait/version.rb +1 -1
- metadata +5 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1e5feca07bca8e8ce594d6d548a4b4cd898e2366ce601c28ec6ddd152a47a01
|
4
|
+
data.tar.gz: eeab28ab6433f33f3c33eb83f2b1b086a403ae988950af63a4d963b595c76b63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f23e94176e14b0d5e03794e79f25cfc721a83cfd1f097c4902dea2a90974184fa9beefe4c4c2c1c7528c9a0a19bb38872421982c1bb98cfb9505d6ddf34c0373
|
7
|
+
data.tar.gz: 51cbbf77176c670bae9d7446cdfb2e90813f11ca4bd7de31608228197d7ba4bc2e0d6398a987da0f4342cbcd6791e9d7e09ef4f81e2ac2a338dd45957c715e89
|
data/README.md
CHANGED
@@ -133,6 +133,19 @@ environment:
|
|
133
133
|
require "rspec/wait"
|
134
134
|
```
|
135
135
|
|
136
|
+
### Upgrading from v0
|
137
|
+
|
138
|
+
RSpec::Wait v1 is very similar in syntax to v0 but does have a few breaking
|
139
|
+
changes that you should be aware of when upgrading from any 0.x version:
|
140
|
+
|
141
|
+
1. RSpec::Wait v1 requires Ruby 3.0 or greater and RSpec 3.4 or greater.
|
142
|
+
2. The `wait_for` and `wait.for` methods no longer accept arguments, only
|
143
|
+
blocks.
|
144
|
+
3. RSpec::Wait no longer uses Ruby's problematic `Timeout.timeout` method,
|
145
|
+
which means it will no longer raise a `RSpec::Wait::TimeoutError`.
|
146
|
+
RSpec::Wait v1 never interrupts the block given to `wait_for` mid-call
|
147
|
+
so make every effort to reasonably limit the block's individual call time.
|
148
|
+
|
136
149
|
## Configuration
|
137
150
|
|
138
151
|
RSpec::Wait has three available configuration values:
|
data/lib/rspec/wait/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-wait
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Richert
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2024-
|
10
|
+
date: 2024-05-31 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rspec
|
@@ -78,7 +77,6 @@ metadata:
|
|
78
77
|
homepage_uri: https://github.com/laserlemon/rspec-wait
|
79
78
|
rubygems_mfa_required: 'true'
|
80
79
|
source_code_uri: https://github.com/laserlemon/rspec-wait
|
81
|
-
post_install_message:
|
82
80
|
rdoc_options: []
|
83
81
|
require_paths:
|
84
82
|
- lib
|
@@ -89,12 +87,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
87
|
version: '3.0'
|
90
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
89
|
requirements:
|
92
|
-
- - "
|
90
|
+
- - ">="
|
93
91
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
92
|
+
version: '0'
|
95
93
|
requirements: []
|
96
|
-
rubygems_version: 3.
|
97
|
-
signing_key:
|
94
|
+
rubygems_version: 3.6.0.dev
|
98
95
|
specification_version: 4
|
99
96
|
summary: Wait for conditions in RSpec
|
100
97
|
test_files: []
|