unobtainium 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/.rubocop.yml +6 -0
- data/Gemfile.lock +44 -0
- data/README.md +17 -14
- data/Rakefile +20 -4
- data/config/config.yml +14 -0
- data/docs/CONFIGURATION.md +250 -0
- data/{cuke/features → features}/step_definitions/steps.rb +0 -0
- data/{cuke/features → features}/support/env.rb +0 -0
- data/{cuke/features → features}/world.feature +0 -0
- data/lib/unobtainium/config.rb +31 -10
- data/lib/unobtainium/driver.rb +55 -36
- data/lib/unobtainium/drivers/appium.rb +16 -13
- data/lib/unobtainium/drivers/phantom.rb +138 -0
- data/lib/unobtainium/drivers/selenium.rb +6 -5
- data/lib/unobtainium/pathed_hash.rb +29 -7
- data/lib/unobtainium/recursive_merge.rb +15 -0
- data/lib/unobtainium/runtime.rb +33 -8
- data/lib/unobtainium/support/port_scanner.rb +160 -0
- data/lib/unobtainium/support/runner.rb +180 -0
- data/lib/unobtainium/{drivers/support → support}/util.rb +10 -3
- data/lib/unobtainium/version.rb +2 -1
- data/lib/unobtainium/world.rb +6 -3
- data/spec/port_scanner_spec.rb +131 -0
- data/spec/runner_spec.rb +66 -0
- data/spec/utility_spec.rb +31 -0
- data/unobtainium.gemspec +9 -1
- metadata +105 -12
- data/cuke/.gitignore +0 -2
- data/cuke/Gemfile +0 -13
- data/cuke/Gemfile.lock +0 -59
- data/cuke/README.md +0 -2
- data/cuke/config/config.yml +0 -7
data/cuke/.gitignore
DELETED
data/cuke/Gemfile
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
source 'http://rubygems.org'
|
2
|
-
|
3
|
-
# Cucumber
|
4
|
-
gem 'cucumber'
|
5
|
-
|
6
|
-
# For drivers
|
7
|
-
gem 'appium_lib'
|
8
|
-
gem 'selenium-webdriver'
|
9
|
-
|
10
|
-
# unobtainium itself; test code should point to the current repo and branch
|
11
|
-
repo = `git config --get remote.origin.url`.strip
|
12
|
-
branch = `git rev-parse --abbrev-ref HEAD`.strip
|
13
|
-
gem 'unobtainium', git: repo, branch: branch
|
data/cuke/Gemfile.lock
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
GIT
|
2
|
-
remote: git@github.com:jfinkhaeuser/unobtainium.git
|
3
|
-
revision: 16b26ed3c3f60bd114ab774a717d3050feb94e03
|
4
|
-
branch: master
|
5
|
-
specs:
|
6
|
-
unobtainium (0.2.0)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: http://rubygems.org/
|
10
|
-
specs:
|
11
|
-
appium_lib (8.0.2)
|
12
|
-
awesome_print (~> 1.6)
|
13
|
-
json (~> 1.8)
|
14
|
-
nokogiri (~> 1.6.6)
|
15
|
-
selenium-webdriver (~> 2.49)
|
16
|
-
tomlrb (~> 1.1)
|
17
|
-
awesome_print (1.6.1)
|
18
|
-
builder (3.2.2)
|
19
|
-
childprocess (0.5.9)
|
20
|
-
ffi (~> 1.0, >= 1.0.11)
|
21
|
-
cucumber (2.3.3)
|
22
|
-
builder (>= 2.1.2)
|
23
|
-
cucumber-core (~> 1.4.0)
|
24
|
-
cucumber-wire (~> 0.0.1)
|
25
|
-
diff-lcs (>= 1.1.3)
|
26
|
-
gherkin (~> 3.2.0)
|
27
|
-
multi_json (>= 1.7.5, < 2.0)
|
28
|
-
multi_test (>= 0.1.2)
|
29
|
-
cucumber-core (1.4.0)
|
30
|
-
gherkin (~> 3.2.0)
|
31
|
-
cucumber-wire (0.0.1)
|
32
|
-
diff-lcs (1.2.5)
|
33
|
-
ffi (1.9.10)
|
34
|
-
gherkin (3.2.0)
|
35
|
-
json (1.8.3)
|
36
|
-
mini_portile2 (2.0.0)
|
37
|
-
multi_json (1.11.2)
|
38
|
-
multi_test (0.1.2)
|
39
|
-
nokogiri (1.6.7.2)
|
40
|
-
mini_portile2 (~> 2.0.0.rc2)
|
41
|
-
rubyzip (1.2.0)
|
42
|
-
selenium-webdriver (2.53.0)
|
43
|
-
childprocess (~> 0.5)
|
44
|
-
rubyzip (~> 1.0)
|
45
|
-
websocket (~> 1.0)
|
46
|
-
tomlrb (1.2.1)
|
47
|
-
websocket (1.2.3)
|
48
|
-
|
49
|
-
PLATFORMS
|
50
|
-
ruby
|
51
|
-
|
52
|
-
DEPENDENCIES
|
53
|
-
appium_lib
|
54
|
-
cucumber
|
55
|
-
selenium-webdriver
|
56
|
-
unobtainium!
|
57
|
-
|
58
|
-
BUNDLED WITH
|
59
|
-
1.11.2
|
data/cuke/README.md
DELETED