appium_lib 12.0.0.rc4 → 12.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8d7d7fcbce0bf73c13c462fa4cb83da298c19230d976ebff717684d56465e2d
4
- data.tar.gz: fa87321a4d2bbf7647aa0683072fa20a6c40efc034dd778494e903acd06e7bf9
3
+ metadata.gz: b5da532f8dcfe731adda73450ac7f59c1d4ea8c684e1dcab772ec01138516689
4
+ data.tar.gz: 46b2ff5fdcc90e5a0265bbdbd5e47a89ecfdac0cd3975a06c6f0cd3e6bf3213b
5
5
  SHA512:
6
- metadata.gz: 21e5285ece74a226157d0957f0dd49c9ea7207cb7c6296a8c2565c1dbae2ad771342c187c00a0bc989f33ea6c90e2370996cb5053d2257352f2a40ed9d9a7aab
7
- data.tar.gz: 341f87e156a134a0ca6204299b9647f9d8f02ef07b5c68b16d54cd05b4b31abd7ee64f671ffdbb6a194ad060ea20eeb226ad5f590e4a69c3075e20df3c881000
6
+ metadata.gz: 8fdd914873ddc78ecb2fb87f879c5499f6adc43728c8d7b187989c727b20de9b1cd2034e8fde75b2db89a04adf2a9fe6bfd119e70778a4f05754261dcc265e1c
7
+ data.tar.gz: e08b30c071d08ebb7de7ada1b8558c7e73a85391e2ff1e766fc781b7b56c6ef409aa8892c36800479586181097e8b6acdc503de591abad656f3b73e3e11a9240
data/CHANGELOG.md CHANGED
@@ -7,20 +7,45 @@ Release tags are https://github.com/appium/ruby_lib/releases .
7
7
 
8
8
  ### 1. Enhancements
9
9
 
10
- - Update base [ruby_lib_core client](https://github.com/appium/ruby_lib_core) to v5
11
- - Update base selenium webdriver version to `4.0.0`
12
- - Support only W3C spec as following Selenium v4 client
10
+ ### 2. Bug fixes
11
+
12
+ ### 3. Deprecations
13
+
14
+ ## 12.0.1 - 2022-04-02
15
+
16
+ ### 1. Enhancements
17
+
18
+ ### 2. Bug fixes
19
+ - Fixes `promote_appium_methods`
20
+
21
+ ### 3. Deprecations
22
+
23
+ ## 12.0.0 - 2021-11-06
24
+ ### 1. Enhancements
25
+
26
+ - Update ruby_lib_core version from v4 to v5. The change affects this library.
27
+ - [Migration from v4 to v5 in ruby_lib_core client](https://github.com/appium/ruby_lib_core#migration-from-v4-to-v5)
28
+ - Base Selenium Ruby binding is now v4
29
+ - Support only W3C WebDriver spec (and a few Appium specific commands)
13
30
  - Support Ruby 2.6+
14
- - `element.id` returns the element id instead of `element.ref`. `element.ref` now returns an array.
31
+ - `element.id` returns the element id instead of `element.ref`
32
+ - `element.ref` now returns an array
15
33
  - Removed `forceMjsonwp` to send only MJSONWP capabilities since Selenium cleint v4 no longer supports MJSONWP
16
- - No longer set default `timeouts` as `0`. ruby_lib_core calls `/timeouts` endpoint only when `appium_lib: { wait: 5 }` is provided explicitly
34
+ - No longer set default `timeouts` as `0`
35
+ - ruby_lib_core will call `/timeouts` endpoint only when `appium_lib: { wait: 5 }` is provided explicitly
17
36
  - Raises `::Appium::Core::Error::ArgumentError` instead of `ArgumentError` for this library specific argument errors
18
37
 
19
38
  ### 2. Deprecations
20
39
  - `TouchAction` and `MultiTouch` are deprecated
21
40
  - Please use W3C actions instead https://github.com/appium/ruby_lib/blob/master/docs/w3c.md
22
- - Other examples: https://github.com/appium/ruby_lib/pull/909
23
- - Removed Selendroid related methods
41
+ - Other examples
42
+ - https://github.com/appium/ruby_lib/pull/909
43
+ - https://github.com/appium/ruby_lib_core/blob/master/CHANGELOG.md#deprecations-1
44
+ - `launch_app`, `close_app` and `reset` are deprecated. Please read [issues#15807](https://github.com/appium/appium/issues/15807) for more details.
45
+ - `activate_app` or a new session request can be alternatives of `launch_app`
46
+ - `terminate_app` or close the session request can be alternatives of `close_app`
47
+ - Close current session and creating a new session, or `terminate_app` and `launch_app` can be alternatives of `reset`
48
+ - Global driver (`$driver`) is `false` by default. Please provide `true` as `Appium::Driver.new(opts, true)` to enable it as previously logged as a deprecation warning message.
24
49
 
25
50
  ## 11.1.0 - 2020-12-29 (11.2.0 is the same as this version)
26
51
 
data/appium_lib.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
15
15
  s.require_paths = ['lib']
16
16
 
17
- s.add_runtime_dependency 'appium_lib_core', '5.0.0.rc8'
17
+ s.add_runtime_dependency 'appium_lib_core', '~> 5.0'
18
18
  s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
19
19
  s.add_runtime_dependency 'tomlrb', '>= 1.1', '< 3.0'
20
20
 
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  s.add_development_dependency 'posix-spawn', '~> 0.3'
25
25
  s.add_development_dependency 'pry'
26
26
  s.add_development_dependency 'rake', '~> 13.0'
27
- s.add_development_dependency 'rubocop', '1.22.3'
27
+ s.add_development_dependency 'rubocop', '1.26.1'
28
28
  s.add_development_dependency 'spec', '~> 5.3', '>= 5.3.4'
29
29
  s.add_development_dependency 'yard', '~> 0.9.11'
30
30