appium_lib 9.8.4 → 9.8.5
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 +9 -1
- data/docs/android_docs.md +176 -176
- data/docs/ios_docs.md +234 -234
- data/lib/appium_lib/driver.rb +27 -22
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +2 -2
data/lib/appium_lib/driver.rb
CHANGED
|
@@ -1,30 +1,35 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
# Fix
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
# Load only Minitest is loaded
|
|
2
|
+
if defined?(Minitest::VERSION)
|
|
3
|
+
# Fix uninitialized constant Minitest (NameError)
|
|
4
|
+
module Minitest
|
|
5
|
+
# Fix superclass mismatch for class Spec
|
|
6
|
+
class Runnable
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
# defined? 'Minitest' # expression
|
|
10
|
+
|
|
11
|
+
# To switch load class
|
|
12
|
+
def self.left_greater_than_or_equal_to_right?(left, right)
|
|
13
|
+
left.split('.').zip(right.split('.')).each do |value|
|
|
14
|
+
diff = value[0].to_i - value[1].to_i
|
|
15
|
+
return true if diff > 0
|
|
16
|
+
return false if diff < 0
|
|
17
|
+
end
|
|
18
|
+
true
|
|
13
19
|
end
|
|
14
|
-
true
|
|
15
|
-
end
|
|
16
20
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
if left_greater_than_or_equal_to_right?(VERSION, '5.11.0')
|
|
22
|
+
# http://docs.seattlerb.org/minitest/History_rdoc.html#label-5.11.0+-2F+2018-01-01
|
|
23
|
+
# `Minitest::Test` became a subclass of `Minitest::Result`
|
|
24
|
+
class Test < Result
|
|
25
|
+
end
|
|
26
|
+
else
|
|
27
|
+
class Test < Runnable
|
|
28
|
+
end
|
|
21
29
|
end
|
|
22
|
-
|
|
23
|
-
class Test < Runnable
|
|
30
|
+
class Spec < Test
|
|
24
31
|
end
|
|
25
32
|
end
|
|
26
|
-
class Spec < Test
|
|
27
|
-
end
|
|
28
33
|
end
|
|
29
34
|
|
|
30
35
|
require 'appium_lib_core'
|
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.8.
|
|
4
|
-
DATE = '2018-01-
|
|
3
|
+
VERSION = '9.8.5'.freeze unless defined? ::Appium::VERSION
|
|
4
|
+
DATE = '2018-01-26'.freeze unless defined? ::Appium::DATE
|
|
5
5
|
end
|
data/release_notes.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
#### v9.8.4 2018-01-25
|
|
2
|
+
|
|
3
|
+
- [7b72377](https://github.com/appium/ruby_lib/commit/7b72377d4541c9e7d313631fc543ca93037b892c) [Release 9 8 4 (#749)](https://github.com/appium/ruby_lib/issues/749)
|
|
4
|
+
- [eeea236](https://github.com/appium/ruby_lib/commit/eeea2362bb4660f53cf274c155c57169de225e6a) [fix: add condition flow for minitest (#748)](https://github.com/appium/ruby_lib/issues/748)
|
|
5
|
+
|
|
6
|
+
|
|
1
7
|
#### v9.8.3 2018-01-14
|
|
2
8
|
|
|
3
9
|
- [5de0bec](https://github.com/appium/ruby_lib/commit/5de0bec7bed7096a92531e866f75f95ec29941bf) [Release 9 8 3 (#746)](https://github.com/appium/ruby_lib/issues/746)
|
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.8.
|
|
4
|
+
version: 9.8.5
|
|
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: 2018-01-
|
|
11
|
+
date: 2018-01-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: appium_lib_core
|