# This configuration was generated by # `rubocop --auto-gen-config` # on 2016-12-11 13:27:14 +0100 using RuboCop version 0.46.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. # Offense count: 4 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'lib/net/ssh/connection/channel.rb' - 'lib/net/ssh/connection/session.rb' - 'lib/net/ssh/proxy/command.rb' # Offense count: 1 Lint/EmptyWhen: Exclude: - 'lib/net/ssh/config.rb' # Layout/EndAlignment: # Enabled: false # Offense count: 23 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: io, id, to Naming/UncommunicativeMethodParamName: Exclude: - 'lib/net/ssh/authentication/certificate.rb' - 'lib/net/ssh/authentication/ed25519.rb' - 'lib/net/ssh/authentication/key_manager.rb' - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/buffered_io.rb' - 'lib/net/ssh/ruby_compat.rb' - 'lib/net/ssh/test/socket.rb' - 'lib/net/ssh/transport/ctr.rb' - 'lib/net/ssh/transport/hmac/abstract.rb' - 'lib/net/ssh/transport/identity_cipher.rb' - 'test/connection/test_session.rb' # Offense count: 2 Naming/BinaryOperatorParameterName: Exclude: - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/version.rb' # Offense count: 4 Naming/MemoizedInstanceVariableName: Exclude: - 'lib/net/ssh/transport/openssl.rb' - 'test/authentication/test_key_manager.rb' # Offense count: 1 Lint/LiteralAsCondition: Exclude: - 'lib/net/ssh/authentication/pageant.rb' # Offense count: 3 Style/MultipleComparison: Exclude: - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/known_hosts.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle. # SupportedStyles: annotated, template, unannotated Style/FormatStringToken: Exclude: - 'lib/net/ssh/loggable.rb' # Offense count: 7 # Configuration parameters: Blacklist. # Blacklist: END, (?-mix:EO[A-Z]{1}) Naming/HeredocDelimiterNaming: Exclude: - 'test/authentication/test_agent.rb' - 'test/authentication/test_certificate.rb' - 'test/authentication/test_ed25519.rb' - 'test/integration/test_agent.rb' - 'test/test_key_factory.rb' # Offense count: 3 # Configuration parameters: MaximumRangeSize. Lint/MissingCopEnableDirective: Exclude: - 'test/authentication/test_agent.rb' - 'test/authentication/test_certificate.rb' - 'test/integration/test_agent.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent Layout/IndentHeredoc: Exclude: - 'test/authentication/test_agent.rb' - 'test/authentication/test_certificate.rb' - 'test/authentication/test_ed25519.rb' - 'test/integration/test_agent.rb' - 'test/test_key_factory.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity. # SupportedStylesAlignWith: start_of_line, def Layout/DefEndAlignment: Exclude: - 'test/transport/hmac/test_sha2_256.rb' - 'test/transport/hmac/test_sha2_512.rb' # Offense count: 3 Style/CommentedKeyword: Exclude: - 'test/connection/test_session.rb' - 'test/integration/test_forward.rb' # Offense count: 8 Lint/HandleExceptions: Exclude: - 'lib/net/ssh/authentication/session.rb' - 'lib/net/ssh/known_hosts.rb' - 'lib/net/ssh/transport/openssl.rb' - 'test/integration/common.rb' - 'test/integration/test_forward.rb' - 'test/start/test_connection.rb' - 'test/start/test_transport.rb' # Offense count: 72 Lint/ImplicitStringConcatenation: Exclude: - 'lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb' - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb' # Offense count: 2 Lint/Loop: Exclude: - 'lib/net/ssh/authentication/methods/password.rb' - 'lib/net/ssh/key_factory.rb' # Offense count: 1 Lint/NextWithoutAccumulator: Exclude: - 'lib/net/ssh/connection/session.rb' # Offense count: 1 Lint/NonLocalExitFromIterator: Exclude: - 'lib/net/ssh/known_hosts.rb' # Offense count: 4 Lint/RescueException: Exclude: - 'lib/net/ssh/authentication/key_manager.rb' - 'lib/net/ssh/service/forward.rb' - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb' # Offense count: 2 Lint/ShadowedException: Exclude: - 'lib/net/ssh/authentication/key_manager.rb' # Offense count: 1 Lint/UnderscorePrefixedVariableName: Exclude: - 'lib/net/ssh/test/local_packet.rb' # Offense count: 52 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. Lint/UnusedBlockArgument: Exclude: - 'lib/net/ssh/connection/keepalive.rb' - 'lib/net/ssh/connection/session.rb' - 'lib/net/ssh/service/forward.rb' - 'test/authentication/methods/test_password.rb' - 'test/authentication/test_agent.rb' - 'test/common.rb' - 'test/connection/test_channel.rb' - 'test/connection/test_session.rb' - 'test/transport/test_algorithms.rb' - 'test/transport/test_hmac.rb' # Offense count: 50 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Enabled: false # Offense count: 3 # Configuration parameters: ContextCreatingMethods. Lint/UselessAccessModifier: Exclude: - 'lib/net/ssh/buffered_io.rb' - 'lib/net/ssh/connection/channel.rb' - 'lib/net/ssh/transport/session.rb' # Offense count: 10 Lint/UselessAssignment: Exclude: - 'lib/net/ssh/proxy/socks4.rb' - 'lib/net/ssh/proxy/socks5.rb' - 'test/integration/common.rb' - 'test/integration/test_forward.rb' # Offense count: 196 Metrics/AbcSize: Max: 76 # Offense count: 14 # Configuration parameters: CountComments. Metrics/BlockLength: Max: 88 # Offense count: 1 Metrics/BlockNesting: Max: 4 # Offense count: 27 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 548 # Offense count: 34 Metrics/CyclomaticComplexity: Max: 39 # Offense count: 1341 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 934 # Offense count: 164 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 93 # Offense count: 1 # Configuration parameters: CountComments. Metrics/ModuleLength: Max: 142 # Offense count: 1 # Configuration parameters: CountKeywordArgs. Metrics/ParameterLists: Max: 6 # Offense count: 27 Metrics/PerceivedComplexity: Max: 23 # Offense count: 3 # Cop supports --auto-correct. Performance/RangeInclude: Exclude: - 'lib/net/ssh/transport/algorithms.rb' # Offense count: 3 # Cop supports --auto-correct. Performance/RedundantBlockCall: Exclude: - 'lib/net/ssh/connection/session.rb' - 'test/connection/test_channel.rb' # Offense count: 6 # Cop supports --auto-correct. Performance/RedundantMatch: Exclude: - 'lib/net/ssh/key_factory.rb' - 'lib/net/ssh/transport/server_version.rb' # Offense count: 13 Naming/AccessorMethodName: Exclude: - 'lib/net/ssh/authentication/methods/password.rb' - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/connection/session.rb' - 'lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb' - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb' - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb' - 'lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: prefer_alias, prefer_alias_method Style/Alias: Exclude: - 'lib/net/ssh/connection/session.rb' - 'lib/net/ssh/service/forward.rb' # Offense count: 72 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: with_first_parameter, with_fixed_indentation Layout/AlignParameters: Enabled: false # Offense count: 33 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'lib/net/ssh/authentication/key_manager.rb' - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/buffered_io.rb' - 'lib/net/ssh/config.rb' - 'lib/net/ssh/connection/channel.rb' - 'lib/net/ssh/connection/session.rb' - 'lib/net/ssh/key_factory.rb' - 'lib/net/ssh/service/forward.rb' - 'lib/net/ssh/test/channel.rb' - 'lib/net/ssh/test/script.rb' - 'lib/net/ssh/transport/cipher_factory.rb' - 'lib/net/ssh/transport/hmac.rb' - 'lib/net/ssh/transport/key_expander.rb' - 'lib/net/ssh/transport/packet_stream.rb' - 'test/common.rb' # Offense count: 2 Style/AsciiComments: Exclude: - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/buffered_io.rb' # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods. # SupportedStyles: line_count_based, semantic, braces_for_chaining # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object # FunctionalMethods: let, let!, subject, watch # IgnoredMethods: lambda, proc, it Style/BlockDelimiters: Exclude: - 'Rakefile' - 'lib/net/ssh/authentication/key_manager.rb' - 'lib/net/ssh/config.rb' - 'lib/net/ssh/connection/keepalive.rb' - 'lib/net/ssh/proxy/command.rb' - 'lib/net/ssh/transport/ctr.rb' - 'test/test_buffer.rb' - 'test/verifiers/test_secure.rb' # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: braces, no_braces, context_dependent Style/BracesAroundHashParameters: Exclude: - 'lib/net/ssh/config.rb' - 'test/integration/test_ed25519_pkeys.rb' - 'test/integration/test_id_rsa_keys.rb' - 'test/transport/test_hmac.rb' - 'test/transport/test_session.rb' - 'test_kerberos_client2.rb' # Offense count: 2 Style/CaseEquality: Exclude: - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/connection/session.rb' # Offense count: 1 # Cop supports --auto-correct. Style/CharacterLiteral: Exclude: - 'test/test_buffer.rb' # Offense count: 12 Naming/ClassAndModuleCamelCase: Exclude: - 'lib/net/ssh/transport/hmac/md5_96.rb' - 'lib/net/ssh/transport/hmac/sha1_96.rb' - 'lib/net/ssh/transport/hmac/sha2_256.rb' - 'lib/net/ssh/transport/hmac/sha2_256_96.rb' - 'lib/net/ssh/transport/hmac/sha2_512.rb' - 'lib/net/ssh/transport/hmac/sha2_512_96.rb' - 'test/transport/hmac/test_md5_96.rb' - 'test/transport/hmac/test_sha1_96.rb' - 'test/transport/hmac/test_sha2_256.rb' - 'test/transport/hmac/test_sha2_256_96.rb' - 'test/transport/hmac/test_sha2_512.rb' - 'test/transport/hmac/test_sha2_512_96.rb' # Offense count: 16 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: is_a?, kind_of? Style/ClassCheck: Exclude: - 'test/authentication/test_key_manager.rb' # Offense count: 7 Style/ClassVars: Exclude: - 'lib/net/ssh/config.rb' - 'lib/net/ssh/packet.rb' - 'test/authentication/methods/test_hostbased.rb' - 'test/authentication/methods/test_publickey.rb' # Offense count: 1 # Cop supports --auto-correct. Style/ColonMethodCall: Exclude: - 'lib/net/ssh/authentication/ed25519.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: Keywords. # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW Style/CommentAnnotation: Exclude: - 'lib/net/ssh/authentication/ed25519.rb' - 'lib/net/ssh/authentication/session.rb' - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/config.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly. # SupportedStyles: assign_to_condition, assign_inside_condition Style/ConditionalAssignment: Exclude: - 'lib/net/ssh/transport/ctr.rb' - 'lib/net/ssh/transport/state.rb' - 'test/test_key_factory.rb' - 'lib/net/ssh/config.rb' - 'lib/net/ssh/known_hosts.rb' - 'lib/net/ssh/proxy/socks5.rb' - 'lib/net/ssh/test/script.rb' # Offense count: 5 Naming/ConstantName: Exclude: - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb' - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb' - 'lib/net/ssh/transport/openssl.rb' # Offense count: 1 # Cop supports --auto-correct. Style/DefWithParentheses: Exclude: - 'test/integration/test_forward.rb' # Offense count: 16 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/net/ssh/authentication/ed25519.rb' - 'lib/net/ssh/connection/keepalive.rb' - 'lib/net/ssh/connection/session.rb' - 'lib/net/ssh/ruby_compat.rb' - 'lib/net/ssh/test/extensions.rb' - 'lib/net/ssh/transport/hmac/sha2_256_96.rb' - 'lib/net/ssh/transport/hmac/sha2_512.rb' - 'lib/net/ssh/transport/hmac/sha2_512_96.rb' - 'lib/net/ssh/transport/kex.rb' - 'lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb' - 'lib/net/ssh/transport/key_expander.rb' - 'lib/net/ssh/transport/openssl.rb' # Offense count: 209 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines Layout/EmptyLinesAroundModuleBody: Enabled: false # Offense count: 2 # Cop supports --auto-correct. Style/EmptyLiteral: Exclude: - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb' - 'lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb' # Offense count: 1 # Cop supports --auto-correct. Style/EvenOdd: Exclude: - 'lib/net/ssh/buffer.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/loggable.rb' # Offense count: 35 # Configuration parameters: MinBodyLength. Style/GuardClause: Enabled: false # Offense count: 1 Style/IfInsideElse: Exclude: - 'lib/net/ssh/connection/session.rb' # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Exclude: - 'lib/net/ssh.rb' - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/proxy/command.rb' - 'lib/net/ssh/service/forward.rb' - 'lib/net/ssh/transport/ctr.rb' - 'lib/net/ssh/transport/key_expander.rb' - 'test/integration/test_proxy.rb' - 'test/test_key_factory.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_brackets Layout/IndentArray: Exclude: - 'lib/net/ssh/transport/openssl.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: IndentationWidth. Layout/IndentAssignment: Exclude: - 'test/transport/kex/test_diffie_hellman_group1_sha1.rb' - 'test/transport/kex/test_ecdh_sha2_nistp256.rb' - 'test/transport/kex/test_ecdh_sha2_nistp384.rb' - 'test/transport/kex/test_ecdh_sha2_nistp521.rb' # Offense count: 1 # Cop supports --auto-correct. Style/InfiniteLoop: Exclude: - 'lib/net/ssh/authentication/pageant.rb' # Offense count: 17 # Cop supports --auto-correct. Layout/LeadingCommentSpace: Exclude: - 'test/integration/test_ed25519_pkeys.rb' - 'test/integration/test_forward.rb' - 'test/integration/test_id_rsa_keys.rb' - 'test/integration/test_proxy.rb' # Offense count: 27 # Cop supports --auto-correct. Style/LineEndConcatenation: Exclude: - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb' - 'lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb' - 'lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb' - 'lib/net/ssh/verifiers/secure.rb' # Offense count: 12 # Cop supports --auto-correct. Style/MethodCallWithoutArgsParentheses: Exclude: - 'test/authentication/test_key_manager.rb' - 'test/connection/test_session.rb' - 'test/integration/test_forward.rb' - 'test/start/test_user_nil.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline Style/MethodDefParentheses: Exclude: - 'test/common.rb' - 'test/integration/common.rb' # Offense count: 1 Style/MethodMissing: Exclude: - 'lib/net/ssh/connection/session.rb' # Offense count: 24 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: snake_case, camelCase Naming/MethodName: Exclude: - 'lib/net/ssh/authentication/ed25519_loader.rb' - 'test/authentication/test_agent.rb' - 'test/authentication/test_session.rb' - 'test/common.rb' - 'test/connection/test_channel.rb' - 'test/test_config.rb' - 'test/test_key_factory.rb' # Offense count: 3 # Cop supports --auto-correct. Style/MultilineIfThen: Exclude: - 'lib/net/ssh/buffered_io.rb' - 'lib/net/ssh/service/forward.rb' # Offense count: 23 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. # SupportedStyles: aligned, indented Layout/MultilineOperationIndentation: Exclude: - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/known_hosts.rb' - 'lib/net/ssh/proxy/https.rb' - 'lib/net/ssh/transport/algorithms.rb' - 'lib/net/ssh/transport/kex/ecdh_sha2_nistp256.rb' - 'lib/net/ssh/transport/state.rb' - 'lib/net/ssh/verifiers/secure.rb' - 'test/authentication/methods/test_hostbased.rb' - 'test/authentication/methods/test_publickey.rb' # Offense count: 40 # Cop supports --auto-correct. Style/MutableConstant: Enabled: false # Offense count: 13 # Cop supports --auto-correct. Style/NegatedIf: Exclude: - 'lib/net/ssh.rb' - 'lib/net/ssh/authentication/key_manager.rb' - 'lib/net/ssh/service/forward.rb' - 'lib/net/ssh/transport/algorithms.rb' - 'lib/net/ssh/transport/hmac/abstract.rb' - 'lib/net/ssh/transport/session.rb' - 'lib/net/ssh/transport/state.rb' - 'test/test_key_factory.rb' - 'test/transport/test_state.rb' # Offense count: 1 # Cop supports --auto-correct. Style/NegatedWhile: Exclude: - 'lib/net/ssh/config.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles. # SupportedStyles: skip_modifier_ifs, always Style/Next: Exclude: - 'lib/net/ssh/authentication/key_manager.rb' - 'lib/net/ssh/transport/algorithms.rb' # Offense count: 2 # Cop supports --auto-correct. Style/NilComparison: Exclude: - 'lib/net/ssh/proxy/command.rb' - 'lib/net/ssh/transport/openssl.rb' # Offense count: 3 # Cop supports --auto-correct. Style/Not: Exclude: - 'lib/net/ssh/connection/channel.rb' # Offense count: 7 # Cop supports --auto-correct. Style/NumericLiterals: MinDigits: 310 # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'spec/**/*' - 'lib/net/ssh/authentication/methods/password.rb' - 'lib/net/ssh/authentication/pageant.rb' - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/service/forward.rb' - 'lib/net/ssh/test/extensions.rb' - 'lib/net/ssh/transport/key_expander.rb' - 'test/transport/test_packet_stream.rb' - 'test_connection_close_shall_close_cannels.rb' # Offense count: 15 # Cop supports --auto-correct. Style/ParallelAssignment: Exclude: - 'lib/net/ssh/config.rb' - 'lib/net/ssh/connection/channel.rb' - 'lib/net/ssh/connection/session.rb' - 'lib/net/ssh/errors.rb' - 'lib/net/ssh/test/socket.rb' - 'lib/net/ssh/version.rb' - 'test/authentication/test_agent.rb' - 'test/common.rb' - 'test/connection/test_channel.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: AllowSafeAssignment. Style/ParenthesesAroundCondition: Exclude: - 'lib/net/ssh/authentication/ed25519.rb' - 'lib/net/ssh/service/forward.rb' - 'lib/net/ssh/transport/cipher_factory.rb' - 'lib/net/ssh/transport/ctr.rb' - 'test/integration/test_proxy.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'Rakefile' - 'net-ssh.gemspec' - 'test/test_config.rb' # Offense count: 16 # Cop supports --auto-correct. Style/PerlBackrefs: Exclude: - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/config.rb' - 'lib/net/ssh/key_factory.rb' - 'lib/net/ssh/proxy/command.rb' - 'lib/net/ssh/proxy/socks5.rb' - 'lib/net/ssh/transport/openssl.rb' - 'test/integration/common.rb' # Offense count: 14 # Cop supports --auto-correct. Style/Proc: Exclude: - 'lib/net/ssh/connection/session.rb' - 'lib/net/ssh/test/channel.rb' - 'lib/net/ssh/transport/algorithms.rb' - 'lib/net/ssh/verifiers/secure.rb' - 'test/authentication/methods/test_hostbased.rb' - 'test/authentication/methods/test_publickey.rb' - 'test/connection/test_channel.rb' - 'test/connection/test_session.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: compact, exploded Style/RaiseArgs: Exclude: - 'lib/net/ssh/authentication/ed25519.rb' # Offense count: 4 # Cop supports --auto-correct. Style/RedundantBegin: Exclude: - 'lib/net/ssh/buffered_io.rb' - 'lib/net/ssh/verifiers/strict.rb' - 'test/manual/test_pageant.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantParentheses: Exclude: - 'support/arcfour_check.rb' # Offense count: 57 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Enabled: false # Offense count: 11 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'lib/net/ssh/authentication/ed25519.rb' - 'lib/net/ssh/connection/channel.rb' - 'lib/net/ssh/test/extensions.rb' - 'lib/net/ssh/transport/openssl.rb' - 'test/authentication/test_ed25519.rb' # Offense count: 4 # Cop supports --auto-correct. Style/RescueModifier: Exclude: - 'lib/net/ssh/service/forward.rb' - 'lib/net/ssh/transport/algorithms.rb' # Offense count: 1 # Cop supports --auto-correct. Style/SelfAssignment: Exclude: - 'lib/net/ssh/config.rb' # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: AllowAsExpressionSeparator. Style/Semicolon: Exclude: - 'lib/net/ssh/buffer.rb' - 'test/connection/test_channel.rb' - 'test/connection/test_session.rb' - 'test/transport/kex/test_ecdh_sha2_nistp256.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: only_raise, only_fail, semantic Style/SignalException: Exclude: - 'lib/net/ssh/config.rb' - 'lib/net/ssh/connection/channel.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowIfMethodIsEmpty. Style/SingleLineMethods: Exclude: - 'lib/net/ssh/buffered_io.rb' # Offense count: 16 # Cop supports --auto-correct. Layout/SpaceAfterColon: Exclude: - 'lib/net/ssh/authentication/ed25519.rb' - 'test/integration/test_ed25519_pkeys.rb' - 'test/verifiers/test_secure.rb' # Offense count: 254 # Cop supports --auto-correct. Layout/SpaceAfterComma: Enabled: false # Offense count: 132 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Layout/SpaceBeforeFirstArg: Exclude: - 'lib/net/ssh/transport/hmac/sha2_256_96.rb' - 'lib/net/ssh/transport/hmac/sha2_512_96.rb' - 'test/authentication/test_key_manager.rb' # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space Layout/SpaceInsideBlockBraces: Exclude: - 'lib/net/ssh/authentication/session.rb' - 'lib/net/ssh/transport/ctr.rb' - 'support/ssh_tunnel_bug.rb' - 'test/authentication/test_agent.rb' - 'test/authentication/test_key_manager.rb' - 'test/start/test_user_nil.rb' # Offense count: 22 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: Exclude: - 'lib/net/ssh/authentication/agent.rb' - 'lib/net/ssh/connection/session.rb' - 'support/ssh_tunnel_bug.rb' - 'test/integration/common.rb' - 'test/integration/test_forward.rb' - 'test/manual/test_pageant.rb' - 'test/test_all.rb' - 'test_connection_close_shall_close_cannels.rb' - 'test_kerberos_client2.rb' # Offense count: 1846 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Enabled: false # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. # IgnoredMethods: respond_to, define_method Style/SymbolProc: Exclude: - 'lib/net/ssh/authentication/session.rb' - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/connection/session.rb' - 'lib/net/ssh/test/extensions.rb' - 'lib/net/ssh/transport/algorithms.rb' - 'test/integration/test_forward.rb' - 'test/test/test_test.rb' # Offense count: 39 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: final_newline, final_blank_line Layout/TrailingBlankLines: Enabled: false # Offense count: 66 # Cop supports --auto-correct. Layout/TrailingWhitespace: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist. # 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 Style/TrivialAccessors: Exclude: - 'test/transport/kex/test_diffie_hellman_group1_sha1.rb' # Offense count: 6 # Cop supports --auto-correct. Style/UnlessElse: Exclude: - 'lib/net/ssh/buffer.rb' - 'lib/net/ssh/transport/ctr.rb' - 'test/transport/kex/test_ecdh_sha2_nistp256.rb' - 'test/transport/kex/test_ecdh_sha2_nistp384.rb' - 'test/transport/kex/test_ecdh_sha2_nistp521.rb' - 'test/transport/test_server_version.rb' # Offense count: 4 # Cop supports --auto-correct. Style/UnneededInterpolation: Exclude: - 'lib/net/ssh/proxy/socks5.rb' - 'lib/net/ssh/transport/session.rb' - 'test/integration/test_forward.rb' # Offense count: 4 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'net-ssh.gemspec' - 'test/test_config.rb' # Offense count: 2 # Cop supports --auto-correct. Style/WhileUntilDo: Exclude: - 'lib/net/ssh/config.rb' - 'test/integration/common.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: SupportedStyles, WordRegex. # SupportedStyles: percent, brackets Style/WordArray: EnforcedStyle: percent MinSize: 3 # Offense count: 7 # Cop supports --auto-correct. Style/ZeroLengthPredicate: Exclude: - 'lib/net/ssh/buffered_io.rb' - 'lib/net/ssh/connection/channel.rb' - 'test/integration/test_forward.rb' - 'test_connection_close_shall_close_cannels.rb'