net-ssh 8.0.4 → 8.1.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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGES.txt +10 -0
  4. data/lib/net/ssh/authentication/certificate.rb +2 -2
  5. data/lib/net/ssh/authentication/methods/abstract.rb +4 -0
  6. data/lib/net/ssh/authentication/methods/hostbased.rb +3 -3
  7. data/lib/net/ssh/authentication/methods/publickey.rb +50 -38
  8. data/lib/net/ssh/authentication/session.rb +2 -1
  9. data/lib/net/ssh/buffer.rb +2 -2
  10. data/lib/net/ssh/config.rb +95 -38
  11. data/lib/net/ssh/multiplex.rb +3 -2
  12. data/lib/net/ssh/prompt.rb +41 -3
  13. data/lib/net/ssh/transport/algorithms.rb +4 -1
  14. data/lib/net/ssh/transport/session.rb +20 -2
  15. data/lib/net/ssh/version.rb +2 -2
  16. data/lib/net/ssh.rb +17 -5
  17. data.tar.gz.sig +0 -0
  18. metadata +3 -31
  19. metadata.gz.sig +1 -1
  20. data/.dockerignore +0 -9
  21. data/.github/FUNDING.yml +0 -1
  22. data/.github/config/rubocop_linter_action.yml +0 -4
  23. data/.github/pull_request_template.md +0 -1
  24. data/.github/workflows/changelog.yml +0 -18
  25. data/.github/workflows/ci-with-docker.yml +0 -55
  26. data/.github/workflows/ci.yml +0 -84
  27. data/.github/workflows/rubocop.yml +0 -18
  28. data/.gitignore +0 -15
  29. data/.rubocop.yml +0 -26
  30. data/.rubocop_todo.yml +0 -1077
  31. data/CONTRIBUTING.md +0 -34
  32. data/DEVELOPMENT.md +0 -23
  33. data/Dockerfile +0 -32
  34. data/Dockerfile.openssl3 +0 -17
  35. data/Dockerfile.zlib_ng +0 -29
  36. data/Gemfile +0 -15
  37. data/ISSUE_TEMPLATE.md +0 -30
  38. data/Manifest +0 -132
  39. data/Rakefile +0 -214
  40. data/SECURITY.md +0 -4
  41. data/THANKS.txt +0 -110
  42. data/appveyor.yml +0 -46
  43. data/changelog.d/README.md +0 -1
  44. data/docker-compose.yml +0 -17
  45. data/net-ssh-public_cert.pem +0 -21
  46. data/net-ssh.gemspec +0 -45
  47. data/support/ssh_tunnel_bug.rb +0 -65
data/.rubocop_todo.yml DELETED
@@ -1,1077 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2022-04-29 12:31:14 UTC using RuboCop version 1.28.2.
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: 1
10
- # This cop supports safe auto-correction (--auto-correct).
11
- # Configuration parameters: Include.
12
- # Include: **/*.gemspec
13
- Gemspec/RequireMFA:
14
- Exclude:
15
- - 'net-ssh.gemspec'
16
-
17
- # Offense count: 1
18
- # This cop supports safe auto-correction (--auto-correct).
19
- # Configuration parameters: EnforcedStyle, IndentationWidth.
20
- # SupportedStyles: aligned, indented
21
- Layout/LineEndStringConcatenationIndentation:
22
- Exclude:
23
- - 'lib/net/ssh/transport/algorithms.rb'
24
-
25
- # Offense count: 7
26
- # This cop supports safe auto-correction (--auto-correct).
27
- # Configuration parameters: EnforcedStyle, IndentationWidth.
28
- # SupportedStyles: aligned, indented
29
- Layout/MultilineOperationIndentation:
30
- Exclude:
31
- - 'lib/net/ssh/authentication/pageant.rb'
32
- - 'lib/net/ssh/proxy/https.rb'
33
- - 'lib/net/ssh/transport/algorithms.rb'
34
- - 'lib/net/ssh/transport/state.rb'
35
-
36
- # Offense count: 5
37
- # This cop supports safe auto-correction (--auto-correct).
38
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
39
- # SupportedStyles: space, no_space
40
- # SupportedStylesForEmptyBraces: space, no_space
41
- Layout/SpaceInsideBlockBraces:
42
- Exclude:
43
- - 'lib/net/ssh/authentication/session.rb'
44
- - 'lib/net/ssh/transport/ctr.rb'
45
- - 'support/ssh_tunnel_bug.rb'
46
-
47
- # Offense count: 6
48
- # This cop supports safe auto-correction (--auto-correct).
49
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
50
- # SupportedStyles: space, no_space
51
- # SupportedStylesForEmptyBrackets: space, no_space
52
- Layout/SpaceInsideReferenceBrackets:
53
- Exclude:
54
- - 'lib/net/ssh/transport/algorithms.rb'
55
-
56
- # Offense count: 11
57
- # This cop supports safe auto-correction (--auto-correct).
58
- Lint/AmbiguousOperatorPrecedence:
59
- Exclude:
60
- - 'lib/net/ssh/authentication/certificate.rb'
61
- - 'lib/net/ssh/config.rb'
62
- - 'lib/net/ssh/loggable.rb'
63
- - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb'
64
- - 'lib/net/ssh/transport/openssl.rb'
65
- - 'lib/net/ssh/transport/state.rb'
66
- - 'lib/net/ssh/version.rb'
67
- - 'test/integration/test_proxy.rb'
68
-
69
- # Offense count: 4
70
- # Configuration parameters: AllowSafeAssignment.
71
- Lint/AssignmentInCondition:
72
- Exclude:
73
- - 'lib/net/ssh/connection/channel.rb'
74
- - 'lib/net/ssh/connection/session.rb'
75
- - 'lib/net/ssh/proxy/command.rb'
76
-
77
- # Offense count: 1
78
- # Configuration parameters: AllowedMethods.
79
- # AllowedMethods: enums
80
- Lint/ConstantDefinitionInBlock:
81
- Exclude:
82
- - 'test/transport/test_cipher_factory.rb'
83
-
84
- # Offense count: 1
85
- # This cop supports safe auto-correction (--auto-correct).
86
- Lint/DeprecatedClassMethods:
87
- Exclude:
88
- - 'lib/net/ssh/transport/packet_stream.rb'
89
-
90
- # Offense count: 12
91
- # This cop supports safe auto-correction (--auto-correct).
92
- Lint/DeprecatedOpenSSLConstant:
93
- Exclude:
94
- - 'lib/net/ssh/transport/openssl.rb'
95
-
96
- # Offense count: 2
97
- # Configuration parameters: AllowComments, AllowEmptyLambdas.
98
- Lint/EmptyBlock:
99
- Exclude:
100
- - 'test/common.rb'
101
- - 'test/start/test_transport.rb'
102
-
103
- # Offense count: 1
104
- # Configuration parameters: AllowComments.
105
- Lint/EmptyWhen:
106
- Exclude:
107
- - 'lib/net/ssh/config.rb'
108
-
109
- # Offense count: 72
110
- Lint/ImplicitStringConcatenation:
111
- Exclude:
112
- - 'lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb'
113
- - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
114
-
115
- # Offense count: 8
116
- # This cop supports safe auto-correction (--auto-correct).
117
- Lint/IncompatibleIoSelectWithFiberScheduler:
118
- Exclude:
119
- - 'lib/net/ssh/buffered_io.rb'
120
- - 'lib/net/ssh/proxy/command.rb'
121
- - 'lib/net/ssh/transport/packet_stream.rb'
122
- - 'lib/net/ssh/transport/server_version.rb'
123
-
124
- # Offense count: 2
125
- # This cop supports unsafe auto-correction (--auto-correct-all).
126
- Lint/Loop:
127
- Exclude:
128
- - 'lib/net/ssh/authentication/methods/password.rb'
129
- - 'lib/net/ssh/key_factory.rb'
130
-
131
- # Offense count: 3
132
- Lint/MissingSuper:
133
- Exclude:
134
- - 'lib/net/ssh/proxy/jump.rb'
135
- - 'test/common.rb'
136
- - 'test/integration/mitm_server.rb'
137
-
138
- # Offense count: 1
139
- Lint/NonLocalExitFromIterator:
140
- Exclude:
141
- - 'lib/net/ssh/known_hosts.rb'
142
-
143
- # Offense count: 2
144
- # This cop supports unsafe auto-correction (--auto-correct-all).
145
- Lint/OrAssignmentToConstant:
146
- Exclude:
147
- - 'lib/net/ssh/authentication/pageant.rb'
148
-
149
- # Offense count: 6
150
- # This cop supports unsafe auto-correction (--auto-correct-all).
151
- # Configuration parameters: AllowedImplicitNamespaces.
152
- # AllowedImplicitNamespaces: Gem
153
- Lint/RaiseException:
154
- Exclude:
155
- - 'Rakefile'
156
- - 'lib/net/ssh/buffer.rb'
157
- - 'lib/net/ssh/key_factory.rb'
158
-
159
- # Offense count: 1
160
- # This cop supports safe auto-correction (--auto-correct).
161
- Lint/RedundantCopDisableDirective:
162
- Exclude:
163
- - 'lib/net/ssh/key_factory.rb'
164
-
165
- # Offense count: 3
166
- Lint/RescueException:
167
- Exclude:
168
- - 'lib/net/ssh/authentication/key_manager.rb'
169
- - 'lib/net/ssh/service/forward.rb'
170
-
171
- # Offense count: 4
172
- # This cop supports safe auto-correction (--auto-correct).
173
- Lint/SendWithMixinArgument:
174
- Exclude:
175
- - 'lib/net/ssh/test/extensions.rb'
176
-
177
- # Offense count: 2
178
- Lint/ShadowedException:
179
- Exclude:
180
- - 'lib/net/ssh/authentication/key_manager.rb'
181
-
182
- # Offense count: 5
183
- # Configuration parameters: AllowComments, AllowNil.
184
- Lint/SuppressedException:
185
- Exclude:
186
- - 'lib/net/ssh/authentication/session.rb'
187
- - 'lib/net/ssh/transport/openssl.rb'
188
- - 'test/integration/common.rb'
189
- - 'test/integration/test_forward.rb'
190
-
191
- # Offense count: 1
192
- # Configuration parameters: AllowKeywordBlockArguments.
193
- Lint/UnderscorePrefixedVariableName:
194
- Exclude:
195
- - 'lib/net/ssh/test/local_packet.rb'
196
-
197
- # Offense count: 15
198
- # This cop supports safe auto-correction (--auto-correct).
199
- # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
200
- Lint/UnusedBlockArgument:
201
- Exclude:
202
- - 'lib/net/ssh/connection/keepalive.rb'
203
- - 'lib/net/ssh/connection/session.rb'
204
- - 'lib/net/ssh/service/forward.rb'
205
-
206
- # Offense count: 74
207
- # This cop supports safe auto-correction (--auto-correct).
208
- # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
209
- Lint/UnusedMethodArgument:
210
- Enabled: false
211
-
212
- # Offense count: 3
213
- # This cop supports safe auto-correction (--auto-correct).
214
- # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
215
- Lint/UselessAccessModifier:
216
- Exclude:
217
- - 'lib/net/ssh/buffered_io.rb'
218
- - 'lib/net/ssh/connection/channel.rb'
219
- - 'lib/net/ssh/transport/session.rb'
220
-
221
- # Offense count: 10
222
- Lint/UselessAssignment:
223
- Exclude:
224
- - 'lib/net/ssh/proxy/socks4.rb'
225
- - 'lib/net/ssh/proxy/socks5.rb'
226
- - 'test/integration/common.rb'
227
- - 'test/integration/test_forward.rb'
228
-
229
- # Offense count: 1
230
- # This cop supports unsafe auto-correction (--auto-correct-all).
231
- Lint/UselessTimes:
232
- Exclude:
233
- - 'test/integration/test_forward.rb'
234
-
235
- # Offense count: 205
236
- # Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
237
- Metrics/AbcSize:
238
- Max: 76
239
-
240
- # Offense count: 16
241
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
242
- # IgnoredMethods: refine
243
- Metrics/BlockLength:
244
- Max: 59
245
-
246
- # Offense count: 1
247
- # Configuration parameters: CountBlocks.
248
- Metrics/BlockNesting:
249
- Max: 4
250
-
251
- # Offense count: 33
252
- # Configuration parameters: CountComments, CountAsOne.
253
- Metrics/ClassLength:
254
- Max: 350
255
-
256
- # Offense count: 38
257
- # Configuration parameters: IgnoredMethods.
258
- Metrics/CyclomaticComplexity:
259
- Max: 32
260
-
261
- # Offense count: 232
262
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
263
- Metrics/MethodLength:
264
- Max: 72
265
-
266
- # Offense count: 3
267
- # Configuration parameters: CountComments, CountAsOne.
268
- Metrics/ModuleLength:
269
- Max: 160
270
-
271
- # Offense count: 2
272
- # Configuration parameters: Max, CountKeywordArgs.
273
- Metrics/ParameterLists:
274
- MaxOptionalParameters: 4
275
-
276
- # Offense count: 34
277
- # Configuration parameters: IgnoredMethods.
278
- Metrics/PerceivedComplexity:
279
- Max: 32
280
-
281
- # Offense count: 10
282
- Naming/AccessorMethodName:
283
- Exclude:
284
- - 'lib/net/ssh/authentication/methods/password.rb'
285
- - 'lib/net/ssh/authentication/pageant.rb'
286
- - 'lib/net/ssh/connection/channel.rb'
287
- - 'lib/net/ssh/connection/session.rb'
288
- - 'lib/net/ssh/transport/kex/abstract5656.rb'
289
- - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
290
- - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb'
291
-
292
- # Offense count: 2
293
- # This cop supports safe auto-correction (--auto-correct).
294
- Naming/BinaryOperatorParameterName:
295
- Exclude:
296
- - 'lib/net/ssh/buffer.rb'
297
- - 'lib/net/ssh/version.rb'
298
-
299
- # Offense count: 16
300
- # Configuration parameters: AllowedNames.
301
- # AllowedNames: module_parent
302
- Naming/ClassAndModuleCamelCase:
303
- Enabled: false
304
-
305
- # Offense count: 4
306
- Naming/ConstantName:
307
- Exclude:
308
- - 'lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb'
309
- - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
310
- - 'lib/net/ssh/transport/openssl.rb'
311
-
312
- # Offense count: 15
313
- # Configuration parameters: ForbiddenDelimiters.
314
- # ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
315
- Naming/HeredocDelimiterNaming:
316
- Exclude:
317
- - 'test/authentication/test_agent.rb'
318
- - 'test/authentication/test_certificate.rb'
319
- - 'test/authentication/test_ed25519.rb'
320
- - 'test/authentication/test_session.rb'
321
- - 'test/integration/test_agent.rb'
322
- - 'test/test_key_factory.rb'
323
-
324
- # Offense count: 5
325
- # Configuration parameters: EnforcedStyleForLeadingUnderscores.
326
- # SupportedStylesForLeadingUnderscores: disallowed, required, optional
327
- Naming/MemoizedInstanceVariableName:
328
- Exclude:
329
- - 'lib/net/ssh/transport/openssl.rb'
330
- - 'test/authentication/test_key_manager.rb'
331
-
332
- # Offense count: 32
333
- # Configuration parameters: EnforcedStyle, AllowedPatterns, IgnoredPatterns.
334
- # SupportedStyles: snake_case, camelCase
335
- Naming/MethodName:
336
- Exclude:
337
- - 'lib/net/ssh/authentication/ed25519_loader.rb'
338
- - 'lib/net/ssh/transport/chacha20_poly1305_cipher_loader.rb'
339
- - 'lib/net/ssh/transport/kex/curve25519_sha256_loader.rb'
340
- - 'test/authentication/test_agent.rb'
341
- - 'test/authentication/test_session.rb'
342
- - 'test/common.rb'
343
- - 'test/connection/test_channel.rb'
344
- - 'test/test_config.rb'
345
- - 'test/test_key_factory.rb'
346
-
347
- # Offense count: 23
348
- # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
349
- # AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
350
- Naming/MethodParameterName:
351
- Exclude:
352
- - 'lib/net/ssh/authentication/certificate.rb'
353
- - 'lib/net/ssh/authentication/ed25519.rb'
354
- - 'lib/net/ssh/authentication/key_manager.rb'
355
- - 'lib/net/ssh/authentication/pageant.rb'
356
- - 'lib/net/ssh/buffer.rb'
357
- - 'lib/net/ssh/buffered_io.rb'
358
- - 'lib/net/ssh/test/socket.rb'
359
- - 'lib/net/ssh/transport/ctr.rb'
360
- - 'lib/net/ssh/transport/hmac/abstract.rb'
361
- - 'lib/net/ssh/transport/identity_cipher.rb'
362
- - 'test/connection/test_session.rb'
363
-
364
- # Offense count: 4
365
- # This cop supports safe auto-correction (--auto-correct).
366
- # Configuration parameters: PreferredName.
367
- Naming/RescuedExceptionsVariableName:
368
- Exclude:
369
- - 'lib/net/ssh/connection/session.rb'
370
- - 'lib/net/ssh/service/forward.rb'
371
- - 'lib/net/ssh/verifiers/accept_new.rb'
372
-
373
- # Offense count: 5
374
- # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
375
- # SupportedStyles: snake_case, normalcase, non_integer
376
- # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
377
- Naming/VariableNumber:
378
- Exclude:
379
- - 'test/test_buffer.rb'
380
- - 'test/test_known_hosts.rb'
381
- - 'test/transport/test_identity_cipher.rb'
382
-
383
- # Offense count: 1
384
- # This cop supports unsafe auto-correction (--auto-correct-all).
385
- Security/IoMethods:
386
- Exclude:
387
- - 'lib/net/ssh/config.rb'
388
-
389
- # Offense count: 2
390
- # Configuration parameters: EnforcedStyle, AllowModifiersOnSymbols.
391
- # SupportedStyles: inline, group
392
- Style/AccessModifierDeclarations:
393
- Exclude:
394
- - 'lib/net/ssh/authentication/pageant.rb'
395
-
396
- # Offense count: 31
397
- # This cop supports safe auto-correction (--auto-correct).
398
- # Configuration parameters: EnforcedStyle.
399
- # SupportedStyles: separated, grouped
400
- Style/AccessorGrouping:
401
- Exclude:
402
- - 'lib/net/ssh/authentication/certificate.rb'
403
- - 'lib/net/ssh/transport/kex/abstract.rb'
404
- - 'test/common.rb'
405
- - 'test/connection/test_channel.rb'
406
- - 'test/integration/mitm_server.rb'
407
- - 'test/start/test_transport.rb'
408
-
409
- # Offense count: 2
410
- # This cop supports safe auto-correction (--auto-correct).
411
- # Configuration parameters: EnforcedStyle.
412
- # SupportedStyles: prefer_alias, prefer_alias_method
413
- Style/Alias:
414
- Exclude:
415
- - 'lib/net/ssh/connection/session.rb'
416
- - 'lib/net/ssh/service/forward.rb'
417
-
418
- # Offense count: 9
419
- # This cop supports safe auto-correction (--auto-correct).
420
- # Configuration parameters: EnforcedStyle.
421
- # SupportedStyles: always, conditionals
422
- Style/AndOr:
423
- Exclude:
424
- - 'lib/net/ssh/connection/channel.rb'
425
- - 'lib/net/ssh/connection/session.rb'
426
- - 'lib/net/ssh/service/forward.rb'
427
-
428
- # Offense count: 9
429
- # This cop supports safe auto-correction (--auto-correct).
430
- # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
431
- # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
432
- # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
433
- # FunctionalMethods: let, let!, subject, watch
434
- # IgnoredMethods: lambda, proc, it
435
- Style/BlockDelimiters:
436
- Exclude:
437
- - 'Rakefile'
438
- - 'lib/net/ssh/authentication/key_manager.rb'
439
- - 'lib/net/ssh/config.rb'
440
- - 'lib/net/ssh/connection/keepalive.rb'
441
- - 'lib/net/ssh/proxy/command.rb'
442
- - 'lib/net/ssh/transport/ctr.rb'
443
- - 'test/verifiers/test_always.rb'
444
-
445
- # Offense count: 2
446
- # This cop supports safe auto-correction (--auto-correct).
447
- # Configuration parameters: AllowOnConstant.
448
- Style/CaseEquality:
449
- Exclude:
450
- - 'lib/net/ssh/buffer.rb'
451
- - 'lib/net/ssh/connection/session.rb'
452
-
453
- # Offense count: 3
454
- # This cop supports unsafe auto-correction (--auto-correct-all).
455
- Style/CaseLikeIf:
456
- Exclude:
457
- - 'lib/net/ssh/transport/openssl.rb'
458
- - 'test/connection/test_session.rb'
459
-
460
- # Offense count: 1
461
- # This cop supports safe auto-correction (--auto-correct).
462
- Style/CharacterLiteral:
463
- Exclude:
464
- - 'test/test_buffer.rb'
465
-
466
- # Offense count: 18
467
- # This cop supports safe auto-correction (--auto-correct).
468
- # Configuration parameters: EnforcedStyle.
469
- # SupportedStyles: nested, compact
470
- Style/ClassAndModuleChildren:
471
- Enabled: false
472
-
473
- # Offense count: 1
474
- # This cop supports safe auto-correction (--auto-correct).
475
- # Configuration parameters: IgnoredMethods.
476
- # IgnoredMethods: ==, equal?, eql?
477
- Style/ClassEqualityComparison:
478
- Exclude:
479
- - 'lib/net/ssh/service/forward.rb'
480
-
481
- # Offense count: 7
482
- Style/ClassVars:
483
- Exclude:
484
- - 'lib/net/ssh/config.rb'
485
- - 'lib/net/ssh/packet.rb'
486
- - 'test/authentication/methods/test_hostbased.rb'
487
- - 'test/authentication/methods/test_publickey.rb'
488
-
489
- # Offense count: 1
490
- # This cop supports safe auto-correction (--auto-correct).
491
- Style/ColonMethodCall:
492
- Exclude:
493
- - 'lib/net/ssh/authentication/ed25519.rb'
494
-
495
- # Offense count: 2
496
- Style/CombinableLoops:
497
- Exclude:
498
- - 'lib/net/ssh/connection/channel.rb'
499
- - 'test/integration/test_hmac_etm.rb'
500
-
501
- # Offense count: 4
502
- # This cop supports safe auto-correction (--auto-correct).
503
- # Configuration parameters: Keywords, RequireColon.
504
- # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
505
- Style/CommentAnnotation:
506
- Exclude:
507
- - 'lib/net/ssh/authentication/ed25519.rb'
508
- - 'lib/net/ssh/authentication/session.rb'
509
- - 'lib/net/ssh/buffer.rb'
510
- - 'lib/net/ssh/config.rb'
511
-
512
- # Offense count: 3
513
- # This cop supports safe auto-correction (--auto-correct).
514
- Style/CommentedKeyword:
515
- Exclude:
516
- - 'test/connection/test_session.rb'
517
- - 'test/integration/test_forward.rb'
518
-
519
- # Offense count: 7
520
- # This cop supports safe auto-correction (--auto-correct).
521
- # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
522
- # SupportedStyles: assign_to_condition, assign_inside_condition
523
- Style/ConditionalAssignment:
524
- Exclude:
525
- - 'lib/net/ssh/config.rb'
526
- - 'lib/net/ssh/proxy/socks5.rb'
527
- - 'lib/net/ssh/test/script.rb'
528
- - 'lib/net/ssh/transport/state.rb'
529
- - 'test/test_key_factory.rb'
530
-
531
- # Offense count: 12
532
- # Configuration parameters: AllowedConstants.
533
- Style/Documentation:
534
- Exclude:
535
- - 'spec/**/*'
536
- - 'test/**/*'
537
- - 'lib/net/ssh/authentication/ed25519.rb'
538
- - 'lib/net/ssh/connection/keepalive.rb'
539
- - 'lib/net/ssh/connection/session.rb'
540
- - 'lib/net/ssh/test/extensions.rb'
541
- - 'lib/net/ssh/transport/kex.rb'
542
- - 'lib/net/ssh/transport/key_expander.rb'
543
- - 'lib/net/ssh/transport/openssl.rb'
544
-
545
- # Offense count: 1
546
- # This cop supports safe auto-correction (--auto-correct).
547
- Style/EvenOdd:
548
- Exclude:
549
- - 'lib/net/ssh/buffer.rb'
550
-
551
- # Offense count: 9
552
- # This cop supports safe auto-correction (--auto-correct).
553
- Style/ExplicitBlockArgument:
554
- Exclude:
555
- - 'lib/net/ssh/loggable.rb'
556
- - 'lib/net/ssh/test.rb'
557
- - 'test/integration/common.rb'
558
- - 'test/integration/mitm_server.rb'
559
- - 'test/integration/test_forward.rb'
560
-
561
- # Offense count: 12
562
- # This cop supports safe auto-correction (--auto-correct).
563
- # Configuration parameters: AllowedVars.
564
- Style/FetchEnvVar:
565
- Exclude:
566
- - 'lib/net/ssh.rb'
567
- - 'lib/net/ssh/authentication/agent.rb'
568
- - 'lib/net/ssh/authentication/methods/hostbased.rb'
569
- - 'test/authentication/test_agent.rb'
570
- - 'test/common.rb'
571
- - 'test/start/test_options.rb'
572
- - 'test/test_all.rb'
573
- - 'test/test_config.rb'
574
-
575
- # Offense count: 1
576
- # This cop supports safe auto-correction (--auto-correct).
577
- Style/FileWrite:
578
- Exclude:
579
- - 'test/integration/test_proxy.rb'
580
-
581
- # Offense count: 2
582
- # This cop supports safe auto-correction (--auto-correct).
583
- # Configuration parameters: EnforcedStyle.
584
- # SupportedStyles: format, sprintf, percent
585
- Style/FormatString:
586
- Exclude:
587
- - 'lib/net/ssh/authentication/pageant.rb'
588
- - 'lib/net/ssh/loggable.rb'
589
-
590
- # Offense count: 1
591
- # This cop supports safe auto-correction (--auto-correct).
592
- Style/GlobalStdStream:
593
- Exclude:
594
- - 'lib/net/ssh.rb'
595
-
596
- # Offense count: 35
597
- # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
598
- Style/GuardClause:
599
- Enabled: false
600
-
601
- # Offense count: 3
602
- # This cop supports safe auto-correction (--auto-correct).
603
- # Configuration parameters: AllowSplatArgument.
604
- Style/HashConversion:
605
- Exclude:
606
- - 'lib/net/ssh/authentication/certificate.rb'
607
- - 'test/test_config.rb'
608
-
609
- # Offense count: 1
610
- # This cop supports safe auto-correction (--auto-correct).
611
- # Configuration parameters: AllowIfModifier.
612
- Style/IfInsideElse:
613
- Exclude:
614
- - 'lib/net/ssh/connection/session.rb'
615
-
616
- # Offense count: 13
617
- # This cop supports safe auto-correction (--auto-correct).
618
- Style/IfUnlessModifier:
619
- Exclude:
620
- - 'lib/net/ssh.rb'
621
- - 'lib/net/ssh/authentication/pageant.rb'
622
- - 'lib/net/ssh/proxy/command.rb'
623
- - 'lib/net/ssh/service/forward.rb'
624
- - 'lib/net/ssh/transport/ctr.rb'
625
- - 'lib/net/ssh/transport/key_expander.rb'
626
- - 'test/integration/test_proxy.rb'
627
- - 'test/test_key_factory.rb'
628
-
629
- # Offense count: 1
630
- # This cop supports unsafe auto-correction (--auto-correct-all).
631
- Style/InfiniteLoop:
632
- Exclude:
633
- - 'lib/net/ssh/authentication/pageant.rb'
634
-
635
- # Offense count: 27
636
- # This cop supports safe auto-correction (--auto-correct).
637
- Style/LineEndConcatenation:
638
- Exclude:
639
- - 'lib/net/ssh/authentication/pageant.rb'
640
- - 'lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb'
641
- - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
642
- - 'lib/net/ssh/verifiers/always.rb'
643
-
644
- # Offense count: 1
645
- # This cop supports unsafe auto-correction (--auto-correct-all).
646
- Style/MapToHash:
647
- Exclude:
648
- - 'lib/net/ssh/config.rb'
649
-
650
- # Offense count: 1
651
- Style/MissingRespondToMissing:
652
- Exclude:
653
- - 'lib/net/ssh/connection/session.rb'
654
-
655
- # Offense count: 3
656
- # This cop supports safe auto-correction (--auto-correct).
657
- Style/MultilineIfThen:
658
- Exclude:
659
- - 'lib/net/ssh/buffered_io.rb'
660
- - 'lib/net/ssh/service/forward.rb'
661
-
662
- # Offense count: 7
663
- # This cop supports safe auto-correction (--auto-correct).
664
- Style/MultilineWhenThen:
665
- Exclude:
666
- - 'lib/net/ssh/transport/packet_stream.rb'
667
- - 'lib/net/ssh/transport/session.rb'
668
-
669
- # Offense count: 5
670
- # This cop supports safe auto-correction (--auto-correct).
671
- # Configuration parameters: AllowMethodComparison.
672
- Style/MultipleComparison:
673
- Exclude:
674
- - 'lib/net/ssh/authentication/agent.rb'
675
- - 'lib/net/ssh/authentication/pageant.rb'
676
- - 'lib/net/ssh/known_hosts.rb'
677
- - 'lib/net/ssh/verifiers/accept_new_or_local_tunnel.rb'
678
-
679
- # Offense count: 42
680
- # This cop supports safe auto-correction (--auto-correct).
681
- # Configuration parameters: EnforcedStyle.
682
- # SupportedStyles: literals, strict
683
- Style/MutableConstant:
684
- Enabled: false
685
-
686
- # Offense count: 14
687
- # This cop supports safe auto-correction (--auto-correct).
688
- # Configuration parameters: EnforcedStyle.
689
- # SupportedStyles: both, prefix, postfix
690
- Style/NegatedIf:
691
- Exclude:
692
- - 'lib/net/ssh.rb'
693
- - 'lib/net/ssh/authentication/key_manager.rb'
694
- - 'lib/net/ssh/service/forward.rb'
695
- - 'lib/net/ssh/transport/algorithms.rb'
696
- - 'lib/net/ssh/transport/hmac/abstract.rb'
697
- - 'lib/net/ssh/transport/session.rb'
698
- - 'lib/net/ssh/transport/state.rb'
699
- - 'test/test_key_factory.rb'
700
- - 'test/transport/test_state.rb'
701
-
702
- # Offense count: 2
703
- # This cop supports safe auto-correction (--auto-correct).
704
- Style/NegatedIfElseCondition:
705
- Exclude:
706
- - 'lib/net/ssh/transport/algorithms.rb'
707
- - 'lib/net/ssh/transport/cipher_factory.rb'
708
-
709
- # Offense count: 1
710
- # This cop supports safe auto-correction (--auto-correct).
711
- Style/NegatedWhile:
712
- Exclude:
713
- - 'lib/net/ssh/config.rb'
714
-
715
- # Offense count: 1
716
- # This cop supports safe auto-correction (--auto-correct).
717
- # Configuration parameters: EnforcedStyle, MinBodyLength.
718
- # SupportedStyles: skip_modifier_ifs, always
719
- Style/Next:
720
- Exclude:
721
- - 'lib/net/ssh/authentication/key_manager.rb'
722
-
723
- # Offense count: 1
724
- # This cop supports safe auto-correction (--auto-correct).
725
- # Configuration parameters: EnforcedStyle.
726
- # SupportedStyles: predicate, comparison
727
- Style/NilComparison:
728
- Exclude:
729
- - 'lib/net/ssh/proxy/command.rb'
730
-
731
- # Offense count: 3
732
- # This cop supports safe auto-correction (--auto-correct).
733
- Style/Not:
734
- Exclude:
735
- - 'lib/net/ssh/connection/channel.rb'
736
-
737
- # Offense count: 11
738
- # This cop supports safe auto-correction (--auto-correct).
739
- # Configuration parameters: Strict, AllowedNumbers.
740
- Style/NumericLiterals:
741
- MinDigits: 310
742
-
743
- # Offense count: 29
744
- # This cop supports unsafe auto-correction (--auto-correct-all).
745
- # Configuration parameters: EnforcedStyle, IgnoredMethods.
746
- # SupportedStyles: predicate, comparison
747
- Style/NumericPredicate:
748
- Enabled: false
749
-
750
- # Offense count: 13
751
- Style/OpenStructUse:
752
- Exclude:
753
- - 'test/authentication/test_ed25519.rb'
754
- - 'test/common.rb'
755
- - 'test/test_known_hosts.rb'
756
- - 'test/transport/kex/test_curve25519_sha256.rb'
757
- - 'test/transport/kex/test_diffie_hellman_group1_sha1.rb'
758
- - 'test/transport/kex/test_ecdh_sha2_nistp256.rb'
759
- - 'test/verifiers/test_always.rb'
760
- - 'test/verifiers/test_cert_authority_checks.rb'
761
-
762
- # Offense count: 16
763
- # Configuration parameters: AllowedMethods.
764
- # AllowedMethods: respond_to_missing?
765
- Style/OptionalBooleanParameter:
766
- Exclude:
767
- - 'lib/net/ssh/connection/session.rb'
768
- - 'lib/net/ssh/key_factory.rb'
769
- - 'lib/net/ssh/prompt.rb'
770
- - 'lib/net/ssh/test/channel.rb'
771
- - 'lib/net/ssh/test/script.rb'
772
- - 'lib/net/ssh/transport/algorithms.rb'
773
- - 'lib/net/ssh/transport/session.rb'
774
- - 'lib/net/ssh/transport/state.rb'
775
- - 'test/common.rb'
776
- - 'test/transport/test_server_version.rb'
777
-
778
- # Offense count: 15
779
- # This cop supports safe auto-correction (--auto-correct).
780
- Style/ParallelAssignment:
781
- Exclude:
782
- - 'lib/net/ssh/config.rb'
783
- - 'lib/net/ssh/connection/channel.rb'
784
- - 'lib/net/ssh/connection/session.rb'
785
- - 'lib/net/ssh/errors.rb'
786
- - 'lib/net/ssh/test/socket.rb'
787
- - 'lib/net/ssh/version.rb'
788
- - 'test/authentication/test_agent.rb'
789
- - 'test/common.rb'
790
- - 'test/connection/test_channel.rb'
791
-
792
- # Offense count: 5
793
- # This cop supports safe auto-correction (--auto-correct).
794
- # Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions.
795
- Style/ParenthesesAroundCondition:
796
- Exclude:
797
- - 'lib/net/ssh/authentication/ed25519.rb'
798
- - 'lib/net/ssh/service/forward.rb'
799
- - 'lib/net/ssh/transport/ctr.rb'
800
- - 'test/integration/test_proxy.rb'
801
-
802
- # Offense count: 23
803
- # This cop supports safe auto-correction (--auto-correct).
804
- # Configuration parameters: PreferredDelimiters.
805
- Style/PercentLiteralDelimiters:
806
- Exclude:
807
- - 'net-ssh.gemspec'
808
- - 'test/test_config.rb'
809
-
810
- # Offense count: 17
811
- # This cop supports safe auto-correction (--auto-correct).
812
- Style/PerlBackrefs:
813
- Exclude:
814
- - 'lib/net/ssh/buffer.rb'
815
- - 'lib/net/ssh/config.rb'
816
- - 'lib/net/ssh/key_factory.rb'
817
- - 'lib/net/ssh/proxy/command.rb'
818
- - 'lib/net/ssh/proxy/socks5.rb'
819
- - 'test/integration/common.rb'
820
-
821
- # Offense count: 15
822
- # This cop supports safe auto-correction (--auto-correct).
823
- Style/Proc:
824
- Exclude:
825
- - 'lib/net/ssh/connection/session.rb'
826
- - 'lib/net/ssh/test/channel.rb'
827
- - 'lib/net/ssh/transport/algorithms.rb'
828
- - 'lib/net/ssh/verifiers/always.rb'
829
- - 'test/authentication/methods/test_hostbased.rb'
830
- - 'test/authentication/methods/test_publickey.rb'
831
- - 'test/connection/test_channel.rb'
832
- - 'test/connection/test_session.rb'
833
-
834
- # Offense count: 7
835
- # This cop supports safe auto-correction (--auto-correct).
836
- # Configuration parameters: EnforcedStyle, AllowedCompactTypes.
837
- # SupportedStyles: compact, exploded
838
- Style/RaiseArgs:
839
- Exclude:
840
- - 'lib/net/ssh/authentication/ed25519.rb'
841
-
842
- # Offense count: 6
843
- # This cop supports unsafe auto-correction (--auto-correct-all).
844
- # Configuration parameters: Methods.
845
- Style/RedundantArgument:
846
- Exclude:
847
- - 'lib/net/ssh/known_hosts.rb'
848
- - 'test/authentication/test_ed25519.rb'
849
-
850
- # Offense count: 5
851
- # This cop supports safe auto-correction (--auto-correct).
852
- Style/RedundantBegin:
853
- Exclude:
854
- - 'lib/net/ssh/buffered_io.rb'
855
- - 'lib/net/ssh/service/forward.rb'
856
- - 'lib/net/ssh/verifiers/accept_new.rb'
857
- - 'test/manual/test_pageant.rb'
858
-
859
- # Offense count: 1
860
- # This cop supports safe auto-correction (--auto-correct).
861
- Style/RedundantCondition:
862
- Exclude:
863
- - 'lib/net/ssh/proxy/command.rb'
864
-
865
- # Offense count: 1
866
- # This cop supports safe auto-correction (--auto-correct).
867
- Style/RedundantFileExtensionInRequire:
868
- Exclude:
869
- - 'lib/net/ssh/transport/cipher_factory.rb'
870
-
871
- # Offense count: 2
872
- # This cop supports safe auto-correction (--auto-correct).
873
- Style/RedundantInterpolation:
874
- Exclude:
875
- - 'lib/net/ssh/proxy/socks5.rb'
876
- - 'lib/net/ssh/transport/session.rb'
877
-
878
- # Offense count: 2
879
- # This cop supports safe auto-correction (--auto-correct).
880
- Style/RedundantPercentQ:
881
- Exclude:
882
- - 'net-ssh.gemspec'
883
-
884
- # Offense count: 11
885
- # This cop supports safe auto-correction (--auto-correct).
886
- Style/RedundantRegexpEscape:
887
- Exclude:
888
- - 'lib/net/ssh/authentication/agent.rb'
889
- - 'lib/net/ssh/buffer.rb'
890
- - 'lib/net/ssh/config.rb'
891
- - 'lib/net/ssh/transport/cipher_factory.rb'
892
-
893
- # Offense count: 87
894
- # This cop supports safe auto-correction (--auto-correct).
895
- # Configuration parameters: AllowMultipleReturnValues.
896
- Style/RedundantReturn:
897
- Enabled: false
898
-
899
- # Offense count: 18
900
- # This cop supports safe auto-correction (--auto-correct).
901
- Style/RedundantSelf:
902
- Exclude:
903
- - 'lib/net/ssh/connection/channel.rb'
904
- - 'lib/net/ssh/test/extensions.rb'
905
- - 'test/authentication/test_ed25519.rb'
906
-
907
- # Offense count: 6
908
- # This cop supports safe auto-correction (--auto-correct).
909
- Style/RescueModifier:
910
- Exclude:
911
- - 'lib/net/ssh/service/forward.rb'
912
- - 'lib/net/ssh/transport/algorithms.rb'
913
-
914
- # Offense count: 25
915
- # This cop supports safe auto-correction (--auto-correct).
916
- # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
917
- # AllowedMethods: present?, blank?, presence, try, try!
918
- Style/SafeNavigation:
919
- Exclude:
920
- - 'lib/net/ssh/authentication/key_manager.rb'
921
- - 'lib/net/ssh/authentication/methods/keyboard_interactive.rb'
922
- - 'lib/net/ssh/authentication/methods/password.rb'
923
- - 'lib/net/ssh/authentication/session.rb'
924
- - 'lib/net/ssh/connection/channel.rb'
925
- - 'lib/net/ssh/connection/event_loop.rb'
926
- - 'lib/net/ssh/connection/session.rb'
927
- - 'lib/net/ssh/key_factory.rb'
928
- - 'lib/net/ssh/loggable.rb'
929
- - 'lib/net/ssh/test/local_packet.rb'
930
- - 'lib/net/ssh/transport/algorithms.rb'
931
- - 'lib/net/ssh/transport/packet_stream.rb'
932
-
933
- # Offense count: 3
934
- # This cop supports safe auto-correction (--auto-correct).
935
- Style/SelectByRegexp:
936
- Exclude:
937
- - 'test/test_all.rb'
938
-
939
- # Offense count: 2
940
- # This cop supports safe auto-correction (--auto-correct).
941
- Style/SelfAssignment:
942
- Exclude:
943
- - 'lib/net/ssh/config.rb'
944
-
945
- # Offense count: 7
946
- # This cop supports safe auto-correction (--auto-correct).
947
- # Configuration parameters: AllowAsExpressionSeparator.
948
- Style/Semicolon:
949
- Exclude:
950
- - 'lib/net/ssh/buffer.rb'
951
- - 'test/connection/test_channel.rb'
952
- - 'test/connection/test_session.rb'
953
-
954
- # Offense count: 2
955
- # This cop supports safe auto-correction (--auto-correct).
956
- # Configuration parameters: EnforcedStyle.
957
- # SupportedStyles: only_raise, only_fail, semantic
958
- Style/SignalException:
959
- Exclude:
960
- - 'lib/net/ssh/config.rb'
961
- - 'lib/net/ssh/connection/channel.rb'
962
-
963
- # Offense count: 2
964
- # This cop supports safe auto-correction (--auto-correct).
965
- # Configuration parameters: AllowIfMethodIsEmpty.
966
- Style/SingleLineMethods:
967
- Exclude:
968
- - 'lib/net/ssh/buffered_io.rb'
969
-
970
- # Offense count: 11
971
- # This cop supports unsafe auto-correction (--auto-correct-all).
972
- Style/SlicingWithRange:
973
- Exclude:
974
- - 'lib/net/ssh/authentication/ed25519.rb'
975
- - 'lib/net/ssh/buffer.rb'
976
- - 'lib/net/ssh/config.rb'
977
- - 'lib/net/ssh/transport/algorithms.rb'
978
- - 'lib/net/ssh/transport/packet_stream.rb'
979
- - 'lib/net/ssh/transport/state.rb'
980
- - 'test/transport/test_packet_stream.rb'
981
-
982
- # Offense count: 3
983
- # This cop supports safe auto-correction (--auto-correct).
984
- # Configuration parameters: AllowModifier.
985
- Style/SoleNestedConditional:
986
- Exclude:
987
- - 'lib/net/ssh/transport/packet_stream.rb'
988
- - 'test/common.rb'
989
- - 'test/integration/test_proxy.rb'
990
-
991
- # Offense count: 18
992
- # This cop supports safe auto-correction (--auto-correct).
993
- # Configuration parameters: RequireEnglish, EnforcedStyle.
994
- # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
995
- Style/SpecialGlobalVars:
996
- Exclude:
997
- - 'lib/net/ssh/authentication/agent.rb'
998
- - 'lib/net/ssh/connection/session.rb'
999
- - 'support/ssh_tunnel_bug.rb'
1000
- - 'test/integration/common.rb'
1001
- - 'test/integration/test_forward.rb'
1002
- - 'test/manual/test_pageant.rb'
1003
- - 'test/test_all.rb'
1004
-
1005
- # Offense count: 1
1006
- # This cop supports unsafe auto-correction (--auto-correct-all).
1007
- Style/StringChars:
1008
- Exclude:
1009
- - 'test/transport/test_server_version.rb'
1010
-
1011
- # Offense count: 27
1012
- # This cop supports unsafe auto-correction (--auto-correct-all).
1013
- # Configuration parameters: Mode.
1014
- Style/StringConcatenation:
1015
- Exclude:
1016
- - 'lib/net/ssh/authentication/certificate.rb'
1017
- - 'lib/net/ssh/authentication/key_manager.rb'
1018
- - 'lib/net/ssh/authentication/pageant.rb'
1019
- - 'lib/net/ssh/config.rb'
1020
- - 'lib/net/ssh/transport/algorithms.rb'
1021
- - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
1022
- - 'test/authentication/test_key_manager.rb'
1023
- - 'test/integration/common.rb'
1024
- - 'test/integration/test_proxy.rb'
1025
- - 'test/test_buffer.rb'
1026
- - 'test/test_key_factory.rb'
1027
-
1028
- # Offense count: 1849
1029
- # This cop supports safe auto-correction (--auto-correct).
1030
- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
1031
- # SupportedStyles: single_quotes, double_quotes
1032
- Style/StringLiterals:
1033
- Enabled: false
1034
-
1035
- # Offense count: 6
1036
- # This cop supports unsafe auto-correction (--auto-correct-all).
1037
- # Configuration parameters: AllowMethodsWithArguments, IgnoredMethods, AllowComments.
1038
- # IgnoredMethods: respond_to, define_method
1039
- Style/SymbolProc:
1040
- Exclude:
1041
- - 'lib/net/ssh/authentication/session.rb'
1042
- - 'lib/net/ssh/buffer.rb'
1043
- - 'lib/net/ssh/connection/session.rb'
1044
- - 'lib/net/ssh/test/extensions.rb'
1045
-
1046
- # Offense count: 14
1047
- # This cop supports safe auto-correction (--auto-correct).
1048
- Style/UnpackFirst:
1049
- Exclude:
1050
- - 'lib/net/ssh/authentication/pageant.rb'
1051
- - 'lib/net/ssh/buffer.rb'
1052
- - 'lib/net/ssh/key_factory.rb'
1053
- - 'lib/net/ssh/known_hosts.rb'
1054
- - 'lib/net/ssh/transport/openssl.rb'
1055
- - 'lib/net/ssh/transport/packet_stream.rb'
1056
-
1057
- # Offense count: 2
1058
- # This cop supports safe auto-correction (--auto-correct).
1059
- Style/WhileUntilDo:
1060
- Exclude:
1061
- - 'lib/net/ssh/config.rb'
1062
- - 'test/integration/common.rb'
1063
-
1064
- # Offense count: 4
1065
- # This cop supports safe auto-correction (--auto-correct).
1066
- # Configuration parameters: WordRegex.
1067
- # SupportedStyles: percent, brackets
1068
- Style/WordArray:
1069
- EnforcedStyle: percent
1070
- MinSize: 3
1071
-
1072
- # Offense count: 4
1073
- # This cop supports unsafe auto-correction (--auto-correct-all).
1074
- Style/ZeroLengthPredicate:
1075
- Exclude:
1076
- - 'lib/net/ssh/buffered_io.rb'
1077
- - 'lib/net/ssh/connection/channel.rb'