.rubocop_todo.yml in machinist_redux-3.0.3 vs .rubocop_todo.yml in machinist_redux-3.0.4

- old
+ new

@@ -1,31 +1,32 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2017-05-16 15:42:20 +0100 using RuboCop version 0.48.1. +# on 2018-05-29 13:23:58 +0100 using RuboCop version 0.54.0. # 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 -Metrics/AbcSize: - Max: 17 +# 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/machinist/blueprint.rb' -# Offense count: 1 -Metrics/CyclomaticComplexity: - Max: 7 +# Offense count: 4 +# Configuration parameters: Prefixes. +# Prefixes: when, with, without +RSpec/ContextWording: + Exclude: + - 'spec/machinist/active_record_spec.rb' # Offense count: 1 -# Configuration parameters: CountComments. -Metrics/MethodLength: - Max: 13 - -# Offense count: 1 -Metrics/PerceivedComplexity: - Max: 8 - -# Offense count: 1 RSpec/DescribeMethod: Exclude: - 'spec/machinist/exceptions_spec.rb' # Offense count: 17 @@ -42,22 +43,30 @@ Exclude: - 'spec/machinist/blueprint_spec.rb' - 'spec/machinist/machinable_spec.rb' # Offense count: 21 +# Configuration parameters: AggregateFailuresByDefault. RSpec/MultipleExpectations: Max: 6 # Offense count: 1 -# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms. -# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS -Style/FileName: +# Cop supports --auto-correct. +Style/Encoding: Exclude: - - 'Appraisals' + - 'machinist.gemspec' +# Offense count: 2 +# Cop supports --auto-correct. +Style/ExpandPathArguments: + Exclude: + - 'lib/generators/machinist/install/install_generator.rb' + - 'machinist.gemspec' + # Offense count: 1 -# Configuration parameters: EnforcedStyle, SupportedStyles. +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'lib/machinist/blueprint.rb' @@ -66,19 +75,16 @@ Style/GuardClause: Exclude: - 'lib/generators/machinist/install/install_generator.rb' - 'lib/machinist/lathe.rb' -# Offense count: 1 -Style/MethodMissing: +# Offense count: 2 +# Cop supports --auto-correct. +Style/IfUnlessModifier: Exclude: + - 'lib/generators/machinist/install/install_generator.rb' - 'lib/machinist/lathe.rb' # Offense count: 1 -# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist. -# NamePrefix: is_, has_, have_ -# NamePrefixBlacklist: is_, has_, have_ -# NameWhitelist: is_a? -Style/PredicateName: +Style/MethodMissing: Exclude: - - 'spec/**/*' - - 'lib/machinist/blueprint.rb' + - 'lib/machinist/lathe.rb'