# This configuration was generated by # `rubocop --auto-gen-config` # on 2015-11-27 21:12:27 -0500 using RuboCop version 0.35.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 Lint/HandleExceptions: Exclude: - 'lib/paper_trail.rb' # Offense count: 4 Lint/UnderscorePrefixedVariableName: Exclude: - 'lib/paper_trail/cleaner.rb' - 'lib/paper_trail/has_paper_trail.rb' - 'lib/paper_trail/reifier.rb' - 'lib/paper_trail/version_concern.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks. Lint/UnusedBlockArgument: Exclude: - 'lib/paper_trail/cleaner.rb' - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 17 Metrics/AbcSize: Max: 64 # Offense count: 1 Metrics/BlockNesting: Max: 5 # Offense count: 6 Metrics/CyclomaticComplexity: Max: 14 # Offense count: 15 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 51 Metrics/ModuleLength: Enabled: false # Offense count: 7 Metrics/PerceivedComplexity: Max: 17 # Offense count: 1 Style/AccessorMethodName: Exclude: - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 3 # Cop supports --auto-correct. Style/Alias: Exclude: - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles. Style/AlignHash: Exclude: - 'lib/generators/paper_trail/install_generator.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/AndOr: Exclude: - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/ClassCheck: Exclude: - 'lib/paper_trail/frameworks/rspec.rb' # Offense count: 2 # Cop supports --auto-correct. Style/CommentIndentation: Exclude: - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 1 # Cop supports --auto-correct. Style/DeprecatedHashMethods: Exclude: - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 30 # Configuration parameters: Exclude. Style/Documentation: Enabled: false # Offense count: 5 Style/DoubleNegation: Exclude: - 'lib/paper_trail.rb' # Offense count: 1 # Cop supports --auto-correct. Style/EmptyLines: Exclude: - 'Rakefile' # Offense count: 2 # Cop supports --auto-correct. Style/EmptyLinesAroundAccessModifier: Exclude: - 'lib/generators/paper_trail/install_generator.rb' - 'lib/paper_trail/version_concern.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/EmptyLinesAroundClassBody: Exclude: - 'lib/generators/paper_trail/templates/add_object_changes_to_versions.rb' - 'lib/generators/paper_trail/templates/create_versions.rb' - 'lib/paper_trail/record_history.rb' - 'lib/paper_trail/reifier.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/EmptyLinesAroundModuleBody: Exclude: - 'lib/paper_trail/frameworks/rails/controller.rb' - 'lib/paper_trail/frameworks/sinatra.rb' - 'lib/paper_trail/has_paper_trail.rb' - 'lib/paper_trail/record_history.rb' - 'lib/paper_trail/reifier.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Style/ExtraSpacing: Exclude: - 'lib/generators/paper_trail/templates/create_versions.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/FirstParameterIndentation: Exclude: - 'lib/paper_trail/serializers/json.rb' # Offense count: 7 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/generators/paper_trail/install_generator.rb' - 'lib/paper_trail/config.rb' - 'lib/paper_trail/frameworks/rails/controller.rb' - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 62 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues. Style/HashSyntax: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Exclude: - 'lib/paper_trail/config.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/IndentHash: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: Width. Style/IndentationWidth: Exclude: - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 2 # Cop supports --auto-correct. Style/Lambda: Exclude: - 'lib/paper_trail/has_paper_trail.rb' - 'lib/paper_trail/version_concern.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/MethodDefParentheses: Enabled: false # Offense count: 2 Style/ModuleFunction: Exclude: - 'lib/paper_trail/serializers/json.rb' - 'lib/paper_trail/serializers/yaml.rb' # Offense count: 2 Style/MultilineBlockChain: Exclude: - 'lib/paper_trail/version_concern.rb' # Offense count: 23 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/MultilineOperationIndentation: Enabled: false # Offense count: 5 Style/MultilineTernaryOperator: Exclude: - 'lib/paper_trail/config.rb' - 'lib/paper_trail/has_paper_trail.rb' - 'lib/paper_trail/reifier.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles. Style/Next: Exclude: - 'lib/paper_trail/has_paper_trail.rb' - 'lib/paper_trail/reifier.rb' # Offense count: 1 # Cop supports --auto-correct. Style/Not: Exclude: - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 1 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist. Style/PredicateName: Exclude: - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/RaiseArgs: Enabled: false # Offense count: 26 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'lib/paper_trail/has_paper_trail.rb' - 'lib/paper_trail/version_concern.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RescueModifier: Exclude: - 'lib/paper_trail/version_concern.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/SignalException: Exclude: - 'lib/paper_trail/cleaner.rb' - 'lib/paper_trail/has_paper_trail.rb' - 'lib/paper_trail/version_concern.rb' # Offense count: 1 # Configuration parameters: Methods. Style/SingleLineBlockParams: Exclude: - 'lib/paper_trail/reifier.rb' # Offense count: 14 # Cop supports --auto-correct. Style/SingleSpaceBeforeFirstArg: Exclude: - 'doc/bug_report_template.rb' - 'lib/generators/paper_trail/templates/create_version_associations.rb' - 'lib/generators/paper_trail/templates/create_versions.rb' - 'lib/paper_trail/frameworks/rails/controller.rb' - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 3 # Cop supports --auto-correct. Style/SpaceAfterComma: Exclude: - 'lib/paper_trail/has_paper_trail.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/SpaceAroundEqualsInParameterDefault: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: MultiSpaceAllowedForOperators. Style/SpaceAroundOperators: Exclude: - 'lib/paper_trail/config.rb' - 'lib/paper_trail/frameworks/rails/controller.rb' - 'lib/paper_trail/frameworks/sinatra.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/SpaceBeforeBlockBraces: Enabled: false # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. Style/SpaceInsideBlockBraces: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. Style/SpaceInsideHashLiteralBraces: Enabled: false # Offense count: 33 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/StringLiterals: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/StringLiteralsInInterpolation: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. Style/SymbolProc: Exclude: - 'lib/paper_trail/reifier.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/TrailingBlankLines: Exclude: - 'lib/generators/paper_trail/templates/create_version_associations.rb' - 'lib/paper_trail/frameworks/active_record/models/paper_trail/version_association.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. Style/TrailingComma: Exclude: - 'lib/paper_trail/frameworks/rails/controller.rb' # Offense count: 2 Style/UnlessElse: Exclude: - 'lib/generators/paper_trail/install_generator.rb' - 'paper_trail.gemspec'