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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9092377999f7bcf8a67b7dd3a78f6de89f0bc0f8b22aedc15869b019c3c8d2e
4
- data.tar.gz: 7dddbacc2f52148ec05b781acf556e988e121fa8ff6575b581134f660b392812
3
+ metadata.gz: 887f28d38bd67a94af95b2fcd048a0dfb8b89ab8ec8fc23967c87a4a69e3d8bb
4
+ data.tar.gz: 59078f1e554c259710688f7c37d85a087583e79cfbdbe95697afe11490d187ed
5
5
  SHA512:
6
- metadata.gz: 3fd5aa0bc34d697c0d8640e238ca23572924a881c1d6d46eb00f5c9e9ee08b805bd3565606d44930469cfe54dac995970b31c20f735f026fe2f2940499d53c80
7
- data.tar.gz: 367009853e421425d328997256a3d9810bfe6fa79e42e815ad8ec6079862fb9de2b58a5955983989a373a708f69e90ac75bd3d92c15f5e55a9c387daead2a4cf
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.4"
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.4"
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::timeout(timeout, WaitError) do
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
- timeout = 30
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::timeout(timeout+CLIENT_TIMEOUT_ADDITION, WaitError) do
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
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: 2022-02-14 00:00:00.000000000 Z
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.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