gridium 1.1.31 → 1.1.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/element.rb +3 -3
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3702814ddf4f914fa763875aa39ba35ad129cc85
4
- data.tar.gz: bd7dbbeea83de8f549b95ed8ea5cefd3aef080ac
3
+ metadata.gz: 11b62ba2d577fdae5d4f26985ad165a243b4ffe8
4
+ data.tar.gz: 8c63c8f5f78d7f8f15ec594991e000edcca2209a
5
5
  SHA512:
6
- metadata.gz: e4791be1a169f94e8847e4667a06f8d465d4f261c17de84a9cedc10ff2a11a1aba95d5f6baad652a4ca200877e6136d2af17b829917f694b6468d736ae9d0b16
7
- data.tar.gz: e8a55c8f126b76097f634a09820161b53719027ee70431b8018238f56aa16f9dfa0ec9708cb75e1a8d438a09db8dcadc7a2963c6e5989fd0b353c5fbaed0bc1e
6
+ metadata.gz: 4b1fa3ec28f0c3f49873995003af90b8df963b7ed67e435f2c2c7475e92b481565d94b5715269bbec261e5817d6898bdf158d6b1a2fe9e406e304d5045585457
7
+ data.tar.gz: dcd8502afe3e4d1e1b0f2d3dba102c70c314734c8255543af90597b7b3f2ccc2d79ae134814360502a58c1d01ec7d764709068cdb21629e5b1f8a7bc882e9c28
data/lib/element.rb CHANGED
@@ -140,9 +140,9 @@ class Element
140
140
  $verification_passes += 1
141
141
  begin
142
142
  element.click
143
- rescue Exception => e
143
+ rescue StandardError => e
144
144
  Log.warn("[GRIDIUM::Element] Click Exception retrying...")
145
- sleep 0.15
145
+ sleep 1
146
146
  click_retry -= 1
147
147
  if click_retry >= 0
148
148
  retry
@@ -371,7 +371,7 @@ class Element
371
371
  else
372
372
  return true
373
373
  end
374
- rescue Exception => e
374
+ rescue StandardError => e
375
375
  Log.error("There was a problem comparing element images. #{e.to_s}")
376
376
  end
377
377
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gridium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.31
4
+ version: 1.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Urban
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-06 00:00:00.000000000 Z
11
+ date: 2017-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  version: '0'
182
182
  requirements: []
183
183
  rubyforge_project:
184
- rubygems_version: 2.6.12
184
+ rubygems_version: 2.6.13
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: This Gem is used to make building Selenium Tests without Capybara Easier.