appium_lib_core 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +10 -0
- data/ci-jobs/functional/run_appium.yml +1 -1
- data/ci-jobs/functional_test.yml +3 -3
- data/lib/appium_lib_core/common/base/bridge.rb +1 -1
- data/lib/appium_lib_core/common/log.rb +1 -1
- data/lib/appium_lib_core/device.rb +5 -5
- data/lib/appium_lib_core/version.rb +2 -2
- data/release_notes.md +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ce0d54bc313fed31c2a04a71788be2a36b7da61dc21a69661ee379ffff0943c
|
4
|
+
data.tar.gz: d1467f5481f0f290e0f674e0952c2b96e6a3de55e799f66d83f76d3001a3be68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c09e21065cc466f0bef539e296db5eafd42f0f66afaaf822cef4c345128ec434d494afcfe5df5e20fc746b85d25b934675c2641196f2764550acb6bda50c7e77
|
7
|
+
data.tar.gz: b359ba8d838e62e4ad157d849aae69433bd4f7f13f050ef9110ff55ea554df9112c2fe8c3f2aebec6e8893c2dd633778dc032bb99acab3002f00b4130058043e
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,16 @@ Read `release_notes.md` for commit level details.
|
|
5
5
|
## [Unreleased]
|
6
6
|
|
7
7
|
### Enhancements
|
8
|
+
- Fix Ruby 2.7 warnings in appium_lib_core lib
|
9
|
+
|
10
|
+
### Bug fixes
|
11
|
+
|
12
|
+
### Deprecations
|
13
|
+
|
14
|
+
## [3.4.0] - 2019-12-26
|
15
|
+
|
16
|
+
### Enhancements
|
17
|
+
- Fix Ruby 2.7 warnings in appium_lib_core
|
8
18
|
|
9
19
|
### Bug fixes
|
10
20
|
|
@@ -3,7 +3,7 @@ steps:
|
|
3
3
|
inputs:
|
4
4
|
versionSpec: 10.x
|
5
5
|
displayName: Install Node 10.x
|
6
|
-
- script: npm install -g appium@${APPIUM_VERSION}
|
6
|
+
- script: npm install -g appium@${APPIUM_VERSION}
|
7
7
|
displayName: Install appium beta
|
8
8
|
- script: npm install -g mjpeg-consumer
|
9
9
|
displayName: Install MJPEG Consumer
|
data/ci-jobs/functional_test.yml
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
parameters:
|
3
3
|
vmImage: 'macOS-10.14'
|
4
4
|
vmImageForIOS: 'macOS-10.14' # Not sure the reason, but macOS 10.14 instance raises no info.plist error
|
5
|
-
xcodeForIOS:
|
6
|
-
xcodeForTVOS:
|
7
|
-
androidSDK:
|
5
|
+
xcodeForIOS: 11.3
|
6
|
+
xcodeForTVOS: 11.3
|
7
|
+
androidSDK: 29
|
8
8
|
appiumVersion: 'beta'
|
9
9
|
ignoreVersionSkip: true
|
10
10
|
CI: true
|
@@ -32,7 +32,7 @@ module Appium
|
|
32
32
|
#
|
33
33
|
# @return [Bridge::MJSONWP, Bridge::W3C]
|
34
34
|
#
|
35
|
-
def self.handshake(
|
35
|
+
def self.handshake(opts)
|
36
36
|
desired_capabilities = opts.delete(:desired_capabilities) { ::Selenium::WebDriver::Remote::Capabilities.new }
|
37
37
|
|
38
38
|
if desired_capabilities.is_a?(Symbol)
|
@@ -48,8 +48,8 @@ module Appium
|
|
48
48
|
|
49
49
|
# @private
|
50
50
|
# Define method in Bridges
|
51
|
-
def add_endpoint_method(method)
|
52
|
-
block_given? ? create_bridge_command(method, &
|
51
|
+
def add_endpoint_method(method, &block)
|
52
|
+
block_given? ? create_bridge_command(method, &block) : create_bridge_command(method)
|
53
53
|
|
54
54
|
delegate_driver_method method
|
55
55
|
delegate_from_appium_driver method
|
@@ -78,14 +78,14 @@ module Appium
|
|
78
78
|
::Appium::Core::Base::Driver.class_eval { def_delegator :@bridge, method }
|
79
79
|
end
|
80
80
|
|
81
|
-
def create_bridge_command(method)
|
81
|
+
def create_bridge_command(method, &block)
|
82
82
|
::Appium::Core::Base::Bridge::MJSONWP.class_eval do
|
83
83
|
undef_method method if method_defined? method
|
84
|
-
block_given? ? class_eval(&
|
84
|
+
block_given? ? class_eval(&block) : define_method(method) { execute method }
|
85
85
|
end
|
86
86
|
::Appium::Core::Base::Bridge::W3C.class_eval do
|
87
87
|
undef_method method if method_defined? method
|
88
|
-
block_given? ? class_eval(&
|
88
|
+
block_given? ? class_eval(&block) : define_method(method) { execute method }
|
89
89
|
end
|
90
90
|
end
|
91
91
|
end # class << self
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
module Appium
|
16
16
|
module Core
|
17
|
-
VERSION = '3.
|
18
|
-
DATE = '2019-
|
17
|
+
VERSION = '3.4.0' unless defined? ::Appium::Core::VERSION
|
18
|
+
DATE = '2019-12-26' unless defined? ::Appium::Core::DATE
|
19
19
|
end
|
20
20
|
end
|
data/release_notes.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
#### v3.4.0 2019-12-26
|
2
|
+
|
3
|
+
- [416a824](https://github.com/appium/ruby_lib_core/commit/416a824543823d855dafe0f63922c96230bcf614) Release 3.4.0
|
4
|
+
- [4b6ed64](https://github.com/appium/ruby_lib_core/commit/4b6ed64fb5ffec18001e4618cd81ae385b0ffe44) feat, ci: Fix a few warnings, add Ruby 2.7 on Travis (#241)
|
5
|
+
- [0b79968](https://github.com/appium/ruby_lib_core/commit/0b79968cc7a1b1814a7dbbd7e77d662b325f931f) run with iOS 13.3 (#248)
|
6
|
+
- [499b1ae](https://github.com/appium/ruby_lib_core/commit/499b1ae51d7bd446eca410ddea46407176a5d868) test: make ime setting stabler
|
7
|
+
- [7801efa](https://github.com/appium/ruby_lib_core/commit/7801efa72b10ff3c601374af3e0e7dc68e3c8733) ci: run iOS 13 and Android 10 as CI (#238)
|
8
|
+
- [92343f4](https://github.com/appium/ruby_lib_core/commit/92343f4e34d5b3a6b3fe66449e9c8984e3c66c2f) test: tweak test case (#245)
|
9
|
+
- [99ceb6e](https://github.com/appium/ruby_lib_core/commit/99ceb6edea53d292b19bed6ae6efa6b65e14ab4f) remove chromedriver option for install (#243)
|
10
|
+
- [8899c92](https://github.com/appium/ruby_lib_core/commit/8899c92cb54b6c495329608ab1d4eca0afa6c846) fix wrong yardoc param
|
11
|
+
|
12
|
+
|
1
13
|
#### v3.3.0 2019-11-08
|
2
14
|
|
3
15
|
- [7fb0371](https://github.com/appium/ruby_lib_core/commit/7fb03712bb9a743c41aded5348e3c15160ef25cc) Release 3.3.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuaki MATSUO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|