# This configuration was generated by # `rubocop --auto-gen-config` # on 2015-12-20 21:21:20 +0100 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: 43 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Enabled: false # Offense count: 1 Lint/ConditionPosition: Exclude: - 'lib/baza/model_handler.rb' # Offense count: 2 Lint/HandleExceptions: Exclude: - 'spec/model_handler_spec.rb' # Offense count: 1 Lint/NonLocalExitFromIterator: Exclude: - 'lib/baza/drivers/sqlite3/column.rb' # Offense count: 8 Lint/ShadowingOuterLocalVariable: Exclude: - 'lib/baza/drivers/mysql/table.rb' - 'lib/baza/drivers/sqlite3/table.rb' - 'lib/baza/model_handler.rb' - 'lib/baza/model_handler_sqlhelper.rb' - 'lib/baza/revision.rb' - 'spec/model_handler_spec.rb' # Offense count: 1 Lint/UselessAccessModifier: Exclude: - 'lib/baza/model.rb' # Offense count: 34 Lint/UselessAssignment: Enabled: false # Offense count: 51 Metrics/AbcSize: Max: 558 # Offense count: 22 Metrics/BlockNesting: Max: 6 # Offense count: 7 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 684 # Offense count: 67 Metrics/CyclomaticComplexity: Max: 128 # Offense count: 31 # Configuration parameters: AllowURI, URISchemes. Metrics/LineLength: Max: 311 # Offense count: 8 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 382 # Offense count: 66 Metrics/PerceivedComplexity: Max: 160 # Offense count: 1 Style/AccessorMethodName: Exclude: - 'lib/baza/db.rb' # Offense count: 1 Style/AsciiComments: Exclude: - 'lib/baza/db.rb' # Offense count: 1 Style/CaseEquality: Exclude: - 'lib/baza/drivers/mysql/result.rb' # Offense count: 3 Style/ClassVars: Exclude: - 'lib/baza/model.rb' - 'lib/baza/model_custom.rb' # Offense count: 1 Style/EndOfLine: Exclude: - 'lib/baza/drivers/mysql.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/FormatString: Exclude: - 'lib/baza/row.rb' # Offense count: 11 # Configuration parameters: AllowedVariables. Style/GlobalVars: Exclude: - 'lib/baza/db.rb' - 'lib/baza/model_custom.rb' - 'lib/baza/row.rb' # Offense count: 16 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/baza/db.rb' - 'lib/baza/drivers/mysql/result.rb' - 'lib/baza/drivers/sqlite3/result.rb' - 'lib/baza/drivers/sqlite3_java/unbuffered_result.rb' - 'lib/baza/idquery.rb' - 'lib/baza/model.rb' - 'lib/baza/model_handler.rb' - 'lib/baza/query_buffer.rb' - 'lib/baza/row.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/MethodName: Enabled: false # Offense count: 9 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist. Style/PredicateName: Exclude: - 'lib/baza/model.rb' - 'lib/baza/model_custom.rb' - 'lib/baza/row.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/RaiseArgs: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: WordRegex. Style/WordArray: MinSize: 2