# This configuration was generated by # `rubocop --auto-gen-config` # on 2022-10-31 12:57:18 UTC using RuboCop version 1.37.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 # Configuration parameters: AutoCorrect, EnforcedStyle. # SupportedStyles: leading, trailing Layout/LineContinuationLeadingSpace: Exclude: - 'lib/simplyq/configuration.rb' # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Max: 227 # Offense count: 1 Lint/MissingSuper: Exclude: - 'lib/simplyq/errors.rb' # Offense count: 1 Lint/ShadowingOuterLocalVariable: Exclude: - 'spec/simplyq/client_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/simplyq/errors.rb' # Offense count: 45 Lint/UselessAssignment: Exclude: - 'lib/simplyq/api/application_api.rb' - 'lib/simplyq/api/endpoint_api.rb' - 'lib/simplyq/api/event_api.rb' - 'spec/simplyq/client_spec.rb' # Offense count: 14 # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 42 # Offense count: 3 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 213 # Offense count: 10 # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods. Metrics/CyclomaticComplexity: Max: 17 # Offense count: 3 # Configuration parameters: CountKeywordArgs, MaxOptionalParameters. Metrics/ParameterLists: Max: 8 # Offense count: 8 # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods. Metrics/PerceivedComplexity: Max: 17 # Offense count: 1 # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros. # NamePrefix: is_, has_, have_ # ForbiddenPrefixes: is_, has_, have_ # AllowedMethods: is_a? # MethodDefinitionMacros: define_method, define_singleton_method Naming/PredicateName: Exclude: - 'spec/**/*' - 'lib/simplyq/models/endpoint.rb' # Offense count: 2 # Configuration parameters: Prefixes, AllowedPatterns. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - 'spec/simplyq/client_spec.rb' # Offense count: 3 # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. # Include: **/*_spec*rb*, **/spec/**/* RSpec/FilePath: Exclude: - 'spec/simplyq/models/application_spec.rb' - 'spec/simplyq/models/endpoint_spec.rb' - 'spec/simplyq/models/list_spec.rb' # Offense count: 1 RSpec/IdenticalEqualityAssertion: Exclude: - 'spec/simplyq/models/list_spec.rb' # Offense count: 13 # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: Max: 7 # Offense count: 1 # Configuration parameters: IgnoreSharedExamples. RSpec/NamedSubject: Exclude: - 'spec/simplyq/client_spec.rb' # Offense count: 1 # Configuration parameters: AllowedPatterns. # AllowedPatterns: ^expect_, ^assert_ RSpec/NoExpectationExample: Exclude: - 'spec/simplyq/api/event_api_spec.rb' # Offense count: 4 RSpec/RepeatedExampleGroupBody: Exclude: - 'spec/simplyq/models/application_spec.rb' # Offense count: 14 # Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/simplyq.rb' - 'lib/simplyq/api/application_api.rb' - 'lib/simplyq/api/endpoint_api.rb' - 'lib/simplyq/api/event_api.rb' - 'lib/simplyq/client.rb' - 'lib/simplyq/configuration.rb' - 'lib/simplyq/errors.rb' - 'lib/simplyq/models/application.rb' - 'lib/simplyq/models/delivery_attempt.rb' - 'lib/simplyq/models/endpoint.rb' - 'lib/simplyq/models/event.rb' - 'lib/simplyq/models/list.rb' # Offense count: 3 # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals. Style/GuardClause: Exclude: - 'lib/simplyq/client.rb' - 'lib/simplyq/configuration.rb' Gemspec/RequireMFA: Exclude: - 'simplyq.gemspec'