appium_console 4.1.1 → 4.2.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: 98c4036134b5798b5fd7fc921a02645df3d6a9a775a1edfeb3101e1a39022d1f
4
- data.tar.gz: 68fb4e5985837043967f0aebdfa28495c2eb26bf88e39ad3c0e011303243b3b2
3
+ metadata.gz: fd05f297d96d2542f2101103c3bcf7e2a8626f0f46dfba004d7dcaab88663d04
4
+ data.tar.gz: 487d016059200b2c94a43bbd98245778c5eaec965350f9194b1c2b4b527196bf
5
5
  SHA512:
6
- metadata.gz: 9e3ff7b3b04d517521bef0f2b5878c0acc4b32b0fde617b615d0ab6340513ed702fa77f00949434691b8032e9e59f81a723ba0c9df803ed9e9b0236e64ba7537
7
- data.tar.gz: cd608ddf9825959ce2a1d5417aa0f5ac56444f7c55ca30e84e6f6727d1a8e612061cd4e369cecef74ad78219f7b436a352b791f5b2e7e910afc3b2d72e667527
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,27 +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 'thor', '>= 0.19', '< 2.0'
30
- s.add_development_dependency 'rake', '~> 13.0'
31
- s.add_development_dependency 'appium_thor', '~> 2.0'
32
- s.add_development_dependency 'rubocop', '1.63.3'
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'
33
28
 
34
- s.executables = [ 'arc' ]
29
+ s.executables = ['arc']
35
30
  s.files = `git ls-files`.split "\n"
31
+ s.metadata['rubygems_mfa_required'] = 'true'
36
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.1' unless defined? ::Appium::Console::VERSION
8
- DATE = '2024-04-26' 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,24 @@
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
+
1
22
  #### v4.1.1 2024-04-26
2
23
 
3
24
  - [cff749c](https://github.com/appium/ruby_console/commit/cff749cef4e63e66f62d7075cb89c7b0fb706d4d) Release 4.1.1
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.1
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-04-26 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
@@ -59,48 +59,6 @@ dependencies:
59
59
  - - "<"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '2.0'
62
- - !ruby/object:Gem::Dependency
63
- name: rake
64
- requirement: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '13.0'
69
- type: :development
70
- prerelease: false
71
- version_requirements: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '13.0'
76
- - !ruby/object:Gem::Dependency
77
- name: appium_thor
78
- requirement: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '2.0'
83
- type: :development
84
- prerelease: false
85
- version_requirements: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '2.0'
90
- - !ruby/object:Gem::Dependency
91
- name: rubocop
92
- requirement: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - '='
95
- - !ruby/object:Gem::Version
96
- version: 1.63.3
97
- type: :development
98
- prerelease: false
99
- version_requirements: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - '='
102
- - !ruby/object:Gem::Version
103
- version: 1.63.3
104
62
  description: Appium Ruby Console.
105
63
  email:
106
64
  - code@bootstraponline.com
@@ -131,7 +89,8 @@ files:
131
89
  homepage: https://github.com/appium/ruby_console
132
90
  licenses:
133
91
  - http://www.apache.org/licenses/LICENSE-2.0.txt
134
- metadata: {}
92
+ metadata:
93
+ rubygems_mfa_required: 'true'
135
94
  post_install_message:
136
95
  rdoc_options: []
137
96
  require_paths:
@@ -140,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
99
  requirements:
141
100
  - - ">="
142
101
  - !ruby/object:Gem::Version
143
- version: '3.0'
102
+ version: '3.1'
144
103
  required_rubygems_version: !ruby/object:Gem::Requirement
145
104
  requirements:
146
105
  - - ">="