appium_lib_core 3.4.0 → 3.4.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: 9ce0d54bc313fed31c2a04a71788be2a36b7da61dc21a69661ee379ffff0943c
4
- data.tar.gz: d1467f5481f0f290e0f674e0952c2b96e6a3de55e799f66d83f76d3001a3be68
3
+ metadata.gz: 34ba59edda1f6cf14b0cb428d3530a8f7672da59fbdceaf8a34a3a6049375ba2
4
+ data.tar.gz: c219e04023d5a367bc0f77103da40147016c20a641dd8c13eb831f5ec9d5403a
5
5
  SHA512:
6
- metadata.gz: c09e21065cc466f0bef539e296db5eafd42f0f66afaaf822cef4c345128ec434d494afcfe5df5e20fc746b85d25b934675c2641196f2764550acb6bda50c7e77
7
- data.tar.gz: b359ba8d838e62e4ad157d849aae69433bd4f7f13f050ef9110ff55ea554df9112c2fe8c3f2aebec6e8893c2dd633778dc032bb99acab3002f00b4130058043e
6
+ metadata.gz: ee564670c751aa6821106c85b056fa45fa4680f4d46b62e5de1c2964cf80c4796e10f8d79b9d7592ac45d8e298fcaeaa8d700dea54b46004b00077c2f20edbd3
7
+ data.tar.gz: 42e0d22f9171b0e8eb605f91f9641a2943f5b6b39799a3cc3affec223c373240dd744f15ecf254a14ea28052a7e6f5ce367c72dacf07feb9193e198cea7bcf85
data/CHANGELOG.md CHANGED
@@ -5,16 +5,15 @@ 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
8
 
10
9
  ### Bug fixes
11
10
 
12
11
  ### Deprecations
13
12
 
14
- ## [3.4.0] - 2019-12-26
13
+ ## [3.4.0, 3.4.1] - 2019-12-26, 2019-12-27
15
14
 
16
15
  ### Enhancements
17
- - Fix Ruby 2.7 warnings in appium_lib_core
16
+ - Fix Ruby 2.7 warnings
18
17
 
19
18
  ### Bug fixes
20
19
 
@@ -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)
@@ -48,9 +48,9 @@ module Appium
48
48
 
49
49
  case bridge.dialect
50
50
  when :oss # for MJSONWP
51
- Bridge::MJSONWP.new(capabilities, bridge.session_id, opts)
51
+ Bridge::MJSONWP.new(capabilities, bridge.session_id, **opts)
52
52
  when :w3c
53
- Bridge::W3C.new(capabilities, bridge.session_id, opts)
53
+ Bridge::W3C.new(capabilities, bridge.session_id, **opts)
54
54
  else
55
55
  raise CoreError, 'cannot understand dialect'
56
56
  end
@@ -31,7 +31,7 @@ module Appium
31
31
 
32
32
  def initialize(opts = {})
33
33
  listener = opts.delete(:listener)
34
- @bridge = ::Appium::Core::Base::Bridge.handshake(opts)
34
+ @bridge = ::Appium::Core::Base::Bridge.handshake(**opts)
35
35
  if @bridge.dialect == :oss # MJSONWP
36
36
  extend ::Selenium::WebDriver::DriverExtensions::HasTouchScreen
37
37
  extend ::Selenium::WebDriver::DriverExtensions::HasLocation
@@ -14,7 +14,7 @@
14
14
 
15
15
  module Appium
16
16
  module Core
17
- VERSION = '3.4.0' unless defined? ::Appium::Core::VERSION
18
- DATE = '2019-12-26' unless defined? ::Appium::Core::DATE
17
+ VERSION = '3.4.1' unless defined? ::Appium::Core::VERSION
18
+ DATE = '2019-12-27' unless defined? ::Appium::Core::DATE
19
19
  end
20
20
  end
data/release_notes.md CHANGED
@@ -1,3 +1,9 @@
1
+ #### v3.4.1 2019-12-27
2
+
3
+ - [93b5a9f](https://github.com/appium/ruby_lib_core/commit/93b5a9f9dc33da7f5ce8c3bf73dcc527fd9224c7) Release 3.4.1
4
+ - [73bdb83](https://github.com/appium/ruby_lib_core/commit/73bdb83cf7123469073ff5acf97c994c931e184c) fix warning in Ruby 2.7 more (#249)
5
+
6
+
1
7
  #### v3.4.0 2019-12-26
2
8
 
3
9
  - [416a824](https://github.com/appium/ruby_lib_core/commit/416a824543823d855dafe0f63922c96230bcf614) Release 3.4.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO