# This configuration was generated by # `rubocop --auto-gen-config` # on 2015-09-17 17:43:47 -0400 using RuboCop version 0.34.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: 3 Lint/HandleExceptions: Exclude: - 'spec/unit/trackable_spec.rb' Metrics/ClassLength: Max: 103 # Offense count: 12 Metrics/AbcSize: Max: 60 # Offense count: 4 Metrics/CyclomaticComplexity: Max: 10 # Offense count: 199 # Configuration parameters: AllowURI, URISchemes. Metrics/LineLength: Max: 688 # Offense count: 7 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 33 # Offense count: 2 # Configuration parameters: CountComments. Metrics/ModuleLength: Max: 223 # Offense count: 4 Metrics/PerceivedComplexity: Max: 12 # Offense count: 44 Style/Documentation: Exclude: - 'lib/mongoid/history.rb' - 'lib/mongoid/history/options.rb' - 'lib/mongoid/history/trackable.rb' - 'lib/mongoid/history/tracker.rb' - 'lib/mongoid/history/version.rb' - 'lib/mongoid/history/attributes/base.rb' - 'lib/mongoid/history/attributes/create.rb' - 'lib/mongoid/history/attributes/destroy.rb' - 'lib/mongoid/history/attributes/update.rb' - 'spec/integration/embedded_in_polymorphic_spec.rb' - 'spec/integration/integration_spec.rb' - 'spec/integration/multi_relation_spec.rb' - 'spec/integration/nested_embedded_documents_spec.rb' - 'spec/integration/nested_embedded_polymorphic_documents_spec.rb' - 'spec/integration/subclasses_spec.rb' - 'spec/support/mongoid_history.rb' - 'spec/unit/options_spec.rb' - 'spec/unit/singleton_methods_spec.rb' - 'spec/unit/trackable_spec.rb' - 'spec/unit/tracker_spec.rb' - 'spec/unit/attributes/create_spec.rb' - 'spec/unit/attributes/destroy_spec.rb' - 'spec/unit/attributes/update_spec.rb' # Offense count: 6 Style/EachWithObject: Exclude: - 'lib/mongoid/history/trackable.rb' - 'lib/mongoid/history/tracker.rb' # Offense count: 1 # Configuration parameters: Exclude. Style/FileName: Exclude: - 'lib/mongoid-history.rb' # Offense count: 3 Style/MultilineBlockChain: Exclude: - 'lib/mongoid/history/trackable.rb' - 'lib/mongoid/history/tracker.rb'