.rubocop_todo.yml in sdr-client-2.12.0 vs .rubocop_todo.yml in sdr-client-2.13.0.beta1
- old
+ new
@@ -1,8 +1,8 @@
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude`
-# on 2023-09-11 17:08:41 UTC using RuboCop version 1.56.3.
+# on 2024-03-26 19:28:56 UTC using RuboCop version 1.62.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.
@@ -18,66 +18,77 @@
Exclude:
- 'lib/sdr_client/deposit/model_process.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
+# Configuration parameters: AutoCorrect, 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
+# Offense count: 11
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
Metrics/AbcSize:
Exclude:
- 'lib/sdr_client/cli.rb'
+ - 'lib/sdr_client/redesigned_client.rb'
+ - 'lib/sdr_client/redesigned_client/cli.rb'
+ - 'lib/sdr_client/redesigned_client/cli/update.rb'
- 'lib/sdr_client/update.rb'
-# Offense count: 1
+# Offense count: 2
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
Metrics/CyclomaticComplexity:
Exclude:
+ - 'lib/sdr_client/redesigned_client/cli/update.rb'
- 'lib/sdr_client/update.rb'
-# Offense count: 12
+# Offense count: 15
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Exclude:
- 'lib/sdr_client/cli.rb'
- 'lib/sdr_client/deposit/file.rb'
- 'lib/sdr_client/deposit/model_process.rb'
- 'lib/sdr_client/deposit/process.rb'
- 'lib/sdr_client/deposit/request.rb'
- 'lib/sdr_client/login.rb'
+ - 'lib/sdr_client/redesigned_client/cli.rb'
+ - 'lib/sdr_client/redesigned_client/cli/update.rb'
- 'lib/sdr_client/update.rb'
-# Offense count: 11
+# Offense count: 15
# Configuration parameters: Max, CountAsOne.
RSpec/ExampleLength:
Exclude:
- - 'spec/sdr_client/deposit_spec.rb'
- 'spec/sdr_client/deposit_model_spec.rb'
+ - 'spec/sdr_client/deposit_spec.rb'
+ - 'spec/sdr_client/redesigned_client/deposit_spec.rb'
+ - 'spec/sdr_client/redesigned_client/upload_files_metadata_builder_spec.rb'
- 'spec/sdr_client/update_spec.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Exclude:
- 'spec/sdr_client/deposit_spec.rb'
-# Offense count: 13
+# Offense count: 19
# Configuration parameters: Max.
RSpec/MultipleExpectations:
Exclude:
- 'spec/sdr_client/connection_spec.rb'
- 'spec/sdr_client/deposit/metadata_builder_spec.rb'
+ - 'spec/sdr_client/deposit_model_spec.rb'
- 'spec/sdr_client/deposit_spec.rb'
- 'spec/sdr_client/find_spec.rb'
- 'spec/sdr_client/login_spec.rb'
- - 'spec/sdr_client/deposit_model_spec.rb'
+ - 'spec/sdr_client/redesigned_client/deposit_spec.rb'
+ - 'spec/sdr_client/redesigned_client/job_status_spec.rb'
+ - 'spec/sdr_client/redesigned_client/upload_files_spec.rb'
# Offense count: 24
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
@@ -87,45 +98,38 @@
- '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: 19
+# Offense count: 25
# Configuration parameters: Max, AllowedGroups.
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/redesigned_client/job_status_spec.rb'
- 'spec/sdr_client/update_spec.rb'
# Offense count: 5
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/ReceiveMessages:
Exclude:
- 'spec/sdr_client/update_spec.rb'
-# Offense count: 2
-# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
-# Include: **/*_spec.rb
-RSpec/SpecFilePathFormat:
- Exclude:
- - '**/spec/routing/**/*'
- - 'spec/sdr_client/client_spec.rb'
- - 'spec/sdr_client/model_deposit_spec.rb'
-
# Offense count: 21
# This cop supports safe autocorrection (--autocorrect).
Style/KeywordParametersOrder:
Exclude:
- 'lib/sdr_client/deposit.rb'
- 'lib/sdr_client/deposit/request.rb'
-# Offense count: 1
+# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Style/MultilineTernaryOperator:
Exclude:
+ - 'lib/sdr_client/redesigned_client/cli/update.rb'
- 'lib/sdr_client/update.rb'
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.