.rubocop_todo.yml in sdr-client-0.63.0 vs .rubocop_todo.yml in sdr-client-0.64.0
- old
+ new
@@ -1,37 +1,115 @@
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude`
-# on 2021-04-15 12:18:21 -0700 using RuboCop version 0.79.0.
+# on 2022-01-14 01:45:54 UTC using RuboCop version 1.24.1.
# 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
-# Configuration parameters: Max.
-Metrics/AbcSize:
+# Configuration parameters: Include.
+# Include: **/*.gemspec
+Gemspec/RequiredRubyVersion:
Exclude:
- - 'lib/sdr_client/deposit/model_process.rb'
+ - 'sdr-client.gemspec'
# Offense count: 1
-# Configuration parameters: Max.
-Metrics/CyclomaticComplexity:
+Lint/NoReturnInBeginEndBlocks:
Exclude:
- - 'lib/sdr_client/cli.rb'
+ - 'lib/sdr_client/deposit/model_process.rb'
-# Offense count: 9
-# Configuration parameters: CountComments, Max, ExcludedMethods.
+# Offense count: 10
+# Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods, IgnoredMethods.
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'
-# Offense count: 231
+# Offense count: 6
+# Configuration parameters: Max, CountAsOne.
+RSpec/ExampleLength:
+ Exclude:
+ - 'spec/sdr_client/deposit_spec.rb'
+ - 'spec/sdr_client/model_deposit_spec.rb'
+
+# Offense count: 3
+# 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: 9
+# Configuration parameters: Max.
+RSpec/MultipleExpectations:
+ Exclude:
+ - 'spec/sdr_client/connection_spec.rb'
+ - 'spec/sdr_client/deposit_spec.rb'
+ - 'spec/sdr_client/login_spec.rb'
+ - 'spec/sdr_client/model_deposit_spec.rb'
+
+# Offense count: 21
+# Configuration parameters: AllowSubject, Max.
+RSpec/MultipleMemoizedHelpers:
+ 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/deposit/request_spec.rb'
+
+# Offense count: 24
+# Configuration parameters: IgnoreSharedExamples.
+RSpec/NamedSubject:
+ Exclude:
+ - 'spec/sdr_client/background_job_results_spec.rb'
+ - 'spec/sdr_client/connection_spec.rb'
+ - '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: 11
+# Configuration parameters: Max.
+RSpec/NestedGroups:
+ Exclude:
+ - 'spec/sdr_client/deposit/model_process_spec.rb'
+ - 'spec/sdr_client/deposit/process_spec.rb'
+ - 'spec/sdr_client/login_spec.rb'
+
+# Offense count: 19
# Cop supports --auto-correct.
-# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+Style/KeywordParametersOrder:
+ Exclude:
+ - 'lib/sdr_client/deposit.rb'
+ - 'lib/sdr_client/deposit/request.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: Mode.
+Style/StringConcatenation:
+ Exclude:
+ - 'lib/sdr_client/deposit/create_resource.rb'
+ - 'spec/sdr_client/deposit_spec.rb'
+
+# Offense count: 19
+# Cop supports --auto-correct.
+# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
- Max: 132
+ Exclude:
+ - 'lib/sdr_client/deposit/model_process.rb'
+ - 'spec/sdr_client/deposit/model_process_spec.rb'
+ - 'spec/sdr_client/deposit/process_spec.rb'