appium_lib 12.1.2 → 12.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/appium_lib.gemspec +3 -3
- data/docs/android_docs.md +205 -205
- data/docs/ios_docs.md +243 -243
- data/lib/appium_lib/driver.rb +7 -8
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +22 -0
- metadata +9 -15
data/lib/appium_lib/driver.rb
CHANGED
@@ -221,12 +221,8 @@ module Appium
|
|
221
221
|
::Appium::Android::Bridge.for(self)
|
222
222
|
end
|
223
223
|
when :ios, :tvos
|
224
|
-
|
225
|
-
|
226
|
-
::Appium::Ios::Xcuitest::Bridge.for(self)
|
227
|
-
else # default and UIAutomation
|
228
|
-
::Appium::Ios::Bridge.for(self)
|
229
|
-
end
|
224
|
+
# default and XCUITest
|
225
|
+
::Appium::Ios::Xcuitest::Bridge.for(self)
|
230
226
|
when :mac
|
231
227
|
# no Mac specific extentions
|
232
228
|
Appium::Logger.debug('mac')
|
@@ -366,7 +362,10 @@ module Appium
|
|
366
362
|
# Return the platform version as an array of integers
|
367
363
|
# @return [Array<Integer>]
|
368
364
|
def platform_version
|
369
|
-
@
|
365
|
+
return [] if @driver.nil?
|
366
|
+
|
367
|
+
p_version = @driver.capabilities['platformVersion'] || @driver.session_capabilities['platformVersion']
|
368
|
+
p_version.split('.').map(&:to_i)
|
370
369
|
end
|
371
370
|
|
372
371
|
# Returns the client's version info
|
@@ -459,7 +458,7 @@ module Appium
|
|
459
458
|
# Quits the driver
|
460
459
|
# @return [void]
|
461
460
|
def driver_quit
|
462
|
-
@
|
461
|
+
@driver&.quit
|
463
462
|
end
|
464
463
|
alias quit_driver driver_quit
|
465
464
|
|
data/lib/appium_lib/version.rb
CHANGED
@@ -14,6 +14,6 @@
|
|
14
14
|
|
15
15
|
module Appium
|
16
16
|
# Version and Date are defined on the 'Appium' module, not 'Appium::Common'
|
17
|
-
VERSION = '12.
|
18
|
-
DATE = '2022-
|
17
|
+
VERSION = '12.2.0' unless defined? ::Appium::VERSION
|
18
|
+
DATE = '2022-12-25' unless defined? ::Appium::DATE
|
19
19
|
end
|
data/release_notes.md
CHANGED
@@ -1,3 +1,21 @@
|
|
1
|
+
#### v12.2.0 2022-12-25
|
2
|
+
|
3
|
+
- [83c756d](https://github.com/appium/ruby_lib/commit/83c756d67c3f19deff6e9270856e0889f3de8b9b) Release 12.2.0
|
4
|
+
- [e963c02](https://github.com/appium/ruby_lib/commit/e963c025630cb8eaab6dcdf47b1a9b402db98541) chore: bump the ruby core ver (#963)
|
5
|
+
- [ce80e17](https://github.com/appium/ruby_lib/commit/ce80e17369268be2c8da2a7007a8f5173c144404) chore: remove non-xuitest stuff (#960)
|
6
|
+
- [7011c05](https://github.com/appium/ruby_lib/commit/7011c05ccd14bbdb92652be8ec811d5c04c9dcc7) chore: Update rubocop requirement from = 1.41.0 to = 1.41.1 (#962)
|
7
|
+
- [18dc444](https://github.com/appium/ruby_lib/commit/18dc44429aba30dc675e0be020699790aa0f41ec) chore: Update rubocop requirement from = 1.40.0 to = 1.41.0 (#961)
|
8
|
+
|
9
|
+
|
10
|
+
#### v12.1.3 2022-12-13
|
11
|
+
|
12
|
+
- [65f8b1c](https://github.com/appium/ruby_lib/commit/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4) Release 12.1.3
|
13
|
+
- [4b95151](https://github.com/appium/ruby_lib/commit/4b95151ade73494304fa9c07aca465d54e779a24) feat: do not use deprecated methods (#959)
|
14
|
+
- [56b9d06](https://github.com/appium/ruby_lib/commit/56b9d06bb3ee94919b48d7b3c216ffe244ba6730) chore: Update rubocop requirement from = 1.39.0 to = 1.40.0 (#958)
|
15
|
+
- [19e0b0c](https://github.com/appium/ruby_lib/commit/19e0b0c51bde24cf1522ed27f74cfad913b46a67) chore: Update fakefs requirement from ~> 1.8.0 to ~> 1.9.0 (#957)
|
16
|
+
- [40786c1](https://github.com/appium/ruby_lib/commit/40786c1aabbe464003a393abf22e7e8dd105816c) chore: Update rubocop requirement from = 1.38.0 to = 1.39.0 (#956)
|
17
|
+
|
18
|
+
|
1
19
|
#### v12.1.2 2022-11-13
|
2
20
|
|
3
21
|
- [c3330bd](https://github.com/appium/ruby_lib/commit/c3330bd208d4aba2cdc616f5ca4ac23a3ec4790a) Release 12.1.2
|
@@ -14,6 +32,10 @@
|
|
14
32
|
- [a9b7558](https://github.com/appium/ruby_lib/commit/a9b75583e9923ade4f4fd16cb7fad03cc0f7c1be) docs: tweak
|
15
33
|
- [600f867](https://github.com/appium/ruby_lib/commit/600f8670f97d91babfd84e1c6c1ef34d2682b883) docs: updating (#950)
|
16
34
|
- [a81ea4b](https://github.com/appium/ruby_lib/commit/a81ea4b2a74ea71fa62c1756ffea2f85da57d49b) docd: udpate readme
|
35
|
+
|
36
|
+
|
37
|
+
#### v12.1.0 2022-10-11
|
38
|
+
|
17
39
|
- [8f20fe1](https://github.com/appium/ruby_lib/commit/8f20fe12b728195a8d2eb7d39004de4075caeff8) Release 12.1.0
|
18
40
|
- [b00662a](https://github.com/appium/ruby_lib/commit/b00662a3976aeadc8d5385fd00129fb9dafa967c) chore: specify latest core
|
19
41
|
- [98a3c6b](https://github.com/appium/ruby_lib/commit/98a3c6b9720eeff74f6eefda6e54196477854ed3) feat: update the minimal ruby lib core version (#946)
|
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: 12.
|
4
|
+
version: 12.2.0
|
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: 2022-
|
12
|
+
date: 2022-12-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: appium_lib_core
|
@@ -17,20 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 5.5.2
|
20
|
+
version: '6.0'
|
24
21
|
type: :runtime
|
25
22
|
prerelease: false
|
26
23
|
version_requirements: !ruby/object:Gem::Requirement
|
27
24
|
requirements:
|
28
25
|
- - "~>"
|
29
26
|
- !ruby/object:Gem::Version
|
30
|
-
version: '
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 5.5.2
|
27
|
+
version: '6.0'
|
34
28
|
- !ruby/object:Gem::Dependency
|
35
29
|
name: nokogiri
|
36
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -97,14 +91,14 @@ dependencies:
|
|
97
91
|
requirements:
|
98
92
|
- - "~>"
|
99
93
|
- !ruby/object:Gem::Version
|
100
|
-
version: 1.
|
94
|
+
version: 1.9.0
|
101
95
|
type: :development
|
102
96
|
prerelease: false
|
103
97
|
version_requirements: !ruby/object:Gem::Requirement
|
104
98
|
requirements:
|
105
99
|
- - "~>"
|
106
100
|
- !ruby/object:Gem::Version
|
107
|
-
version: 1.
|
101
|
+
version: 1.9.0
|
108
102
|
- !ruby/object:Gem::Dependency
|
109
103
|
name: hashdiff
|
110
104
|
requirement: !ruby/object:Gem::Requirement
|
@@ -167,14 +161,14 @@ dependencies:
|
|
167
161
|
requirements:
|
168
162
|
- - '='
|
169
163
|
- !ruby/object:Gem::Version
|
170
|
-
version: 1.
|
164
|
+
version: 1.41.1
|
171
165
|
type: :development
|
172
166
|
prerelease: false
|
173
167
|
version_requirements: !ruby/object:Gem::Requirement
|
174
168
|
requirements:
|
175
169
|
- - '='
|
176
170
|
- !ruby/object:Gem::Version
|
177
|
-
version: 1.
|
171
|
+
version: 1.41.1
|
178
172
|
- !ruby/object:Gem::Dependency
|
179
173
|
name: spec
|
180
174
|
requirement: !ruby/object:Gem::Requirement
|
@@ -315,7 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
315
309
|
- !ruby/object:Gem::Version
|
316
310
|
version: '0'
|
317
311
|
requirements: []
|
318
|
-
rubygems_version: 3.
|
312
|
+
rubygems_version: 3.2.14
|
319
313
|
signing_key:
|
320
314
|
specification_version: 4
|
321
315
|
summary: Ruby library for Appium
|