unobtainium 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -11
- data/lib/unobtainium/version.rb +1 -1
- data/lib/unobtainium/world.rb +14 -3
- data/unobtainium.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0202181ebc54842735ee1870ddde0129088baad3
|
4
|
+
data.tar.gz: e1f45311b828d4cbe245a197cdf746a809998a85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8001c529d1d2c53044033ba7b1266a7c5c4635363e96ceb210ca192f4daab5d7249e7776d001d6ceba501e213b4413009eba9b491eba017e64d3e8b7c253e0a7
|
7
|
+
data.tar.gz: 0a61e0ec8c1f22ab9ba07f9667018bb5f75128380d3ec98a872ae640e8ba7c7da1761919ac3263b494c6d3caa2693e19f2e9b10bc67091a56f5949429bcbbff0
|
data/Gemfile.lock
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
unobtainium (0.11.
|
4
|
+
unobtainium (0.11.1)
|
5
5
|
collapsium (~> 0.8)
|
6
|
-
collapsium-config (~> 0.
|
6
|
+
collapsium-config (~> 0.5)
|
7
7
|
ptools (~> 1.3)
|
8
8
|
sys-proctable (~> 1.1)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
appium_lib (9.1.
|
13
|
+
appium_lib (9.1.3)
|
14
14
|
awesome_print (~> 1.6)
|
15
15
|
json (>= 1.8)
|
16
16
|
nokogiri (~> 1.6, >= 1.6.6)
|
17
|
-
selenium-webdriver (~> 3.0, >= 3.0.
|
17
|
+
selenium-webdriver (~> 3.0, >= 3.0.4)
|
18
18
|
tomlrb (~> 1.1)
|
19
19
|
archive-zip (0.7.0)
|
20
20
|
io-like (~> 0.3.0)
|
@@ -26,11 +26,11 @@ GEM
|
|
26
26
|
chromedriver-helper (1.0.0)
|
27
27
|
archive-zip (~> 0.7.0)
|
28
28
|
nokogiri (~> 1.6)
|
29
|
-
codeclimate-test-reporter (1.0.
|
29
|
+
codeclimate-test-reporter (1.0.4)
|
30
30
|
simplecov
|
31
31
|
collapsium (0.8.2)
|
32
|
-
collapsium-config (0.
|
33
|
-
collapsium (~> 0.
|
32
|
+
collapsium-config (0.5.0)
|
33
|
+
collapsium (~> 0.8)
|
34
34
|
cucumber (2.4.0)
|
35
35
|
builder (>= 2.1.2)
|
36
36
|
cucumber-core (~> 1.5.0)
|
@@ -51,14 +51,14 @@ GEM
|
|
51
51
|
mini_portile2 (2.1.0)
|
52
52
|
multi_json (1.12.1)
|
53
53
|
multi_test (0.1.2)
|
54
|
-
nokogiri (1.
|
54
|
+
nokogiri (1.7.0.1)
|
55
55
|
mini_portile2 (~> 2.1.0)
|
56
56
|
parser (2.3.3.1)
|
57
57
|
ast (~> 2.2)
|
58
58
|
phantomjs (2.1.1.0)
|
59
59
|
powerpack (0.1.1)
|
60
60
|
ptools (1.3.3)
|
61
|
-
rainbow (2.1
|
61
|
+
rainbow (2.2.1)
|
62
62
|
rake (11.3.0)
|
63
63
|
rspec (3.5.0)
|
64
64
|
rspec-core (~> 3.5.0)
|
@@ -81,7 +81,7 @@ GEM
|
|
81
81
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
82
82
|
ruby-progressbar (1.8.1)
|
83
83
|
rubyzip (1.2.0)
|
84
|
-
selenium-webdriver (3.0.
|
84
|
+
selenium-webdriver (3.0.5)
|
85
85
|
childprocess (~> 0.5)
|
86
86
|
rubyzip (~> 1.0)
|
87
87
|
websocket (~> 1.0)
|
@@ -94,7 +94,7 @@ GEM
|
|
94
94
|
tomlrb (1.2.3)
|
95
95
|
unicode-display_width (1.1.2)
|
96
96
|
websocket (1.2.3)
|
97
|
-
yard (0.9.
|
97
|
+
yard (0.9.6)
|
98
98
|
|
99
99
|
PLATFORMS
|
100
100
|
ruby
|
data/lib/unobtainium/version.rb
CHANGED
data/lib/unobtainium/world.rb
CHANGED
@@ -24,6 +24,12 @@ module Unobtainium
|
|
24
24
|
# Modules can have class methods, too, but it's a little more verbose to
|
25
25
|
# provide them.
|
26
26
|
module ClassMethods
|
27
|
+
# Configuraiton loading options
|
28
|
+
DEFAULT_CONFIG_OPTIONS = {
|
29
|
+
resolve_extensions: true,
|
30
|
+
nonexistent_base: :extend,
|
31
|
+
}.freeze
|
32
|
+
|
27
33
|
# Set the configuration file
|
28
34
|
def config_file=(name)
|
29
35
|
::Collapsium::Config.config_file = name
|
@@ -38,7 +44,7 @@ module Unobtainium
|
|
38
44
|
# functionality, it has to be inherited when the former is
|
39
45
|
# included...
|
40
46
|
def included(klass)
|
41
|
-
|
47
|
+
set_config_defaults
|
42
48
|
|
43
49
|
klass.class_eval do
|
44
50
|
include ::Collapsium::Config
|
@@ -48,18 +54,23 @@ module Unobtainium
|
|
48
54
|
# ... and when it's extended.
|
49
55
|
def extended(world)
|
50
56
|
# :nocov:
|
51
|
-
|
57
|
+
set_config_defaults
|
52
58
|
|
53
59
|
world.extend(::Collapsium::Config)
|
54
60
|
# :nocov:
|
55
61
|
end
|
56
62
|
|
57
|
-
def
|
63
|
+
def set_config_defaults
|
58
64
|
# Override collapsium-config's default config path
|
59
65
|
if ::Collapsium::Config.config_file == \
|
60
66
|
::Collapsium::Config::DEFAULT_CONFIG_PATH
|
61
67
|
::Collapsium::Config.config_file = 'config/config.yml'
|
62
68
|
end
|
69
|
+
|
70
|
+
if ::Collapsium::Config.config_options == \
|
71
|
+
::Collapsium::Config::DEFAULT_CONFIG_OPTIONS
|
72
|
+
::Collapsium::Config.config_options = DEFAULT_CONFIG_OPTIONS
|
73
|
+
end
|
63
74
|
end
|
64
75
|
end # module ClassMethods
|
65
76
|
extend ClassMethods
|
data/unobtainium.gemspec
CHANGED
@@ -58,7 +58,7 @@ Gem::Specification.new do |spec|
|
|
58
58
|
spec.add_dependency "sys-proctable", "~> 1.1"
|
59
59
|
spec.add_dependency "ptools", "~> 1.3"
|
60
60
|
spec.add_dependency "collapsium", "~> 0.8"
|
61
|
-
spec.add_dependency "collapsium-config", "~> 0.
|
61
|
+
spec.add_dependency "collapsium-config", "~> 0.5"
|
62
62
|
end
|
63
63
|
# rubocop:enable Metrics/BlockLength
|
64
64
|
# rubocop:enable Style/SpaceAroundOperators
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unobtainium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Finkhaeuser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -212,14 +212,14 @@ dependencies:
|
|
212
212
|
requirements:
|
213
213
|
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: '0.
|
215
|
+
version: '0.5'
|
216
216
|
type: :runtime
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: '0.
|
222
|
+
version: '0.5'
|
223
223
|
description: "\n Unobtainium wraps Selenium and Appium in a simple driver abstraction
|
224
224
|
so that\n test code can more easily cover desktop browsers, mobile browsers and
|
225
225
|
mobile\n apps.\n\n Some additional useful functionality for the maintenance
|