appium_lib 8.0.0 → 8.0.1
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/appium_lib.gemspec +1 -1
- data/contributing.md +9 -0
- data/docs/android_docs.md +191 -191
- data/docs/ios_docs.md +185 -185
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +2 -7
- data/release_notes.md +10 -0
- metadata +6 -6
@@ -1,5 +1,5 @@
|
|
1
1
|
module Appium
|
2
2
|
# Version and Date are defined on the 'Appium' module, not 'Appium::Common'
|
3
|
-
VERSION = '8.0.
|
4
|
-
DATE = '
|
3
|
+
VERSION = '8.0.1' unless defined? ::Appium::VERSION
|
4
|
+
DATE = '2016-01-10' unless defined? ::Appium::DATE
|
5
5
|
end
|
data/lib/appium_lib/driver.rb
CHANGED
@@ -83,13 +83,10 @@ module Appium
|
|
83
83
|
Appium::Logger.info "Exists? #{toml_exists}" if verbose
|
84
84
|
|
85
85
|
fail "toml doesn't exist #{toml}" unless toml_exists
|
86
|
-
require '
|
86
|
+
require 'tomlrb'
|
87
87
|
Appium::Logger.info "Loading #{toml}" if verbose
|
88
88
|
|
89
|
-
data =
|
90
|
-
data = TOML::Parser.new(data).parsed
|
91
|
-
# TOML creates string keys. must symbolize
|
92
|
-
data = Appium.symbolize_keys data
|
89
|
+
data = Tomlrb.load_file(toml, symbolize_keys: true)
|
93
90
|
Appium::Logger.ap_info data unless data.empty? if verbose
|
94
91
|
|
95
92
|
if data && data[:caps] && data[:caps][:app] && !data[:caps][:app].empty?
|
@@ -321,8 +318,6 @@ module Appium
|
|
321
318
|
# https://code.google.com/p/selenium/source/browse/spec-draft.md?repo=mobile
|
322
319
|
@appium_device = @caps[:platformName]
|
323
320
|
@appium_device = @appium_device.is_a?(Symbol) ? @appium_device : @appium_device.downcase.strip.intern if @appium_device
|
324
|
-
fail "platformName must be set. Not found in options: #{opts}" unless @appium_device
|
325
|
-
fail 'platformName must be Android or iOS' unless [:android, :ios].include?(@appium_device)
|
326
321
|
|
327
322
|
# load common methods
|
328
323
|
extend Appium::Common
|
data/release_notes.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
#### v8.0.1 2016-01-10
|
2
|
+
|
3
|
+
- [ed91786](https://github.com/appium/ruby_lib/commit/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b) Release 8.0.1
|
4
|
+
- [373f110](https://github.com/appium/ruby_lib/commit/373f11073ba9e8505be18e1826a02cc7d4b62478) Update contributing.md
|
5
|
+
- [be4dca6](https://github.com/appium/ruby_lib/commit/be4dca6e8918e368864c383d34a0974c4a0f2a59) Merge pull request #358 from bayandin/change-toml-parser
|
6
|
+
- [9a386c4](https://github.com/appium/ruby_lib/commit/9a386c4cb305a9e7440f8c699317087c36f1db33) Replace toml with tomlrb
|
7
|
+
- [2ce8376](https://github.com/appium/ruby_lib/commit/2ce83763f7f81caf972b394fa5da7b8cf3065ca7) Merge pull request #357 from bayandin/selenium-compatibility
|
8
|
+
- [28f6efb](https://github.com/appium/ruby_lib/commit/28f6efbacfa4954ab487bafd801cb0a68dee8d5d) Do not check platformName in passed caps
|
9
|
+
|
10
|
+
|
1
11
|
#### v8.0.0 2015-10-08
|
2
12
|
|
3
13
|
- [e71fd1e](https://github.com/appium/ruby_lib/commit/e71fd1e1a220d9453a954ece00e07875a6b5f7ef) Release 8.0.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.0.
|
4
|
+
version: 8.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|
@@ -53,19 +53,19 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.8'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: tomlrb
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '1.1'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '1.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: nokogiri
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -349,7 +349,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
349
349
|
version: '0'
|
350
350
|
requirements: []
|
351
351
|
rubyforge_project:
|
352
|
-
rubygems_version: 2.4.
|
352
|
+
rubygems_version: 2.4.5.1
|
353
353
|
signing_key:
|
354
354
|
specification_version: 4
|
355
355
|
summary: Ruby library for Appium
|