.rubocop_todo.yml
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2021-03-24 06:22:58 UTC using RuboCop version 1.11.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: 1
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'omniauth-identity.gemspec'
# Offense count: 1
# Configuration parameters: AllowComments.
Lint/EmptyClass:
Exclude:
- 'spec/omniauth/identity/secure_password_spec.rb'
# Offense count: 1
Lint/MissingSuper:
Exclude:
- 'lib/omniauth/identity/secure_password.rb'
# Offense count: 2
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 32
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine
Metrics/BlockLength:
Max: 32
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 134
# Offense count: 9
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 20
# Offense count: 1
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 9
# Offense count: 1
Naming/AccessorMethodName:
Exclude:
- 'spec/omniauth/strategies/identity_spec.rb'
# Offense count: 1
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Naming/FileName:
Exclude:
- '**/*.md'
- '**/*.markdown'
- 'lib/omniauth-identity.rb'
# 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/omniauth/identity/secure_password.rb'
# Offense count: 6
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/omniauth/strategies/identity_spec.rb'
- 'spec/support/shared_contexts/persistable_model.rb'
# Offense count: 1
# Configuration parameters: Max.
RSpec/ExampleLength:
Exclude:
- 'spec/support/shared_contexts/instance_with_instance_methods.rb'
# Offense count: 3
RSpec/ExpectInHook:
Exclude:
- 'spec/omniauth/strategies/identity_spec.rb'
# Offense count: 8
# Configuration parameters: .
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
EnforcedStyle: receive
# Offense count: 9
RSpec/MultipleExpectations:
Max: 4
# Offense count: 14
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 8
# Offense count: 1
# Configuration parameters: IgnoreSharedExamples.
RSpec/NamedSubject:
Exclude:
- 'spec_orms/mongoid_spec.rb'
# Offense count: 12
RSpec/NestedGroups:
Max: 5
# Offense count: 4
RSpec/StubbedMock:
Exclude:
- 'spec/omniauth/strategies/identity_spec.rb'
# Offense count: 5
RSpec/SubjectStub:
Exclude:
- 'spec/omniauth/identity/models/active_record_spec.rb'
- 'spec/omniauth/identity/models/sequel_spec.rb'
- 'spec_orms/couch_potato_spec.rb'
- 'spec_orms/mongoid_spec.rb'
- 'spec_orms/nobrainer_spec.rb'
# Offense count: 4
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/omniauth/strategies/identity_spec.rb'
- 'spec/support/shared_contexts/model_with_class_methods.rb'
# Offense count: 1
Rake/Desc:
Exclude:
- 'Rakefile'
# Offense count: 10
Style/Documentation:
Exclude:
- '**/*.md'
- '**/*.markdown'
- 'lib/omniauth/identity.rb'
- 'lib/omniauth/identity/model.rb'
- 'lib/omniauth/identity/models/active_record.rb'
- 'lib/omniauth/identity/models/mongoid.rb'
- 'lib/omniauth/identity/secure_password.rb'
- 'spec/omniauth/identity/secure_password_spec.rb'
# Offense count: 4
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/omniauth/identity/model.rb'
- 'lib/omniauth/identity/secure_password.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'lib/omniauth/strategies/identity.rb'
# Offense count: 1
# Configuration parameters: AllowedMethods.
# AllowedMethods: respond_to_missing?
Style/OptionalBooleanParameter:
Exclude:
- 'lib/omniauth/identity/model.rb'
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
# IgnoredPatterns: (?-mix:^\#)
Layout/LineLength:
Max: 138