ykutils 0.1.7 → 0.1.8

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: e431ef900874b8c99755026b48f24551b8bb1c3348f1b8583d959ea064787bcb
4
- data.tar.gz: 7ceb60faec4c79c04ea301d2fcc6ea9350fc2f821543b6897788bee74bba09f2
3
+ metadata.gz: 94d8725f098ed2fab402064d5d17f29a3d66893a9f0ec2046d2bbf6de385f0d6
4
+ data.tar.gz: de9db8ffac06710ed34babc306e1f273d7b4719651de134c29e50606ed3d19c2
5
5
  SHA512:
6
- metadata.gz: 3b25b6ccc71d2c0b8cab672a032e0089515f86849a6015a4a6f8ca601f0dd6190633b16bc6ade99e294b575fe76eccd492368bee65d47d7db886532a35b08669
7
- data.tar.gz: 9cf7993551510eac9de00fa8d01a78574c278f628421fd59fb8abf57e4f41e4116a010cfb520ddee3a4ea46e6bc5023dbc8b9798504614c1a9894673d75b9f04
6
+ metadata.gz: 4fa01e7f6a1b09185b054a55cf34ee8852e9f127580880af3fa40ab3c48ad0216ed94f41acafabe43a7abb33182ed511a406c52482ea9b6916f9c98120f0fafc
7
+ data.tar.gz: 57fba77e78eb39fedb2cce6caaf6f65fbf13bb4c1b4ab742b4c606eeb56849d7aa3fd82dbe6c007c5d693fb7b6255b288589022fafe7f4048d078fea68a71363
@@ -0,0 +1,11 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "bundler" # See documentation for possible values
9
+ directory: "/" # Location of package manifests
10
+ schedule:
11
+ interval: "weekly"
@@ -16,6 +16,8 @@ jobs:
16
16
  ruby:
17
17
  - '3.1.2'
18
18
 
19
+ env:
20
+ BUNDLE_WITH: test
19
21
  steps:
20
22
  - uses: actions/checkout@v2
21
23
  - name: Set up Ruby
data/.gitignore CHANGED
@@ -15,3 +15,6 @@ awww.bat
15
15
  /checksums/
16
16
  d.bat
17
17
  /vendor/
18
+ *.code-workspace
19
+ .ruby-version
20
+
data/.rubocop_todo.yml CHANGED
@@ -1,251 +1,57 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2022-09-07 09:47:32 UTC using RuboCop version 1.36.0.
3
+ # on 2024-01-08 03:25:27 UTC using RuboCop version 1.59.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 1
10
- # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
11
- Lint/DuplicateBranch:
12
- Exclude:
13
- - 'lib/ykutils/stext.rb'
14
-
15
- # Offense count: 6
16
- # Configuration parameters: AllowComments.
17
- Lint/EmptyWhen:
18
- Exclude:
19
- - 'lib/ykutils/lines.rb'
20
- - 'lib/ykutils/stext.rb'
21
-
22
- # Offense count: 1
23
- Lint/MissingSuper:
24
- Exclude:
25
- - 'lib/ykutils/yamlxop.rb'
26
-
27
- # Offense count: 2
28
- Lint/NestedMethodDefinition:
29
- Exclude:
30
- - 'lib/ykutils/stextx.rb'
31
-
32
- # Offense count: 4
33
- # This cop supports safe autocorrection (--autocorrect).
34
- Lint/ScriptPermission:
35
- Exclude:
36
- - 'bin/console'
37
- - 'bin/erubix'
38
- - 'bin/erubix2'
39
- - 'bin/makegrid'
40
-
41
- # Offense count: 3
42
- Lint/ShadowingOuterLocalVariable:
43
- Exclude:
44
- - 'lib/ykutils/stext.rb'
45
- - 'lib/ykutils/yamlop.rb'
46
-
47
- # Offense count: 1
48
- # Configuration parameters: AllowComments, AllowNil.
49
- Lint/SuppressedException:
50
- Exclude:
51
- - 'lib/ykutils/pathop.rb'
52
-
53
- # Offense count: 22
54
- Lint/UselessAssignment:
55
- Exclude:
56
- - 'lib/ykutils/fileoputils.rb'
57
- - 'lib/ykutils/filepermision.rb'
58
- - 'lib/ykutils/nkfutil19.rb'
59
- - 'lib/ykutils/pathop.rb'
60
- - 'lib/ykutils/specfileop.rb'
61
- - 'lib/ykutils/stext.rb'
62
- - 'lib/ykutils/stextx.rb'
63
- - 'lib/ykutils/stringutils.rb'
64
- - 'lib/ykutils/yamlop.rb'
65
-
66
- # Offense count: 2
67
- # This cop supports unsafe autocorrection (--autocorrect-all).
68
- Lint/UselessMethodDefinition:
69
- Exclude:
70
- - 'lib/ykutils/hasharray.rb'
71
- - 'lib/ykutils/stext.rb'
72
-
73
- # Offense count: 15
74
- # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
9
+ # Offense count: 13
10
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
75
11
  Metrics/AbcSize:
76
12
  Max: 43
77
13
 
78
14
  # Offense count: 2
79
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
15
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
80
16
  # AllowedMethods: refine
81
17
  Metrics/BlockLength:
82
- Max: 41
18
+ Max: 40
83
19
 
84
20
  # Offense count: 2
85
21
  # Configuration parameters: CountComments, CountAsOne.
86
22
  Metrics/ClassLength:
87
- Max: 183
23
+ Max: 181
88
24
 
89
- # Offense count: 6
90
- # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
25
+ # Offense count: 5
26
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
91
27
  Metrics/CyclomaticComplexity:
92
28
  Max: 21
93
29
 
94
- # Offense count: 43
95
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
30
+ # Offense count: 41
31
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
96
32
  Metrics/MethodLength:
97
- Max: 85
33
+ Max: 87
98
34
 
99
35
  # Offense count: 2
100
36
  # Configuration parameters: CountComments, CountAsOne.
101
37
  Metrics/ModuleLength:
102
- Max: 337
38
+ Max: 336
103
39
 
104
40
  # Offense count: 3
105
41
  # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
106
42
  Metrics/ParameterLists:
107
43
  Max: 6
108
44
 
109
- # Offense count: 5
110
- # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
45
+ # Offense count: 4
46
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
111
47
  Metrics/PerceivedComplexity:
112
48
  Max: 18
113
49
 
114
- # Offense count: 13
115
- Naming/AccessorMethodName:
116
- Exclude:
117
- - 'lib/ykutils/debugutils.rb'
118
- - 'lib/ykutils/lines.rb'
119
- - 'lib/ykutils/nkfutil.rb'
120
- - 'lib/ykutils/retcodex.rb'
121
- - 'lib/ykutils/stext.rb'
122
-
123
- # Offense count: 1
124
- # Configuration parameters: EnforcedStyleForLeadingUnderscores.
125
- # SupportedStylesForLeadingUnderscores: disallowed, required, optional
126
- Naming/MemoizedInstanceVariableName:
127
- Exclude:
128
- - 'lib/ykutils/hasharray.rb'
129
-
130
- # Offense count: 2
131
- # Configuration parameters: EnforcedStyle, AllowedPatterns, IgnoredPatterns.
132
- # SupportedStyles: snake_case, camelCase
133
- Naming/MethodName:
134
- Exclude:
135
- - 'lib/ykutils/treemanagera.rb'
136
-
137
- # Offense count: 9
138
- # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
139
- # AllowedNames: as, at, by, db, id, in, io, ip, of, on, os, pp, to
140
- Naming/MethodParameterName:
141
- Exclude:
142
- - 'lib/ykutils/debugutils.rb'
143
- - 'lib/ykutils/fileoputils.rb'
144
- - 'lib/ykutils/nginxconfigfiles.rb'
145
- - 'lib/ykutils/stext.rb'
146
- - 'lib/ykutils/stringutils.rb'
147
-
148
- # Offense count: 1
149
- # This cop supports safe autocorrection (--autocorrect).
150
- # Configuration parameters: PreferredName.
151
- Naming/RescuedExceptionsVariableName:
152
- Exclude:
153
- - 'lib/ykutils/nkfutil19.rb'
154
-
155
- # Offense count: 17
156
- # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
157
- # SupportedStyles: snake_case, normalcase, non_integer
158
- # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
159
- Naming/VariableNumber:
160
- Exclude:
161
- - 'lib/ykutils/fileoputils.rb'
162
- - 'lib/ykutils/stringutils.rb'
163
-
164
- # Offense count: 12
165
- # This cop supports unsafe autocorrection (--autocorrect-all).
166
- # Configuration parameters: EnforcedStyle.
167
- # SupportedStyles: always, conditionals
168
- Style/AndOr:
169
- Exclude:
170
- - 'lib/ykutils/debugutils.rb'
171
- - 'lib/ykutils/fileoputils.rb'
172
- - 'lib/ykutils/lines.rb'
173
- - 'lib/ykutils/pathop.rb'
174
- - 'lib/ykutils/specfileop.rb'
175
- - 'lib/ykutils/stext.rb'
176
- - 'lib/ykutils/yamlop.rb'
177
-
178
- # Offense count: 8
179
- # This cop supports safe autocorrection (--autocorrect).
180
- # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
181
- # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
182
- # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
183
- # FunctionalMethods: let, let!, subject, watch
184
- # AllowedMethods: lambda, proc, it
185
- Style/BlockDelimiters:
186
- Exclude:
187
- - 'lib/ykutils/erubyx.rb'
188
- - 'lib/ykutils/gridlist.rb'
189
- - 'lib/ykutils/nginxconfig.rb'
190
- - 'lib/ykutils/nginxconfigfiles.rb'
191
- - 'spec/ykutils_spec.rb'
192
-
193
- # Offense count: 2
194
- # This cop supports safe autocorrection (--autocorrect).
195
- # Configuration parameters: AllowOnConstant, AllowOnSelfClass.
196
- Style/CaseEquality:
197
- Exclude:
198
- - 'lib/ykutils/lsutils.rb'
199
-
200
- # Offense count: 1
201
- # This cop supports unsafe autocorrection (--autocorrect-all).
202
- Style/CaseLikeIf:
203
- Exclude:
204
- - 'lib/ykutils/lines.rb'
205
-
206
- # Offense count: 21
207
- Style/ClassVars:
208
- Exclude:
209
- - 'lib/ykutils/debugutils.rb'
210
- - 'lib/ykutils/nkfutil.rb'
211
- - 'lib/ykutils/nkfutil19.rb'
212
- - 'lib/ykutils/osutil.rb'
213
-
214
- # Offense count: 1
215
- # This cop supports unsafe autocorrection (--autocorrect-all).
216
- Style/CollectionCompact:
217
- Exclude:
218
- - 'lib/ykutils/specfileop.rb'
219
-
220
- # Offense count: 7
221
- # This cop supports safe autocorrection (--autocorrect).
222
- Style/ColonMethodCall:
223
- Exclude:
224
- - 'bin/erubix'
225
- - 'bin/makegrid'
226
- - 'lib/ykutils/gridlist.rb'
227
- - 'lib/ykutils/nginxconfig.rb'
228
- - 'spec/ykutils_spec.rb'
229
-
230
50
  # Offense count: 38
231
51
  # Configuration parameters: AllowedConstants.
232
52
  Style/Documentation:
233
53
  Enabled: false
234
54
 
235
- # Offense count: 1
236
- # This cop supports safe autocorrection (--autocorrect).
237
- Style/EachWithObject:
238
- Exclude:
239
- - 'spec/ykutils_spec.rb'
240
-
241
- # Offense count: 2
242
- # This cop supports safe autocorrection (--autocorrect).
243
- # Configuration parameters: EnforcedStyle, AllowComments.
244
- # SupportedStyles: empty, nil, both
245
- Style/EmptyElse:
246
- Exclude:
247
- - 'lib/ykutils/stringutils.rb'
248
-
249
55
  # Offense count: 26
250
56
  # This cop supports unsafe autocorrection (--autocorrect-all).
251
57
  # Configuration parameters: EnforcedStyle.
@@ -257,172 +63,4 @@ Style/FrozenStringLiteralComment:
257
63
  # Configuration parameters: AllowedVariables.
258
64
  Style/GlobalVars:
259
65
  Exclude:
260
- - 'lib/ykutils/nkfutil.rb'
261
-
262
- # Offense count: 6
263
- # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
264
- Style/GuardClause:
265
- Exclude:
266
- - 'lib/ykutils/fileoputils.rb'
267
- - 'lib/ykutils/lines.rb'
268
- - 'lib/ykutils/nkfutil.rb'
269
- - 'lib/ykutils/stext.rb'
270
- - 'lib/ykutils/yamlop.rb'
271
-
272
- # Offense count: 3
273
- # This cop supports safe autocorrection (--autocorrect).
274
- # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
275
- # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
276
- # SupportedShorthandSyntax: always, never, either, consistent
277
- Style/HashSyntax:
278
- Exclude:
279
- - 'lib/ykutils/gridlist.rb'
280
-
281
- # Offense count: 2
282
- # This cop supports safe autocorrection (--autocorrect).
283
- Style/IfUnlessModifier:
284
- Exclude:
285
- - 'lib/ykutils/erubyx.rb'
286
- - 'lib/ykutils/gridlist.rb'
287
-
288
- # Offense count: 1
289
- # This cop supports unsafe autocorrection (--autocorrect-all).
290
- # Configuration parameters: InverseMethods, InverseBlocks.
291
- Style/InverseMethods:
292
- Exclude:
293
- - 'lib/ykutils/specfileop.rb'
294
-
295
- # Offense count: 1
296
- # This cop supports unsafe autocorrection (--autocorrect-all).
297
- # Configuration parameters: EnforcedStyle.
298
- # SupportedStyles: literals, strict
299
- Style/MutableConstant:
300
- Exclude:
301
- - 'lib/ykutils/gridlist.rb'
302
-
303
- # Offense count: 2
304
- # This cop supports safe autocorrection (--autocorrect).
305
- # Configuration parameters: EnforcedStyle, MinBodyLength.
306
- # SupportedStyles: skip_modifier_ifs, always
307
- Style/Next:
308
- Exclude:
309
- - 'lib/ykutils/nginxconfig.rb'
310
- - 'lib/ykutils/nginxconfigfiles.rb'
311
-
312
- # Offense count: 6
313
- # This cop supports unsafe autocorrection (--autocorrect-all).
314
- # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns, IgnoredMethods.
315
- # SupportedStyles: predicate, comparison
316
- Style/NumericPredicate:
317
- Exclude:
318
- - 'spec/**/*'
319
- - 'lib/ykutils/specfileop.rb'
320
- - 'lib/ykutils/stext.rb'
321
- - 'lib/ykutils/yamlop.rb'
322
-
323
- # Offense count: 5
324
- # Configuration parameters: AllowedMethods.
325
- # AllowedMethods: respond_to_missing?
326
- Style/OptionalBooleanParameter:
327
- Exclude:
328
- - 'lib/ykutils/debugutils.rb'
329
- - 'lib/ykutils/lsutils.rb'
330
- - 'lib/ykutils/stext.rb'
331
- - 'lib/ykutils/stextx.rb'
332
- - 'lib/ykutils/yamlop.rb'
333
-
334
- # Offense count: 1
335
- # This cop supports safe autocorrection (--autocorrect).
336
- # Configuration parameters: PreferredDelimiters.
337
- Style/PercentLiteralDelimiters:
338
- Exclude:
339
- - 'lib/ykutils/gridlist.rb'
340
-
341
- # Offense count: 1
342
- # This cop supports unsafe autocorrection (--autocorrect-all).
343
- # Configuration parameters: Methods.
344
- Style/RedundantArgument:
345
- Exclude:
346
- - 'lib/ykutils/pathop.rb'
347
-
348
- # Offense count: 2
349
- # This cop supports unsafe autocorrection (--autocorrect-all).
350
- # Configuration parameters: AllowComments.
351
- Style/RedundantInitialize:
352
- Exclude:
353
- - 'lib/ykutils/lsutils.rb'
354
- - 'lib/ykutils/stext.rb'
355
-
356
- # Offense count: 1
357
- # This cop supports safe autocorrection (--autocorrect).
358
- Style/RedundantParentheses:
359
- Exclude:
360
- - 'lib/ykutils/debugutils.rb'
361
-
362
- # Offense count: 1
363
- # This cop supports safe autocorrection (--autocorrect).
364
- # Configuration parameters: EnforcedStyle.
365
- # SupportedStyles: implicit, explicit
366
- Style/RescueStandardError:
367
- Exclude:
368
- - 'lib/ykutils/nkfutil19.rb'
369
-
370
- # Offense count: 6
371
- # This cop supports unsafe autocorrection (--autocorrect-all).
372
- # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
373
- # AllowedMethods: present?, blank?, presence, try, try!
374
- Style/SafeNavigation:
375
- Exclude:
376
- - 'lib/ykutils/fileoputils.rb'
377
- - 'lib/ykutils/stext.rb'
378
- - 'lib/ykutils/treemanager.rb'
379
-
380
- # Offense count: 1
381
- # This cop supports unsafe autocorrection (--autocorrect-all).
382
- Style/SelectByRegexp:
383
- Exclude:
384
- - 'lib/ykutils/yamlop.rb'
385
-
386
- # Offense count: 1
387
- # This cop supports unsafe autocorrection (--autocorrect-all).
388
- Style/SlicingWithRange:
389
- Exclude:
390
- - 'lib/ykutils/fileoputils.rb'
391
-
392
- # Offense count: 4
393
- # This cop supports unsafe autocorrection (--autocorrect-all).
394
- # Configuration parameters: Mode.
395
- Style/StringConcatenation:
396
- Exclude:
397
- - 'lib/ykutils.rb'
398
- - 'lib/ykutils/stext.rb'
399
- - 'lib/ykutils/stringutils.rb'
400
- - 'lib/ykutils/yamlop.rb'
401
-
402
- # Offense count: 7
403
- # This cop supports safe autocorrection (--autocorrect).
404
- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
405
- # SupportedStyles: single_quotes, double_quotes
406
- Style/StringLiterals:
407
- Exclude:
408
- - 'bin/erubix2'
409
- - 'lib/ykutils.rb'
410
- - 'lib/ykutils/erubyx.rb'
411
- - 'lib/ykutils/gridlist.rb'
412
- - 'lib/ykutils/nginxconfigfiles.rb'
413
-
414
- # Offense count: 2
415
- # This cop supports unsafe autocorrection (--autocorrect-all).
416
- # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowComments.
417
- # AllowedMethods: respond_to, define_method
418
- Style/SymbolProc:
419
- Exclude:
420
- - 'lib/ykutils/stext.rb'
421
- - 'lib/ykutils/yamlop.rb'
422
-
423
- # Offense count: 4
424
- # This cop supports unsafe autocorrection (--autocorrect-all).
425
- Style/ZeroLengthPredicate:
426
- Exclude:
427
- - 'lib/ykutils/specfileop.rb'
428
- - 'lib/ykutils/stext.rb'
66
+ # - 'lib/ykutils/nkfutil.rb'
data/Gemfile CHANGED
@@ -7,17 +7,16 @@ gemspec
7
7
 
8
8
  gem "erubi"
9
9
  gem "filex"
10
- gem "rake", "~> 13.0"
11
- gem "rspec", "~> 3.0"
12
- gem "rubocop", "~> 1.21"
13
- gem "rubocop-rake"
14
- gem "rubocop-rspec"
10
+ gem "rake", "~> 13.2"
15
11
  gem "tilt"
16
12
 
17
13
  group :development, optional: true do
18
14
  gem "yard"
19
15
  end
20
16
 
21
- # group :test, optional: true do
22
- #
23
- # end
17
+ group :test, optional: true do
18
+ gem "rspec", "~> 3.13"
19
+ gem "rubocop", "~> 1.50"
20
+ gem "rubocop-rake"
21
+ gem "rubocop-rspec"
22
+ end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ykutils (0.1.7)
4
+ ykutils (0.1.8)
5
5
  erubi
6
6
  filex
7
7
  tilt
@@ -10,67 +10,77 @@ GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
12
  ast (2.4.2)
13
- diff-lcs (1.5.0)
14
- erubi (1.11.0)
13
+ diff-lcs (1.5.1)
14
+ erubi (1.12.0)
15
15
  erubis (2.7.0)
16
16
  filex (0.1.7)
17
17
  erubis
18
18
  messagex
19
- json (2.6.2)
19
+ json (2.7.1)
20
+ language_server-protocol (3.17.0.3)
20
21
  messagex (0.1.5)
21
- parallel (1.22.1)
22
- parser (3.1.2.1)
22
+ parallel (1.24.0)
23
+ parser (3.3.0.2)
23
24
  ast (~> 2.4.1)
25
+ racc
26
+ racc (1.7.3)
24
27
  rainbow (3.1.1)
25
- rake (13.0.6)
26
- regexp_parser (2.5.0)
27
- rexml (3.2.5)
28
- rspec (3.11.0)
29
- rspec-core (~> 3.11.0)
30
- rspec-expectations (~> 3.11.0)
31
- rspec-mocks (~> 3.11.0)
32
- rspec-core (3.11.0)
33
- rspec-support (~> 3.11.0)
34
- rspec-expectations (3.11.0)
28
+ rake (13.2.1)
29
+ regexp_parser (2.8.3)
30
+ rexml (3.2.8)
31
+ strscan (>= 3.0.9)
32
+ rspec (3.13.0)
33
+ rspec-core (~> 3.13.0)
34
+ rspec-expectations (~> 3.13.0)
35
+ rspec-mocks (~> 3.13.0)
36
+ rspec-core (3.13.0)
37
+ rspec-support (~> 3.13.0)
38
+ rspec-expectations (3.13.0)
35
39
  diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.11.0)
37
- rspec-mocks (3.11.1)
40
+ rspec-support (~> 3.13.0)
41
+ rspec-mocks (3.13.0)
38
42
  diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.11.0)
40
- rspec-support (3.11.0)
41
- rubocop (1.36.0)
43
+ rspec-support (~> 3.13.0)
44
+ rspec-support (3.13.0)
45
+ rubocop (1.59.0)
42
46
  json (~> 2.3)
47
+ language_server-protocol (>= 3.17.0)
43
48
  parallel (~> 1.10)
44
- parser (>= 3.1.2.1)
49
+ parser (>= 3.2.2.4)
45
50
  rainbow (>= 2.2.2, < 4.0)
46
51
  regexp_parser (>= 1.8, < 3.0)
47
52
  rexml (>= 3.2.5, < 4.0)
48
- rubocop-ast (>= 1.20.1, < 2.0)
53
+ rubocop-ast (>= 1.30.0, < 2.0)
49
54
  ruby-progressbar (~> 1.7)
50
- unicode-display_width (>= 1.4.0, < 3.0)
51
- rubocop-ast (1.21.0)
52
- parser (>= 3.1.1.0)
55
+ unicode-display_width (>= 2.4.0, < 3.0)
56
+ rubocop-ast (1.30.0)
57
+ parser (>= 3.2.1.0)
58
+ rubocop-capybara (2.20.0)
59
+ rubocop (~> 1.41)
60
+ rubocop-factory_bot (2.25.0)
61
+ rubocop (~> 1.33)
53
62
  rubocop-rake (0.6.0)
54
63
  rubocop (~> 1.0)
55
- rubocop-rspec (2.12.1)
56
- rubocop (~> 1.31)
57
- ruby-progressbar (1.11.0)
58
- tilt (2.0.11)
59
- unicode-display_width (2.2.0)
60
- webrick (1.7.0)
61
- yard (0.9.28)
62
- webrick (~> 1.7.0)
64
+ rubocop-rspec (2.26.1)
65
+ rubocop (~> 1.40)
66
+ rubocop-capybara (~> 2.17)
67
+ rubocop-factory_bot (~> 2.22)
68
+ ruby-progressbar (1.13.0)
69
+ strscan (3.1.0)
70
+ tilt (2.3.0)
71
+ unicode-display_width (2.5.0)
72
+ yard (0.9.36)
63
73
 
64
74
  PLATFORMS
65
- x64-mingw32
75
+ ruby
66
76
  x86_64-linux
67
77
 
68
78
  DEPENDENCIES
69
79
  erubi
70
80
  filex
71
- rake (~> 13.0)
72
- rspec (~> 3.0)
73
- rubocop (~> 1.21)
81
+ rake (~> 13.2)
82
+ rspec (~> 3.13)
83
+ rubocop (~> 1.50)
74
84
  rubocop-rake
75
85
  rubocop-rspec
76
86
  tilt
@@ -78,4 +88,4 @@ DEPENDENCIES
78
88
  ykutils!
79
89
 
80
90
  BUNDLED WITH
81
- 2.3.9
91
+ 2.5.3
data/Rakefile CHANGED
@@ -1,12 +1,29 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "bundler/gem_tasks"
4
- require "rspec/core/rake_task"
5
4
 
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- require "rubocop/rake_task"
9
-
10
- RuboCop::RakeTask.new
11
-
12
- task default: %i[spec rubocop]
5
+ begin
6
+ require "rspec/core/rake_task"
7
+ rescue LoadError => e
8
+ puts e.message
9
+ end
10
+ begin
11
+ RSpec::Core::RakeTask.new(:spec)
12
+ rescue NameError, LoadError => e
13
+ puts e.message
14
+ end
15
+ begin
16
+ require "rubocop/rake_task"
17
+ rescue LoadError => e
18
+ puts e.message
19
+ end
20
+ begin
21
+ RuboCop::RakeTask.new
22
+ rescue NameError, LoadError => e
23
+ puts e.message
24
+ end
25
+ begin
26
+ task default: %i[spec rubocop]
27
+ rescue LoadError => e
28
+ puts e.message
29
+ end