.rubocop_todo.yml in assembly-objectfile-1.13.0 vs .rubocop_todo.yml in assembly-objectfile-2.0.0

- old
+ new

@@ -1,55 +1,24 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2022-02-28 21:11:02 UTC using RuboCop version 1.25.1. +# on 2022-07-07 21:26:21 UTC using RuboCop version 1.31.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 Lint/UselessAssignment: Exclude: - 'config/boot.rb' -# Offense count: 3 -# Configuration parameters: IgnoredMethods, CountRepeatedAttributes. -Metrics/AbcSize: - Max: 55 - # Offense count: 1 -# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. -# IgnoredMethods: refine -Metrics/BlockLength: - Max: 27 - -# Offense count: 2 -# Configuration parameters: IgnoredMethods. -Metrics/CyclomaticComplexity: - Max: 14 - -# Offense count: 4 -# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. -Metrics/MethodLength: - Max: 31 - -# Offense count: 1 # Configuration parameters: CountComments, CountAsOne. -Metrics/ModuleLength: - Max: 120 +Metrics/ClassLength: + Max: 122 # Offense count: 1 -# Configuration parameters: CountKeywordArgs, MaxOptionalParameters. -Metrics/ParameterLists: - Max: 12 - -# Offense count: 2 -# Configuration parameters: IgnoredMethods. -Metrics/PerceivedComplexity: - Max: 15 - -# Offense count: 1 # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. # CheckDefinitionPathHierarchyRoots: lib, spec, test, src # 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: @@ -62,68 +31,33 @@ # AllowedMethods: is_a? # MethodDefinitionMacros: define_method, define_singleton_method Naming/PredicateName: Exclude: - 'spec/**/*' - - 'lib/assembly-objectfile/object_fileable.rb' + - 'lib/assembly-objectfile/object_file.rb' -# Offense count: 1 -# Configuration parameters: Prefixes. -# Prefixes: when, with, without -RSpec/ContextWording: - Exclude: - - 'spec/content_metadata_spec.rb' - -# Offense count: 32 +# Offense count: 2 # Configuration parameters: CountAsOne. RSpec/ExampleLength: - Max: 34 + Max: 7 -# Offense count: 2 +# Offense count: 1 # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. # Include: **/*_spec*rb*, **/spec/**/* RSpec/FilePath: Exclude: - - 'spec/content_metadata_spec.rb' - 'spec/object_file_spec.rb' -# Offense count: 74 -# Configuration parameters: AssignmentOnly. -RSpec/InstanceVariable: - Exclude: - - 'spec/object_file_spec.rb' - -# Offense count: 41 +# Offense count: 8 RSpec/MultipleExpectations: - Max: 29 + Max: 6 -# Offense count: 20 +# Offense count: 3 RSpec/NestedGroups: Max: 4 -# Offense count: 2 -RSpec/RepeatedDescription: - Exclude: - - 'spec/object_file_spec.rb' - -# Offense count: 2 -RSpec/RepeatedExample: - Exclude: - - 'spec/object_file_spec.rb' - -# Offense count: 5 -RSpec/RepeatedExampleGroupDescription: - Exclude: - - 'spec/content_metadata_spec.rb' - -# Offense count: 2 -# Cop supports --auto-correct. -Style/CommentedKeyword: - Exclude: - - 'lib/assembly-objectfile/content_metadata.rb' - -# Offense count: 123 -# Cop supports --auto-correct. -# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. +# Offense count: 24 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: - Max: 277 + Max: 187