unobtainium 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +1 -4
- data/Gemfile +0 -2
- data/Gemfile.lock +62 -75
- data/README.md +0 -2
- data/Rakefile +0 -5
- data/lib/unobtainium/support/port_scanner.rb +4 -1
- data/lib/unobtainium/version.rb +2 -2
- data/spec/support_port_scanner_spec.rb +7 -0
- data/unobtainium.gemspec +8 -9
- metadata +21 -31
- data/.codeclimate.yml +0 -34
- data/.rubocop.yml +0 -100
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 241d3e88dae200d429486104d730ff40a2c5748e1bc8edb82739b29316fdf886
|
4
|
+
data.tar.gz: 10f97fe911aac8fdf26108089f29c327ad61a068815b31ef74575b229f35f126
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b65efa898630a84a20bd81a462eeda30d631fe8967b356ef278232f4c0347ec66e4b80089d518c1b83c59893f48453fb3e58cd9431372283d288fb1e40e6f73c
|
7
|
+
data.tar.gz: a241866ef31ee9e0c867ca3be7394db1b5e72e6bec4edc9a88ad5ff52dbaad805ecfe884a0f9c5891e0bcb759a76223c5f06c3b99736b152840752c725b6ae83
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,119 +1,106 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
unobtainium (0.
|
5
|
-
collapsium (~> 0.
|
6
|
-
collapsium-config (~> 0.
|
4
|
+
unobtainium (0.13.0)
|
5
|
+
collapsium (~> 0.10)
|
6
|
+
collapsium-config (~> 0.7)
|
7
7
|
ptools (~> 1.3)
|
8
|
-
sys-proctable (~> 1.
|
8
|
+
sys-proctable (~> 1.2)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
appium_lib (9.
|
14
|
-
|
15
|
-
|
16
|
-
nokogiri (~> 1.6, >= 1.6.6)
|
17
|
-
selenium-webdriver (~> 3.4, >= 3.4.1)
|
13
|
+
appium_lib (9.10.0)
|
14
|
+
appium_lib_core (~> 1.3.1)
|
15
|
+
nokogiri (~> 1.8, >= 1.8.1)
|
18
16
|
tomlrb (~> 1.1)
|
19
|
-
|
17
|
+
appium_lib_core (1.3.7)
|
18
|
+
json (>= 1.8)
|
19
|
+
selenium-webdriver (~> 3.5)
|
20
|
+
archive-zip (0.11.0)
|
20
21
|
io-like (~> 0.3.0)
|
21
|
-
|
22
|
-
awesome_print (1.8.0)
|
22
|
+
backports (3.11.1)
|
23
23
|
builder (3.2.3)
|
24
|
-
childprocess (0.
|
24
|
+
childprocess (0.9.0)
|
25
25
|
ffi (~> 1.0, >= 1.0.11)
|
26
|
-
chromedriver-helper (1.
|
27
|
-
archive-zip (~> 0.
|
28
|
-
nokogiri (~> 1.
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
collapsium (~> 0.9)
|
34
|
-
cucumber (2.4.0)
|
26
|
+
chromedriver-helper (1.2.0)
|
27
|
+
archive-zip (~> 0.10)
|
28
|
+
nokogiri (~> 1.8)
|
29
|
+
collapsium (0.10.0)
|
30
|
+
collapsium-config (0.7.0)
|
31
|
+
collapsium (~> 0.10)
|
32
|
+
cucumber (3.1.0)
|
35
33
|
builder (>= 2.1.2)
|
36
|
-
cucumber-core (~> 1.
|
34
|
+
cucumber-core (~> 3.1.0)
|
35
|
+
cucumber-expressions (~> 5.0.4)
|
37
36
|
cucumber-wire (~> 0.0.1)
|
38
|
-
diff-lcs (
|
39
|
-
gherkin (~>
|
37
|
+
diff-lcs (~> 1.3)
|
38
|
+
gherkin (~> 5.0)
|
40
39
|
multi_json (>= 1.7.5, < 2.0)
|
41
40
|
multi_test (>= 0.1.2)
|
42
|
-
cucumber-core (1.
|
43
|
-
|
41
|
+
cucumber-core (3.1.0)
|
42
|
+
backports (>= 3.8.0)
|
43
|
+
cucumber-tag_expressions (~> 1.1.0)
|
44
|
+
gherkin (>= 5.0.0)
|
45
|
+
cucumber-expressions (5.0.15)
|
46
|
+
cucumber-tag_expressions (1.1.1)
|
44
47
|
cucumber-wire (0.0.1)
|
45
48
|
diff-lcs (1.3)
|
46
|
-
docile (1.
|
47
|
-
ffi (1.9.
|
48
|
-
gherkin (
|
49
|
+
docile (1.3.0)
|
50
|
+
ffi (1.9.23)
|
51
|
+
gherkin (5.0.0)
|
49
52
|
io-like (0.3.0)
|
50
53
|
json (2.1.0)
|
51
|
-
mini_portile2 (2.
|
52
|
-
multi_json (1.
|
54
|
+
mini_portile2 (2.3.0)
|
55
|
+
multi_json (1.13.1)
|
53
56
|
multi_test (0.1.2)
|
54
|
-
nokogiri (1.8.
|
55
|
-
mini_portile2 (~> 2.
|
56
|
-
parallel (1.12.0)
|
57
|
-
parser (2.4.0.0)
|
58
|
-
ast (~> 2.2)
|
57
|
+
nokogiri (1.8.2)
|
58
|
+
mini_portile2 (~> 2.3.0)
|
59
59
|
phantomjs (2.1.1.0)
|
60
|
-
|
61
|
-
ptools (1.3.4)
|
62
|
-
rainbow (2.2.2)
|
63
|
-
rake
|
60
|
+
ptools (1.3.5)
|
64
61
|
rake (11.3.0)
|
65
|
-
rspec (3.
|
66
|
-
rspec-core (~> 3.
|
67
|
-
rspec-expectations (~> 3.
|
68
|
-
rspec-mocks (~> 3.
|
69
|
-
rspec-core (3.
|
70
|
-
rspec-support (~> 3.
|
71
|
-
rspec-expectations (3.
|
62
|
+
rspec (3.7.0)
|
63
|
+
rspec-core (~> 3.7.0)
|
64
|
+
rspec-expectations (~> 3.7.0)
|
65
|
+
rspec-mocks (~> 3.7.0)
|
66
|
+
rspec-core (3.7.1)
|
67
|
+
rspec-support (~> 3.7.0)
|
68
|
+
rspec-expectations (3.7.0)
|
72
69
|
diff-lcs (>= 1.2.0, < 2.0)
|
73
|
-
rspec-support (~> 3.
|
74
|
-
rspec-mocks (3.
|
70
|
+
rspec-support (~> 3.7.0)
|
71
|
+
rspec-mocks (3.7.0)
|
75
72
|
diff-lcs (>= 1.2.0, < 2.0)
|
76
|
-
rspec-support (~> 3.
|
77
|
-
rspec-support (3.
|
78
|
-
rubocop (0.49.1)
|
79
|
-
parallel (~> 1.10)
|
80
|
-
parser (>= 2.3.3.1, < 3.0)
|
81
|
-
powerpack (~> 0.1)
|
82
|
-
rainbow (>= 1.99.1, < 3.0)
|
83
|
-
ruby-progressbar (~> 1.7)
|
84
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
85
|
-
ruby-progressbar (1.8.1)
|
73
|
+
rspec-support (~> 3.7.0)
|
74
|
+
rspec-support (3.7.1)
|
86
75
|
rubyzip (1.2.1)
|
87
|
-
selenium-webdriver (3.
|
76
|
+
selenium-webdriver (3.11.0)
|
88
77
|
childprocess (~> 0.5)
|
89
|
-
rubyzip (~> 1.
|
90
|
-
simplecov (0.
|
91
|
-
docile (~> 1.1
|
78
|
+
rubyzip (~> 1.2)
|
79
|
+
simplecov (0.16.1)
|
80
|
+
docile (~> 1.1)
|
92
81
|
json (>= 1.8, < 3)
|
93
82
|
simplecov-html (~> 0.10.0)
|
94
83
|
simplecov-html (0.10.2)
|
95
|
-
sys-proctable (1.
|
96
|
-
|
97
|
-
|
98
|
-
yard (0.9.
|
84
|
+
sys-proctable (1.2.0)
|
85
|
+
ffi
|
86
|
+
tomlrb (1.2.6)
|
87
|
+
yard (0.9.12)
|
99
88
|
|
100
89
|
PLATFORMS
|
101
90
|
ruby
|
102
91
|
|
103
92
|
DEPENDENCIES
|
104
93
|
appium_lib (>= 9.1)
|
105
|
-
bundler (~> 1.
|
94
|
+
bundler (~> 1.16)
|
106
95
|
chromedriver-helper
|
107
|
-
codeclimate-test-reporter
|
108
96
|
cucumber
|
109
97
|
phantomjs
|
110
98
|
rake (~> 11.3)
|
111
|
-
rspec (~> 3.
|
112
|
-
rubocop (~> 0.49)
|
99
|
+
rspec (~> 3.7)
|
113
100
|
selenium-webdriver
|
114
|
-
simplecov (~> 0.
|
101
|
+
simplecov (~> 0.16)
|
115
102
|
unobtainium!
|
116
|
-
yard (~> 0.9)
|
103
|
+
yard (~> 0.9, >= 0.9.12)
|
117
104
|
|
118
105
|
BUNDLED WITH
|
119
|
-
1.
|
106
|
+
1.16.1
|
data/README.md
CHANGED
@@ -16,8 +16,6 @@ also added.
|
|
16
16
|
|
17
17
|
[![Gem Version](https://badge.fury.io/rb/unobtainium.svg)](https://badge.fury.io/rb/unobtainium)
|
18
18
|
[![Build status](https://travis-ci.org/jfinkhaeuser/unobtainium.svg?branch=master)](https://travis-ci.org/jfinkhaeuser/unobtainium)
|
19
|
-
[![Code Climate](https://codeclimate.com/github/jfinkhaeuser/unobtainium/badges/gpa.svg)](https://codeclimate.com/github/jfinkhaeuser/unobtainium)
|
20
|
-
[![Test Coverage](https://codeclimate.com/github/jfinkhaeuser/unobtainium/badges/coverage.svg)](https://codeclimate.com/github/jfinkhaeuser/unobtainium/coverage)
|
21
19
|
|
22
20
|
# Usage
|
23
21
|
|
data/Rakefile
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
# Rubocop
|
2
|
-
require 'rubocop/rake_task'
|
3
|
-
RuboCop::RakeTask.new(:rubocop)
|
4
|
-
|
5
1
|
# Rspec
|
6
2
|
require 'rspec/core/rake_task'
|
7
3
|
RSpec::Core::RakeTask.new(:rspec)
|
@@ -25,7 +21,6 @@ end
|
|
25
21
|
# Combined test task
|
26
22
|
desc "Test all the things!"
|
27
23
|
task :test do
|
28
|
-
Rake::Task[:rubocop].invoke
|
29
24
|
Rake::Task[:rspec].invoke
|
30
25
|
ENV['DRIVER'] = 'headless'
|
31
26
|
Rake::Task[:cuke].invoke
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# unobtainium
|
4
4
|
# https://github.com/jfinkhaeuser/unobtainium
|
5
5
|
#
|
6
|
-
# Copyright (c) 2016-
|
6
|
+
# Copyright (c) 2016-2018 Jens Finkhaeuser and other unobtainium contributors.
|
7
7
|
# All rights reserved.
|
8
8
|
#
|
9
9
|
|
@@ -204,6 +204,9 @@ module Unobtainium
|
|
204
204
|
rescue Errno::EINVAL, Errno::EAFNOSUPPORT
|
205
205
|
# Unsupported protocol
|
206
206
|
break
|
207
|
+
rescue Errno::EADDRNOTAVAIL
|
208
|
+
# Address not available
|
209
|
+
break
|
207
210
|
end
|
208
211
|
end
|
209
212
|
|
data/lib/unobtainium/version.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
# unobtainium
|
4
4
|
# https://github.com/jfinkhaeuser/unobtainium
|
5
5
|
#
|
6
|
-
# Copyright (c) 2016-
|
6
|
+
# Copyright (c) 2016-2018 Jens Finkhaeuser and other unobtainium contributors.
|
7
7
|
# All rights reserved.
|
8
8
|
#
|
9
9
|
module Unobtainium
|
10
10
|
# The current release version
|
11
|
-
VERSION = "0.
|
11
|
+
VERSION = "0.13.0".freeze
|
12
12
|
end
|
@@ -55,6 +55,13 @@ describe ::Unobtainium::Support::PortScanner do
|
|
55
55
|
expect(tester.port_open?('localhost', 1234, %i[INET INET6])).to be_falsy
|
56
56
|
end
|
57
57
|
|
58
|
+
it "handles unavailable addresses" do
|
59
|
+
allow_any_instance_of(Socket).to receive(:connect_nonblock).and_raise(
|
60
|
+
Errno::EADDRNOTAVAIL
|
61
|
+
)
|
62
|
+
expect(tester.port_open?('localhost', 1234, %i[INET INET6])).to be_falsy
|
63
|
+
end
|
64
|
+
|
58
65
|
it "retries for several seconds if a socket is being created" do
|
59
66
|
allow_any_instance_of(Socket).to receive(:connect_nonblock).and_raise(
|
60
67
|
Errno::EINPROGRESS
|
data/unobtainium.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# unobtainium
|
4
4
|
# https://github.com/jfinkhaeuser/unobtainium
|
5
5
|
#
|
6
|
-
# Copyright (c) 2016-
|
6
|
+
# Copyright (c) 2016-2018 Jens Finkhaeuser and other unobtainium contributors.
|
7
7
|
# All rights reserved.
|
8
8
|
#
|
9
9
|
|
@@ -42,22 +42,21 @@ Gem::Specification.new do |spec|
|
|
42
42
|
spec.requirements = "Either or all of 'selenium-webdriver', 'appium_lib', "\
|
43
43
|
"'phantomjs'"
|
44
44
|
|
45
|
-
spec.add_development_dependency "bundler", "~> 1.
|
46
|
-
spec.add_development_dependency "rubocop", "~> 0.49"
|
45
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
47
46
|
spec.add_development_dependency "rake", "~> 11.3"
|
48
|
-
spec.add_development_dependency "rspec", "~> 3.
|
49
|
-
spec.add_development_dependency "simplecov", "~> 0.
|
50
|
-
spec.add_development_dependency "yard", "~> 0.9"
|
47
|
+
spec.add_development_dependency "rspec", "~> 3.7"
|
48
|
+
spec.add_development_dependency "simplecov", "~> 0.16"
|
49
|
+
spec.add_development_dependency "yard", "~> 0.9", ">= 0.9.12"
|
51
50
|
spec.add_development_dependency "appium_lib", ">= 9.1"
|
52
51
|
spec.add_development_dependency "selenium-webdriver"
|
53
52
|
spec.add_development_dependency "chromedriver-helper"
|
54
53
|
spec.add_development_dependency "phantomjs"
|
55
54
|
spec.add_development_dependency "cucumber"
|
56
55
|
|
57
|
-
spec.add_dependency "sys-proctable", "~> 1.
|
56
|
+
spec.add_dependency "sys-proctable", "~> 1.2"
|
58
57
|
spec.add_dependency "ptools", "~> 1.3"
|
59
|
-
spec.add_dependency "collapsium", "~> 0.
|
60
|
-
spec.add_dependency "collapsium-config", "~> 0.
|
58
|
+
spec.add_dependency "collapsium", "~> 0.10"
|
59
|
+
spec.add_dependency "collapsium-config", "~> 0.7"
|
61
60
|
end
|
62
61
|
# rubocop:enable Layout/SpaceAroundOperators
|
63
62
|
# rubocop:enable Style/UnneededPercentQ, Layout/ExtraSpacing
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unobtainium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Finkhaeuser
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-04-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -17,28 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '1.
|
20
|
+
version: '1.16'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '1.
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: rubocop
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - "~>"
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '0.49'
|
35
|
-
type: :development
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - "~>"
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '0.49'
|
27
|
+
version: '1.16'
|
42
28
|
- !ruby/object:Gem::Dependency
|
43
29
|
name: rake
|
44
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,28 +45,28 @@ dependencies:
|
|
59
45
|
requirements:
|
60
46
|
- - "~>"
|
61
47
|
- !ruby/object:Gem::Version
|
62
|
-
version: '3.
|
48
|
+
version: '3.7'
|
63
49
|
type: :development
|
64
50
|
prerelease: false
|
65
51
|
version_requirements: !ruby/object:Gem::Requirement
|
66
52
|
requirements:
|
67
53
|
- - "~>"
|
68
54
|
- !ruby/object:Gem::Version
|
69
|
-
version: '3.
|
55
|
+
version: '3.7'
|
70
56
|
- !ruby/object:Gem::Dependency
|
71
57
|
name: simplecov
|
72
58
|
requirement: !ruby/object:Gem::Requirement
|
73
59
|
requirements:
|
74
60
|
- - "~>"
|
75
61
|
- !ruby/object:Gem::Version
|
76
|
-
version: '0.
|
62
|
+
version: '0.16'
|
77
63
|
type: :development
|
78
64
|
prerelease: false
|
79
65
|
version_requirements: !ruby/object:Gem::Requirement
|
80
66
|
requirements:
|
81
67
|
- - "~>"
|
82
68
|
- !ruby/object:Gem::Version
|
83
|
-
version: '0.
|
69
|
+
version: '0.16'
|
84
70
|
- !ruby/object:Gem::Dependency
|
85
71
|
name: yard
|
86
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,6 +74,9 @@ dependencies:
|
|
88
74
|
- - "~>"
|
89
75
|
- !ruby/object:Gem::Version
|
90
76
|
version: '0.9'
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 0.9.12
|
91
80
|
type: :development
|
92
81
|
prerelease: false
|
93
82
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -95,6 +84,9 @@ dependencies:
|
|
95
84
|
- - "~>"
|
96
85
|
- !ruby/object:Gem::Version
|
97
86
|
version: '0.9'
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.9.12
|
98
90
|
- !ruby/object:Gem::Dependency
|
99
91
|
name: appium_lib
|
100
92
|
requirement: !ruby/object:Gem::Requirement
|
@@ -171,14 +163,14 @@ dependencies:
|
|
171
163
|
requirements:
|
172
164
|
- - "~>"
|
173
165
|
- !ruby/object:Gem::Version
|
174
|
-
version: '1.
|
166
|
+
version: '1.2'
|
175
167
|
type: :runtime
|
176
168
|
prerelease: false
|
177
169
|
version_requirements: !ruby/object:Gem::Requirement
|
178
170
|
requirements:
|
179
171
|
- - "~>"
|
180
172
|
- !ruby/object:Gem::Version
|
181
|
-
version: '1.
|
173
|
+
version: '1.2'
|
182
174
|
- !ruby/object:Gem::Dependency
|
183
175
|
name: ptools
|
184
176
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,28 +191,28 @@ dependencies:
|
|
199
191
|
requirements:
|
200
192
|
- - "~>"
|
201
193
|
- !ruby/object:Gem::Version
|
202
|
-
version: '0.
|
194
|
+
version: '0.10'
|
203
195
|
type: :runtime
|
204
196
|
prerelease: false
|
205
197
|
version_requirements: !ruby/object:Gem::Requirement
|
206
198
|
requirements:
|
207
199
|
- - "~>"
|
208
200
|
- !ruby/object:Gem::Version
|
209
|
-
version: '0.
|
201
|
+
version: '0.10'
|
210
202
|
- !ruby/object:Gem::Dependency
|
211
203
|
name: collapsium-config
|
212
204
|
requirement: !ruby/object:Gem::Requirement
|
213
205
|
requirements:
|
214
206
|
- - "~>"
|
215
207
|
- !ruby/object:Gem::Version
|
216
|
-
version: '0.
|
208
|
+
version: '0.7'
|
217
209
|
type: :runtime
|
218
210
|
prerelease: false
|
219
211
|
version_requirements: !ruby/object:Gem::Requirement
|
220
212
|
requirements:
|
221
213
|
- - "~>"
|
222
214
|
- !ruby/object:Gem::Version
|
223
|
-
version: '0.
|
215
|
+
version: '0.7'
|
224
216
|
description: "\n Unobtainium wraps Selenium and Appium in a simple driver abstraction
|
225
217
|
so that\n test code can more easily cover desktop browsers, mobile browsers and
|
226
218
|
mobile\n apps.\n\n Some additional useful functionality for the maintenance
|
@@ -232,10 +224,8 @@ executables: []
|
|
232
224
|
extensions: []
|
233
225
|
extra_rdoc_files: []
|
234
226
|
files:
|
235
|
-
- ".codeclimate.yml"
|
236
227
|
- ".gitignore"
|
237
228
|
- ".rspec"
|
238
|
-
- ".rubocop.yml"
|
239
229
|
- ".travis.yml"
|
240
230
|
- Gemfile
|
241
231
|
- Gemfile.lock
|
@@ -298,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
298
288
|
requirements:
|
299
289
|
- Either or all of 'selenium-webdriver', 'appium_lib', 'phantomjs'
|
300
290
|
rubyforge_project:
|
301
|
-
rubygems_version: 2.6
|
291
|
+
rubygems_version: 2.7.6
|
302
292
|
signing_key:
|
303
293
|
specification_version: 4
|
304
294
|
summary: 'Obtain the unobtainable: test code covering multiple platforms'
|
data/.codeclimate.yml
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engines:
|
3
|
-
bundler-audit:
|
4
|
-
enabled: true
|
5
|
-
duplication:
|
6
|
-
enabled: true
|
7
|
-
exclude_fingerprints:
|
8
|
-
- d85d6f12c93d79ccd43868b8315d8816
|
9
|
-
- a8e2b4ccb258f16eda697c5f98e21823
|
10
|
-
- 442a316695836b4f4693fe3786cd3396
|
11
|
-
- 1c24bb5da72323796b645814cc006684
|
12
|
-
- 4ff1112a73f7be30ecefa7bd90fdbf5a
|
13
|
-
config:
|
14
|
-
languages:
|
15
|
-
- ruby
|
16
|
-
- javascript
|
17
|
-
- python
|
18
|
-
- php
|
19
|
-
fixme:
|
20
|
-
enabled: true
|
21
|
-
rubocop:
|
22
|
-
enabled: true
|
23
|
-
ratings:
|
24
|
-
paths:
|
25
|
-
- Gemfile.lock
|
26
|
-
- "**.inc"
|
27
|
-
- "**.js"
|
28
|
-
- "**.jsx"
|
29
|
-
- "**.module"
|
30
|
-
- "**.php"
|
31
|
-
- "**.py"
|
32
|
-
- "**.rb"
|
33
|
-
exclude_paths:
|
34
|
-
- spec/
|
data/.rubocop.yml
DELETED
@@ -1,100 +0,0 @@
|
|
1
|
-
AllCops:
|
2
|
-
TargetRubyVersion: 2.3
|
3
|
-
|
4
|
-
# Metrics
|
5
|
-
|
6
|
-
Metrics/LineLength:
|
7
|
-
Max: 84
|
8
|
-
Details: >-
|
9
|
-
Line length of 80 is ideal for readability and compatibility; we'll accept
|
10
|
-
an extra 4 for minor edge cases (e.g. copyright notice).
|
11
|
-
|
12
|
-
Metrics/MethodLength:
|
13
|
-
Max: 35
|
14
|
-
|
15
|
-
Metrics/BlockNesting:
|
16
|
-
Max: 5
|
17
|
-
|
18
|
-
Metrics/AbcSize:
|
19
|
-
Max: 50
|
20
|
-
|
21
|
-
Metrics/PerceivedComplexity:
|
22
|
-
Max: 15
|
23
|
-
|
24
|
-
Metrics/CyclomaticComplexity:
|
25
|
-
Max: 15
|
26
|
-
|
27
|
-
Metrics/ClassLength:
|
28
|
-
Max: 300
|
29
|
-
|
30
|
-
Metrics/ModuleLength:
|
31
|
-
Max: 300
|
32
|
-
|
33
|
-
Metrics/BlockLength:
|
34
|
-
Max: 300
|
35
|
-
|
36
|
-
# Style
|
37
|
-
|
38
|
-
Style/StringLiterals:
|
39
|
-
Enabled: false
|
40
|
-
|
41
|
-
Style/ConditionalAssignment:
|
42
|
-
Enabled: false
|
43
|
-
|
44
|
-
Style/AndOr:
|
45
|
-
Enabled: false
|
46
|
-
|
47
|
-
Style/Not:
|
48
|
-
Enabled: false
|
49
|
-
|
50
|
-
Style/NegatedIf:
|
51
|
-
Enabled: false
|
52
|
-
|
53
|
-
Style/RedundantReturn:
|
54
|
-
Enabled: false
|
55
|
-
|
56
|
-
Style/IfUnlessModifier:
|
57
|
-
Enabled: false
|
58
|
-
|
59
|
-
Style/TrailingCommaInLiteral:
|
60
|
-
Enabled: false
|
61
|
-
|
62
|
-
Style/TrailingUnderscoreVariable:
|
63
|
-
Enabled: false
|
64
|
-
|
65
|
-
Style/NumericLiterals:
|
66
|
-
Enabled: false
|
67
|
-
|
68
|
-
Style/FileName:
|
69
|
-
Enabled: false
|
70
|
-
|
71
|
-
Style/FrozenStringLiteralComment:
|
72
|
-
Enabled: false
|
73
|
-
|
74
|
-
Style/PreferredHashMethods:
|
75
|
-
Enabled: false
|
76
|
-
|
77
|
-
Style/NumericPredicate:
|
78
|
-
Enabled: false # Not compatible with <= 2.2
|
79
|
-
|
80
|
-
Style/YodaCondition:
|
81
|
-
Enabled: false
|
82
|
-
|
83
|
-
Style/ClassAndModuleChildren:
|
84
|
-
Enabled: false
|
85
|
-
|
86
|
-
# Layout
|
87
|
-
|
88
|
-
Layout/EmptyLineAfterMagicComment:
|
89
|
-
Enabled: false
|
90
|
-
|
91
|
-
Layout/SpaceAfterNot:
|
92
|
-
Enabled: false
|
93
|
-
|
94
|
-
Layout/FirstParameterIndentation:
|
95
|
-
Enabled: false
|
96
|
-
|
97
|
-
Layout/EmptyLinesAroundModuleBody:
|
98
|
-
Enabled: false
|
99
|
-
|
100
|
-
|