calabash-cucumber 0.23.4 → 0.23.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/calabash-cucumber/version.rb +2 -2
- data/lib/calabash-cucumber/wait_helpers.rb +5 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 887f28d38bd67a94af95b2fcd048a0dfb8b89ab8ec8fc23967c87a4a69e3d8bb
|
4
|
+
data.tar.gz: 59078f1e554c259710688f7c37d85a087583e79cfbdbe95697afe11490d187ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 204bf47b8a6b969fd4cc36d4f55cf210552fa0b1347ca9c6bf989edaf618e010fe01b4ae301a1ffa3786a4aca4067ad70a74c95f583a0ef9e270373ca3b8ec66
|
7
|
+
data.tar.gz: 969f4af008ac53bfcc9e63d585b993d58abe0a9924475233f48b8501710119bb9135b9dd3ddd3d34435812c7d16fb108ad333b7cfacf627ba5627fbc21f8f81c
|
@@ -3,10 +3,10 @@ module Calabash
|
|
3
3
|
|
4
4
|
# @!visibility public
|
5
5
|
# The Calabash iOS gem version.
|
6
|
-
VERSION = "0.23.
|
6
|
+
VERSION = "0.23.5"
|
7
7
|
|
8
8
|
# @!visibility public
|
9
9
|
# The minimum required version of the Calabash embedded server.
|
10
|
-
MIN_SERVER_VERSION = "0.23.
|
10
|
+
MIN_SERVER_VERSION = "0.23.5"
|
11
11
|
end
|
12
12
|
end
|
@@ -132,7 +132,7 @@ module Calabash
|
|
132
132
|
end
|
133
133
|
|
134
134
|
begin
|
135
|
-
Timeout
|
135
|
+
Timeout.timeout(timeout, WaitError) do
|
136
136
|
sleep(retry_frequency) until yield
|
137
137
|
end
|
138
138
|
sleep(post_timeout) if post_timeout > 0
|
@@ -274,10 +274,9 @@ module Calabash
|
|
274
274
|
|
275
275
|
# @!visibility private
|
276
276
|
def wait_for_condition(options = {})
|
277
|
-
timeout = options[:timeout]
|
278
|
-
unless timeout && timeout > 0
|
279
|
-
|
280
|
-
end
|
277
|
+
timeout = options[:timeout] || ENV['WAIT_TIMEOUT']
|
278
|
+
timeout = DEFAULT_OPTS[:timeout] unless timeout && timeout > 0
|
279
|
+
|
281
280
|
options[:query] = options[:query] || '*'
|
282
281
|
if options.has_key?(:condition)
|
283
282
|
opt_condition = options[:condition]
|
@@ -299,7 +298,7 @@ module Calabash
|
|
299
298
|
end
|
300
299
|
|
301
300
|
begin
|
302
|
-
Timeout
|
301
|
+
Timeout.timeout(timeout + CLIENT_TIMEOUT_ADDITION, WaitError) do
|
303
302
|
res = http({:method => :post, :path => 'condition'},
|
304
303
|
options)
|
305
304
|
res = JSON.parse(res)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.
|
4
|
+
version: 0.23.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Krukow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -445,7 +445,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
445
445
|
- !ruby/object:Gem::Version
|
446
446
|
version: '0'
|
447
447
|
requirements: []
|
448
|
-
rubygems_version: 3.3.
|
448
|
+
rubygems_version: 3.3.26
|
449
449
|
signing_key:
|
450
450
|
specification_version: 4
|
451
451
|
summary: Client for calabash-ios-server for automated functional testing on iOS
|