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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -0
  3. data/lib/rspec/wait/version.rb +1 -1
  4. metadata +5 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3063b52ebd279697ad6513ff3086284b4de74646b923b26eac4063eda6a230d
4
- data.tar.gz: a1e2a15ea600566d77c946bb53662907885a1b5491ef1f17bb7735352340b03d
3
+ metadata.gz: d1e5feca07bca8e8ce594d6d548a4b4cd898e2366ce601c28ec6ddd152a47a01
4
+ data.tar.gz: eeab28ab6433f33f3c33eb83f2b1b086a403ae988950af63a4d963b595c76b63
5
5
  SHA512:
6
- metadata.gz: 8c5675ecf53888f5e0a82de31a819be2e1ec2d051beade97169361344210dc067a4f9b84f8faf97f19b397d431fc6a215637fa5e3c7cf16e8830b5d81556c940
7
- data.tar.gz: c0d8d730ead4d2dad8bbe3412c02357276b13734b2befe3c184aa5e62b1bedb680d66a561a76b99bb8c9debb1bc62f214591a2ddcd0d98cd346b585ab565a64f
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:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RSpec
4
4
  module Wait
5
- VERSION = ::Gem::Version.new("1.0.0.rc1")
5
+ VERSION = ::Gem::Version.new("1.0.0")
6
6
  end
7
7
  end
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.rc1
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-04-25 00:00:00.000000000 Z
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: 1.3.1
92
+ version: '0'
95
93
  requirements: []
96
- rubygems_version: 3.4.10
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: []