ops_manager_ui_drivers 2.4.0 → 2.4.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d97b578f5fd1bde218082fdfd11280490f0ffa8
|
4
|
+
data.tar.gz: dddc02e8341654f373c4b2a4ff0e9efebbd37523
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e63b016b8aff49024aabc7b385fdc7f424ebdf6146ef2816e43a2d1e93f6fbd551b02c646093537f49a76d2ecbd069bd0fec2434e8cc65dd5f5a947b9583a7f1
|
7
|
+
data.tar.gz: bddd671d39cd67694c1bed37fcaf2c56fc5a27852ea2ee62280eef6c4c10b423959c195625b025bdb99d4c0fca2ef4cb329849a32a3c6bf6664bc6d91e3663f6
|
@@ -30,11 +30,13 @@ module OpsManagerUiDrivers
|
|
30
30
|
|
31
31
|
private
|
32
32
|
|
33
|
+
# We're rescuing StandardError because Capybara throws random stuff at us.
|
34
|
+
|
33
35
|
def retry_times(retries, &blk)
|
34
36
|
blk.call
|
35
37
|
rescue EarlyFailException
|
36
38
|
raise
|
37
|
-
rescue RSpec::Expectations::ExpectationNotMetError,
|
39
|
+
rescue RSpec::Expectations::ExpectationNotMetError, StandardError => e
|
38
40
|
retries -= 1
|
39
41
|
Logger.debug "------- retries_left=#{retries}"
|
40
42
|
if retries > 0
|
@@ -50,7 +52,7 @@ module OpsManagerUiDrivers
|
|
50
52
|
blk.call
|
51
53
|
rescue EarlyFailException
|
52
54
|
raise
|
53
|
-
rescue RSpec::Expectations::ExpectationNotMetError,
|
55
|
+
rescue RSpec::Expectations::ExpectationNotMetError, StandardError => e
|
54
56
|
seconds_left = (end_time - Time.now).round
|
55
57
|
Logger.debug "------- seconds_left=#{seconds_left}"
|
56
58
|
if seconds_left > SLEEP_INTERVAL
|
@@ -25,7 +25,6 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_dependency 'cf-uaa-lib'
|
26
26
|
|
27
27
|
spec.add_development_dependency 'bundler'
|
28
|
-
spec.add_development_dependency 'codeclimate-test-reporter'
|
29
28
|
spec.add_development_dependency 'pry'
|
30
29
|
spec.add_development_dependency 'rake'
|
31
30
|
spec.add_development_dependency 'rubocop'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ops_manager_ui_drivers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -94,20 +94,6 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: codeclimate-test-reporter
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: pry
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|