# This configuration was generated by # `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 100` # on 2022-06-16 14:35:44 UTC using RuboCop version 1.30.1. # 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: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/DeprecatedAttributeAssignment: Exclude: - 'http.gemspec' # Offense count: 53 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: leading, trailing Layout/DotPosition: Exclude: - 'lib/http/options.rb' - 'spec/lib/http/client_spec.rb' - 'spec/lib/http/features/auto_deflate_spec.rb' - 'spec/lib/http/headers_spec.rb' - 'spec/lib/http/options/features_spec.rb' - 'spec/lib/http/redirector_spec.rb' - 'spec/lib/http/response/body_spec.rb' - 'spec/lib/http_spec.rb' - 'spec/support/http_handling_shared.rb' # Offense count: 176 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: - 'lib/http/chainable.rb' - 'spec/lib/http/client_spec.rb' - 'spec/lib/http/features/auto_inflate_spec.rb' - 'spec/lib/http/features/instrumentation_spec.rb' - 'spec/lib/http/features/logging_spec.rb' - 'spec/lib/http/headers_spec.rb' - 'spec/lib/http/options/features_spec.rb' - 'spec/lib/http/options/merge_spec.rb' - 'spec/lib/http/options/new_spec.rb' - 'spec/lib/http/redirector_spec.rb' - 'spec/lib/http/request_spec.rb' - 'spec/lib/http/response_spec.rb' - 'spec/lib/http_spec.rb' - 'spec/support/dummy_server/servlet.rb' - 'spec/support/http_handling_shared.rb' - 'spec/support/ssl_helper.rb' # Offense count: 4 Lint/MissingSuper: Exclude: - 'lib/http/features/auto_deflate.rb' - 'lib/http/features/instrumentation.rb' - 'lib/http/features/logging.rb' - 'lib/http/features/normalize_uri.rb' # Offense count: 8 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes, Max. Metrics/AbcSize: Exclude: - 'lib/http/chainable.rb' - 'lib/http/client.rb' - 'lib/http/connection.rb' - 'lib/http/features/auto_deflate.rb' - 'lib/http/redirector.rb' - 'lib/http/request.rb' - 'lib/http/response.rb' # Offense count: 69 # Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods, IgnoredMethods. # IgnoredMethods: refine Metrics/BlockLength: Exclude: - '**/*.gemspec' - 'spec/lib/http/client_spec.rb' - 'spec/lib/http/connection_spec.rb' - 'spec/lib/http/content_type_spec.rb' - 'spec/lib/http/features/auto_deflate_spec.rb' - 'spec/lib/http/features/auto_inflate_spec.rb' - 'spec/lib/http/features/instrumentation_spec.rb' - 'spec/lib/http/features/logging_spec.rb' - 'spec/lib/http/headers/mixin_spec.rb' - 'spec/lib/http/headers_spec.rb' - 'spec/lib/http/options/merge_spec.rb' - 'spec/lib/http/redirector_spec.rb' - 'spec/lib/http/request/body_spec.rb' - 'spec/lib/http/request/writer_spec.rb' - 'spec/lib/http/request_spec.rb' - 'spec/lib/http/response/body_spec.rb' - 'spec/lib/http/response/parser_spec.rb' - 'spec/lib/http/response/status_spec.rb' - 'spec/lib/http/response_spec.rb' - 'spec/lib/http_spec.rb' - 'spec/support/http_handling_shared.rb' # Offense count: 4 # Configuration parameters: CountComments, Max, CountAsOne. Metrics/ClassLength: Exclude: - 'lib/http/client.rb' - 'lib/http/connection.rb' - 'lib/http/headers.rb' - 'lib/http/request.rb' # Offense count: 2 # Configuration parameters: IgnoredMethods, Max. Metrics/CyclomaticComplexity: Exclude: - 'lib/http/chainable.rb' - 'lib/http/client.rb' # Offense count: 18 # Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Exclude: - 'lib/http/chainable.rb' - 'lib/http/client.rb' - 'lib/http/connection.rb' - 'lib/http/features/auto_deflate.rb' - 'lib/http/features/auto_inflate.rb' - 'lib/http/headers.rb' - 'lib/http/options.rb' - 'lib/http/redirector.rb' - 'lib/http/request.rb' - 'lib/http/response.rb' - 'lib/http/response/body.rb' - 'lib/http/timeout/global.rb' # Offense count: 1 # Configuration parameters: CountComments, Max, CountAsOne. Metrics/ModuleLength: Exclude: - 'lib/http/chainable.rb' # Offense count: 1 Security/CompoundHash: Exclude: - 'lib/http/uri.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: separated, grouped Style/AccessorGrouping: Exclude: - 'lib/http/request.rb' # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). Style/EmptyCaseCondition: Exclude: - 'lib/http/client.rb' - 'lib/http/headers.rb' - 'lib/http/options.rb' - 'lib/http/response/status.rb' # Offense count: 5 # This cop supports safe autocorrection (--autocorrect). Style/Encoding: Exclude: - 'spec/lib/http/client_spec.rb' - 'spec/lib/http/request/writer_spec.rb' - 'spec/lib/http/request_spec.rb' - 'spec/lib/http_spec.rb' - 'spec/support/dummy_server/servlet.rb' # Offense count: 17 # Configuration parameters: SuspiciousParamNames, Allowlist. # SuspiciousParamNames: options, opts, args, params, parameters Style/OptionHash: Exclude: - 'lib/http/chainable.rb' - 'lib/http/client.rb' - 'lib/http/feature.rb' - 'lib/http/options.rb' - 'lib/http/redirector.rb' - 'lib/http/timeout/null.rb' - 'spec/support/dummy_server.rb' # Offense count: 4 # Configuration parameters: AllowedMethods. # AllowedMethods: respond_to_missing? Style/OptionalBooleanParameter: Exclude: - 'lib/http/timeout/global.rb' - 'lib/http/timeout/null.rb' - 'lib/http/timeout/per_operation.rb' - 'lib/http/uri.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Exclude: - 'lib/http/chainable.rb' - 'spec/lib/http/options/proxy_spec.rb'