appium_lib_core 6.2.0 → 6.2.1

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: 2797136f9ad9290a9e38fe27dd02d99c99ae12656e378a049dd653190be569bc
4
- data.tar.gz: 38c66b8f7fd0fdab194906cdf05640301431fab6a0b91492125a6c8f9f3d4993
3
+ metadata.gz: d75095d146ec0e3786352920f8d1fe385cedab5c8faddc6292db1cd94cd5e111
4
+ data.tar.gz: be514be276344a3b488238716890d3bd99fbc1d9da3317ccb4ee943da8cf9ee3
5
5
  SHA512:
6
- metadata.gz: f6168e1739ede67cbdb0eae874498d6a156d93c8fce9684b37108b40d183395ce5089659f70af8724adae804caeaafd490a318a22d2527bae98b597a40befa1a
7
- data.tar.gz: c7126ebb44078aaacae3c81ebf39853d1c9da0b6718ed74f28209ed13f8b639f85a6b36744e311105fca5a340b103da21bd1ca3b72d3545d818c3bb5891ac5d9
6
+ metadata.gz: 40c066943b4d7c7f879a991b40b88d34da0317c0099c9fd14f011de8769d7d5cbc34665183b8f034ac532a7d5e5dd616aba4d433d4731fd37a9992ad82384108
7
+ data.tar.gz: a277b62b251f4557592bbccc79816fe75d833b324965d121225d39364bfa2d5f0b2e62eff41eafc7a11996564046775dd5da9c0c4e0b85ca0248b8e3ba9ae845
data/CHANGELOG.md CHANGED
@@ -10,7 +10,14 @@ Read `release_notes.md` for commit level details.
10
10
 
11
11
  ### Deprecations
12
12
 
13
- ## [6.2.0]
13
+ ## [6.2.1] - 2023-03-09
14
+
15
+ ### Enhancements
16
+ - Add `uia_device_orientation_landscaperight` and `uia_device_orientation_portrait_upsidedown` symbols in the `drivede.rotation=`
17
+ - Add `drivede.orientation=` as a syntax sugar of `drivede.rotation=`
18
+
19
+
20
+ ## [6.2.0] - 2023-01-26
14
21
 
15
22
  ### Enhancements
16
23
 
@@ -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.18.1'
33
- spec.add_development_dependency 'rubocop', '1.44.0'
33
+ spec.add_development_dependency 'rubocop', '1.47.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'
@@ -947,8 +947,6 @@ module Appium
947
947
  # # "appPackage"=>"io.appium.android.apis",
948
948
  # # "appActivity"=>"io.appium.android.apis.ApiDemos",
949
949
  # # "someCapability"=>"some_capability",
950
- # # "unicodeKeyboard"=>true,
951
- # # "resetKeyboard"=>true},
952
950
  # # "automationName"=>"uiautomator2",
953
951
  # # "app"=>"/path/to/app/api.apk.zip",
954
952
  # # "platformVersion"=>"8.1.0",
@@ -956,8 +954,6 @@ module Appium
956
954
  # # "appPackage"=>"io.appium.android.apis",
957
955
  # # "appActivity"=>"io.appium.android.apis.ApiDemos",
958
956
  # # "someCapability"=>"some_capability",
959
- # # "unicodeKeyboard"=>true,
960
- # # "resetKeyboard"=>true,
961
957
  # # "deviceUDID"=>"emulator-5554",
962
958
  # # "deviceScreenSize"=>"1080x1920",
963
959
  # # "deviceScreenDensity"=>420,
@@ -37,7 +37,7 @@ module Appium
37
37
  attr_reader :additional_headers
38
38
 
39
39
  # override
40
- def initialize(open_timeout: nil, read_timeout: nil) # rubocop:disable Lint/MissingSuper
40
+ def initialize(open_timeout: nil, read_timeout: nil)
41
41
  @open_timeout = open_timeout
42
42
  @read_timeout = read_timeout
43
43
  @additional_headers = {}
@@ -20,12 +20,18 @@ module Appium
20
20
  #
21
21
 
22
22
  module Rotatable
23
- ORIENTATIONS = %i[landscape portrait].freeze
23
+ ORIENTATIONS = %i[
24
+ landscape
25
+ portrait
26
+ uia_device_orientation_landscaperight
27
+ uia_device_orientation_portrait_upsidedown
28
+ ].freeze
24
29
 
25
30
  #
26
31
  # Change the screen orientation
27
32
  #
28
- # @param [:landscape, :portrait] orientation
33
+ # @param [:landscape, :portrait,
34
+ # :uia_device_orientation_landscaperight, :uia_device_orientation_portrait_upsidedown] orientation
29
35
  #
30
36
  #
31
37
  def rotation=(orientation)
@@ -36,11 +42,13 @@ module Appium
36
42
  bridge.screen_orientation = orientation.to_s.upcase
37
43
  end
38
44
  alias rotate rotation=
45
+ alias orientation= rotation=
39
46
 
40
47
  #
41
48
  # Get the current screen orientation
42
49
  #
43
- # @return [:landscape, :portrait] orientation
50
+ # @return [:landscape, :portrait,
51
+ # :uia_device_orientation_landscaperight, :uia_device_orientation_portrait_upsidedown] orientation
44
52
  #
45
53
  # @api public
46
54
  #
@@ -14,7 +14,7 @@
14
14
 
15
15
  module Appium
16
16
  module Core
17
- VERSION = '6.2.0' unless defined? ::Appium::Core::VERSION
18
- DATE = '2023-01-26' unless defined? ::Appium::Core::DATE
17
+ VERSION = '6.2.1' unless defined? ::Appium::Core::VERSION
18
+ DATE = '2023-03-09' unless defined? ::Appium::Core::DATE
19
19
  end
20
20
  end
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: 6.2.0
4
+ version: 6.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-26 00:00:00.000000000 Z
11
+ date: 2023-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver
@@ -120,14 +120,14 @@ dependencies:
120
120
  requirements:
121
121
  - - '='
122
122
  - !ruby/object:Gem::Version
123
- version: 1.44.0
123
+ version: 1.47.0
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - '='
129
129
  - !ruby/object:Gem::Version
130
- version: 1.44.0
130
+ version: 1.47.0
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: appium_thor
133
133
  requirement: !ruby/object:Gem::Requirement