.rubocop_todo.yml in mongoid-locker-0.3.6 vs .rubocop_todo.yml in mongoid-locker-1.0.0

- old
+ new

@@ -1,58 +1,78 @@ -# This configuration was generated by `rubocop --auto-gen-config` -# on 2015-10-21 11:03:44 -0400 using RuboCop version 0.29.1. +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2018-09-01 16:46:40 +0300 using RuboCop version 0.58.2. # 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 +# Offense count: 6 +# Configuration parameters: Include. +# Include: **/*.gemfile, **/Gemfile, **/gems.rb +Bundler/DuplicatedGem: + Exclude: + - 'Gemfile' + +# Offense count: 2 Metrics/AbcSize: - Max: 18 + Max: 20 -# Offense count: 37 -# Configuration parameters: AllowURI, URISchemes. -Metrics/LineLength: - Max: 184 +# Offense count: 5 +# Configuration parameters: CountComments, ExcludedMethods. +# ExcludedMethods: refine +Metrics/BlockLength: + Max: 493 -# Offense count: 3 +# Offense count: 2 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 25 -# Offense count: 6 -# Cop supports --auto-correct. -Style/Blocks: - Enabled: false +# Offense count: 1 +# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros. +# NamePrefix: is_, has_, have_ +# NamePrefixBlacklist: is_, has_, have_ +# NameWhitelist: is_a? +# MethodDefinitionMacros: define_method, define_singleton_method +Naming/PredicateName: + Exclude: + - 'spec/**/*' + - 'lib/mongoid/locker.rb' -# Offense count: 3 +# Offense count: 2 Style/Documentation: - Enabled: false + Exclude: + - 'spec/**/*' + - 'test/**/*' + - 'lib/mongoid/locker.rb' # Offense count: 2 Style/DoubleNegation: - Enabled: false + Exclude: + - 'lib/mongoid/locker.rb' -# Offense count: 2 -# Configuration parameters: Exclude. -Style/FileName: - Enabled: false - # Offense count: 1 -# Configuration parameters: NamePrefix, NamePrefixBlacklist. -Style/PredicateName: - Enabled: false +# Configuration parameters: MinBodyLength. +Style/GuardClause: + Exclude: + - 'lib/mongoid/locker.rb' # Offense count: 1 -# Configuration parameters: SupportedStyles. +# Cop supports --auto-correct. +# Configuration parameters: . +# SupportedStyles: compact, exploded Style/RaiseArgs: EnforcedStyle: compact -# Offense count: 2 -Style/RegexpLiteral: - MaxSlashes: 0 - # Offense count: 1 # Cop supports --auto-correct. -# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist. -Style/TrivialAccessors: - Enabled: false +# Configuration parameters: MinSize. +# SupportedStyles: percent, brackets +Style/SymbolArray: + EnforcedStyle: brackets + +# Offense count: 63 +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. +# URISchemes: http, https +Metrics/LineLength: + Max: 184