appium_lib_core 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -3
- data/lib/appium_lib_core/android/device.rb +4 -4
- data/lib/appium_lib_core/version.rb +1 -1
- data/release_notes.md +6 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e2dbd7b380dcd0da03d143584cae02352fcdf588a36d6b720aab8bcc6201936
|
4
|
+
data.tar.gz: f00fef37488b8f7d204adda5be37b21fbe5752d74f171d7dca943ff745a55df7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c13250cfda4fcce3c70ce5059823cbd28cf64f3e420ad7687239d8369052458bfadfade17cacbea433a449313b745a73bcab22c674ba823545ee6522afa61f2d
|
7
|
+
data.tar.gz: 87e62233b19a677ba6fd4a33b44314efc70535d59f4855855397b5dd787b036256fbb854efd0c0d750eb99009c8721c60548d2590843a81e9aad8a74e155b7ce
|
data/CHANGELOG.md
CHANGED
@@ -5,17 +5,19 @@ Read `release_notes.md` for commit level details.
|
|
5
5
|
## [Unreleased]
|
6
6
|
|
7
7
|
### Enhancements
|
8
|
-
- Ruby 3.0 support
|
9
8
|
|
10
9
|
### Bug fixes
|
11
10
|
|
12
11
|
### Deprecations
|
13
12
|
|
14
|
-
## [4.1.
|
13
|
+
## [4.1.1] - 2020-12-25
|
15
14
|
|
16
15
|
### Enhancements
|
17
16
|
- Ruby 3.0 support
|
18
|
-
|
17
|
+
- Arguments in `@driver.execute_cdp`
|
18
|
+
- It should be like `@driver.execute_cdp 'Page.captureScreenshot', quality: 50, format: 'jpeg'` as keyword arguments
|
19
|
+
instead of `@driver.execute_cdp 'Page.captureScreenshot', { quality: 50, format: 'jpeg' }` in Ruby 3
|
20
|
+
|
19
21
|
### Bug fixes
|
20
22
|
|
21
23
|
### Deprecations
|
@@ -290,16 +290,16 @@ module Appium
|
|
290
290
|
# @driver.finger_print 1
|
291
291
|
#
|
292
292
|
|
293
|
-
# @!method execute_cdp(cmd, params)
|
293
|
+
# @!method execute_cdp(cmd, **params)
|
294
294
|
# Execute Chrome Devtools protocol commands
|
295
295
|
# https://chromedevtools.github.io/devtools-protocol
|
296
296
|
#
|
297
297
|
# @param [String] cmd The name of command
|
298
|
-
# @
|
298
|
+
# @option params The parameter for the command as keyword options.
|
299
299
|
#
|
300
300
|
# @example
|
301
301
|
#
|
302
|
-
# @driver.execute_cdp 'Page.captureScreenshot',
|
302
|
+
# @driver.execute_cdp 'Page.captureScreenshot', quality: 50, format: 'jpeg'
|
303
303
|
# @driver.execute_cdp 'Page.getResourceTree'
|
304
304
|
#
|
305
305
|
|
@@ -415,7 +415,7 @@ module Appium
|
|
415
415
|
# SeleniumWebdriver could already define this method
|
416
416
|
return if method_defined? :execute_cdp
|
417
417
|
|
418
|
-
def execute_cdp(cmd, params
|
418
|
+
def execute_cdp(cmd, **params)
|
419
419
|
execute :chrome_send_command, {}, { cmd: cmd, params: params }
|
420
420
|
end
|
421
421
|
end
|
data/release_notes.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
#### v4.1.1 2020-12-25
|
2
|
+
|
3
|
+
- [3a4cf56](https://github.com/appium/ruby_lib_core/commit/3a4cf56c73a64fb10ca0b7fecc5800719838095c) Release 4.1.1
|
4
|
+
- [6b2d7dd](https://github.com/appium/ruby_lib_core/commit/6b2d7ddf027b5a9f49cbe9a7f5622eb345e2c076) fix: keyword argument in Ruby 3
|
5
|
+
|
6
|
+
|
1
7
|
#### v4.1.0 2020-12-25
|
2
8
|
|
3
9
|
- [89110a9](https://github.com/appium/ruby_lib_core/commit/89110a995b869471a134f8c45ebe8dfbaabfba63) Release 4.1.0
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuaki MATSUO
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2020-12-26 00:00:00.000000000 Z
|
@@ -325,7 +325,7 @@ homepage: https://github.com/appium/ruby_lib_core/
|
|
325
325
|
licenses:
|
326
326
|
- Apache-2.0
|
327
327
|
metadata: {}
|
328
|
-
post_install_message:
|
328
|
+
post_install_message:
|
329
329
|
rdoc_options: []
|
330
330
|
require_paths:
|
331
331
|
- lib
|
@@ -340,8 +340,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
340
340
|
- !ruby/object:Gem::Version
|
341
341
|
version: '0'
|
342
342
|
requirements: []
|
343
|
-
rubygems_version: 3.
|
344
|
-
signing_key:
|
343
|
+
rubygems_version: 3.2.0
|
344
|
+
signing_key:
|
345
345
|
specification_version: 4
|
346
346
|
summary: Minimal Ruby library for Appium.
|
347
347
|
test_files: []
|