appium_lib 11.1.0 → 12.0.0.rc3

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: bf4e0737c1db2eb4ee225da83aed0a5159deecfa9e319f2704e90c1a8efc11e7
4
- data.tar.gz: dc9e6938d15d67515488da3e98f9a063e2ec34b559b1ab23f6725f2f6c6195c5
3
+ metadata.gz: 3d381f320f3c082e0ef96fc0c514b2ef1fbab636ef61fcd124208456006ddda3
4
+ data.tar.gz: a3480ea80592392c11c39b1267fb2be0b56815e68b01e320dbe94df5e1ed9cce
5
5
  SHA512:
6
- metadata.gz: 60c665646269f3587879fee101ff7de692ecea43810de9a565378b0035a85d4660830a4b86edffe9b0d284c57ae2ffeddbb15bc92759f28c9ac4624896f4e992
7
- data.tar.gz: 0e4c6ab4138043c06b2d02f743f3d81a8d263844f620a3e85c22b3f2ed9a9cc48280b20cd58d061a6b040b6c2580c960d1bdce756b8223623bf4171ae703d208
6
+ metadata.gz: 6fcb301702202ac27a9b4697de9efc085a60cdc7ad1cc1cd9762d77564aeed24bd85974e5cfda47c824bcb1c035188865a75f177af38a1fd1a01321b2e8bc9bd
7
+ data.tar.gz: 97003868baa5762a84c5ab9e4518ac22972b08d1c30b85d461657710e84695c30e116aa7094f6444c7c4390077211a67c0f826333215fca9a5009e741c585048
@@ -0,0 +1,8 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "11:00"
8
+ open-pull-requests-limit: 10
@@ -11,7 +11,7 @@ jobs:
11
11
  strategy:
12
12
  fail-fast: false
13
13
  matrix:
14
- ruby: [2.4, 2.5, 2.6, 2.7, 3.0]
14
+ ruby: [2.6, 2.7, 3.0]
15
15
 
16
16
  runs-on: ubuntu-latest
17
17
 
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.4
2
+ TargetRubyVersion: 2.6
3
3
  Metrics/LineLength:
4
4
  Max: 128
5
5
  Metrics/MethodLength:
@@ -51,3 +51,91 @@ Style/StringConcatenation:
51
51
  Enabled: false
52
52
  Lint/NonDeterministicRequireOrder:
53
53
  Enabled: false
54
+ Gemspec/DateAssignment:
55
+ Enabled: true
56
+ Layout/LineEndStringConcatenationIndentation:
57
+ Enabled: true
58
+ Layout/SpaceBeforeBrackets:
59
+ Enabled: true
60
+ Lint/AmbiguousAssignment:
61
+ Enabled: true
62
+ Lint/AmbiguousOperatorPrecedence:
63
+ Enabled: false
64
+ Lint/AmbiguousRange:
65
+ Enabled: true
66
+ Lint/DeprecatedConstants:
67
+ Enabled: true
68
+ Lint/DuplicateBranch:
69
+ Enabled: true
70
+ Lint/DuplicateRegexpCharacterClassElement:
71
+ Enabled: true
72
+ Lint/EmptyBlock:
73
+ Enabled: true
74
+ Lint/EmptyClass:
75
+ Enabled: false
76
+ Lint/EmptyInPattern:
77
+ Enabled: true
78
+ Lint/IncompatibleIoSelectWithFiberScheduler:
79
+ Enabled: true
80
+ Lint/LambdaWithoutLiteralBlock:
81
+ Enabled: true
82
+ Lint/NoReturnInBeginEndBlocks:
83
+ Enabled: true
84
+ Lint/NumberedParameterAssignment:
85
+ Enabled: true
86
+ Lint/OrAssignmentToConstant:
87
+ Enabled: true
88
+ Lint/RedundantDirGlobSort:
89
+ Enabled: true
90
+ Lint/RequireRelativeSelfPath:
91
+ Enabled: true
92
+ Lint/SymbolConversion:
93
+ Enabled: true
94
+ Lint/ToEnumArguments:
95
+ Enabled: true
96
+ Lint/TripleQuotes:
97
+ Enabled: true
98
+ Lint/UnexpectedBlockArity:
99
+ Enabled: true
100
+ Lint/UnmodifiedReduceAccumulator:
101
+ Enabled: true
102
+ Security/IoMethods:
103
+ Enabled: true
104
+ Style/ArgumentsForwarding:
105
+ Enabled: true
106
+ Style/CollectionCompact:
107
+ Enabled: true
108
+ Style/DocumentDynamicEvalDefinition:
109
+ Enabled: true
110
+ Style/EndlessMethod:
111
+ Enabled: true
112
+ Style/HashConversion:
113
+ Enabled: false
114
+ Style/HashExcept:
115
+ Enabled: true
116
+ Style/IfWithBooleanLiteralBranches:
117
+ Enabled: true
118
+ Style/InPatternThen:
119
+ Enabled: true
120
+ Style/MultilineInPatternThen:
121
+ Enabled: true
122
+ Style/NegatedIfElseCondition:
123
+ Enabled: true
124
+ Style/NilLambda:
125
+ Enabled: true
126
+ Style/NumberedParameters:
127
+ Enabled: true
128
+ Style/NumberedParametersLimit:
129
+ Enabled: true
130
+ Style/QuotedSymbols:
131
+ Enabled: true
132
+ Style/RedundantArgument:
133
+ Enabled: true
134
+ Style/RedundantSelfAssignmentBranch:
135
+ Enabled: true
136
+ Style/SelectByRegexp:
137
+ Enabled: true
138
+ Style/StringChars:
139
+ Enabled: true
140
+ Style/SwapValues:
141
+ Enabled: true
data/CHANGELOG.md CHANGED
@@ -7,9 +7,22 @@ Release tags are https://github.com/appium/ruby_lib/releases .
7
7
 
8
8
  ### 1. Enhancements
9
9
 
10
- ### 2. Bug fixes
11
-
12
- ## 11.1.0 - 2020-12-29
10
+ - Update base [ruby_lib_core client](https://github.com/appium/ruby_lib_core) to v5
11
+ - Update base selenium webdriver version to `4.0.0`
12
+ - Support only W3C spec as following Selenium v4 client
13
+ - Support Ruby 2.6+
14
+ - `element.id` returns the element id instead of `element.ref`. `element.ref` now returns an array.
15
+ - Removed `forceMjsonwp` to send only MJSONWP capabilities since Selenium cleint v4 no longer supports MJSONWP
16
+ - No longer set default `timeouts` as `0`. ruby_lib_core calls `/timeouts` endpoint only when `appium_lib: { wait: 5 }` is provided explicitly
17
+ - Raises `::Appium::Core::Error::ArgumentError` instead of `ArgumentError` for this library specific argument errors
18
+
19
+ ### 2. Deprecations
20
+ - `TouchAction` and `MultiTouch` are deprecated
21
+ - Please use W3C actions instead https://github.com/appium/ruby_lib/blob/master/docs/w3c.md
22
+ - Other examples: https://github.com/appium/ruby_lib/pull/909
23
+ - Removed Selendroid related methods
24
+
25
+ ## 11.1.0 - 2020-12-29 (11.2.0 is the same as this version)
13
26
 
14
27
  Support Ruby 3
15
28
 
@@ -105,7 +118,7 @@ This change has a breaking change about implicit wait.
105
118
  - **Breaking changes**
106
119
  - Set implicit wait zero by default following [WebDriver spec in Selenium](https://www.seleniumhq.org/docs/04_webdriver_advanced.jsp)
107
120
  - The change potentially break your `find_element/s`
108
- - You can wrap it with `wait` method to avoid the error explicitly
121
+ - You can wrap it with `wait` method to avoid the error explicitly
109
122
  - Or you also can configure `wait: 20` as `appium_lib` capability to keep the behaviour
110
123
  - [Experimental]
111
124
  - Add `direct_connect` capability
@@ -162,7 +175,7 @@ This change has a breaking change about implicit wait.
162
175
  { platformName: :windows,
163
176
  app: 'relative/path/to/app'
164
177
  }
165
- } # `:app` will be alsolute path to the `:app` if the path exists
178
+ } # `:app` will be alsolute path to the `:app` if the path exists
166
179
  ```
167
180
 
168
181
  ### 3. Deprecations
@@ -312,7 +325,7 @@ This change has a breaking change about implicit wait.
312
325
  ## v9.9.0
313
326
  ### 1. Enhancements
314
327
  - Bump the core library to 1.3.0
315
- - The change have one breaking change for `start_recording_screen`(Android)
328
+ - The change have one breaking change for `start_recording_screen`(Android)
316
329
  - Read `docs/migration.md`
317
330
 
318
331
  ### 2. Bug fixes
data/appium_lib.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  require_relative 'lib/appium_lib/version'
2
2
 
3
3
  Gem::Specification.new do |s|
4
- s.required_ruby_version = '>= 2.4'
4
+ s.required_ruby_version = '>= 2.6'
5
5
 
6
6
  s.name = 'appium_lib'
7
7
  s.version = Appium::VERSION
@@ -14,17 +14,17 @@ Gem::Specification.new do |s|
14
14
  s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
15
15
  s.require_paths = ['lib']
16
16
 
17
- s.add_runtime_dependency 'appium_lib_core', '~> 4.1'
17
+ s.add_runtime_dependency 'appium_lib_core', '5.0.0.rc7'
18
18
  s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
19
- s.add_runtime_dependency 'tomlrb', '~> 1.1'
19
+ s.add_runtime_dependency 'tomlrb', '>= 1.1', '< 3.0'
20
20
 
21
21
  s.add_development_dependency 'appium_thor', '~> 1.1', '>= 1.1.4'
22
- s.add_development_dependency 'fakefs', '~> 1.3.0'
22
+ s.add_development_dependency 'fakefs', '~> 1.4.0'
23
23
  s.add_development_dependency 'hashdiff', '~> 1.0.0'
24
24
  s.add_development_dependency 'posix-spawn', '~> 0.3'
25
25
  s.add_development_dependency 'pry'
26
26
  s.add_development_dependency 'rake', '~> 13.0'
27
- s.add_development_dependency 'rubocop', '1.7.0'
27
+ s.add_development_dependency 'rubocop', '1.22.2'
28
28
  s.add_development_dependency 'spec', '~> 5.3', '>= 5.3.4'
29
29
  s.add_development_dependency 'yard', '~> 0.9.11'
30
30