rspec-wait 1.0.0 → 1.0.1

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: d1e5feca07bca8e8ce594d6d548a4b4cd898e2366ce601c28ec6ddd152a47a01
4
- data.tar.gz: eeab28ab6433f33f3c33eb83f2b1b086a403ae988950af63a4d963b595c76b63
3
+ metadata.gz: 571ec853f48e6b4c04f9703dfdb118c79840e1faaa344505f47663c031e27178
4
+ data.tar.gz: e72a55bdd7cce040dca8d217935d63cbd9c5ee20684df327636d6d7c2adbbfb3
5
5
  SHA512:
6
- metadata.gz: f23e94176e14b0d5e03794e79f25cfc721a83cfd1f097c4902dea2a90974184fa9beefe4c4c2c1c7528c9a0a19bb38872421982c1bb98cfb9505d6ddf34c0373
7
- data.tar.gz: 51cbbf77176c670bae9d7446cdfb2e90813f11ca4bd7de31608228197d7ba4bc2e0d6398a987da0f4342cbcd6791e9d7e09ef4f81e2ac2a338dd45957c715e89
6
+ metadata.gz: 7a5d8c9a6d1a454f21bf942675d19961b0def0168c4fc33c17ba8c433a9e9a2d9b53e853e56f4917904344f09067b404ad14d7bcf594e840be2494d29a7755ba
7
+ data.tar.gz: 8b788a45f5eab52470a01aaa9869ae7c596682a523a2b8a9beacfa7934bcb20f42d529404d9a8b7f7c6056dafca5adcdeba17536f129fb0dca7deda408221895
@@ -14,7 +14,7 @@ module RSpec
14
14
  begin
15
15
  matcher = RSpec.configuration.clone_wait_matcher ? initial_matcher.clone : initial_matcher
16
16
 
17
- if matcher.supports_block_expectations?
17
+ if matcher.respond_to?(:supports_block_expectations?) && matcher.supports_block_expectations?
18
18
  super(target, matcher, message, &block)
19
19
  else
20
20
  super(target.call, matcher, message, &block)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RSpec
4
4
  module Wait
5
- VERSION = ::Gem::Version.new("1.0.0")
5
+ VERSION = ::Gem::Version.new("1.0.1")
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,14 @@
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Richert
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 2024-05-31 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: rspec
@@ -77,6 +78,7 @@ metadata:
77
78
  homepage_uri: https://github.com/laserlemon/rspec-wait
78
79
  rubygems_mfa_required: 'true'
79
80
  source_code_uri: https://github.com/laserlemon/rspec-wait
81
+ post_install_message:
80
82
  rdoc_options: []
81
83
  require_paths:
82
84
  - lib
@@ -91,7 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
93
  - !ruby/object:Gem::Version
92
94
  version: '0'
93
95
  requirements: []
94
- rubygems_version: 3.6.0.dev
96
+ rubygems_version: 3.4.19
97
+ signing_key:
95
98
  specification_version: 4
96
99
  summary: Wait for conditions in RSpec
97
100
  test_files: []