na 1.2.74 → 1.2.75
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 +4 -4
- data/.rubocop.yml +4 -0
- data/.rubocop_todo.yml +623 -0
- data/.travis.yml +1 -1
- data/CHANGELOG.md +21 -8
- data/Gemfile +25 -1
- data/Gemfile.lock +132 -15
- data/README.md +2 -2
- data/Rakefile +147 -32
- data/bin/commands/find.rb +67 -67
- data/bin/commands/next.rb +85 -85
- data/bin/commands/tagged.rb +60 -60
- data/docker/Dockerfile +10 -0
- data/docker/Dockerfile-2.6 +11 -0
- data/docker/Dockerfile-2.7 +11 -0
- data/docker/Dockerfile-3.0 +11 -0
- data/docker/Dockerfile-3.3 +12 -0
- data/docker/bash_profile +17 -0
- data/docker/inputrc +57 -0
- data/docker/sources.list +11 -0
- data/lib/na/actions.rb +48 -46
- data/lib/na/next_action.rb +1 -1
- data/lib/na/version.rb +1 -1
- data/na.gemspec +1 -3
- data/scripts/generate-fish-completions.rb +170 -0
- data/scripts/runtests.sh +5 -0
- data/src/_README.md +1 -1
- metadata +35 -51
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60c130a4627ba88391063defb0657065187dce30063606afbe188374924657eb
|
4
|
+
data.tar.gz: b3fa6e217ac70d08f1e9d43f8fd6c1d49e18ce987903f495d25eb339c5dd5e22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a809987215e9aaeb387ca3bdedc61dfce4a7e20141b2108e70f1986627098147c083461c443f04bc60f5d031bd0f18ab9e8dda355ac6e54cec54c9e627df2635
|
7
|
+
data.tar.gz: 672c81b6fbc512ee6a1ce723a506b70216cf98737af9e084c9cabe0acb500e876c01a5d32091d56d2ac024d66ada7d175e592972d0780776dc2d3c3d15bd47fe
|
data/.rubocop.yml
ADDED
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,623 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2025-03-17 11:03:34 UTC using RuboCop version 1.74.0.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 6
|
10
|
+
# This cop supports safe autocorrection (--autocorrect).
|
11
|
+
# Configuration parameters: Include.
|
12
|
+
# Include: **/*.gemspec
|
13
|
+
Gemspec/AddRuntimeDependency:
|
14
|
+
Exclude:
|
15
|
+
- 'na.gemspec'
|
16
|
+
|
17
|
+
# Offense count: 2
|
18
|
+
# Configuration parameters: EnforcedStyle, AllowedGems, Include.
|
19
|
+
# SupportedStyles: Gemfile, gems.rb, gemspec
|
20
|
+
# Include: **/*.gemspec, **/Gemfile, **/gems.rb
|
21
|
+
Gemspec/DevelopmentDependencies:
|
22
|
+
Exclude:
|
23
|
+
- 'na.gemspec'
|
24
|
+
|
25
|
+
# Offense count: 1
|
26
|
+
# This cop supports safe autocorrection (--autocorrect).
|
27
|
+
# Configuration parameters: Severity, Include.
|
28
|
+
# Include: **/*.gemspec
|
29
|
+
Gemspec/RequireMFA:
|
30
|
+
Exclude:
|
31
|
+
- 'na.gemspec'
|
32
|
+
|
33
|
+
# Offense count: 1
|
34
|
+
# Configuration parameters: Severity, Include.
|
35
|
+
# Include: **/*.gemspec
|
36
|
+
Gemspec/RequiredRubyVersion:
|
37
|
+
Exclude:
|
38
|
+
- 'na.gemspec'
|
39
|
+
|
40
|
+
# Offense count: 1
|
41
|
+
# This cop supports safe autocorrection (--autocorrect).
|
42
|
+
# Configuration parameters: EnforcedStyleAlignWith.
|
43
|
+
# SupportedStylesAlignWith: either, start_of_block, start_of_line
|
44
|
+
Layout/BlockAlignment:
|
45
|
+
Exclude:
|
46
|
+
- 'lib/na/colors.rb'
|
47
|
+
|
48
|
+
# Offense count: 1
|
49
|
+
# This cop supports safe autocorrection (--autocorrect).
|
50
|
+
Layout/ConditionPosition:
|
51
|
+
Exclude:
|
52
|
+
- 'bin/commands/init.rb'
|
53
|
+
|
54
|
+
# Offense count: 12
|
55
|
+
# This cop supports safe autocorrection (--autocorrect).
|
56
|
+
Layout/ElseAlignment:
|
57
|
+
Exclude:
|
58
|
+
- 'bin/commands/add.rb'
|
59
|
+
- 'bin/commands/find.rb'
|
60
|
+
- 'bin/commands/next.rb'
|
61
|
+
- 'bin/commands/tagged.rb'
|
62
|
+
- 'lib/na/actions.rb'
|
63
|
+
|
64
|
+
# Offense count: 2
|
65
|
+
# This cop supports safe autocorrection (--autocorrect).
|
66
|
+
Layout/EmptyLineAfterGuardClause:
|
67
|
+
Exclude:
|
68
|
+
- 'lib/na/next_action.rb'
|
69
|
+
- 'lib/na/string.rb'
|
70
|
+
|
71
|
+
# Offense count: 1
|
72
|
+
# This cop supports safe autocorrection (--autocorrect).
|
73
|
+
Layout/EmptyLinesAroundMethodBody:
|
74
|
+
Exclude:
|
75
|
+
- 'lib/na/next_action.rb'
|
76
|
+
|
77
|
+
# Offense count: 12
|
78
|
+
# This cop supports safe autocorrection (--autocorrect).
|
79
|
+
# Configuration parameters: EnforcedStyleAlignWith, Severity.
|
80
|
+
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
81
|
+
Layout/EndAlignment:
|
82
|
+
Exclude:
|
83
|
+
- 'bin/commands/add.rb'
|
84
|
+
- 'bin/commands/find.rb'
|
85
|
+
- 'bin/commands/next.rb'
|
86
|
+
- 'bin/commands/tagged.rb'
|
87
|
+
- 'lib/na/actions.rb'
|
88
|
+
|
89
|
+
# Offense count: 1
|
90
|
+
# This cop supports safe autocorrection (--autocorrect).
|
91
|
+
Layout/HeredocIndentation:
|
92
|
+
Exclude:
|
93
|
+
- 'lib/na/action.rb'
|
94
|
+
|
95
|
+
# Offense count: 1
|
96
|
+
# This cop supports safe autocorrection (--autocorrect).
|
97
|
+
# Configuration parameters: EnforcedStyle.
|
98
|
+
# SupportedStyles: normal, indented_internal_methods
|
99
|
+
Layout/IndentationConsistency:
|
100
|
+
Exclude:
|
101
|
+
- 'lib/na/hash.rb'
|
102
|
+
|
103
|
+
# Offense count: 4
|
104
|
+
# This cop supports safe autocorrection (--autocorrect).
|
105
|
+
# Configuration parameters: IndentationWidth, EnforcedStyle.
|
106
|
+
# SupportedStyles: spaces, tabs
|
107
|
+
Layout/IndentationStyle:
|
108
|
+
Exclude:
|
109
|
+
- 'lib/na/hash.rb'
|
110
|
+
|
111
|
+
# Offense count: 14
|
112
|
+
# This cop supports safe autocorrection (--autocorrect).
|
113
|
+
# Configuration parameters: Width, AllowedPatterns.
|
114
|
+
Layout/IndentationWidth:
|
115
|
+
Exclude:
|
116
|
+
- 'bin/commands/add.rb'
|
117
|
+
- 'bin/commands/find.rb'
|
118
|
+
- 'bin/commands/next.rb'
|
119
|
+
- 'bin/commands/tagged.rb'
|
120
|
+
- 'lib/na/actions.rb'
|
121
|
+
- 'lib/na/hash.rb'
|
122
|
+
|
123
|
+
# Offense count: 2
|
124
|
+
# This cop supports safe autocorrection (--autocorrect).
|
125
|
+
Layout/SpaceAfterColon:
|
126
|
+
Exclude:
|
127
|
+
- 'lib/na/todo.rb'
|
128
|
+
|
129
|
+
# Offense count: 1
|
130
|
+
# This cop supports safe autocorrection (--autocorrect).
|
131
|
+
Layout/SpaceAfterComma:
|
132
|
+
Exclude:
|
133
|
+
- 'na.gemspec'
|
134
|
+
|
135
|
+
# Offense count: 1
|
136
|
+
# This cop supports safe autocorrection (--autocorrect).
|
137
|
+
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
|
138
|
+
# SupportedStylesForExponentOperator: space, no_space
|
139
|
+
# SupportedStylesForRationalLiterals: space, no_space
|
140
|
+
Layout/SpaceAroundOperators:
|
141
|
+
Exclude:
|
142
|
+
- 'na.gemspec'
|
143
|
+
|
144
|
+
# Offense count: 2
|
145
|
+
# This cop supports safe autocorrection (--autocorrect).
|
146
|
+
# Configuration parameters: EnforcedStyle.
|
147
|
+
# SupportedStyles: space, no_space
|
148
|
+
Layout/SpaceInsideStringInterpolation:
|
149
|
+
Exclude:
|
150
|
+
- 'bin/commands/completed.rb'
|
151
|
+
- 'lib/na/array.rb'
|
152
|
+
|
153
|
+
# Offense count: 1
|
154
|
+
# This cop supports safe autocorrection (--autocorrect).
|
155
|
+
Lint/AmbiguousOperatorPrecedence:
|
156
|
+
Exclude:
|
157
|
+
- 'lib/na/string.rb'
|
158
|
+
|
159
|
+
# Offense count: 1
|
160
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
161
|
+
# Configuration parameters: AllowSafeAssignment.
|
162
|
+
Lint/AssignmentInCondition:
|
163
|
+
Exclude:
|
164
|
+
- 'bin/commands/init.rb'
|
165
|
+
|
166
|
+
# Offense count: 3
|
167
|
+
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
|
168
|
+
Lint/DuplicateBranch:
|
169
|
+
Exclude:
|
170
|
+
- 'lib/na/action.rb'
|
171
|
+
- 'lib/na/colors.rb'
|
172
|
+
|
173
|
+
# Offense count: 1
|
174
|
+
# Configuration parameters: AllowComments, AllowEmptyLambdas.
|
175
|
+
Lint/EmptyBlock:
|
176
|
+
Exclude:
|
177
|
+
- 'Rakefile'
|
178
|
+
|
179
|
+
# Offense count: 1
|
180
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
181
|
+
Lint/IncompatibleIoSelectWithFiberScheduler:
|
182
|
+
Exclude:
|
183
|
+
- 'lib/na/pager.rb'
|
184
|
+
|
185
|
+
# Offense count: 1
|
186
|
+
# This cop supports safe autocorrection (--autocorrect).
|
187
|
+
Lint/RedundantStringCoercion:
|
188
|
+
Exclude:
|
189
|
+
- 'lib/na/string.rb'
|
190
|
+
|
191
|
+
# Offense count: 2
|
192
|
+
# This cop supports safe autocorrection (--autocorrect).
|
193
|
+
# Configuration parameters: AutoCorrect, IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
194
|
+
Lint/UnusedBlockArgument:
|
195
|
+
Exclude:
|
196
|
+
- 'bin/commands/edit.rb'
|
197
|
+
- 'bin/commands/tag.rb'
|
198
|
+
|
199
|
+
# Offense count: 4
|
200
|
+
# This cop supports safe autocorrection (--autocorrect).
|
201
|
+
# Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
|
202
|
+
# NotImplementedExceptions: NotImplementedError
|
203
|
+
Lint/UnusedMethodArgument:
|
204
|
+
Exclude:
|
205
|
+
- 'lib/na/help_monkey_patch.rb'
|
206
|
+
- 'lib/na/next_action.rb'
|
207
|
+
- 'lib/na/string.rb'
|
208
|
+
|
209
|
+
# Offense count: 1
|
210
|
+
# This cop supports safe autocorrection (--autocorrect).
|
211
|
+
# Configuration parameters: AutoCorrect.
|
212
|
+
Lint/UselessAssignment:
|
213
|
+
Exclude:
|
214
|
+
- 'na.gemspec'
|
215
|
+
|
216
|
+
# Offense count: 31
|
217
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
218
|
+
Metrics/AbcSize:
|
219
|
+
Max: 181
|
220
|
+
|
221
|
+
# Offense count: 31
|
222
|
+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
223
|
+
# AllowedMethods: refine
|
224
|
+
Metrics/BlockLength:
|
225
|
+
Max: 208
|
226
|
+
|
227
|
+
# Offense count: 12
|
228
|
+
# Configuration parameters: CountComments, CountAsOne.
|
229
|
+
Metrics/ClassLength:
|
230
|
+
Max: 711
|
231
|
+
|
232
|
+
# Offense count: 20
|
233
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
234
|
+
Metrics/CyclomaticComplexity:
|
235
|
+
Max: 51
|
236
|
+
|
237
|
+
# Offense count: 36
|
238
|
+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
239
|
+
Metrics/MethodLength:
|
240
|
+
Max: 122
|
241
|
+
|
242
|
+
# Offense count: 2
|
243
|
+
# Configuration parameters: CountComments, CountAsOne.
|
244
|
+
Metrics/ModuleLength:
|
245
|
+
Max: 713
|
246
|
+
|
247
|
+
# Offense count: 4
|
248
|
+
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
|
249
|
+
Metrics/ParameterLists:
|
250
|
+
Max: 19
|
251
|
+
|
252
|
+
# Offense count: 18
|
253
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
254
|
+
Metrics/PerceivedComplexity:
|
255
|
+
Max: 57
|
256
|
+
|
257
|
+
# Offense count: 1
|
258
|
+
Security/Eval:
|
259
|
+
Exclude:
|
260
|
+
- 'Rakefile'
|
261
|
+
|
262
|
+
# Offense count: 11
|
263
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
264
|
+
Security/IoMethods:
|
265
|
+
Exclude:
|
266
|
+
- 'Rakefile'
|
267
|
+
- 'bin/commands/undo.rb'
|
268
|
+
- 'lib/na/editor.rb'
|
269
|
+
- 'lib/na/next_action.rb'
|
270
|
+
- 'lib/na/string.rb'
|
271
|
+
- 'lib/na/theme.rb'
|
272
|
+
- 'scripts/fixreadme.rb'
|
273
|
+
|
274
|
+
# Offense count: 1
|
275
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
276
|
+
Security/YAMLLoad:
|
277
|
+
Exclude:
|
278
|
+
- 'lib/na/theme.rb'
|
279
|
+
|
280
|
+
# Offense count: 4
|
281
|
+
# This cop supports safe autocorrection (--autocorrect).
|
282
|
+
# Configuration parameters: AllowOnConstant, AllowOnSelfClass.
|
283
|
+
Style/CaseEquality:
|
284
|
+
Exclude:
|
285
|
+
- 'lib/na/hash.rb'
|
286
|
+
|
287
|
+
# Offense count: 4
|
288
|
+
# This cop supports safe autocorrection (--autocorrect).
|
289
|
+
Style/ComparableBetween:
|
290
|
+
Exclude:
|
291
|
+
- 'lib/na/colors.rb'
|
292
|
+
|
293
|
+
# Offense count: 1
|
294
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
295
|
+
Style/ConcatArrayLiterals:
|
296
|
+
Exclude:
|
297
|
+
- 'bin/commands/next.rb'
|
298
|
+
|
299
|
+
# Offense count: 5
|
300
|
+
# This cop supports safe autocorrection (--autocorrect).
|
301
|
+
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
302
|
+
# SupportedStyles: assign_to_condition, assign_inside_condition
|
303
|
+
Style/ConditionalAssignment:
|
304
|
+
Exclude:
|
305
|
+
- 'bin/commands/add.rb'
|
306
|
+
- 'bin/commands/completed.rb'
|
307
|
+
- 'lib/na/editor.rb'
|
308
|
+
- 'lib/na/next_action.rb'
|
309
|
+
|
310
|
+
# Offense count: 27
|
311
|
+
# Configuration parameters: AllowedConstants.
|
312
|
+
Style/Documentation:
|
313
|
+
Enabled: false
|
314
|
+
|
315
|
+
# Offense count: 2
|
316
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
317
|
+
Style/EnvHome:
|
318
|
+
Exclude:
|
319
|
+
- 'lib/na/action.rb'
|
320
|
+
- 'lib/na/string.rb'
|
321
|
+
|
322
|
+
# Offense count: 11
|
323
|
+
# This cop supports safe autocorrection (--autocorrect).
|
324
|
+
# Configuration parameters: AllowedVars.
|
325
|
+
Style/FetchEnvVar:
|
326
|
+
Exclude:
|
327
|
+
- 'bin/commands/changes.rb'
|
328
|
+
- 'bin/commands/prompt.rb'
|
329
|
+
- 'bin/na'
|
330
|
+
- 'lib/na/action.rb'
|
331
|
+
- 'lib/na/editor.rb'
|
332
|
+
- 'lib/na/pager.rb'
|
333
|
+
- 'lib/na/string.rb'
|
334
|
+
|
335
|
+
# Offense count: 6
|
336
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
337
|
+
# Configuration parameters: EnforcedStyle.
|
338
|
+
# SupportedStyles: always, always_true, never
|
339
|
+
Style/FrozenStringLiteralComment:
|
340
|
+
Exclude:
|
341
|
+
- '**/*.arb'
|
342
|
+
- 'Rakefile'
|
343
|
+
- 'lib/na/editor.rb'
|
344
|
+
- 'lib/na/version.rb'
|
345
|
+
- 'na.gemspec'
|
346
|
+
- 'test/default_test.rb'
|
347
|
+
- 'test/test_helper.rb'
|
348
|
+
|
349
|
+
# Offense count: 5
|
350
|
+
# This cop supports safe autocorrection (--autocorrect).
|
351
|
+
Style/IfUnlessModifier:
|
352
|
+
Exclude:
|
353
|
+
- 'bin/commands/add.rb'
|
354
|
+
- 'bin/commands/edit.rb'
|
355
|
+
- 'bin/commands/move.rb'
|
356
|
+
- 'bin/commands/update.rb'
|
357
|
+
- 'lib/na/next_action.rb'
|
358
|
+
|
359
|
+
# Offense count: 1
|
360
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
361
|
+
Style/MapIntoArray:
|
362
|
+
Exclude:
|
363
|
+
- 'lib/na/colors.rb'
|
364
|
+
|
365
|
+
# Offense count: 1
|
366
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
367
|
+
# Configuration parameters: EnforcedStyle, Autocorrect.
|
368
|
+
# SupportedStyles: module_function, extend_self, forbidden
|
369
|
+
Style/ModuleFunction:
|
370
|
+
Exclude:
|
371
|
+
- 'lib/na/colors.rb'
|
372
|
+
|
373
|
+
# Offense count: 3
|
374
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
375
|
+
# Configuration parameters: EnforcedStyle.
|
376
|
+
# SupportedStyles: literals, strict
|
377
|
+
Style/MutableConstant:
|
378
|
+
Exclude:
|
379
|
+
- 'lib/na/colors.rb'
|
380
|
+
- 'lib/na/version.rb'
|
381
|
+
|
382
|
+
# Offense count: 1
|
383
|
+
# This cop supports safe autocorrection (--autocorrect).
|
384
|
+
# Configuration parameters: EnforcedStyle.
|
385
|
+
# SupportedStyles: both, prefix, postfix
|
386
|
+
Style/NegatedIf:
|
387
|
+
Exclude:
|
388
|
+
- 'lib/na/next_action.rb'
|
389
|
+
|
390
|
+
# Offense count: 2
|
391
|
+
# This cop supports safe autocorrection (--autocorrect).
|
392
|
+
Style/NestedTernaryOperator:
|
393
|
+
Exclude:
|
394
|
+
- 'lib/na/hash.rb'
|
395
|
+
|
396
|
+
# Offense count: 1
|
397
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
398
|
+
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
|
399
|
+
# SupportedStyles: predicate, comparison
|
400
|
+
Style/NumericPredicate:
|
401
|
+
Exclude:
|
402
|
+
- 'spec/**/*'
|
403
|
+
- 'lib/na/editor.rb'
|
404
|
+
|
405
|
+
# Offense count: 1
|
406
|
+
# This cop supports safe autocorrection (--autocorrect).
|
407
|
+
Style/OperatorMethodCall:
|
408
|
+
Exclude:
|
409
|
+
- 'bin/commands/add.rb'
|
410
|
+
|
411
|
+
# Offense count: 5
|
412
|
+
# This cop supports safe autocorrection (--autocorrect).
|
413
|
+
# Configuration parameters: PreferredDelimiters.
|
414
|
+
Style/PercentLiteralDelimiters:
|
415
|
+
Exclude:
|
416
|
+
- 'bin/commands/completed.rb'
|
417
|
+
- 'bin/commands/find.rb'
|
418
|
+
- 'bin/na'
|
419
|
+
|
420
|
+
# Offense count: 1
|
421
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
422
|
+
# Configuration parameters: EnforcedStyle, AllowedCompactTypes.
|
423
|
+
# SupportedStyles: compact, exploded
|
424
|
+
Style/RaiseArgs:
|
425
|
+
Exclude:
|
426
|
+
- 'Rakefile'
|
427
|
+
|
428
|
+
# Offense count: 11
|
429
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
430
|
+
# Configuration parameters: Methods.
|
431
|
+
Style/RedundantArgument:
|
432
|
+
Exclude:
|
433
|
+
- 'bin/commands/find.rb'
|
434
|
+
- 'bin/commands/next.rb'
|
435
|
+
- 'bin/commands/tagged.rb'
|
436
|
+
- 'lib/na/colors.rb'
|
437
|
+
- 'lib/na/next_action.rb'
|
438
|
+
- 'lib/na/string.rb'
|
439
|
+
|
440
|
+
# Offense count: 1
|
441
|
+
# This cop supports safe autocorrection (--autocorrect).
|
442
|
+
Style/RedundantFileExtensionInRequire:
|
443
|
+
Exclude:
|
444
|
+
- 'na.gemspec'
|
445
|
+
|
446
|
+
# Offense count: 1
|
447
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
448
|
+
Style/RedundantInterpolation:
|
449
|
+
Exclude:
|
450
|
+
- 'bin/commands/next.rb'
|
451
|
+
|
452
|
+
# Offense count: 38
|
453
|
+
# This cop supports safe autocorrection (--autocorrect).
|
454
|
+
Style/RedundantRegexpArgument:
|
455
|
+
Exclude:
|
456
|
+
- 'bin/commands/next.rb'
|
457
|
+
- 'bin/commands/undo.rb'
|
458
|
+
- 'lib/na/action.rb'
|
459
|
+
- 'lib/na/colors.rb'
|
460
|
+
- 'lib/na/editor.rb'
|
461
|
+
- 'lib/na/next_action.rb'
|
462
|
+
- 'lib/na/string.rb'
|
463
|
+
- 'lib/na/todo.rb'
|
464
|
+
|
465
|
+
# Offense count: 2
|
466
|
+
# This cop supports safe autocorrection (--autocorrect).
|
467
|
+
Style/RedundantRegexpEscape:
|
468
|
+
Exclude:
|
469
|
+
- 'scripts/fixreadme.rb'
|
470
|
+
|
471
|
+
# Offense count: 2
|
472
|
+
# This cop supports safe autocorrection (--autocorrect).
|
473
|
+
Style/RedundantStringEscape:
|
474
|
+
Exclude:
|
475
|
+
- 'lib/na/next_action.rb'
|
476
|
+
|
477
|
+
# Offense count: 12
|
478
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
479
|
+
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
480
|
+
# AllowedMethods: present?, blank?, presence, try, try!
|
481
|
+
Style/SafeNavigation:
|
482
|
+
Exclude:
|
483
|
+
- 'bin/commands/edit.rb'
|
484
|
+
- 'bin/commands/move.rb'
|
485
|
+
- 'bin/commands/tag.rb'
|
486
|
+
- 'bin/commands/update.rb'
|
487
|
+
- 'bin/na'
|
488
|
+
- 'lib/na/actions.rb'
|
489
|
+
- 'lib/na/next_action.rb'
|
490
|
+
|
491
|
+
# Offense count: 1
|
492
|
+
# Configuration parameters: Max.
|
493
|
+
Style/SafeNavigationChainLength:
|
494
|
+
Exclude:
|
495
|
+
- 'lib/na/next_action.rb'
|
496
|
+
|
497
|
+
# Offense count: 1
|
498
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
499
|
+
Style/SlicingWithRange:
|
500
|
+
Exclude:
|
501
|
+
- 'lib/na/editor.rb'
|
502
|
+
|
503
|
+
# Offense count: 1
|
504
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
505
|
+
# Configuration parameters: RequireEnglish, EnforcedStyle.
|
506
|
+
# SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
|
507
|
+
Style/SpecialGlobalVars:
|
508
|
+
Exclude:
|
509
|
+
- 'lib/na/editor.rb'
|
510
|
+
|
511
|
+
# Offense count: 2
|
512
|
+
# This cop supports safe autocorrection (--autocorrect).
|
513
|
+
Style/StderrPuts:
|
514
|
+
Exclude:
|
515
|
+
- 'lib/na/next_action.rb'
|
516
|
+
|
517
|
+
# Offense count: 4
|
518
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
519
|
+
Style/StringChars:
|
520
|
+
Exclude:
|
521
|
+
- 'lib/na/colors.rb'
|
522
|
+
- 'lib/na/string.rb'
|
523
|
+
|
524
|
+
# Offense count: 1
|
525
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
526
|
+
# Configuration parameters: Mode.
|
527
|
+
Style/StringConcatenation:
|
528
|
+
Exclude:
|
529
|
+
- 'lib/na/string.rb'
|
530
|
+
|
531
|
+
# Offense count: 366
|
532
|
+
# This cop supports safe autocorrection (--autocorrect).
|
533
|
+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
534
|
+
# SupportedStyles: single_quotes, double_quotes
|
535
|
+
Style/StringLiterals:
|
536
|
+
Exclude:
|
537
|
+
- 'Gemfile'
|
538
|
+
- 'Rakefile'
|
539
|
+
- 'bin/commands/add.rb'
|
540
|
+
- 'bin/commands/find.rb'
|
541
|
+
- 'bin/commands/next.rb'
|
542
|
+
- 'bin/commands/tagged.rb'
|
543
|
+
- 'lib/na/actions.rb'
|
544
|
+
- 'lib/na/editor.rb'
|
545
|
+
- 'lib/na/project.rb'
|
546
|
+
- 'lib/na/string.rb'
|
547
|
+
- 'test/default_test.rb'
|
548
|
+
- 'test/test_helper.rb'
|
549
|
+
|
550
|
+
# Offense count: 16
|
551
|
+
# This cop supports safe autocorrection (--autocorrect).
|
552
|
+
# Configuration parameters: EnforcedStyle.
|
553
|
+
# SupportedStyles: single_quotes, double_quotes
|
554
|
+
Style/StringLiteralsInInterpolation:
|
555
|
+
Exclude:
|
556
|
+
- 'bin/commands/add.rb'
|
557
|
+
- 'bin/commands/find.rb'
|
558
|
+
- 'bin/commands/next.rb'
|
559
|
+
- 'lib/na/actions.rb'
|
560
|
+
|
561
|
+
# Offense count: 1
|
562
|
+
# This cop supports safe autocorrection (--autocorrect).
|
563
|
+
Style/SuperArguments:
|
564
|
+
Exclude:
|
565
|
+
- 'Rakefile'
|
566
|
+
|
567
|
+
# Offense count: 2
|
568
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
569
|
+
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
|
570
|
+
# AllowedMethods: define_method
|
571
|
+
Style/SymbolProc:
|
572
|
+
Exclude:
|
573
|
+
- 'lib/na/next_action.rb'
|
574
|
+
|
575
|
+
# Offense count: 1
|
576
|
+
# This cop supports safe autocorrection (--autocorrect).
|
577
|
+
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
|
578
|
+
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
|
579
|
+
Style/TernaryParentheses:
|
580
|
+
Exclude:
|
581
|
+
- 'bin/commands/todos.rb'
|
582
|
+
|
583
|
+
# Offense count: 2
|
584
|
+
# This cop supports safe autocorrection (--autocorrect).
|
585
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
586
|
+
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
|
587
|
+
Style/TrailingCommaInArrayLiteral:
|
588
|
+
Exclude:
|
589
|
+
- 'bin/commands/find.rb'
|
590
|
+
- 'bin/commands/next.rb'
|
591
|
+
|
592
|
+
# Offense count: 12
|
593
|
+
# This cop supports safe autocorrection (--autocorrect).
|
594
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
595
|
+
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
|
596
|
+
Style/TrailingCommaInHashLiteral:
|
597
|
+
Exclude:
|
598
|
+
- 'bin/commands/add.rb'
|
599
|
+
- 'bin/commands/find.rb'
|
600
|
+
- 'bin/commands/next.rb'
|
601
|
+
- 'bin/commands/tagged.rb'
|
602
|
+
- 'lib/na/actions.rb'
|
603
|
+
|
604
|
+
# Offense count: 1
|
605
|
+
# This cop supports safe autocorrection (--autocorrect).
|
606
|
+
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
|
607
|
+
# AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
|
608
|
+
Style/TrivialAccessors:
|
609
|
+
Exclude:
|
610
|
+
- 'lib/na/pager.rb'
|
611
|
+
|
612
|
+
# Offense count: 1
|
613
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
614
|
+
Style/ZeroLengthPredicate:
|
615
|
+
Exclude:
|
616
|
+
- 'lib/na/next_action.rb'
|
617
|
+
|
618
|
+
# Offense count: 37
|
619
|
+
# This cop supports safe autocorrection (--autocorrect).
|
620
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
|
621
|
+
# URISchemes: http, https
|
622
|
+
Layout/LineLength:
|
623
|
+
Max: 176
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,28 @@
|
|
1
|
+
### 1.2.75
|
2
|
+
|
3
|
+
2025-03-17 07:47
|
4
|
+
|
5
|
+
#### NEW
|
6
|
+
|
7
|
+
- Script to generate fish completions
|
8
|
+
|
9
|
+
#### IMPROVED
|
10
|
+
|
11
|
+
- Code cleanup
|
12
|
+
|
13
|
+
#### FIXED
|
14
|
+
|
15
|
+
- Matching parenthetical notes at the end of a task entry was too greedy
|
16
|
+
- Matching parenthetical notes at the end of a task entry was too greedy - Error in concat for line notes
|
17
|
+
- Matching parenthetical notes at the end of a task entry was too greedy
|
18
|
+
- Matching parenthetical notes at the end of a task entry was too greedy - Error in concat for line notes - Failure on priority compare when priority is integer
|
19
|
+
|
1
20
|
### 1.2.74
|
2
21
|
|
3
22
|
2025-03-16 07:06
|
4
23
|
|
5
24
|
#### FIXED
|
6
25
|
|
7
|
-
- - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
8
|
-
- - - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy - Error in concat for line notes
|
9
|
-
- - - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
10
|
-
- - - - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy - Error in concat for line notes
|
11
26
|
- Failure on priority compare when priority is integer
|
12
27
|
|
13
28
|
### 1.2.73
|
@@ -16,10 +31,8 @@
|
|
16
31
|
|
17
32
|
#### FIXED
|
18
33
|
|
19
|
-
-
|
20
|
-
-
|
21
|
-
- - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
22
|
-
- - - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy - Error in concat for line notes
|
34
|
+
- Error in concat for line notes
|
35
|
+
- @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
23
36
|
|
24
37
|
### 1.2.72
|
25
38
|
|