appium_lib 9.3.1 → 9.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/android_tests/lib/android/specs/driver.rb +1 -0
- data/docs/android_docs.md +238 -222
- data/docs/ios_docs.md +252 -236
- data/ios_tests/appium.txt +1 -0
- data/ios_tests/lib/ios/specs/driver.rb +1 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +7 -1
- data/readme.md +3 -2
- data/release_notes.md +12 -0
- metadata +2 -2
data/ios_tests/appium.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Appium
|
2
2
|
# Version and Date are defined on the 'Appium' module, not 'Appium::Common'
|
3
|
-
VERSION = '9.3.
|
4
|
-
DATE = '2017-02-
|
3
|
+
VERSION = '9.3.2'.freeze unless defined? ::Appium::VERSION
|
4
|
+
DATE = '2017-02-11'.freeze unless defined? ::Appium::DATE
|
5
5
|
end
|
data/lib/appium_lib/driver.rb
CHANGED
@@ -289,6 +289,8 @@ module Appium
|
|
289
289
|
attr_accessor :sauce_username
|
290
290
|
# Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_ACCESS_KEY is in ENV.
|
291
291
|
attr_accessor :sauce_access_key
|
292
|
+
# Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
293
|
+
attr_accessor :sauce_endpoint
|
292
294
|
# Appium's server port
|
293
295
|
attr_accessor :appium_port
|
294
296
|
# Device type to request from the appium server
|
@@ -376,6 +378,9 @@ module Appium
|
|
376
378
|
@sauce_username = nil if !@sauce_username || (@sauce_username.is_a?(String) && @sauce_username.empty?)
|
377
379
|
@sauce_access_key = appium_lib_opts.fetch :sauce_access_key, ENV['SAUCE_ACCESS_KEY']
|
378
380
|
@sauce_access_key = nil if !@sauce_access_key || (@sauce_access_key.is_a?(String) && @sauce_access_key.empty?)
|
381
|
+
@sauce_endpoint = appium_lib_opts.fetch :sauce_endpoint, ENV['SAUCE_ENDPOINT']
|
382
|
+
@sauce_endpoint = 'ondemand.saucelabs.com:443/wd/hub' if
|
383
|
+
!@sauce_endpoint || (@sauce_endpoint.is_a?(String) && @sauce_endpoint.empty?)
|
379
384
|
@appium_port = appium_lib_opts.fetch :port, 4723
|
380
385
|
# timeout and interval used in ::Appium::Comm.wait/wait_true
|
381
386
|
@appium_wait_timeout = appium_lib_opts.fetch :wait_timeout, 30
|
@@ -441,6 +446,7 @@ module Appium
|
|
441
446
|
default_wait: @default_wait,
|
442
447
|
sauce_username: @sauce_username,
|
443
448
|
sauce_access_key: @sauce_access_key,
|
449
|
+
sauce_endpoint: @sauce_endpoint,
|
444
450
|
port: @appium_port,
|
445
451
|
device: @appium_device,
|
446
452
|
debug: @appium_debug,
|
@@ -549,7 +555,7 @@ module Appium
|
|
549
555
|
def server_url
|
550
556
|
return @custom_url if @custom_url
|
551
557
|
if !@sauce_username.nil? && !@sauce_access_key.nil?
|
552
|
-
"https://#{@sauce_username}:#{@sauce_access_key}@
|
558
|
+
"https://#{@sauce_username}:#{@sauce_access_key}@#{@sauce_endpoint}"
|
553
559
|
else
|
554
560
|
"http://127.0.0.1:#{@appium_port}/wd/hub"
|
555
561
|
end
|
data/readme.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#### appium_lib
|
1
|
+
#### appium_lib
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/appium_lib.svg)](http://badge.fury.io/rb/appium_lib)
|
4
4
|
[![Dependency Status](https://gemnasium.com/appium/ruby_lib.svg)](https://gemnasium.com/appium/ruby_lib)
|
@@ -44,6 +44,7 @@ gem install --no-rdoc --no-ri appium_lib
|
|
44
44
|
|
45
45
|
- `SAUCE_USERNAME` Sauce username
|
46
46
|
- `SAUCE_ACCESS_KEY` Sauce API key
|
47
|
+
- `SAUCE_ENDPOINT` Alternative Sauce Appium Server endpoint (only use if directed)
|
47
48
|
|
48
49
|
(Note: If these variables are set, all tests will use Sauce Labs unless over-ridden in configuration.)
|
49
50
|
|
@@ -55,7 +56,7 @@ gem install --no-rdoc --no-ri appium_lib
|
|
55
56
|
#### Documentation
|
56
57
|
|
57
58
|
- [Installing Appium on OS X](https://github.com/appium/ruby_console/blob/master/osx.md)
|
58
|
-
- [Overview](https://github.com/appium/ruby_lib/blob/master/docs/docs.md)
|
59
|
+
- [Overview](https://github.com/appium/ruby_lib/blob/master/docs/docs.md)
|
59
60
|
- [Ruby Android methods](https://github.com/appium/ruby_lib/blob/master/docs/android_docs.md)
|
60
61
|
- [Ruby iOS methods](https://github.com/appium/ruby_lib/blob/master/docs/ios_docs.md)
|
61
62
|
- [Tips for XCUITest for iOS](https://github.com/appium/ruby_lib/blob/master/docs/ios_xcuitest.md)
|
data/release_notes.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
#### v9.3.1 2017-02-05
|
2
|
+
|
3
|
+
- [fa555d1](https://github.com/appium/ruby_lib/commit/fa555d10e7a5c48e4976fbbf2e9c061a5948d6bd) Release 9 3 1 (#484)
|
4
|
+
- [c3bc3be](https://github.com/appium/ruby_lib/commit/c3bc3bed375c76e5a7c5fd76bb1225adad54656c) add changelog (#483)
|
5
|
+
- [6849567](https://github.com/appium/ruby_lib/commit/68495675f35856bbf4179176f23a3c05f4cb1592) add getting performance command (#480)
|
6
|
+
- [0b52c16](https://github.com/appium/ruby_lib/commit/0b52c16b6bf0591b500b1f6e1ebc04c0a7032cc6) Fix missed var rename (#481)
|
7
|
+
- [54a8979](https://github.com/appium/ruby_lib/commit/54a897908c066905fd99b5eee7d539a757e987ac) add android tests for capabilities (#477)
|
8
|
+
- [5ba85ec](https://github.com/appium/ruby_lib/commit/5ba85ec455378505dd953002ae5aca8bbd980a1f) add documents for toml (#478)
|
9
|
+
- [bab7df7](https://github.com/appium/ruby_lib/commit/bab7df7f097fef9e848f33a60d70d0e7e018c25c) Clarify disabling Sauce Labs. (#471)
|
10
|
+
- [cf0bda0](https://github.com/appium/ruby_lib/commit/cf0bda06c392274949843888272a762b9ed01a47) remove outdated methods (#475)
|
11
|
+
|
12
|
+
|
1
13
|
#### v9.3.0 2017-01-22
|
2
14
|
|
3
15
|
- [a1c2872](https://github.com/appium/ruby_lib/commit/a1c287296c9eace08ef19449998fba7229b65697) Release 9 3 0 (#474)
|
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: 9.3.
|
4
|
+
version: 9.3.2
|
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: 2017-02-
|
11
|
+
date: 2017-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|