.rubocop_todo.yml in assembly-objectfile-1.8.3 vs .rubocop_todo.yml in assembly-objectfile-1.8.4

- old
+ new

@@ -1,89 +1,72 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2018-09-13 12:44:21 -0700 using RuboCop version 0.59.0. +# on 2019-10-17 23:28:35 -0500 using RuboCop version 0.75.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 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity. -# SupportedStylesAlignWith: keyword, variable, start_of_line -Layout/EndAlignment: +Lint/AmbiguousBlockAssociation: Exclude: - - 'lib/assembly-objectfile/content_metadata.rb' + - 'spec/content_metadata_spec.rb' # Offense count: 1 Lint/UselessAssignment: Exclude: - 'config/boot.rb' -# Offense count: 5 -# Configuration parameters: CheckForMethodsWithNoSideEffects. -Lint/Void: - Exclude: - - 'spec/content_metadata_spec.rb' - # Offense count: 3 Metrics/AbcSize: - Max: 170 + Max: 51 -# Offense count: 15 +# Offense count: 11 # Configuration parameters: CountComments, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: - Max: 549 + Max: 577 -# Offense count: 1 -# Configuration parameters: CountComments. -Metrics/ClassLength: - Max: 137 - -# Offense count: 1 +# Offense count: 3 Metrics/CyclomaticComplexity: - Max: 63 + Max: 14 -# Offense count: 26 -# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. -# URISchemes: http, https -Metrics/LineLength: - Max: 304 - -# Offense count: 1 -# Configuration parameters: CountComments. +# Offense count: 5 +# Configuration parameters: CountComments, ExcludedMethods. Metrics/MethodLength: - Max: 131 + Max: 30 # Offense count: 1 # Configuration parameters: CountComments. Metrics/ModuleLength: - Max: 106 + Max: 107 # Offense count: 1 -Metrics/PerceivedComplexity: - Max: 59 +# Configuration parameters: CountKeywordArgs. +Metrics/ParameterLists: + Max: 11 # Offense count: 2 +Metrics/PerceivedComplexity: + Max: 12 + +# 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 Naming/FileName: Exclude: - - 'assembly-objectfile.gemspec' - 'lib/assembly-objectfile.rb' -# Offense count: 2 +# 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/assembly-objectfile/content_metadata.rb' - 'lib/assembly-objectfile/object_fileable.rb' # Offense count: 8 # Configuration parameters: Max. RSpec/ExampleLength: @@ -95,38 +78,43 @@ RSpec/FilePath: Exclude: - 'spec/content_metadata_spec.rb' - 'spec/object_file_spec.rb' -# Offense count: 60 +# Offense count: 67 # Configuration parameters: AssignmentOnly. RSpec/InstanceVariable: Exclude: - 'spec/object_file_spec.rb' -# Offense count: 28 +# Offense count: 38 # Configuration parameters: AggregateFailuresByDefault. RSpec/MultipleExpectations: Max: 29 # Offense count: 2 RSpec/RepeatedDescription: Exclude: - 'spec/object_file_spec.rb' -# Offense count: 6 +# Offense count: 2 +RSpec/RepeatedExample: + Exclude: + - 'spec/object_file_spec.rb' + +# Offense count: 2 Style/CommentedKeyword: Exclude: - 'lib/assembly-objectfile/content_metadata.rb' # Offense count: 1 -Style/Documentation: - Exclude: - - 'spec/**/*' - - 'test/**/*' - - 'lib/assembly-objectfile.rb' - -# Offense count: 1 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/assembly-objectfile/object_file.rb' + +# Offense count: 346 +# Cop supports --auto-correct. +# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. +# URISchemes: http, https +Metrics/LineLength: + Max: 304