appium_lib_core 3.3.0 → 3.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e0458e9ee6c35f13a6d635ef3e1fd866681c78c0d113fc16f86effcce612f6e
4
- data.tar.gz: ed0ba7a35963aac68ee274118633149ea37102cb1581a9acc3b2acb18cc4ca10
3
+ metadata.gz: 9ce0d54bc313fed31c2a04a71788be2a36b7da61dc21a69661ee379ffff0943c
4
+ data.tar.gz: d1467f5481f0f290e0f674e0952c2b96e6a3de55e799f66d83f76d3001a3be68
5
5
  SHA512:
6
- metadata.gz: 730ea372f1b8f7aaba235f9fa9ff9276aaf930190a11a53c95f5c345d3b17cca4583bb02fa9c2079e02f9ebffccbf60f8fd418116f4d62014ad3d2c6513fbb9c
7
- data.tar.gz: 63aaca4c4608dbf988037e7e452f0d6aeb85d93b61d9c0fbb0f50fa89e0c975626466ddbd36c019fa71c6fb0d04227255ae3f25bc4f611f5a2a3a745ede610f0
6
+ metadata.gz: c09e21065cc466f0bef539e296db5eafd42f0f66afaaf822cef4c345128ec434d494afcfe5df5e20fc746b85d25b934675c2641196f2764550acb6bda50c7e77
7
+ data.tar.gz: b359ba8d838e62e4ad157d849aae69433bd4f7f13f050ef9110ff55ea554df9112c2fe8c3f2aebec6e8893c2dd633778dc032bb99acab3002f00b4130058043e
@@ -7,6 +7,7 @@ rvm:
7
7
  - 2.4
8
8
  - 2.5
9
9
  - 2.6
10
+ - 2.7
10
11
 
11
12
  before_install:
12
13
  - gem update bundler
@@ -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} --chromedriver_version='2.44'
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
@@ -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: 10.3
6
- xcodeForTVOS: 10.2
7
- androidSDK: 28
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(**opts)
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)
@@ -49,7 +49,7 @@ module Appium
49
49
  #
50
50
  # @param [String] vendor The vendor prefix for the event
51
51
  # @param [String] event The name of event
52
- # @returns [nil]
52
+ # @return [nil]
53
53
  #
54
54
  # @example
55
55
  #
@@ -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, &Proc.new) : 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(&Proc.new) : define_method(method) { execute method }
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(&Proc.new) : define_method(method) { execute method }
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.3.0' unless defined? ::Appium::Core::VERSION
18
- DATE = '2019-11-08' unless defined? ::Appium::Core::DATE
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
@@ -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.3.0
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-08 00:00:00.000000000 Z
11
+ date: 2019-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver