appium_console 4.1.0 → 4.2.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: 1f331814d2d94a94b60898d74d984d3eb246a23a4d7b4a15b4bf5678bba26f40
4
- data.tar.gz: aae4c5308db9a6aa8b4f2b7b96c7f3dbe759718ce68655734fdcc6503653722a
3
+ metadata.gz: fd05f297d96d2542f2101103c3bcf7e2a8626f0f46dfba004d7dcaab88663d04
4
+ data.tar.gz: 487d016059200b2c94a43bbd98245778c5eaec965350f9194b1c2b4b527196bf
5
5
  SHA512:
6
- metadata.gz: 94b1645b8e7e947e484fcd4a37b876d788e168ae82760ba6cd8acce47880499409b955d5660c36f746b60eafa3abd52f90bb512c88427c6bddf2fd9489e4e4ba
7
- data.tar.gz: 63351e6ccb15bd9617020e90890e242a849531f3317aee00a4105e1e7606d1c3709053aa2106da513469d595aec1eb9ded0eb0700ccc6bceb5df12b5292bf679
6
+ metadata.gz: 7a7742fded7155b9ab7c03d6dc530202e3bd2c0cfe27d3ab40a067f56a0fd4b076f3ef41017ec325dda26926f98e6363996fe17f068edc651006f58a76207a60
7
+ data.tar.gz: d4be64288f72600ae0cd9c37b37b1181948b9172c381063b5fff0df781050bb2106494a4d22d378d833cf0687189540278c9c698327615c4501f0daa320527b1
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.6
2
+ TargetRubyVersion: 3.1
3
3
  Metrics/LineLength:
4
4
  Max: 128
5
5
  Metrics/MethodLength:
@@ -12,7 +12,7 @@ Style/GlobalVars:
12
12
  Enabled: false
13
13
  Layout/HeredocIndentation:
14
14
  Enabled: false
15
- Gemspec/DateAssignment: # new in 1.10
15
+ Gemspec/DeprecatedAttributeAssignment:
16
16
  Enabled: true
17
17
  Layout/LineEndStringConcatenationIndentation: # new in 1.18
18
18
  Enabled: true
@@ -100,3 +100,163 @@ Style/StringChars: # new in 1.12
100
100
  Enabled: true
101
101
  Style/SwapValues: # new in 1.1
102
102
  Enabled: true
103
+ Gemspec/AddRuntimeDependency: # new in 1.65
104
+ Enabled: true
105
+ Gemspec/DevelopmentDependencies: # new in 1.44
106
+ Enabled: true
107
+ Gemspec/RequireMFA: # new in 1.23
108
+ Enabled: true
109
+ Layout/LineContinuationLeadingSpace: # new in 1.31
110
+ Enabled: true
111
+ Layout/LineContinuationSpacing: # new in 1.31
112
+ Enabled: true
113
+ Lint/ArrayLiteralInRegexp: # new in 1.71
114
+ Enabled: true
115
+ Lint/ConstantOverwrittenInRescue: # new in 1.31
116
+ Enabled: true
117
+ Lint/ConstantReassignment: # new in 1.70
118
+ Enabled: true
119
+ Lint/DuplicateMagicComment: # new in 1.37
120
+ Enabled: true
121
+ Lint/DuplicateMatchPattern: # new in 1.50
122
+ Enabled: true
123
+ Lint/DuplicateSetElement: # new in 1.67
124
+ Enabled: true
125
+ Lint/HashNewWithKeywordArgumentsAsDefault: # new in 1.69
126
+ Enabled: true
127
+ Lint/ItWithoutArgumentsInBlock: # new in 1.59
128
+ Enabled: true
129
+ Lint/LiteralAssignmentInCondition: # new in 1.58
130
+ Enabled: true
131
+ Lint/MixedCaseRange: # new in 1.53
132
+ Enabled: true
133
+ Lint/NonAtomicFileOperation: # new in 1.31
134
+ Enabled: true
135
+ Lint/NumericOperationWithConstantResult: # new in 1.69
136
+ Enabled: true
137
+ Lint/RedundantRegexpQuantifiers: # new in 1.53
138
+ Enabled: true
139
+ Lint/RefinementImportMethods: # new in 1.27
140
+ Enabled: true
141
+ Lint/RequireRangeParentheses: # new in 1.32
142
+ Enabled: true
143
+ Lint/SharedMutableDefault: # new in 1.70
144
+ Enabled: true
145
+ Lint/UnescapedBracketInRegexp: # new in 1.68
146
+ Enabled: true
147
+ Lint/UselessDefined: # new in 1.69
148
+ Enabled: true
149
+ Lint/UselessNumericOperation: # new in 1.66
150
+ Enabled: true
151
+ Lint/UselessRescue: # new in 1.43
152
+ Enabled: true
153
+ Lint/UselessRuby2Keywords: # new in 1.23
154
+ Enabled: true
155
+ Metrics/CollectionLiteralLength: # new in 1.47
156
+ Enabled: true
157
+ Naming/BlockForwarding: # new in 1.24
158
+ Enabled: true
159
+ Security/CompoundHash: # new in 1.28
160
+ Enabled: true
161
+ Style/AmbiguousEndlessMethodDefinition: # new in 1.68
162
+ Enabled: true
163
+ Style/ArrayIntersect: # new in 1.40
164
+ Enabled: true
165
+ Style/BitwisePredicate: # new in 1.68
166
+ Enabled: true
167
+ Style/CombinableDefined: # new in 1.68
168
+ Enabled: true
169
+ Style/ComparableClamp: # new in 1.44
170
+ Enabled: true
171
+ Style/ConcatArrayLiterals: # new in 1.41
172
+ Enabled: true
173
+ Style/DataInheritance: # new in 1.49
174
+ Enabled: true
175
+ Style/DigChain: # new in 1.69
176
+ Enabled: true
177
+ Style/DirEmpty: # new in 1.48
178
+ Enabled: true
179
+ Style/EmptyHeredoc: # new in 1.32
180
+ Enabled: true
181
+ Style/EnvHome: # new in 1.29
182
+ Enabled: true
183
+ Style/ExactRegexpMatch: # new in 1.51
184
+ Enabled: true
185
+ Style/FetchEnvVar: # new in 1.28
186
+ Enabled: true
187
+ Style/FileEmpty: # new in 1.48
188
+ Enabled: true
189
+ Style/FileNull: # new in 1.69
190
+ Enabled: true
191
+ Style/FileRead: # new in 1.24
192
+ Enabled: true
193
+ Style/FileTouch: # new in 1.69
194
+ Enabled: true
195
+ Style/FileWrite: # new in 1.24
196
+ Enabled: true
197
+ Style/HashSlice: # new in 1.71
198
+ Enabled: true
199
+ Style/ItAssignment: # new in 1.70
200
+ Enabled: true
201
+ Style/KeywordArgumentsMerging: # new in 1.68
202
+ Enabled: true
203
+ Style/MagicCommentFormat: # new in 1.35
204
+ Enabled: true
205
+ Style/MapCompactWithConditionalBlock: # new in 1.30
206
+ Enabled: true
207
+ Style/MapIntoArray: # new in 1.63
208
+ Enabled: true
209
+ Style/MapToHash: # new in 1.24
210
+ Enabled: true
211
+ Style/MapToSet: # new in 1.42
212
+ Enabled: true
213
+ Style/MinMaxComparison: # new in 1.42
214
+ Enabled: true
215
+ Style/NestedFileDirname: # new in 1.26
216
+ Enabled: true
217
+ Style/ObjectThen: # new in 1.28
218
+ Enabled: true
219
+ Style/OpenStructUse: # new in 1.23
220
+ Enabled: true
221
+ Style/OperatorMethodCall: # new in 1.37
222
+ Enabled: true
223
+ Style/RedundantArrayConstructor: # new in 1.52
224
+ Enabled: true
225
+ Style/RedundantConstantBase: # new in 1.40
226
+ Enabled: true
227
+ Style/RedundantCurrentDirectoryInPath: # new in 1.53
228
+ Enabled: true
229
+ Style/RedundantDoubleSplatHashBraces: # new in 1.41
230
+ Enabled: true
231
+ Style/RedundantEach: # new in 1.38
232
+ Enabled: true
233
+ Style/RedundantFilterChain: # new in 1.52
234
+ Enabled: true
235
+ Style/RedundantHeredocDelimiterQuotes: # new in 1.45
236
+ Enabled: true
237
+ Style/RedundantInitialize: # new in 1.27
238
+ Enabled: true
239
+ Style/RedundantInterpolationUnfreeze: # new in 1.66
240
+ Enabled: true
241
+ Style/RedundantLineContinuation: # new in 1.49
242
+ Enabled: true
243
+ Style/RedundantRegexpArgument: # new in 1.53
244
+ Enabled: true
245
+ Style/RedundantRegexpConstructor: # new in 1.52
246
+ Enabled: true
247
+ Style/RedundantStringEscape: # new in 1.37
248
+ Enabled: true
249
+ Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
250
+ Enabled: true
251
+ Style/SafeNavigationChainLength: # new in 1.68
252
+ Enabled: true
253
+ Style/SendWithLiteralMethodName: # new in 1.64
254
+ Enabled: true
255
+ Style/SingleLineDoEndBlock: # new in 1.57
256
+ Enabled: true
257
+ Style/SuperArguments: # new in 1.64
258
+ Enabled: true
259
+ Style/SuperWithArgsParentheses: # new in 1.58
260
+ Enabled: true
261
+ Style/YAMLFileRead: # new in 1.53
262
+ Enabled: true
data/Gemfile CHANGED
@@ -1,2 +1,6 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
2
+ gemspec
3
+
4
+ gem 'appium_thor', '~> 2.0'
5
+ gem 'rake', '~> 13.0'
6
+ gem 'rubocop', '1.71.0'
@@ -1,8 +1,7 @@
1
- # encoding: utf-8
2
- def self.add_to_path path
3
- path = File.expand_path "../#{path}/", __FILE__
1
+ def self.add_to_path(path)
2
+ path = File.expand_path "../#{path}/", __FILE__
4
3
 
5
- $:.unshift path unless $:.include? path
4
+ $:.unshift path unless $:.include? path
6
5
  end
7
6
 
8
7
  add_to_path 'lib'
@@ -10,29 +9,24 @@ add_to_path 'lib'
10
9
  require 'appium_console/version'
11
10
 
12
11
  Gem::Specification.new do |s|
13
- s.required_ruby_version = '>= 3.0'
12
+ s.required_ruby_version = '>= 3.1'
14
13
 
15
14
  s.name = 'appium_console'
16
15
  s.version = Appium::Console::VERSION
17
- s.date = Appium::Console::DATE
18
16
  s.license = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
19
17
  s.description = s.summary = 'Appium Ruby Console'
20
- s.description += '.' # avoid identical warning
18
+ s.description += '.' # avoid identical warning
21
19
  s.authors = ['code@bootstraponline.com', 'Kazuaki Matsuo']
22
- s.email = %w(code@bootstraponline.com fly.49.89.over@gmail.com)
20
+ s.email = %w[code@bootstraponline.com fly.49.89.over@gmail.com]
23
21
  s.homepage = 'https://github.com/appium/ruby_console' # published as appium_console
24
- s.require_paths = [ 'lib' ]
22
+ s.require_paths = ['lib']
25
23
 
26
24
  # appium_lib version must match ruby console version.
27
- s.add_runtime_dependency 'appium_lib', '>= 14.0.0'
28
- s.add_runtime_dependency 'pry', '~> 0.14.0'
29
- s.add_runtime_dependency 'spec', '~> 5.3', '>= 5.3.1'
30
- s.add_runtime_dependency 'thor', '>= 0.19', '< 2.0'
31
- s.add_development_dependency 'rake', '~> 13.0'
32
- s.add_development_dependency 'appium_thor', '~> 1.0', '>= 1.0.1'
33
- s.add_development_dependency 'posix-spawn', '~> 0.3.11'
34
- s.add_development_dependency 'rubocop', '1.60.2'
25
+ s.add_dependency 'appium_lib', '>= 14.0.0'
26
+ s.add_dependency 'pry', '~> 0.14.0'
27
+ s.add_dependency 'thor', '>= 0.19', '< 2.0'
35
28
 
36
- s.executables = [ 'arc' ]
29
+ s.executables = ['arc']
37
30
  s.files = `git ls-files`.split "\n"
31
+ s.metadata['rubygems_mfa_required'] = 'true'
38
32
  end
@@ -4,7 +4,7 @@
4
4
  module Appium; end unless defined? Appium
5
5
  module Appium
6
6
  module Console
7
- VERSION = '4.1.0' unless defined? ::Appium::Console::VERSION
8
- DATE = '2024-01-25' unless defined? ::Appium::Console::DATE
7
+ VERSION = '4.2.0' unless defined? ::Appium::Console::VERSION
8
+ DATE = '2025-01-25' unless defined? ::Appium::Console::DATE
9
9
  end
10
10
  end
data/lib/start.rb CHANGED
@@ -17,7 +17,6 @@ core = Appium::Driver.new opts, false
17
17
  core.start_driver
18
18
  Appium.promote_appium_methods Object, core
19
19
 
20
-
21
20
  # Load minitest
22
21
  begin
23
22
  require 'minitest'
data/release_notes.md CHANGED
@@ -1,3 +1,37 @@
1
+ #### v4.2.0 2025-01-25
2
+
3
+ - [2f63a20](https://github.com/appium/ruby_console/commit/2f63a20264d375195d49b975df974522605c54ce) Release 4.2.0
4
+ - [505874e](https://github.com/appium/ruby_console/commit/505874e6e0ab45bb148783bfd22ce0598640e035) feat: bump ruby version to follow ruby_lib
5
+ - [5eea0ec](https://github.com/appium/ruby_console/commit/5eea0ec13ec7f502e91a8fd788a63accca222127) chore: update rubocop requirement from = 1.70.0 to = 1.71.0 (#208)
6
+ - [0eb24cc](https://github.com/appium/ruby_console/commit/0eb24cc37178c0c2975eb298ddd27f100bf161b5) chore: update rubocop requirement from = 1.69.2 to = 1.70.0 (#207)
7
+ - [10ee9b9](https://github.com/appium/ruby_console/commit/10ee9b97623ea6faa2ff673832cc72e6ff58cec8) chore: update rubocop requirement from = 1.69.1 to = 1.69.2 (#206)
8
+ - [849e353](https://github.com/appium/ruby_console/commit/849e353f8940ef14aaf49c0e0e0d5551f1c230ea) chore: update rubocop requirement from = 1.69.0 to = 1.69.1 (#205)
9
+ - [22d0871](https://github.com/appium/ruby_console/commit/22d0871ad4e150c0b07691cfda60febfaf13d399) chore: update rubocop requirement from = 1.68.0 to = 1.69.0 (#204)
10
+ - [69adc4e](https://github.com/appium/ruby_console/commit/69adc4e4146e6c0bbdb480ca71e3056fba613b60) chore: update rubocop requirement from = 1.67.0 to = 1.68.0 (#202)
11
+ - [5ec1e36](https://github.com/appium/ruby_console/commit/5ec1e36a1d809437d3a02f34ecf80c8817aff7dc) chore: update rubocop requirement from = 1.66.1 to = 1.67.0 (#201)
12
+ - [270ed4a](https://github.com/appium/ruby_console/commit/270ed4a749d41fc563a0bbebbe0e2327829cb103) chore: update rubocop requirement from = 1.66.0 to = 1.66.1 (#200)
13
+ - [14136a3](https://github.com/appium/ruby_console/commit/14136a3a64c78a2b3250f8da75df97d56ac20a74) chore: update rubocop requirement from = 1.65.1 to = 1.66.0 (#199)
14
+ - [5371021](https://github.com/appium/ruby_console/commit/53710210fb95b01788a008fe9ceaeb465122c66c) chore: update rubocop requirement from = 1.65.0 to = 1.65.1 (#198)
15
+ - [9204c2d](https://github.com/appium/ruby_console/commit/9204c2d411de2913a0abf7fc9b2aefc154152717) chore: update rubocop requirement from = 1.64.1 to = 1.65.0 (#197)
16
+ - [ba5732e](https://github.com/appium/ruby_console/commit/ba5732ecce98e823a85611eff2ea77d53047e9da) chore: update rubocop requirement from = 1.64.0 to = 1.64.1 (#196)
17
+ - [5f4ea6a](https://github.com/appium/ruby_console/commit/5f4ea6a6436149b6d820af162ccf1ab40acf58f3) chore: update rubocop requirement from = 1.63.5 to = 1.64.0 (#195)
18
+ - [ceed33e](https://github.com/appium/ruby_console/commit/ceed33e41098bc6e488c74e0aef4bee68c5f345a) chore: update rubocop requirement from = 1.63.4 to = 1.63.5 (#194)
19
+ - [ddd5519](https://github.com/appium/ruby_console/commit/ddd5519bc5b4aa0a860fa2e684732ca48fbdd9a1) chore: update rubocop requirement from = 1.63.3 to = 1.63.4 (#193)
20
+
21
+
22
+ #### v4.1.1 2024-04-26
23
+
24
+ - [cff749c](https://github.com/appium/ruby_console/commit/cff749cef4e63e66f62d7075cb89c7b0fb706d4d) Release 4.1.1
25
+ - [f31e48c](https://github.com/appium/ruby_console/commit/f31e48ca8133eff0fbeb51b37591aca1d50fb911) chore: bump thor
26
+ - [a7af172](https://github.com/appium/ruby_console/commit/a7af1727df20168451bafe743b44775c2129aec6) chore: update rubocop requirement from = 1.63.2 to = 1.63.3 (#192)
27
+ - [6427a8a](https://github.com/appium/ruby_console/commit/6427a8a7afcbe078d3a2cac57307a358b33c74df) chore: update rubocop requirement from = 1.63.1 to = 1.63.2 (#191)
28
+ - [c5bfb8d](https://github.com/appium/ruby_console/commit/c5bfb8d3de53f9ecea86e35ba291ca47fc7d8691) chore: update rubocop requirement from = 1.63.0 to = 1.63.1 (#190)
29
+ - [ff418ec](https://github.com/appium/ruby_console/commit/ff418ecf222259c0a077d805db79b243e1ab5963) chore: update rubocop requirement from = 1.62.1 to = 1.63.0 (#189)
30
+ - [d5d3949](https://github.com/appium/ruby_console/commit/d5d3949d7b50944a54d32b7a0d5b1e44f953d356) chore: update rubocop requirement from = 1.62.0 to = 1.62.1 (#188)
31
+ - [5ad12e9](https://github.com/appium/ruby_console/commit/5ad12e900ac39a9d8c56b5eb3a9bcf6961e9cee8) chore: update rubocop requirement from = 1.61.0 to = 1.62.0 (#187)
32
+ - [4bb0580](https://github.com/appium/ruby_console/commit/4bb058063aae0cdae45842bf2f736648c29f3f9b) chore: update rubocop requirement from = 1.60.2 to = 1.61.0 (#186)
33
+
34
+
1
35
  #### v4.1.0 2024-01-25
2
36
 
3
37
  - [64eba6a](https://github.com/appium/ruby_console/commit/64eba6aaa0e40b919d63646c9909b965f3be3b50) Release 4.1.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_console
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-01-25 00:00:00.000000000 Z
12
+ date: 2025-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: appium_lib
@@ -39,26 +39,6 @@ dependencies:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: 0.14.0
42
- - !ruby/object:Gem::Dependency
43
- name: spec
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - "~>"
47
- - !ruby/object:Gem::Version
48
- version: '5.3'
49
- - - ">="
50
- - !ruby/object:Gem::Version
51
- version: 5.3.1
52
- type: :runtime
53
- prerelease: false
54
- version_requirements: !ruby/object:Gem::Requirement
55
- requirements:
56
- - - "~>"
57
- - !ruby/object:Gem::Version
58
- version: '5.3'
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: 5.3.1
62
42
  - !ruby/object:Gem::Dependency
63
43
  name: thor
64
44
  requirement: !ruby/object:Gem::Requirement
@@ -79,68 +59,6 @@ dependencies:
79
59
  - - "<"
80
60
  - !ruby/object:Gem::Version
81
61
  version: '2.0'
82
- - !ruby/object:Gem::Dependency
83
- name: rake
84
- requirement: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '13.0'
89
- type: :development
90
- prerelease: false
91
- version_requirements: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '13.0'
96
- - !ruby/object:Gem::Dependency
97
- name: appium_thor
98
- requirement: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '1.0'
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- version: 1.0.1
106
- type: :development
107
- prerelease: false
108
- version_requirements: !ruby/object:Gem::Requirement
109
- requirements:
110
- - - "~>"
111
- - !ruby/object:Gem::Version
112
- version: '1.0'
113
- - - ">="
114
- - !ruby/object:Gem::Version
115
- version: 1.0.1
116
- - !ruby/object:Gem::Dependency
117
- name: posix-spawn
118
- requirement: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: 0.3.11
123
- type: :development
124
- prerelease: false
125
- version_requirements: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: 0.3.11
130
- - !ruby/object:Gem::Dependency
131
- name: rubocop
132
- requirement: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - '='
135
- - !ruby/object:Gem::Version
136
- version: 1.60.2
137
- type: :development
138
- prerelease: false
139
- version_requirements: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - '='
142
- - !ruby/object:Gem::Version
143
- version: 1.60.2
144
62
  description: Appium Ruby Console.
145
63
  email:
146
64
  - code@bootstraponline.com
@@ -171,7 +89,8 @@ files:
171
89
  homepage: https://github.com/appium/ruby_console
172
90
  licenses:
173
91
  - http://www.apache.org/licenses/LICENSE-2.0.txt
174
- metadata: {}
92
+ metadata:
93
+ rubygems_mfa_required: 'true'
175
94
  post_install_message:
176
95
  rdoc_options: []
177
96
  require_paths:
@@ -180,14 +99,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
180
99
  requirements:
181
100
  - - ">="
182
101
  - !ruby/object:Gem::Version
183
- version: '3.0'
102
+ version: '3.1'
184
103
  required_rubygems_version: !ruby/object:Gem::Requirement
185
104
  requirements:
186
105
  - - ">="
187
106
  - !ruby/object:Gem::Version
188
107
  version: '0'
189
108
  requirements: []
190
- rubygems_version: 3.4.10
109
+ rubygems_version: 3.5.9
191
110
  signing_key:
192
111
  specification_version: 4
193
112
  summary: Appium Ruby Console