.rubocop_todo.yml in assembly-objectfile-1.10.0 vs .rubocop_todo.yml in assembly-objectfile-1.10.1
- old
+ new
@@ -1,56 +1,78 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2020-04-23 10:59:56 -0500 using RuboCop version 0.82.0.
+# on 2021-01-08 23:41:37 UTC using RuboCop version 1.8.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
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyleAlignWith, Severity.
+# SupportedStylesAlignWith: start_of_line, begin
+Layout/BeginEndAlignment:
+ Exclude:
+ - 'lib/assembly-objectfile/object_fileable.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+# Configuration parameters: AllowAliasSyntax, AllowedMethods.
+# AllowedMethods: alias_method, public, protected, private
+Layout/EmptyLinesAroundAttributeAccessor:
+ Exclude:
+ - 'lib/assembly-objectfile/object_fileable.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Layout/RescueEnsureAlignment:
+ Exclude:
+ - 'lib/assembly-objectfile/object_fileable.rb'
+
+# Offense count: 1
Lint/UselessAssignment:
Exclude:
- 'config/boot.rb'
# Offense count: 3
-# Configuration parameters: IgnoredMethods.
+# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
- Max: 51
+ Max: 52
-# Offense count: 2
-# Configuration parameters: CountComments, ExcludedMethods.
-# ExcludedMethods: refine
+# Offense count: 1
+# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
+# IgnoredMethods: refine
Metrics/BlockLength:
- Max: 27
+ Max: 26
# Offense count: 2
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
- Max: 14
+ Max: 13
# Offense count: 4
-# Configuration parameters: CountComments, ExcludedMethods.
+# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 30
# Offense count: 1
-# Configuration parameters: CountComments.
+# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 117
# Offense count: 1
-# Configuration parameters: CountKeywordArgs.
+# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
Metrics/ParameterLists:
Max: 11
# Offense count: 2
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
- Max: 12
+ Max: 14
# Offense count: 1
-# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
+# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, 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:
- 'lib/assembly-objectfile.rb'
@@ -70,11 +92,12 @@
RSpec/ExampleLength:
Exclude:
- 'spec/content_metadata_spec.rb'
# Offense count: 2
-# Configuration parameters: CustomTransform, IgnoreMethods.
+# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
+# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/content_metadata_spec.rb'
- 'spec/object_file_spec.rb'
@@ -83,11 +106,10 @@
RSpec/InstanceVariable:
Exclude:
- 'spec/object_file_spec.rb'
# Offense count: 38
-# Configuration parameters: AggregateFailuresByDefault.
RSpec/MultipleExpectations:
Max: 29
# Offense count: 2
RSpec/RepeatedDescription:
@@ -103,15 +125,38 @@
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: 409
+# Offense count: 2
# Cop supports --auto-correct.
+Style/KeywordParametersOrder:
+ Exclude:
+ - 'lib/assembly-objectfile/content_metadata/file.rb'
+ - 'lib/assembly-objectfile/content_metadata/file_set.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/RedundantAssignment:
+ Exclude:
+ - 'lib/assembly-objectfile/content_metadata.rb'
+
+# Offense count: 5
+# Cop supports --auto-correct.
+Style/StringConcatenation:
+ Exclude:
+ - 'config/boot.rb'
+ - 'lib/assembly-objectfile.rb'
+ - 'lib/assembly-objectfile/object_file.rb'
+ - 'spec/spec_helper.rb'
+
+# Offense count: 113
+# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
- Max: 284
+ Max: 277