.rubocop_todo.yml in arxutils_sqlite3-0.1.53 vs .rubocop_todo.yml in arxutils_sqlite3-0.1.54
- old
+ new
@@ -1,321 +1,66 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2022-09-15 09:40:53 UTC using RuboCop version 1.36.0.
+# on 2022-09-23 07:28:29 UTC using RuboCop version 1.36.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: 2
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
-# Include: **/*.gemspec
-Gemspec/OrderedDependencies:
- Exclude:
- #- 'arxutils_sqlite3.gemspec'
-
# Offense count: 1
-# Configuration parameters: Include.
-# Include: **/*.gemspec
-Gemspec/RequiredRubyVersion:
- Exclude:
- #- 'arxutils_sqlite3.gemspec'
-
-# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, IndentationWidth.
-# SupportedStyles: with_first_element, with_fixed_indentation
-Layout/ArrayAlignment:
- Exclude:
- #- 'lib/arxutils_sqlite3/migrate.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-Layout/BlockEndNewline:
- Exclude:
- #- 'lib/arxutils_sqlite3/migrate.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
-# SupportedStyles: case, end
-Layout/CaseIndentation:
- Exclude:
- #- 'lib/arxutils_sqlite3/migrate.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-Layout/ClosingParenthesisIndentation:
- Exclude:
- #- 'lib/arxutils_sqlite3/migrate.rb'
-
-# Offense count: 4
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowForAlignment.
-Layout/CommentIndentation:
- Exclude:
- #- 'Gemfile'
- #- 'lib/arxutils_sqlite3/migrate.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowBorderComment, AllowMarginComment.
-Layout/EmptyComment:
- Exclude:
- # - 'lib/arxutils_sqlite3/dbutil.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-Layout/EmptyLineAfterMagicComment:
- Exclude:
- # - 'lib/arxutils_sqlite3.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
-Layout/EmptyLineBetweenDefs:
- Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
-
-# Offense count: 2
-# This cop supports safe autocorrection (--autocorrect).
-Layout/EmptyLines:
- Exclude:
- # - 'lib/arxutils_sqlite3_rake_task.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowAliasSyntax, AllowedMethods.
-# AllowedMethods: alias_method, public, protected, private
-Layout/EmptyLinesAroundAttributeAccessor:
- Exclude:
- # - 'lib/arxutils_sqlite3/migrate.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
-# SupportedStyles: empty_lines, no_empty_lines
-Layout/EmptyLinesAroundBlockBody:
- Exclude:
- # - 'Gemfile'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
Layout/EmptyLinesAroundModuleBody:
Exclude:
- # - 'lib/dbacrecord.rb'
+ - 'lib/dbacrecord.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyleAlignWith, Severity.
-# SupportedStylesAlignWith: keyword, variable, start_of_line
-Layout/EndAlignment:
- Exclude:
- # - 'lib/arxutils_sqlite3/migrate.rb'
-
-# Offense count: 3
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
-Layout/ExtraSpacing:
- Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
Layout/HeredocIndentation:
Exclude:
- # - 'db/migrate/050_create_currentennblist.rb'
+ - 'db/migrate/050_create_currentxenoplist.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: IndentationWidth, EnforcedStyle.
-# SupportedStyles: spaces, tabs
-Layout/IndentationStyle:
- Exclude:
- # - 'Gemfile'
-
-# Offense count: 2
-# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Width, AllowedPatterns, IgnoredPatterns.
Layout/IndentationWidth:
Exclude:
- # - 'Gemfile'
- # - 'lib/dbacrecord.rb'
+ - 'lib/dbacrecord.rb'
-# Offense count: 29
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
-Layout/LeadingCommentSpace:
- Exclude:
- # - 'Gemfile'
- # - 'Rakefile'
- # - 'arxutils_sqlite3.gemspec'
- # - 'exe/arxutils_sqlite3'
- # - 'lib/arxutils_sqlite3/arx.rb'
- # - 'lib/arxutils_sqlite3/cli.rb'
- # - 'lib/arxutils_sqlite3/config.rb'
- # - 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
- # - 'lib/arxutils_sqlite3/migrate.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-Layout/LeadingEmptyLines:
- Exclude:
- # - 'lib/arxutils_sqlite3_rake_task.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: symmetrical, new_line, same_line
-Layout/MultilineArrayBraceLayout:
- Exclude:
- # - 'lib/arxutils_sqlite3/migrate.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-Layout/MultilineBlockLayout:
- Exclude:
- # - 'lib/arxutils_sqlite3/migrate.rb'
-
-# Offense count: 2
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: symmetrical, new_line, same_line
-Layout/MultilineMethodCallBraceLayout:
- Exclude:
- # - 'lib/arxutils_sqlite3/migrate.rb'
- # - 'lib/arxutils_sqlite3/util.rb'
-
# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
-# SupportedStyles: space, no_space
-# SupportedStylesForEmptyBraces: space, no_space
-Layout/SpaceBeforeBlockBraces:
- Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
-
-# Offense count: 9
-# This cop supports safe autocorrection (--autocorrect).
Layout/SpaceBeforeComma:
Exclude:
- # - 'Gemfile'
- # - 'arxutils_sqlite3.gemspec'
- # - 'lib/arxutils_sqlite3/arx.rb'
- # - 'lib/arxutils_sqlite3/config.rb'
# - 'lib/dbacrecord.rb'
- # - 'spec/arxutils__sqlite3_spec.rb'
-# Offense count: 3
+# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
-# SupportedStyles: space, no_space
-# SupportedStylesForEmptyBraces: space, no_space
-Layout/SpaceInsideBlockBraces:
- Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
-
-# Offense count: 4
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
-# SupportedStyles: space, no_space, compact
-# SupportedStylesForEmptyBraces: space, no_space
-Layout/SpaceInsideHashLiteralBraces:
- Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
-
-# Offense count: 12
-# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, compact, no_space
Layout/SpaceInsideParens:
Exclude:
# - 'config/dbsetup.rb'
- # - 'lib/arxutils_sqlite3/cli.rb'
- # - 'lib/arxutils_sqlite3/config.rb'
-# Offense count: 5
+# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: final_newline, final_blank_line
-Layout/TrailingEmptyLines:
- Exclude:
- # - 'Gemfile'
- # - 'Rakefile'
- # - 'lib/arxutils_sqlite3.rb'
- # - 'lib/arxutils_sqlite3/config.rb'
- # - 'lib/arxutils_sqlite3_rake_task.rb'
-
-# Offense count: 3
-# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowInHeredoc.
Layout/TrailingWhitespace:
Exclude:
- # - 'db/migrate/050_create_currentennblist.rb'
- # - 'lib/arxutils_sqlite3/config.rb'
- # - 'spec/arxutils__sqlite3_spec.rb'
+ - 'db/migrate/050_create_currentxenoplist.rb'
-# Offense count: 1
-# Configuration parameters: AllowComments, AllowEmptyLambdas.
-Lint/EmptyBlock:
- Exclude:
- # - 'Gemfile'
-
-# Offense count: 1
-Lint/NestedPercentLiteral:
- Exclude:
- # - 'lib/template/acrecord/db_scheme/opts.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-Lint/ScriptPermission:
- Exclude:
- # - 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: strict, consistent
-Lint/SymbolConversion:
- Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
-
-# Offense count: 2
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
-Lint/UnusedMethodArgument:
- Exclude:
- # - 'lib/arxutils_sqlite3/cli.rb'
-
-# Offense count: 13
-Lint/UselessAssignment:
- Exclude:
- # - 'exe/arxutils_sqlite3'
- # - 'lib/arxutils_sqlite3/cli.rb'
- # - 'lib/arxutils_sqlite3/config.rb'
- # - 'lib/arxutils_sqlite3/hier.rb'
- # - 'spec/arxutils__sqlite3_spec.rb'
-
# Offense count: 4
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
- Max: 27
+ Max: 23
# Offense count: 3
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
- Max: 173
+ Max: 192
-# Offense count: 1
-# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
-Metrics/CyclomaticComplexity:
- Max: 8
-
-# Offense count: 12
+# Offense count: 11
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/MethodLength:
Max: 49
# Offense count: 2
@@ -326,15 +71,10 @@
# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 10
-# Offense count: 10
-Naming/AccessorMethodName:
- Exclude:
- - 'lib/arxutils_sqlite3/config.rb'
-
# Offense count: 11
# Configuration parameters: AllowedNames.
# AllowedNames: module_parent
Naming/ClassAndModuleCamelCase:
Exclude:
@@ -348,69 +88,40 @@
- 'lib/arxutils_sqlite3/migrate.rb'
- 'lib/arxutils_sqlite3/transactstate.rb'
- 'lib/arxutils_sqlite3/util.rb'
- 'lib/arxutils_sqlite3/version.rb'
-# Offense count: 4
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: PreferredName.
-Naming/RescuedExceptionsVariableName:
- Exclude:
- - 'exe/arxutils_sqlite3'
- - 'lib/arxutils_sqlite3/config.rb'
- - 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
-
# Offense count: 1
-# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
-# SupportedStyles: snake_case, normalcase, non_integer
-# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
-Naming/VariableNumber:
- Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
+# Configuration parameters: AllowSubject.
+RSpec/MultipleMemoizedHelpers:
+ Max: 11
-# Offense count: 2
-# Configuration parameters: CountAsOne.
-RSpec/ExampleLength:
- Max: 7
-
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/BlockComments:
Exclude:
# - 'config/dbsetup.rb'
-# Offense count: 4
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
-# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
-# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
-# FunctionalMethods: let, let!, subject, watch
-# AllowedMethods: lambda, proc, it
-Style/BlockDelimiters:
- Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
- # - 'lib/arxutils_sqlite3/migrate.rb'
-
# Offense count: 7
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'config/dbsetup.rb'
- 'db/migrate/010_create_countdatetime.rb'
- - 'db/migrate/020_create_evnb.rb'
- - 'db/migrate/030_create_ennblist.rb'
- - 'db/migrate/040_create_invalidennblist.rb'
- - 'db/migrate/050_create_currentennblist.rb'
+ - 'db/migrate/020_create_xenop.rb'
+ - 'db/migrate/030_create_xenoplist.rb'
+ - 'db/migrate/040_create_invalidxenoplist.rb'
+ - 'db/migrate/050_create_currentxenoplist.rb'
- 'lib/arxutils_sqlite3/util.rb'
-# Offense count: 3
+# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
-Style/FileWrite:
+Style/EmptyLiteral:
Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
+ # - 'config/dbsetup.rb'
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns, IgnoredMethods.
# SupportedStyles: annotated, template, unannotated
@@ -422,66 +133,25 @@
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Enabled: false
-# Offense count: 5
-# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
-Style/GuardClause:
- Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
-
# Offense count: 10
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
# SupportedShorthandSyntax: always, never, either, consistent
Style/HashSyntax:
Exclude:
# - 'db/migrate/010_create_countdatetime.rb'
- # - 'db/migrate/020_create_evnb.rb'
- # - 'db/migrate/030_create_ennblist.rb'
- # - 'db/migrate/040_create_invalidennblist.rb'
+ # - 'db/migrate/020_create_xenop.rb'
+ # - 'db/migrate/030_create_xenoplist.rb'
+ # - 'db/migrate/040_create_invalidxenoplist.rb'
-# Offense count: 2
+# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
-Style/IfUnlessModifier:
- Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
-
-# Offense count: 3
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: both, prefix, postfix
-Style/NegatedIf:
- Exclude:
- # - 'lib/arxutils_sqlite3/config.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-Style/RedundantCondition:
- Exclude:
- # - 'exe/arxutils_sqlite3'
-
-# Offense count: 1
-# This cop supports unsafe autocorrection (--autocorrect-all).
-Style/RedundantInterpolation:
- Exclude:
- # - 'exe/arxutils_sqlite3'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: implicit, explicit
-Style/RescueStandardError:
- Exclude:
- # - 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
-
-# Offense count: 5
-# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- # - 'Rakefile'
+ # - 'config/dbsetup.rb'
# - 'lib/dbacrecord.rb'
- # - 'spec/arxutils__sqlite3_spec.rb'