appium_lib_core 5.0.3 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 768ad5928203c9268387eb20883faad159028c468d19e9ec7bf71feaa54bb5ed
4
- data.tar.gz: 3cd338540cadeb66f809b3f58a27c3b20831cebf252fbc2333bc59af08ce1942
3
+ metadata.gz: 15447eabf9741951c87185aa6844f1b7acfab0bbcef6e70061ccebbd423dc00b
4
+ data.tar.gz: a135b4d1b7b4cfd49cce6a684a98fcb508a5a7f8bf770c35b2c323ac74a4f5e2
5
5
  SHA512:
6
- metadata.gz: 2e355b1a2e682da136efd316739854c53394feda4a374df7c9e013ae8d9a9d3aca20b7bfc6a16523f7ea0aac175fb7413847494e3ced07ae11dfccbb67853b12
7
- data.tar.gz: 331bd0140602b5ca769ce78f2eb65cbd969be4ea1482911a60a206e11e1453a1fc3b88b66131eca1285720818f95bb752422002b0ff6ce20d41aa01a807db516
6
+ metadata.gz: 424e4f1bf4e4fa14bf5582cf74ff32cc248ab430878900bb154ed4a12ad089a84c6c087cee9f2db352ed2292e781c278510d8cb4c86b9582e9af4eb56a705e0f
7
+ data.tar.gz: 7d95d25ff6b670c3bd0a2ac6a295a4ef085bbde7479a40fdb0fece4100d1e2a76ba3ab814b0225de007f748f1c6d0f3c0d7b36df1b4010a11dad3951570d90b9
@@ -11,7 +11,7 @@ jobs:
11
11
  strategy:
12
12
  fail-fast: false
13
13
  matrix:
14
- ruby: [2.6, 2.7, 3.0]
14
+ ruby: [2.6, 2.7, 3.0, 3.1]
15
15
 
16
16
  runs-on: ubuntu-latest
17
17
 
data/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@ Read `release_notes.md` for commit level details.
10
10
 
11
11
  ### Deprecations
12
12
 
13
+ ## [5.1.0] - 2021-12-25
14
+
15
+ ### Enhancements
16
+ - Make default pointerType `touch` for the pointer in W3C actions instead of `mouse` for Appium
17
+ - This change should not affect W3C actions
18
+
13
19
  ## [5.0.3] - 2021-12-13
14
20
 
15
21
  ### Enhancements
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency 'minitest', '~> 5.0'
31
31
  spec.add_development_dependency 'minitest-reporters', '~> 1.1'
32
32
  spec.add_development_dependency 'webmock', '~> 3.14.0'
33
- spec.add_development_dependency 'rubocop', '1.23.0'
33
+ spec.add_development_dependency 'rubocop', '1.24.0'
34
34
  spec.add_development_dependency 'appium_thor', '~> 1.0'
35
35
  spec.add_development_dependency 'parallel_tests'
36
36
  spec.add_development_dependency 'simplecov'
@@ -159,8 +159,7 @@ module Appium
159
159
  # - https://seleniumhq.github.io/selenium/docs/api/rb/Selenium/WebDriver/PointerActions.html
160
160
  # - https://seleniumhq.github.io/selenium/docs/api/rb/Selenium/WebDriver/KeyActions.html
161
161
  #
162
- # 'mouse' action is by default in the Ruby client. Appium server force the +mouse+ action to +touch+ once in
163
- # the server side. So we don't consider the case.
162
+ # The pointer type is 'touch' by default in the Appium Ruby client. (The selenium one is 'mouse')
164
163
  #
165
164
  # @example
166
165
  #
@@ -168,9 +167,14 @@ module Appium
168
167
  # @driver.action.click(element).perform # The 'click' is a part of 'PointerActions'
169
168
  #
170
169
  def action(async = false)
171
- # Used for default duration of each touch actions
172
- # Override from 250 milliseconds to 50 milliseconds
173
- action_builder = super
170
+ action_builder = ::Selenium::WebDriver::ActionBuilder.new(
171
+ self,
172
+ ::Selenium::WebDriver::Interactions.pointer(:touch, name: 'touch'),
173
+ ::Selenium::WebDriver::Interactions.key('keyboard'),
174
+ async
175
+ )
176
+ # Used for default duration of each touch actions.
177
+ # Override from 250 milliseconds to 50 milliseconds in PointerActions included by ::Selenium::WebDriver::ActionBuilder
174
178
  action_builder.default_move_duration = 0.05
175
179
  action_builder
176
180
  end
@@ -14,7 +14,7 @@
14
14
 
15
15
  module Appium
16
16
  module Core
17
- VERSION = '5.0.3' unless defined? ::Appium::Core::VERSION
18
- DATE = '2021-12-13' unless defined? ::Appium::Core::DATE
17
+ VERSION = '5.1.0' unless defined? ::Appium::Core::VERSION
18
+ DATE = '2021-12-25' unless defined? ::Appium::Core::DATE
19
19
  end
20
20
  end
data/release_notes.md CHANGED
@@ -1,3 +1,11 @@
1
+ #### v5.1.0 2021-12-25
2
+
3
+ - [b8b9f08](https://github.com/appium/ruby_lib_core/commit/b8b9f0858846279bbd993baa3aa4a8fdfc737b53) Release 5.1.0
4
+ - [5979999](https://github.com/appium/ruby_lib_core/commit/59799994e91e126d57ce2cfd5b1446c48b381638) ci: add ruby 3.1 (#365)
5
+ - [6df37c7](https://github.com/appium/ruby_lib_core/commit/6df37c7928b125295e657f007e6c6c135090ac82) chore: tune w3c actions (#364)
6
+ - [1fdb794](https://github.com/appium/ruby_lib_core/commit/1fdb794153d74e54ca730d78eb38a59f1e3b9c72) chore(deps-dev): update rubocop requirement from = 1.23.0 to = 1.24.0 (#363)
7
+
8
+
1
9
  #### v5.0.3 2021-12-13
2
10
 
3
11
  - [7cee1b3](https://github.com/appium/ruby_lib_core/commit/7cee1b31647c453a546c450c35c37649462eed05) Release 5.0.3
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: 5.0.3
4
+ version: 5.1.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: 2021-12-13 00:00:00.000000000 Z
11
+ date: 2021-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 1.23.0
117
+ version: 1.24.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 1.23.0
124
+ version: 1.24.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: appium_thor
127
127
  requirement: !ruby/object:Gem::Requirement