net-ssh 4.0.0.alpha3 → 4.0.0.alpha4

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
  SHA1:
3
- metadata.gz: 87c438b3e9f663090d5c58e901dbb7fd0ac5d2b1
4
- data.tar.gz: b5131b9da9d74e7db8294d621a140d9f3f26d8f3
3
+ metadata.gz: 605f2f4e21417ab58a6a2a595ddd3025bcc99316
4
+ data.tar.gz: 74fc3fd5555a76d221673d6d304fb5558d80795f
5
5
  SHA512:
6
- metadata.gz: a750f4dee5bd82f5678877da2585fe01784a4c340ee188e9b9f7048b3b3342630149c68d67d7069990e8a818f940bf03e5f7238b902b76b67044a13db05b13ed
7
- data.tar.gz: 5c089f3172efd1ca45d4c62101bc623c8e630245dea0c85cb11cc4ce1815f3b618cda431aa89187dec5ddf826a101747dca7114e86585427b4528ae258a2410b
6
+ metadata.gz: 8bde41de1967a8b9b4c1bda6b77112fdaa4e2c22b917e3eb08f0cfd7035863ed1fccf46a07ad9de176b5f8f943c730bd4379317a3fd02997619b3abb8a2ad4e5
7
+ data.tar.gz: 24f50e2aa4254bcc22b961dd5a8acbf75649658a0f06d3afe9e32b5ef3e8fa88ef7716aa774b06c1a86b078377d33dbfe86ef14c63211fd44c16a79f782f6f72
@@ -1 +1 @@
1
- x�O�.�OU2c���&�����=�����$�^!=QjS6�!(X�.�=s�@��yFm��VRDuQ�Ϊ�– a8���18���Hݔ5��qk ��l˳�2hG .?4c�^��Ur'[�I.Xo�YmG�eq�`��KB���Јi)���|��VP����h��0�t�i��ٌ�ˤ��E0��AR?�K뱈��'��h<#�n �屪Y�7u�-���� �qI;��4���p�Z�KxE
1
+ "��H��h_�(C�gj�]�ޜ\�rp���Y�Z�����E����C���N�~�=�[V�-�x[��$��|g�,nIb_/���"���9�f��[�?v8P"[�E�J7��ݔ��zԼ��?��G�� �±��d1I$ 8Ri���˓30O����vO�J��Ǩ|w�:>:��I��(��0�_����-W����.�W(
data.tar.gz.sig CHANGED
Binary file
@@ -0,0 +1,5 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ Exclude:
5
+ - 'tryout/**/*'
@@ -0,0 +1,1148 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2016-03-30 13:23:48 +0200 using RuboCop version 0.39.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: 9
10
+ # Configuration parameters: AllowSafeAssignment.
11
+ Lint/AssignmentInCondition:
12
+ Exclude:
13
+ - 'lib/net/ssh/connection/channel.rb'
14
+ - 'lib/net/ssh/connection/session.rb'
15
+ - 'lib/net/ssh/proxy/command.rb'
16
+
17
+ # Offense count: 2
18
+ # Cop supports --auto-correct.
19
+ # Configuration parameters: AlignWith, SupportedStyles.
20
+ # SupportedStyles: either, start_of_block, start_of_line
21
+ Lint/BlockAlignment:
22
+ Exclude:
23
+ - 'test/integration/test_proxy.rb'
24
+
25
+ # Offense count: 3
26
+ # Cop supports --auto-correct.
27
+ Lint/Debugger:
28
+ Exclude:
29
+ - 'quicktest.rb'
30
+ - 'test.rb'
31
+ - 'test_connection_close_shall_close_cannels.rb'
32
+
33
+ # Offense count: 1
34
+ # Cop supports --auto-correct.
35
+ Lint/DeprecatedClassMethods:
36
+ Exclude:
37
+ - 'Rakefile'
38
+
39
+ # Offense count: 217
40
+ # Cop supports --auto-correct.
41
+ # Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
42
+ # SupportedStyles: keyword, variable, start_of_line
43
+ Lint/EndAlignment:
44
+ Enabled: false
45
+
46
+ # Offense count: 12
47
+ Lint/HandleExceptions:
48
+ Exclude:
49
+ - 'lib/net/ssh/authentication/session.rb'
50
+ - 'lib/net/ssh/known_hosts.rb'
51
+ - 'lib/net/ssh/transport/openssl.rb'
52
+ - 'test/integration/common.rb'
53
+ - 'test/integration/test_forward.rb'
54
+ - 'test/manual/test_pageant.rb'
55
+ - 'test/start/test_connection.rb'
56
+ - 'test/start/test_transport.rb'
57
+
58
+ # Offense count: 72
59
+ Lint/ImplicitStringConcatenation:
60
+ Exclude:
61
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb'
62
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
63
+
64
+ # Offense count: 3
65
+ Lint/LiteralInCondition:
66
+ Exclude:
67
+ - 'lib/net/ssh/authentication/pageant.rb'
68
+ - 'quicktest.rb'
69
+
70
+ # Offense count: 2
71
+ Lint/Loop:
72
+ Exclude:
73
+ - 'lib/net/ssh/authentication/methods/password.rb'
74
+ - 'lib/net/ssh/key_factory.rb'
75
+
76
+ # Offense count: 12
77
+ Lint/NestedMethodDefinition:
78
+ Exclude:
79
+ - 'lib/net/ssh/transport/ctr.rb'
80
+ - 'test/authentication/methods/test_keyboard_interactive.rb'
81
+
82
+ # Offense count: 1
83
+ Lint/NextWithoutAccumulator:
84
+ Exclude:
85
+ - 'lib/net/ssh/connection/session.rb'
86
+
87
+ # Offense count: 1
88
+ Lint/NonLocalExitFromIterator:
89
+ Exclude:
90
+ - 'lib/net/ssh/known_hosts.rb'
91
+
92
+ # Offense count: 4
93
+ Lint/RescueException:
94
+ Exclude:
95
+ - 'lib/net/ssh/authentication/key_manager.rb'
96
+ - 'lib/net/ssh/service/forward.rb'
97
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
98
+
99
+ # Offense count: 9
100
+ Lint/ShadowingOuterLocalVariable:
101
+ Exclude:
102
+ - 'quicktest_1_open_channel_nb.rb'
103
+ - 'quicktest_337.rb'
104
+ - 'quicktest_4gb.rb'
105
+
106
+ # Offense count: 1
107
+ Lint/UnderscorePrefixedVariableName:
108
+ Exclude:
109
+ - 'lib/net/ssh/test/local_packet.rb'
110
+
111
+ # Offense count: 53
112
+ # Cop supports --auto-correct.
113
+ # Configuration parameters: IgnoreEmptyBlocks.
114
+ Lint/UnusedBlockArgument:
115
+ Exclude:
116
+ - 'lib/net/ssh/connection/keepalive.rb'
117
+ - 'lib/net/ssh/connection/session.rb'
118
+ - 'lib/net/ssh/service/forward.rb'
119
+ - 'quicktest_337.rb'
120
+ - 'quicktest_4gb.rb'
121
+ - 'test/authentication/methods/test_password.rb'
122
+ - 'test/authentication/test_agent.rb'
123
+ - 'test/common.rb'
124
+ - 'test/connection/test_channel.rb'
125
+ - 'test/connection/test_session.rb'
126
+ - 'test/transport/test_algorithms.rb'
127
+ - 'test/transport/test_hmac.rb'
128
+
129
+ # Offense count: 44
130
+ # Cop supports --auto-correct.
131
+ # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
132
+ Lint/UnusedMethodArgument:
133
+ Enabled: false
134
+
135
+ # Offense count: 3
136
+ Lint/UselessAccessModifier:
137
+ Exclude:
138
+ - 'lib/net/ssh/buffered_io.rb'
139
+ - 'lib/net/ssh/connection/channel.rb'
140
+ - 'lib/net/ssh/transport/session.rb'
141
+
142
+ # Offense count: 12
143
+ Lint/UselessAssignment:
144
+ Exclude:
145
+ - 'lib/net/ssh/key_factory.rb'
146
+ - 'lib/net/ssh/proxy/socks4.rb'
147
+ - 'lib/net/ssh/proxy/socks5.rb'
148
+ - 'quicktest_337.rb'
149
+ - 'test/integration/common.rb'
150
+ - 'test/integration/test_forward.rb'
151
+
152
+ # Offense count: 185
153
+ Metrics/AbcSize:
154
+ Max: 91
155
+
156
+ # Offense count: 2
157
+ Metrics/BlockNesting:
158
+ Max: 4
159
+
160
+ # Offense count: 31
161
+ # Configuration parameters: CountComments.
162
+ Metrics/ClassLength:
163
+ Max: 1130
164
+
165
+ # Offense count: 34
166
+ Metrics/CyclomaticComplexity:
167
+ Max: 39
168
+
169
+ # Offense count: 1275
170
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
171
+ # URISchemes: http, https
172
+ Metrics/LineLength:
173
+ Max: 934
174
+
175
+ # Offense count: 166
176
+ # Configuration parameters: CountComments.
177
+ Metrics/MethodLength:
178
+ Max: 99
179
+
180
+ # Offense count: 3
181
+ # Configuration parameters: CountComments.
182
+ Metrics/ModuleLength:
183
+ Max: 155
184
+
185
+ # Offense count: 1
186
+ # Configuration parameters: CountKeywordArgs.
187
+ Metrics/ParameterLists:
188
+ Max: 6
189
+
190
+ # Offense count: 28
191
+ Metrics/PerceivedComplexity:
192
+ Max: 23
193
+
194
+ # Offense count: 3
195
+ # Cop supports --auto-correct.
196
+ Performance/RangeInclude:
197
+ Exclude:
198
+ - 'lib/net/ssh/transport/algorithms.rb'
199
+
200
+ # Offense count: 3
201
+ # Cop supports --auto-correct.
202
+ Performance/RedundantBlockCall:
203
+ Exclude:
204
+ - 'lib/net/ssh/connection/session.rb'
205
+ - 'test/connection/test_channel.rb'
206
+
207
+ # Offense count: 6
208
+ # Cop supports --auto-correct.
209
+ Performance/RedundantMatch:
210
+ Exclude:
211
+ - 'lib/net/ssh/key_factory.rb'
212
+ - 'lib/net/ssh/transport/server_version.rb'
213
+
214
+ # Offense count: 14
215
+ Style/AccessorMethodName:
216
+ Exclude:
217
+ - 'lib/net/ssh/authentication/methods/password.rb'
218
+ - 'lib/net/ssh/authentication/pageant.rb'
219
+ - 'lib/net/ssh/connection/session.rb'
220
+ - 'lib/net/ssh/prompt.rb'
221
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb'
222
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
223
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb'
224
+ - 'lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb'
225
+
226
+ # Offense count: 3
227
+ # Cop supports --auto-correct.
228
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
229
+ # SupportedStyles: prefer_alias, prefer_alias_method
230
+ Style/Alias:
231
+ Exclude:
232
+ - 'lib/net/ssh/connection/session.rb'
233
+ - 'lib/net/ssh/service/forward.rb'
234
+ - 'lib/net/ssh/transport/ctr.rb'
235
+
236
+ # Offense count: 1
237
+ # Cop supports --auto-correct.
238
+ Style/AlignArray:
239
+ Exclude:
240
+ - 'lib/net/ssh/proxy/socks5.rb'
241
+
242
+ # Offense count: 25
243
+ # Cop supports --auto-correct.
244
+ # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
245
+ # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
246
+ Style/AlignHash:
247
+ Exclude:
248
+ - 'lib/net/ssh/transport/algorithms.rb'
249
+ - 'test/connection/test_channel.rb'
250
+ - 'test/integration/test_id_rsa_keys.rb'
251
+ - 'test/transport/kex/test_diffie_hellman_group1_sha1.rb'
252
+ - 'test/transport/kex/test_ecdh_sha2_nistp256.rb'
253
+ - 'test/transport/test_algorithms.rb'
254
+ - 'test/transport/test_cipher_factory.rb'
255
+ - 'test/transport/test_state.rb'
256
+
257
+ # Offense count: 76
258
+ # Cop supports --auto-correct.
259
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
260
+ # SupportedStyles: with_first_parameter, with_fixed_indentation
261
+ Style/AlignParameters:
262
+ Enabled: false
263
+
264
+ # Offense count: 46
265
+ # Cop supports --auto-correct.
266
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
267
+ # SupportedStyles: always, conditionals
268
+ Style/AndOr:
269
+ Enabled: false
270
+
271
+ # Offense count: 3
272
+ Style/AsciiComments:
273
+ Exclude:
274
+ - 'lib/net/ssh/authentication/agent/java_pageant.rb'
275
+ - 'lib/net/ssh/authentication/pageant.rb'
276
+ - 'lib/net/ssh/buffered_io.rb'
277
+
278
+ # Offense count: 32
279
+ # Cop supports --auto-correct.
280
+ # Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
281
+ # SupportedStyles: line_count_based, semantic, braces_for_chaining
282
+ # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
283
+ # FunctionalMethods: let, let!, subject, watch
284
+ # IgnoredMethods: lambda, proc, it
285
+ Style/BlockDelimiters:
286
+ Exclude:
287
+ - 'Rakefile'
288
+ - 'lib/net/ssh/authentication/key_manager.rb'
289
+ - 'lib/net/ssh/config.rb'
290
+ - 'lib/net/ssh/connection/keepalive.rb'
291
+ - 'lib/net/ssh/proxy/command.rb'
292
+ - 'lib/net/ssh/transport/ctr.rb'
293
+ - 'test/test_buffer.rb'
294
+ - 'test/verifiers/test_secure.rb'
295
+
296
+ # Offense count: 8
297
+ # Cop supports --auto-correct.
298
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
299
+ # SupportedStyles: braces, no_braces, context_dependent
300
+ Style/BracesAroundHashParameters:
301
+ Exclude:
302
+ - 'lib/net/ssh/config.rb'
303
+ - 'test/integration/test_ed25519_pkeys.rb'
304
+ - 'test/integration/test_id_rsa_keys.rb'
305
+ - 'test/transport/test_hmac.rb'
306
+ - 'test/transport/test_session.rb'
307
+ - 'test_kerberos_client2.rb'
308
+
309
+ # Offense count: 2
310
+ Style/CaseEquality:
311
+ Exclude:
312
+ - 'lib/net/ssh/buffer.rb'
313
+ - 'lib/net/ssh/connection/session.rb'
314
+
315
+ # Offense count: 42
316
+ # Cop supports --auto-correct.
317
+ # Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep, IndentationWidth.
318
+ # SupportedStyles: case, end
319
+ Style/CaseIndentation:
320
+ Enabled: false
321
+
322
+ # Offense count: 1
323
+ # Cop supports --auto-correct.
324
+ Style/CharacterLiteral:
325
+ Exclude:
326
+ - 'test/test_buffer.rb'
327
+
328
+ # Offense count: 12
329
+ Style/ClassAndModuleCamelCase:
330
+ Exclude:
331
+ - 'lib/net/ssh/transport/hmac/md5_96.rb'
332
+ - 'lib/net/ssh/transport/hmac/sha1_96.rb'
333
+ - 'lib/net/ssh/transport/hmac/sha2_256.rb'
334
+ - 'lib/net/ssh/transport/hmac/sha2_256_96.rb'
335
+ - 'lib/net/ssh/transport/hmac/sha2_512.rb'
336
+ - 'lib/net/ssh/transport/hmac/sha2_512_96.rb'
337
+ - 'test/transport/hmac/test_md5_96.rb'
338
+ - 'test/transport/hmac/test_sha1_96.rb'
339
+ - 'test/transport/hmac/test_sha2_256.rb'
340
+ - 'test/transport/hmac/test_sha2_256_96.rb'
341
+ - 'test/transport/hmac/test_sha2_512.rb'
342
+ - 'test/transport/hmac/test_sha2_512_96.rb'
343
+
344
+ # Offense count: 15
345
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
346
+ # SupportedStyles: nested, compact
347
+ Style/ClassAndModuleChildren:
348
+ Exclude:
349
+ - 'lib/net/ssh/transport/ctr.rb'
350
+ - 'lib/net/ssh/transport/hmac.rb'
351
+ - 'lib/net/ssh/transport/hmac/md5.rb'
352
+ - 'lib/net/ssh/transport/hmac/md5_96.rb'
353
+ - 'lib/net/ssh/transport/hmac/none.rb'
354
+ - 'lib/net/ssh/transport/hmac/ripemd160.rb'
355
+ - 'lib/net/ssh/transport/hmac/sha1.rb'
356
+ - 'lib/net/ssh/transport/hmac/sha1_96.rb'
357
+ - 'lib/net/ssh/transport/hmac/sha2_256.rb'
358
+ - 'lib/net/ssh/transport/hmac/sha2_256_96.rb'
359
+ - 'lib/net/ssh/transport/hmac/sha2_512.rb'
360
+ - 'lib/net/ssh/transport/hmac/sha2_512_96.rb'
361
+ - 'lib/net/ssh/transport/kex.rb'
362
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb'
363
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb'
364
+
365
+ # Offense count: 1
366
+ # Cop supports --auto-correct.
367
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
368
+ # SupportedStyles: is_a?, kind_of?
369
+ Style/ClassCheck:
370
+ Exclude:
371
+ - 'test/authentication/test_key_manager.rb'
372
+
373
+ # Offense count: 7
374
+ Style/ClassVars:
375
+ Exclude:
376
+ - 'lib/net/ssh/config.rb'
377
+ - 'lib/net/ssh/packet.rb'
378
+ - 'test/authentication/methods/test_hostbased.rb'
379
+ - 'test/authentication/methods/test_publickey.rb'
380
+
381
+ # Offense count: 1
382
+ # Cop supports --auto-correct.
383
+ Style/ColonMethodCall:
384
+ Exclude:
385
+ - 'lib/net/ssh/authentication/ed25519.rb'
386
+
387
+ # Offense count: 4
388
+ # Cop supports --auto-correct.
389
+ # Configuration parameters: Keywords.
390
+ # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
391
+ Style/CommentAnnotation:
392
+ Exclude:
393
+ - 'lib/net/ssh/authentication/ed25519.rb'
394
+ - 'lib/net/ssh/authentication/session.rb'
395
+ - 'lib/net/ssh/buffer.rb'
396
+ - 'lib/net/ssh/config.rb'
397
+
398
+ # Offense count: 2
399
+ # Cop supports --auto-correct.
400
+ Style/CommentIndentation:
401
+ Exclude:
402
+ - 'test/integration/test_forward.rb'
403
+ - 'test/transport/test_server_version.rb'
404
+
405
+ # Offense count: 4
406
+ # Cop supports --auto-correct.
407
+ # Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
408
+ # SupportedStyles: assign_to_condition, assign_inside_condition
409
+ Style/ConditionalAssignment:
410
+ Exclude:
411
+ - 'lib/net/ssh/transport/ctr.rb'
412
+ - 'lib/net/ssh/transport/state.rb'
413
+ - 'test/test_key_factory.rb'
414
+ - 'lib/net/ssh/config.rb'
415
+ - 'lib/net/ssh/known_hosts.rb'
416
+ - 'lib/net/ssh/proxy/socks5.rb'
417
+ - 'lib/net/ssh/test/script.rb'
418
+
419
+ # Offense count: 8
420
+ Style/ConstantName:
421
+ Exclude:
422
+ - 'lib/net/ssh/authentication/pageant.rb'
423
+ - 'lib/net/ssh/prompt.rb'
424
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb'
425
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
426
+ - 'lib/net/ssh/transport/openssl.rb'
427
+
428
+ # Offense count: 1
429
+ # Cop supports --auto-correct.
430
+ Style/DefWithParentheses:
431
+ Exclude:
432
+ - 'test/integration/test_forward.rb'
433
+
434
+ # Offense count: 3
435
+ # Cop supports --auto-correct.
436
+ Style/DeprecatedHashMethods:
437
+ Exclude:
438
+ - 'lib/net/ssh/connection/session.rb'
439
+ - 'test/transport/test_packet_stream.rb'
440
+
441
+ # Offense count: 29
442
+ Style/Documentation:
443
+ Exclude:
444
+ - 'spec/**/*'
445
+ - 'test/**/*'
446
+ - 'lib/net/ssh/authentication/ed25519.rb'
447
+ - 'lib/net/ssh/connection/keepalive.rb'
448
+ - 'lib/net/ssh/connection/session.rb'
449
+ - 'lib/net/ssh/ruby_compat.rb'
450
+ - 'lib/net/ssh/test/extensions.rb'
451
+ - 'lib/net/ssh/transport/hmac/sha2_256_96.rb'
452
+ - 'lib/net/ssh/transport/hmac/sha2_512.rb'
453
+ - 'lib/net/ssh/transport/hmac/sha2_512_96.rb'
454
+ - 'lib/net/ssh/transport/kex.rb'
455
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb'
456
+ - 'lib/net/ssh/transport/key_expander.rb'
457
+ - 'lib/net/ssh/transport/openssl.rb'
458
+
459
+ # Offense count: 6
460
+ # Cop supports --auto-correct.
461
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
462
+ # SupportedStyles: leading, trailing
463
+ Style/DotPosition:
464
+ Enabled: false
465
+
466
+ # Offense count: 3
467
+ Style/EachWithObject:
468
+ Exclude:
469
+ - 'lib/net/ssh/config.rb'
470
+ - 'lib/net/ssh/connection/session.rb'
471
+ - 'lib/net/ssh/service/forward.rb'
472
+
473
+ # Offense count: 1
474
+ # Cop supports --auto-correct.
475
+ Style/ElseAlignment:
476
+ Exclude:
477
+ - 'lib/net/ssh/packet.rb'
478
+
479
+ # Offense count: 12
480
+ # Cop supports --auto-correct.
481
+ # Configuration parameters: AllowAdjacentOneLineDefs.
482
+ Style/EmptyLineBetweenDefs:
483
+ Exclude:
484
+ - 'lib/net/ssh/buffered_io.rb'
485
+ - 'lib/net/ssh/ruby_compat.rb'
486
+ - 'lib/net/ssh/transport/kex/ecdh_sha2_nistp384.rb'
487
+ - 'lib/net/ssh/transport/kex/ecdh_sha2_nistp521.rb'
488
+ - 'test/test_buffer.rb'
489
+ - 'test/test_key_factory.rb'
490
+
491
+ # Offense count: 22
492
+ # Cop supports --auto-correct.
493
+ Style/EmptyLines:
494
+ Exclude:
495
+ - 'Rakefile'
496
+ - 'lib/net/ssh/buffered_io.rb'
497
+ - 'lib/net/ssh/connection/session.rb'
498
+ - 'lib/net/ssh/known_hosts.rb'
499
+ - 'lib/net/ssh/transport/cipher_factory.rb'
500
+ - 'lib/net/ssh/transport/packet_stream.rb'
501
+ - 'lib/net/ssh/transport/session.rb'
502
+ - 'test/authentication/methods/test_keyboard_interactive.rb'
503
+ - 'test/authentication/methods/test_password.rb'
504
+ - 'test/integration/test_ed25519_pkeys.rb'
505
+ - 'test/integration/test_id_rsa_keys.rb'
506
+ - 'test/test_config.rb'
507
+ - 'test/test_known_hosts.rb'
508
+ - 'test/transport/test_cipher_factory.rb'
509
+
510
+ # Offense count: 48
511
+ # Cop supports --auto-correct.
512
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
513
+ # SupportedStyles: empty_lines, no_empty_lines
514
+ Style/EmptyLinesAroundClassBody:
515
+ Enabled: false
516
+
517
+ # Offense count: 5
518
+ # Cop supports --auto-correct.
519
+ Style/EmptyLinesAroundMethodBody:
520
+ Exclude:
521
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb'
522
+ - 'lib/net/ssh/transport/openssl.rb'
523
+ - 'test/authentication/methods/test_keyboard_interactive.rb'
524
+ - 'test/transport/hmac/test_sha2_256.rb'
525
+ - 'test/transport/hmac/test_sha2_512.rb'
526
+
527
+ # Offense count: 209
528
+ # Cop supports --auto-correct.
529
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
530
+ # SupportedStyles: empty_lines, no_empty_lines
531
+ Style/EmptyLinesAroundModuleBody:
532
+ Enabled: false
533
+
534
+ # Offense count: 2
535
+ # Cop supports --auto-correct.
536
+ Style/EmptyLiteral:
537
+ Exclude:
538
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
539
+ - 'lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb'
540
+
541
+ # Offense count: 1
542
+ # Cop supports --auto-correct.
543
+ Style/EvenOdd:
544
+ Exclude:
545
+ - 'lib/net/ssh/buffer.rb'
546
+
547
+ # Offense count: 28
548
+ # Cop supports --auto-correct.
549
+ # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
550
+ Style/ExtraSpacing:
551
+ Exclude:
552
+ - 'Rakefile'
553
+ - 'lib/net/ssh/authentication/methods/password.rb'
554
+ - 'lib/net/ssh/authentication/pageant.rb'
555
+ - 'lib/net/ssh/proxy/socks5.rb'
556
+ - 'lib/net/ssh/transport/hmac/sha2_256_96.rb'
557
+ - 'lib/net/ssh/transport/hmac/sha2_512_96.rb'
558
+ - 'quicktest_337.rb'
559
+ - 'test/authentication/test_key_manager.rb'
560
+ - 'test/integration/test_forward.rb'
561
+ - 'test/test_config.rb'
562
+ - 'test/test_key_factory.rb'
563
+ - 'test/transport/test_packet_stream.rb'
564
+
565
+ # Offense count: 3
566
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
567
+ # SupportedStyles: format, sprintf, percent
568
+ Style/FormatString:
569
+ Exclude:
570
+ - 'lib/net/ssh/authentication/pageant.rb'
571
+ - 'lib/net/ssh/loggable.rb'
572
+
573
+
574
+ # Offense count: 11
575
+ # Configuration parameters: MinBodyLength.
576
+ Style/GuardClause:
577
+ Exclude:
578
+ - 'lib/net/ssh.rb'
579
+ - 'lib/net/ssh/buffered_io.rb'
580
+ - 'lib/net/ssh/connection/channel.rb'
581
+ - 'lib/net/ssh/key_factory.rb'
582
+ - 'lib/net/ssh/service/forward.rb'
583
+ - 'lib/net/ssh/transport/openssl.rb'
584
+ - 'lib/net/ssh/transport/algorithms.rb'
585
+ - 'lib/net/ssh/test/script.rb'
586
+ - 'lib/net/ssh/authentication/agent/socket.rb'
587
+ - 'lib/net/ssh/authentication/pageant.rb'
588
+ - 'lib/net/ssh/authentication/buffer.rb'
589
+ - 'lib/net/ssh/authentication/config.rb'
590
+ - 'lib/net/ssh/connection/keepalive.rb'
591
+ - 'lib/net/ssh/connection/session.rb'
592
+ - 'lib/net/ssh/buffer.rb'
593
+ - 'lib/net/ssh/proxy/command.rb'
594
+ - 'lib/net/ssh/proxy/socks5.rb'
595
+ - 'lib/net/ssh/transport/packet_stream.rb'
596
+ - 'lib/net/ssh/transport/server_version.rb'
597
+ - 'lib/net/ssh/transport/session.rb'
598
+ - 'test/authentication/test_key_manager.rb'
599
+ - 'test/common.rb'
600
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
601
+
602
+ # Offense count: 338
603
+ # Cop supports --auto-correct.
604
+ # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues.
605
+ # SupportedStyles: ruby19, ruby19_no_mixed_keys, hash_rockets
606
+ Style/HashSyntax:
607
+ Enabled: false
608
+
609
+ # Offense count: 2
610
+ Style/IfInsideElse:
611
+ Exclude:
612
+ - 'lib/net/ssh/connection/session.rb'
613
+ - 'lib/net/ssh/key_factory.rb'
614
+
615
+ # Offense count: 8
616
+ # Cop supports --auto-correct.
617
+ # Configuration parameters: MaxLineLength.
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: 4
630
+ # Cop supports --auto-correct.
631
+ # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
632
+ # SupportedStyles: special_inside_parentheses, consistent, align_brackets
633
+ Style/IndentArray:
634
+ Enabled: false
635
+
636
+ # Offense count: 4
637
+ # Cop supports --auto-correct.
638
+ # Configuration parameters: IndentationWidth.
639
+ Style/IndentAssignment:
640
+ Exclude:
641
+ - 'test/transport/kex/test_diffie_hellman_group1_sha1.rb'
642
+ - 'test/transport/kex/test_ecdh_sha2_nistp256.rb'
643
+ - 'test/transport/kex/test_ecdh_sha2_nistp384.rb'
644
+ - 'test/transport/kex/test_ecdh_sha2_nistp521.rb'
645
+
646
+ # Offense count: 216
647
+ # Cop supports --auto-correct.
648
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
649
+ # SupportedStyles: normal, rails
650
+ Style/IndentationConsistency:
651
+ Enabled: false
652
+
653
+ # Offense count: 93
654
+ # Cop supports --auto-correct.
655
+ # Configuration parameters: Width.
656
+ Style/IndentationWidth:
657
+ Enabled: false
658
+
659
+ # Offense count: 1
660
+ # Cop supports --auto-correct.
661
+ Style/InfiniteLoop:
662
+ Exclude:
663
+ - 'lib/net/ssh/authentication/pageant.rb'
664
+
665
+ # Offense count: 33
666
+ # Cop supports --auto-correct.
667
+ Style/LeadingCommentSpace:
668
+ Exclude:
669
+ - 'quicktest.rb'
670
+ - 'quicktest_1_open_channel_nb.rb'
671
+ - 'quicktest_337.rb'
672
+ - 'quicktest_keepalive.rb'
673
+ - 'test/integration/test_ed25519_pkeys.rb'
674
+ - 'test/integration/test_forward.rb'
675
+ - 'test/integration/test_id_rsa_keys.rb'
676
+ - 'test/integration/test_proxy.rb'
677
+
678
+ # Offense count: 29
679
+ # Cop supports --auto-correct.
680
+ Style/LineEndConcatenation:
681
+ Exclude:
682
+ - 'lib/net/ssh/authentication/pageant.rb'
683
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb'
684
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb'
685
+ - 'lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb'
686
+ - 'lib/net/ssh/verifiers/secure.rb'
687
+
688
+ # Offense count: 52
689
+ # Cop supports --auto-correct.
690
+ Style/MethodCallParentheses:
691
+ Exclude:
692
+ - 'quicktest_337.rb'
693
+ - 'test/authentication/test_key_manager.rb'
694
+ - 'test/connection/test_session.rb'
695
+ - 'test/integration/test_forward.rb'
696
+ - 'test/start/test_user_nil.rb'
697
+
698
+ # Offense count: 2
699
+ # Cop supports --auto-correct.
700
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
701
+ # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
702
+ Style/MethodDefParentheses:
703
+ Enabled: false
704
+
705
+ # Offense count: 22
706
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
707
+ # SupportedStyles: snake_case, camelCase
708
+ Style/MethodName:
709
+ Enabled: false
710
+
711
+ # Offense count: 3
712
+ # Cop supports --auto-correct.
713
+ Style/MultilineIfThen:
714
+ Exclude:
715
+ - 'lib/net/ssh/buffered_io.rb'
716
+ - 'lib/net/ssh/service/forward.rb'
717
+
718
+ # Offense count: 24
719
+ # Cop supports --auto-correct.
720
+ # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
721
+ # SupportedStyles: aligned, indented
722
+ Style/MultilineOperationIndentation:
723
+ Enabled: false
724
+
725
+ # Offense count: 1
726
+ Style/MultilineTernaryOperator:
727
+ Exclude:
728
+ - 'lib/net/ssh/authentication/agent.rb'
729
+
730
+ # Offense count: 49
731
+ # Cop supports --auto-correct.
732
+ Style/MutableConstant:
733
+ Enabled: false
734
+
735
+ # Offense count: 14
736
+ # Cop supports --auto-correct.
737
+ Style/NegatedIf:
738
+ Exclude:
739
+ - 'lib/net/ssh.rb'
740
+ - 'lib/net/ssh/authentication/key_manager.rb'
741
+ - 'lib/net/ssh/prompt.rb'
742
+ - 'lib/net/ssh/service/forward.rb'
743
+ - 'lib/net/ssh/transport/algorithms.rb'
744
+ - 'lib/net/ssh/transport/hmac/abstract.rb'
745
+ - 'lib/net/ssh/transport/session.rb'
746
+ - 'lib/net/ssh/transport/state.rb'
747
+ - 'test/test_key_factory.rb'
748
+ - 'test/transport/test_state.rb'
749
+
750
+ # Offense count: 1
751
+ # Cop supports --auto-correct.
752
+ Style/NegatedWhile:
753
+ Exclude:
754
+ - 'lib/net/ssh/config.rb'
755
+
756
+ # Offense count: 2
757
+ Style/NestedTernaryOperator:
758
+ Exclude:
759
+ - 'lib/net/ssh/authentication/agent.rb'
760
+
761
+ # Offense count: 2
762
+ # Cop supports --auto-correct.
763
+ # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
764
+ # SupportedStyles: skip_modifier_ifs, always
765
+ Style/Next:
766
+ Exclude:
767
+ - 'lib/net/ssh/authentication/key_manager.rb'
768
+ - 'lib/net/ssh/transport/algorithms.rb'
769
+
770
+ # Offense count: 2
771
+ # Cop supports --auto-correct.
772
+ Style/NilComparison:
773
+ Exclude:
774
+ - 'lib/net/ssh/proxy/command.rb'
775
+ - 'lib/net/ssh/transport/openssl.rb'
776
+
777
+ # Offense count: 4
778
+ # Cop supports --auto-correct.
779
+ Style/Not:
780
+ Exclude:
781
+ - 'lib/net/ssh/connection/channel.rb'
782
+
783
+ # Offense count: 6
784
+ # Cop supports --auto-correct.
785
+ Style/NumericLiterals:
786
+ MinDigits: 310
787
+
788
+ # Offense count: 2
789
+ Style/OpMethod:
790
+ Exclude:
791
+ - 'lib/net/ssh/buffer.rb'
792
+ - 'lib/net/ssh/version.rb'
793
+
794
+ # Offense count: 16
795
+ # Cop supports --auto-correct.
796
+ Style/ParallelAssignment:
797
+ Exclude:
798
+ - 'lib/net/ssh/config.rb'
799
+ - 'lib/net/ssh/connection/channel.rb'
800
+ - 'lib/net/ssh/connection/session.rb'
801
+ - 'lib/net/ssh/errors.rb'
802
+ - 'lib/net/ssh/test/socket.rb'
803
+ - 'lib/net/ssh/version.rb'
804
+ - 'test/authentication/test_agent.rb'
805
+ - 'test/common.rb'
806
+ - 'test/connection/test_channel.rb'
807
+
808
+ # Offense count: 7
809
+ # Cop supports --auto-correct.
810
+ # Configuration parameters: AllowSafeAssignment.
811
+ Style/ParenthesesAroundCondition:
812
+ Exclude:
813
+ - 'lib/net/ssh/authentication/ed25519.rb'
814
+ - 'lib/net/ssh/service/forward.rb'
815
+ - 'lib/net/ssh/transport/cipher_factory.rb'
816
+ - 'lib/net/ssh/transport/ctr.rb'
817
+ - 'test/integration/test_proxy.rb'
818
+
819
+ # Offense count: 9
820
+ # Cop supports --auto-correct.
821
+ # Configuration parameters: PreferredDelimiters.
822
+ Style/PercentLiteralDelimiters:
823
+ Exclude:
824
+ - 'Rakefile'
825
+ - 'net-ssh.gemspec'
826
+ - 'test/test_config.rb'
827
+
828
+ # Offense count: 17
829
+ # Cop supports --auto-correct.
830
+ Style/PerlBackrefs:
831
+ Exclude:
832
+ - 'lib/net/ssh/buffer.rb'
833
+ - 'lib/net/ssh/config.rb'
834
+ - 'lib/net/ssh/key_factory.rb'
835
+ - 'lib/net/ssh/proxy/command.rb'
836
+ - 'lib/net/ssh/proxy/socks5.rb'
837
+ - 'lib/net/ssh/transport/openssl.rb'
838
+ - 'test/integration/common.rb'
839
+
840
+ # Offense count: 14
841
+ # Cop supports --auto-correct.
842
+ Style/Proc:
843
+ Exclude:
844
+ - 'lib/net/ssh/connection/session.rb'
845
+ - 'lib/net/ssh/test/channel.rb'
846
+ - 'lib/net/ssh/transport/algorithms.rb'
847
+ - 'lib/net/ssh/verifiers/secure.rb'
848
+ - 'test/authentication/methods/test_hostbased.rb'
849
+ - 'test/authentication/methods/test_publickey.rb'
850
+ - 'test/connection/test_channel.rb'
851
+ - 'test/connection/test_session.rb'
852
+
853
+ # Offense count: 7
854
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
855
+ # SupportedStyles: compact, exploded
856
+ Style/RaiseArgs:
857
+ Enabled: false
858
+
859
+ # Offense count: 8
860
+ # Cop supports --auto-correct.
861
+ Style/RedundantBegin:
862
+ Exclude:
863
+ - 'lib/net/ssh/authentication/agent/socket.rb'
864
+ - 'lib/net/ssh/buffered_io.rb'
865
+ - 'lib/net/ssh/verifiers/strict.rb'
866
+ - 'test/manual/test_pageant.rb'
867
+
868
+ # Offense count: 1
869
+ # Cop supports --auto-correct.
870
+ Style/RedundantParentheses:
871
+ Exclude:
872
+ - 'support/arcfour_check.rb'
873
+
874
+ # Offense count: 49
875
+ # Cop supports --auto-correct.
876
+ # Configuration parameters: AllowMultipleReturnValues.
877
+ Style/RedundantReturn:
878
+ Enabled: false
879
+
880
+ # Offense count: 11
881
+ # Cop supports --auto-correct.
882
+ Style/RedundantSelf:
883
+ Exclude:
884
+ - 'lib/net/ssh/authentication/ed25519.rb'
885
+ - 'lib/net/ssh/connection/channel.rb'
886
+ - 'lib/net/ssh/test/extensions.rb'
887
+ - 'lib/net/ssh/transport/openssl.rb'
888
+ - 'test/authentication/test_ed25519.rb'
889
+
890
+ # Offense count: 4
891
+ # Cop supports --auto-correct.
892
+ Style/RescueModifier:
893
+ Exclude:
894
+ - 'lib/net/ssh/service/forward.rb'
895
+ - 'lib/net/ssh/transport/algorithms.rb'
896
+
897
+ # Offense count: 2
898
+ # Cop supports --auto-correct.
899
+ Style/SelfAssignment:
900
+ Exclude:
901
+ - 'lib/net/ssh/config.rb'
902
+ - 'quicktest_337.rb'
903
+
904
+ # Offense count: 10
905
+ # Cop supports --auto-correct.
906
+ # Configuration parameters: AllowAsExpressionSeparator.
907
+ Style/Semicolon:
908
+ Exclude:
909
+ - 'lib/net/ssh/buffer.rb'
910
+ - 'quicktest_337.rb'
911
+ - 'test/connection/test_channel.rb'
912
+ - 'test/connection/test_session.rb'
913
+ - 'test/transport/kex/test_ecdh_sha2_nistp256.rb'
914
+
915
+ # Offense count: 2
916
+ # Cop supports --auto-correct.
917
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
918
+ # SupportedStyles: only_raise, only_fail, semantic
919
+ Style/SignalException:
920
+ Exclude:
921
+ - 'lib/net/ssh/config.rb'
922
+ - 'lib/net/ssh/connection/channel.rb'
923
+
924
+ # Offense count: 2
925
+ # Cop supports --auto-correct.
926
+ # Configuration parameters: AllowIfMethodIsEmpty.
927
+ Style/SingleLineMethods:
928
+ Exclude:
929
+ - 'lib/net/ssh/buffered_io.rb'
930
+
931
+ # Offense count: 17
932
+ # Cop supports --auto-correct.
933
+ Style/SpaceAfterColon:
934
+ Exclude:
935
+ - 'lib/net/ssh/authentication/ed25519.rb'
936
+ - 'quicktest_keepalive.rb'
937
+ - 'test/integration/test_ed25519_pkeys.rb'
938
+ - 'test/verifiers/test_secure.rb'
939
+
940
+ # Offense count: 247
941
+ # Cop supports --auto-correct.
942
+ Style/SpaceAfterComma:
943
+ Enabled: false
944
+
945
+ # Offense count: 131
946
+ # Cop supports --auto-correct.
947
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
948
+ # SupportedStyles: space, no_space
949
+ Style/SpaceAroundEqualsInParameterDefault:
950
+ Enabled: false
951
+
952
+ # Offense count: 56
953
+ # Cop supports --auto-correct.
954
+ # Configuration parameters: AllowForAlignment.
955
+ Style/SpaceAroundOperators:
956
+ Enabled: false
957
+
958
+ # Offense count: 6
959
+ # Cop supports --auto-correct.
960
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
961
+ # SupportedStyles: space, no_space
962
+ Style/SpaceBeforeBlockBraces:
963
+ Enabled: false
964
+
965
+ # Offense count: 4
966
+ # Cop supports --auto-correct.
967
+ Style/SpaceBeforeComma:
968
+ Exclude:
969
+ - 'test/integration/test_forward.rb'
970
+ - 'test/integration/test_proxy.rb'
971
+
972
+ # Offense count: 3
973
+ # Cop supports --auto-correct.
974
+ # Configuration parameters: AllowForAlignment.
975
+ Style/SpaceBeforeFirstArg:
976
+ Exclude:
977
+ - 'lib/net/ssh/transport/hmac/sha2_256_96.rb'
978
+ - 'lib/net/ssh/transport/hmac/sha2_512_96.rb'
979
+ - 'test/authentication/test_key_manager.rb'
980
+
981
+ # Offense count: 1
982
+ # Cop supports --auto-correct.
983
+ Style/SpaceBeforeSemicolon:
984
+ Exclude:
985
+ - 'quicktest_337.rb'
986
+
987
+ # Offense count: 30
988
+ # Cop supports --auto-correct.
989
+ # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
990
+ # SupportedStyles: space, no_space
991
+ Style/SpaceInsideBlockBraces:
992
+ Enabled: false
993
+
994
+ # Offense count: 40
995
+ # Cop supports --auto-correct.
996
+ Style/SpaceInsideBrackets:
997
+ Exclude:
998
+ - 'Rakefile'
999
+ - 'lib/net/ssh/transport/algorithms.rb'
1000
+ - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb'
1001
+ - 'test/integration/test_forward.rb'
1002
+ - 'test/start/test_options.rb'
1003
+
1004
+ # Offense count: 46
1005
+ # Cop supports --auto-correct.
1006
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
1007
+ # SupportedStyles: space, no_space
1008
+ Style/SpaceInsideHashLiteralBraces:
1009
+ Enabled: false
1010
+
1011
+ # Offense count: 13
1012
+ # Cop supports --auto-correct.
1013
+ Style/SpaceInsideParens:
1014
+ Exclude:
1015
+ - 'lib/net/ssh/transport/algorithms.rb'
1016
+ - 'lib/net/ssh/transport/openssl.rb'
1017
+
1018
+ # Offense count: 3
1019
+ # Cop supports --auto-correct.
1020
+ Style/SpaceInsideRangeLiteral:
1021
+ Exclude:
1022
+ - 'lib/net/ssh/authentication/ed25519.rb'
1023
+ - 'lib/net/ssh/transport/algorithms.rb'
1024
+
1025
+ # Offense count: 40
1026
+ # Cop supports --auto-correct.
1027
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
1028
+ # SupportedStyles: use_perl_names, use_english_names
1029
+ Style/SpecialGlobalVars:
1030
+ Enabled: false
1031
+
1032
+ # Offense count: 1739
1033
+ # Cop supports --auto-correct.
1034
+ # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
1035
+ # SupportedStyles: single_quotes, double_quotes
1036
+ Style/StringLiterals:
1037
+ Enabled: false
1038
+
1039
+ # Offense count: 1
1040
+ # Cop supports --auto-correct.
1041
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
1042
+ # SupportedStyles: single_quotes, double_quotes
1043
+ Style/StringLiteralsInInterpolation:
1044
+ Enabled: false
1045
+
1046
+ # Offense count: 17
1047
+ # Cop supports --auto-correct.
1048
+ # Configuration parameters: IgnoredMethods.
1049
+ # IgnoredMethods: respond_to, on_close
1050
+ Style/SymbolProc:
1051
+ IgnoredMethods:
1052
+ - respond_to
1053
+ - on_close
1054
+ Exclude:
1055
+ - 'lib/net/ssh/authentication/session.rb'
1056
+ - 'lib/net/ssh/buffer.rb'
1057
+ - 'lib/net/ssh/connection/session.rb'
1058
+ - 'lib/net/ssh/test/extensions.rb'
1059
+ - 'lib/net/ssh/transport/algorithms.rb'
1060
+ - 'test/integration/test_forward.rb'
1061
+
1062
+ # Offense count: 1
1063
+ # Cop supports --auto-correct.
1064
+ Style/Tab:
1065
+ Exclude:
1066
+ - 'lib/net/ssh/config.rb'
1067
+
1068
+ # Offense count: 41
1069
+ # Cop supports --auto-correct.
1070
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
1071
+ # SupportedStyles: final_newline, final_blank_line
1072
+ Style/TrailingBlankLines:
1073
+ Enabled: false
1074
+
1075
+ # Offense count: 255
1076
+ # Cop supports --auto-correct.
1077
+ # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
1078
+ # SupportedStyles: comma, consistent_comma, no_comma
1079
+ Style/TrailingCommaInLiteral:
1080
+ Exclude:
1081
+ - 'lib/net/ssh/key_factory.rb'
1082
+ - 'lib/net/ssh/transport/cipher_factory.rb'
1083
+ - 'lib/net/ssh/transport/kex.rb'
1084
+ - 'lib/net/ssh/transport/openssl.rb'
1085
+ - 'test/transport/test_packet_stream.rb'
1086
+
1087
+ # Offense count: 120
1088
+ # Cop supports --auto-correct.
1089
+ Style/TrailingWhitespace:
1090
+ Enabled: false
1091
+
1092
+ # Offense count: 2
1093
+ # Cop supports --auto-correct.
1094
+ # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
1095
+ # Whitelist: 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
1096
+ Style/TrivialAccessors:
1097
+ Exclude:
1098
+ - 'test/transport/kex/test_diffie_hellman_group1_sha1.rb'
1099
+
1100
+ # Offense count: 6
1101
+ # Cop supports --auto-correct.
1102
+ Style/UnlessElse:
1103
+ Exclude:
1104
+ - 'lib/net/ssh/buffer.rb'
1105
+ - 'lib/net/ssh/transport/ctr.rb'
1106
+ - 'test/transport/kex/test_ecdh_sha2_nistp256.rb'
1107
+ - 'test/transport/kex/test_ecdh_sha2_nistp384.rb'
1108
+ - 'test/transport/kex/test_ecdh_sha2_nistp521.rb'
1109
+ - 'test/transport/test_server_version.rb'
1110
+
1111
+ # Offense count: 4
1112
+ # Cop supports --auto-correct.
1113
+ Style/UnneededInterpolation:
1114
+ Exclude:
1115
+ - 'lib/net/ssh/proxy/socks5.rb'
1116
+ - 'lib/net/ssh/transport/session.rb'
1117
+ - 'test/integration/test_forward.rb'
1118
+
1119
+ # Offense count: 4
1120
+ # Cop supports --auto-correct.
1121
+ Style/UnneededPercentQ:
1122
+ Exclude:
1123
+ - 'net-ssh.gemspec'
1124
+ - 'test/test_config.rb'
1125
+
1126
+ # Offense count: 2
1127
+ # Cop supports --auto-correct.
1128
+ Style/WhileUntilDo:
1129
+ Exclude:
1130
+ - 'lib/net/ssh/config.rb'
1131
+ - 'test/integration/common.rb'
1132
+
1133
+ # Offense count: 2
1134
+ # Cop supports --auto-correct.
1135
+ # Configuration parameters: SupportedStyles, WordRegex.
1136
+ # SupportedStyles: percent, brackets
1137
+ Style/WordArray:
1138
+ EnforcedStyle: percent
1139
+ MinSize: 3
1140
+
1141
+ # Offense count: 7
1142
+ # Cop supports --auto-correct.
1143
+ Style/ZeroLengthPredicate:
1144
+ Exclude:
1145
+ - 'lib/net/ssh/buffered_io.rb'
1146
+ - 'lib/net/ssh/connection/channel.rb'
1147
+ - 'test/integration/test_forward.rb'
1148
+ - 'test_connection_close_shall_close_cannels.rb'