# This configuration was generated by # `rubocop --auto-gen-config` # on 2021-11-10 07:27:25 UTC using RuboCop version 1.22.3. # 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: - 'activerecord-transactionable.gemspec' # Offense count: 1 # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/RubyVersionGlobalsUsage: Exclude: - 'activerecord-transactionable.gemspec' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Exclude: - 'README.md' # Offense count: 5 # Configuration parameters: AllowedMethods. # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - 'spec/activerecord/transactionable_spec.rb' # Offense count: 1 Lint/MissingSuper: Exclude: - 'spec/config/active_record.rb' # Offense count: 6 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 32 # Offense count: 1 # Configuration parameters: IgnoredMethods. Metrics/CyclomaticComplexity: Max: 10 # Offense count: 6 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Max: 37 # Offense count: 1 # Configuration parameters: CountComments, CountAsOne. Metrics/ModuleLength: Max: 135 # Offense count: 3 # Configuration parameters: CountKeywordArgs, MaxOptionalParameters. Metrics/ParameterLists: Max: 8 # Offense count: 1 # Configuration parameters: IgnoredMethods. Metrics/PerceivedComplexity: Max: 12 # Offense count: 1 Packaging/GemspecGit: Exclude: - 'activerecord-transactionable.gemspec' # Offense count: 38 # Configuration parameters: Prefixes. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - 'spec/activerecord/transactionable_spec.rb' # Offense count: 1 # Configuration parameters: CountAsOne. RSpec/ExampleLength: Max: 10 # Offense count: 1 # Configuration parameters: AssignmentOnly. RSpec/InstanceVariable: Exclude: - 'spec/activerecord/transactionable_spec.rb' # Offense count: 5 RSpec/LeakyConstantDeclaration: Exclude: - 'spec/activerecord/transactionable_spec.rb' # Offense count: 48 # Configuration parameters: . # SupportedStyles: have_received, receive RSpec/MessageSpies: EnforcedStyle: receive # Offense count: 27 RSpec/MultipleExpectations: Max: 2 # Offense count: 44 # Configuration parameters: IgnoreSharedExamples. RSpec/NamedSubject: Exclude: - 'spec/activerecord/transactionable_spec.rb' # Offense count: 54 RSpec/NestedGroups: Max: 8 # Offense count: 5 # Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - '**/*.md' - '**/*.markdown' - 'lib/activerecord/transactionable.rb' - 'lib/activerecord/transactionable/result.rb' - 'spec/activerecord/transactionable_spec.rb' - 'spec/config/active_record.rb' # Offense count: 2 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'README.md' - 'spec/activerecord/transactionable_spec.rb' # Offense count: 5 ThreadSafety/InstanceVariableInClassMethod: Exclude: - 'spec/activerecord/transactionable_spec.rb' # Offense count: 70 # Cop supports --auto-correct. # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https # IgnoredPatterns: (?-mix:^\#) Layout/LineLength: Max: 278