appium_lib 9.16.0 → 9.16.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/CHANGELOG.md +8 -1
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +1128 -377
- data/docs/ios_docs.md +1527 -510
- data/lib/appium_lib/driver.rb +2 -3
- data/lib/appium_lib/ios/xcuitest/command/source.rb +0 -1
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +3 -3
- data/release_notes.md +9 -0
- metadata +4 -4
data/lib/appium_lib/driver.rb
CHANGED
@@ -331,10 +331,9 @@ module Appium
|
|
331
331
|
def check_server_version_xcuitest
|
332
332
|
if automation_name_is_xcuitest? &&
|
333
333
|
!@appium_server_status.empty? &&
|
334
|
-
(@appium_server_status['build']['version'] < REQUIRED_VERSION_XCUITEST)
|
334
|
+
(Gem::Version.new(@appium_server_status['build']['version']) < Gem::Version.new(REQUIRED_VERSION_XCUITEST))
|
335
335
|
|
336
|
-
|
337
|
-
"XCUITest requires Appium version >= #{REQUIRED_VERSION_XCUITEST}")
|
336
|
+
Appium::Logger.warn("XCUITest requires Appium version >= #{REQUIRED_VERSION_XCUITEST}")
|
338
337
|
end
|
339
338
|
true
|
340
339
|
end
|
@@ -4,7 +4,6 @@ module Appium
|
|
4
4
|
# Instance method have `xcuitest_` prefix to prevent conflicts for core commands.
|
5
5
|
module Source
|
6
6
|
# @param [String|Symbol] format :xml or :json. :xml is by default.
|
7
|
-
# @option opts [Element] :element Element to swipe on
|
8
7
|
#
|
9
8
|
# ```ruby
|
10
9
|
# xcuitest_source format: :json
|
data/lib/appium_lib/version.rb
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.16.
|
4
|
-
DATE = '2018-11-
|
3
|
+
VERSION = '9.16.1'.freeze unless defined? ::Appium::VERSION
|
4
|
+
DATE = '2018-11-28'.freeze unless defined? ::Appium::DATE
|
5
5
|
end
|
data/readme.md
CHANGED
@@ -16,9 +16,9 @@
|
|
16
16
|
|
17
17
|
Helper methods for writing cross platform (iOS, Android) tests in Ruby using Appium. Note that user waits should not exceed 120 seconds if they're going to run on Sauce Labs.
|
18
18
|
|
19
|
-
[Ruby_lib_core](https://github.com/appium/ruby_lib_core) is
|
20
|
-
|
21
|
-
|
19
|
+
[Ruby_lib_core](https://github.com/appium/ruby_lib_core) is also available as a Ruby client for Appium. `ruby_lib` wraps the core library with some additional helpful methods.
|
20
|
+
Ordinary, `ruby_lib` worked with class driver, `$driver`, mainly.
|
21
|
+
We can avoid the class driver with current `ruby_lib`, but if you'd like to implement your test cases based on instance driver, `@driver`, you can consider using `ruby_lib_core` first.
|
22
22
|
|
23
23
|
# Setup
|
24
24
|
## Requirement
|
data/release_notes.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
#### v9.16.1 2018-11-28
|
2
|
+
|
3
|
+
- [fa8d4ed](https://github.com/appium/ruby_lib/commit/fa8d4ed2aaa5259a1fa744be955555cf775ead3e) Release 9.16.1
|
4
|
+
- [5172e19](https://github.com/appium/ruby_lib/commit/5172e19fc55d4649f679b50d0560d146b9e9ac71) fix version comparision, show warning if the appium version is under 1.6.0 (#837)
|
5
|
+
- [152d04a](https://github.com/appium/ruby_lib/commit/152d04aa3c428e610c7e511a05a3563195e7cc81) remove a wrong comment
|
6
|
+
- [65efdfd](https://github.com/appium/ruby_lib/commit/65efdfd121a5a01e2c8c0a7ca26df9c66ab446f0) fix generated docs (#835)
|
7
|
+
- [81f369b](https://github.com/appium/ruby_lib/commit/81f369bca6d393eb273375035602e39bc89f13a6) update a description of ruby_lib_core
|
8
|
+
|
9
|
+
|
1
10
|
#### v9.16.0 2018-11-14
|
2
11
|
|
3
12
|
- [621a9eb](https://github.com/appium/ruby_lib/commit/621a9ebaf18bcd80eb0e1f5fc17fbb4dddf5293a) Release 9.16.0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.16.
|
4
|
+
version: 9.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-11-
|
12
|
+
date: 2018-11-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: appium_lib_core
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
version: '1.1'
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: 1.1.
|
71
|
+
version: 1.1.4
|
72
72
|
type: :development
|
73
73
|
prerelease: false
|
74
74
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -78,7 +78,7 @@ dependencies:
|
|
78
78
|
version: '1.1'
|
79
79
|
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: 1.1.
|
81
|
+
version: 1.1.4
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: fakefs
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|