.rubocop_todo.yml in sdr-client-0.92.0 vs .rubocop_todo.yml in sdr-client-0.93.0
- old
+ new
@@ -1,8 +1,8 @@
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude`
-# on 2022-05-05 05:53:08 UTC using RuboCop version 1.28.2.
+# on 2022-09-08 16:31: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.
@@ -17,32 +17,32 @@
Lint/NoReturnInBeginEndBlocks:
Exclude:
- 'lib/sdr_client/deposit/model_process.rb'
# Offense count: 2
-# This cop supports safe auto-correction (--auto-correct).
+# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/sdr_client/deposit/file_type_file_set_strategy.rb'
- 'lib/sdr_client/deposit/image_file_set_strategy.rb'
# Offense count: 4
-# Configuration parameters: IgnoredMethods, CountRepeatedAttributes, Max.
+# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes, Max.
Metrics/AbcSize:
Exclude:
- 'lib/sdr_client/cli.rb'
- 'lib/sdr_client/update.rb'
# Offense count: 1
-# Configuration parameters: IgnoredMethods, Max.
+# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, Max.
Metrics/CyclomaticComplexity:
Exclude:
- 'lib/sdr_client/update.rb'
# Offense count: 12
-# Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods, IgnoredMethods.
+# Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/MethodLength:
Exclude:
- 'lib/sdr_client/cli.rb'
- 'lib/sdr_client/deposit/file.rb'
- 'lib/sdr_client/deposit/model_process.rb'
@@ -57,37 +57,37 @@
Exclude:
- 'spec/sdr_client/deposit_spec.rb'
- 'spec/sdr_client/model_deposit_spec.rb'
- 'spec/sdr_client/update_spec.rb'
-# Offense count: 3
+# Offense count: 2
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/sdr_client/client_spec.rb'
- - 'spec/sdr_client/deposit/find_spec.rb'
- 'spec/sdr_client/model_deposit_spec.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Exclude:
- 'spec/sdr_client/deposit_spec.rb'
-# Offense count: 12
+# Offense count: 13
# Configuration parameters: Max.
RSpec/MultipleExpectations:
Exclude:
- 'spec/sdr_client/connection_spec.rb'
- 'spec/sdr_client/deposit/metadata_builder_spec.rb'
- 'spec/sdr_client/deposit_spec.rb'
+ - 'spec/sdr_client/find_spec.rb'
- 'spec/sdr_client/login_spec.rb'
- 'spec/sdr_client/model_deposit_spec.rb'
-# Offense count: 32
+# Offense count: 36
# Configuration parameters: AllowSubject, Max.
RSpec/MultipleMemoizedHelpers:
Exclude:
- 'spec/sdr_client/deposit/metadata_builder_spec.rb'
- 'spec/sdr_client/deposit/model_process_spec.rb'
@@ -104,42 +104,42 @@
- 'spec/sdr_client/credentials_spec.rb'
- 'spec/sdr_client/deposit/model_process_spec.rb'
- 'spec/sdr_client/deposit/process_spec.rb'
- 'spec/sdr_client/login_spec.rb'
-# Offense count: 16
+# Offense count: 19
# Configuration parameters: Max.
RSpec/NestedGroups:
Exclude:
- 'spec/sdr_client/deposit/metadata_builder_spec.rb'
- 'spec/sdr_client/deposit/model_process_spec.rb'
- 'spec/sdr_client/deposit/process_spec.rb'
- 'spec/sdr_client/login_spec.rb'
- 'spec/sdr_client/update_spec.rb'
# Offense count: 19
-# This cop supports safe auto-correction (--auto-correct).
+# This cop supports safe autocorrection (--autocorrect).
Style/KeywordParametersOrder:
Exclude:
- 'lib/sdr_client/deposit.rb'
- 'lib/sdr_client/deposit/request.rb'
# Offense count: 1
-# This cop supports safe auto-correction (--auto-correct).
+# This cop supports safe autocorrection (--autocorrect).
Style/MultilineTernaryOperator:
Exclude:
- 'lib/sdr_client/update.rb'
# Offense count: 2
-# This cop supports unsafe auto-correction (--auto-correct-all).
+# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.
Style/StringConcatenation:
Exclude:
- 'lib/sdr_client/deposit/create_resource.rb'
- 'spec/sdr_client/deposit_spec.rb'
-# Offense count: 29
-# This cop supports safe auto-correction (--auto-correct).
+# Offense count: 33
+# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Exclude:
- 'lib/sdr_client/cli.rb'