appium_lib 12.2.1 → 13.0.0
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/.github/workflows/rubocop.yml +2 -2
- data/CHANGELOG.md +9 -0
- 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 +10 -1
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +1 -1
- data/release_notes.md +16 -4
- metadata +8 -9
- data/.azure-pipelines.yml +0 -18
data/lib/appium_lib/driver.rb
CHANGED
|
@@ -459,6 +459,9 @@ module Appium
|
|
|
459
459
|
# @return [void]
|
|
460
460
|
def driver_quit
|
|
461
461
|
@driver&.quit
|
|
462
|
+
@driver = nil
|
|
463
|
+
rescue Selenium::WebDriver::Error::WebDriverError
|
|
464
|
+
nil
|
|
462
465
|
end
|
|
463
466
|
alias quit_driver driver_quit
|
|
464
467
|
|
|
@@ -521,7 +524,13 @@ module Appium
|
|
|
521
524
|
# @return [Selenium::WebDriver] the new global driver
|
|
522
525
|
def start_driver(http_client_ops =
|
|
523
526
|
{ http_client: ::Appium::Http::Default.new, open_timeout: 999_999, read_timeout: 999_999 })
|
|
524
|
-
|
|
527
|
+
|
|
528
|
+
# TODO: do not kill the previous session in the future version.
|
|
529
|
+
if $driver.nil?
|
|
530
|
+
driver_quit
|
|
531
|
+
else
|
|
532
|
+
$driver.driver_quit
|
|
533
|
+
end
|
|
525
534
|
|
|
526
535
|
# If automationName is set only in server side, then the following automation_name should be nil before
|
|
527
536
|
# starting driver.
|
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 = '
|
|
18
|
-
DATE = '2023-
|
|
17
|
+
VERSION = '13.0.0' unless defined? ::Appium::VERSION
|
|
18
|
+
DATE = '2023-06-18' unless defined? ::Appium::DATE
|
|
19
19
|
end
|
data/readme.md
CHANGED
data/release_notes.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
#### v13.0.0 2023-06-18
|
|
2
|
+
|
|
3
|
+
- [a5add59](https://github.com/appium/ruby_lib/commit/a5add59a76fd88883c323566387c03b95a6db265) Release 13.0.0
|
|
4
|
+
- [7af0cde](https://github.com/appium/ruby_lib/commit/7af0cdeab1afa8832cf7725fb14705f49b1fa1dd) feat: drop Ruby 2.7 (#990)
|
|
5
|
+
- [2a3bee4](https://github.com/appium/ruby_lib/commit/2a3bee4ce4ebd82a6e8e27923332ec50c8252de5) chore: Update rubocop requirement from = 1.52.0 to = 1.52.1 (#989)
|
|
6
|
+
- [669beaa](https://github.com/appium/ruby_lib/commit/669beaa5734d34ea5f6af4ccf345d594ba52225f) chore: Update rubocop requirement from = 1.51.0 to = 1.52.0 (#988)
|
|
7
|
+
- [b96709e](https://github.com/appium/ruby_lib/commit/b96709e9b0833bfe898b35326564bfa8a819ac2a) chore: Update fakefs requirement from ~> 2.4.0 to ~> 2.5.0 (#987)
|
|
8
|
+
- [d075903](https://github.com/appium/ruby_lib/commit/d075903ff5586a996a6775a3fbe938765c66c50c) chore: Update rubocop requirement from = 1.50.2 to = 1.51.0 (#986)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
#### v12.2.2 2023-04-27
|
|
12
|
+
|
|
13
|
+
- [2f3ac2d](https://github.com/appium/ruby_lib/commit/2f3ac2df0e770e033076429059f5b96dde0565b5) Release 12.2.2
|
|
14
|
+
- [aba17f0](https://github.com/appium/ruby_lib/commit/aba17f0ba8d91e070ad37ad6e1cf2dde60da3ef9) fix: tune quit in start_driver to not raise an exception there (#985)
|
|
15
|
+
|
|
16
|
+
|
|
1
17
|
#### v12.2.1 2023-04-24
|
|
2
18
|
|
|
3
19
|
- [8e93297](https://github.com/appium/ruby_lib/commit/8e932971b216be735290757d1885498e8d57347f) Release 12.2.1
|
|
@@ -54,10 +70,6 @@
|
|
|
54
70
|
- [a9b7558](https://github.com/appium/ruby_lib/commit/a9b75583e9923ade4f4fd16cb7fad03cc0f7c1be) docs: tweak
|
|
55
71
|
- [600f867](https://github.com/appium/ruby_lib/commit/600f8670f97d91babfd84e1c6c1ef34d2682b883) docs: updating (#950)
|
|
56
72
|
- [a81ea4b](https://github.com/appium/ruby_lib/commit/a81ea4b2a74ea71fa62c1756ffea2f85da57d49b) docd: udpate readme
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
#### v12.1.0 2022-10-11
|
|
60
|
-
|
|
61
73
|
- [8f20fe1](https://github.com/appium/ruby_lib/commit/8f20fe12b728195a8d2eb7d39004de4075caeff8) Release 12.1.0
|
|
62
74
|
- [b00662a](https://github.com/appium/ruby_lib/commit/b00662a3976aeadc8d5385fd00129fb9dafa967c) chore: specify latest core
|
|
63
75
|
- [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:
|
|
4
|
+
version: 13.0.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: 2023-
|
|
12
|
+
date: 2023-06-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: appium_lib_core
|
|
@@ -91,14 +91,14 @@ dependencies:
|
|
|
91
91
|
requirements:
|
|
92
92
|
- - "~>"
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
|
-
version: 2.
|
|
94
|
+
version: 2.5.0
|
|
95
95
|
type: :development
|
|
96
96
|
prerelease: false
|
|
97
97
|
version_requirements: !ruby/object:Gem::Requirement
|
|
98
98
|
requirements:
|
|
99
99
|
- - "~>"
|
|
100
100
|
- !ruby/object:Gem::Version
|
|
101
|
-
version: 2.
|
|
101
|
+
version: 2.5.0
|
|
102
102
|
- !ruby/object:Gem::Dependency
|
|
103
103
|
name: hashdiff
|
|
104
104
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -161,14 +161,14 @@ dependencies:
|
|
|
161
161
|
requirements:
|
|
162
162
|
- - '='
|
|
163
163
|
- !ruby/object:Gem::Version
|
|
164
|
-
version: 1.
|
|
164
|
+
version: 1.52.1
|
|
165
165
|
type: :development
|
|
166
166
|
prerelease: false
|
|
167
167
|
version_requirements: !ruby/object:Gem::Requirement
|
|
168
168
|
requirements:
|
|
169
169
|
- - '='
|
|
170
170
|
- !ruby/object:Gem::Version
|
|
171
|
-
version: 1.
|
|
171
|
+
version: 1.52.1
|
|
172
172
|
- !ruby/object:Gem::Dependency
|
|
173
173
|
name: spec
|
|
174
174
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -211,7 +211,6 @@ executables: []
|
|
|
211
211
|
extensions: []
|
|
212
212
|
extra_rdoc_files: []
|
|
213
213
|
files:
|
|
214
|
-
- ".azure-pipelines.yml"
|
|
215
214
|
- ".github/ISSUE_TEMPLATE.md"
|
|
216
215
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
217
216
|
- ".github/dependabot.yml"
|
|
@@ -302,14 +301,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
302
301
|
requirements:
|
|
303
302
|
- - ">="
|
|
304
303
|
- !ruby/object:Gem::Version
|
|
305
|
-
version: '
|
|
304
|
+
version: '3.0'
|
|
306
305
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
307
306
|
requirements:
|
|
308
307
|
- - ">="
|
|
309
308
|
- !ruby/object:Gem::Version
|
|
310
309
|
version: '0'
|
|
311
310
|
requirements: []
|
|
312
|
-
rubygems_version: 3.2
|
|
311
|
+
rubygems_version: 3.1.2
|
|
313
312
|
signing_key:
|
|
314
313
|
specification_version: 4
|
|
315
314
|
summary: Ruby library for Appium
|
data/.azure-pipelines.yml
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Ruby
|
|
2
|
-
# Package your Ruby project.
|
|
3
|
-
# Add steps that install rails, analyze code, save build artifacts, deploy, and more:
|
|
4
|
-
# https://docs.microsoft.com/azure/devops/pipelines/languages/ruby
|
|
5
|
-
|
|
6
|
-
trigger:
|
|
7
|
-
- main
|
|
8
|
-
|
|
9
|
-
pool:
|
|
10
|
-
vmImage: 'macOS-10.15'
|
|
11
|
-
|
|
12
|
-
steps:
|
|
13
|
-
- task: UseRubyVersion@0
|
|
14
|
-
inputs:
|
|
15
|
-
versionSpec: '>= 2.6'
|
|
16
|
-
|
|
17
|
-
- script: bundle install --retry=3 --jobs=4
|
|
18
|
-
displayName: 'bundle install'
|