.rubocop_todo.yml in sdr-client-0.71.0 vs .rubocop_todo.yml in sdr-client-0.72.0
- old
+ new
@@ -1,8 +1,8 @@
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude`
-# on 2022-03-08 23:08:23 UTC using RuboCop version 1.25.1.
+# on 2022-03-11 00:50:54 UTC using RuboCop version 1.25.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.
@@ -24,21 +24,23 @@
Lint/UnusedMethodArgument:
Exclude:
- 'lib/sdr_client/deposit/file_type_file_set_strategy.rb'
- 'lib/sdr_client/deposit/image_file_set_strategy.rb'
-# Offense count: 1
+# Offense count: 2
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes, Max.
Metrics/AbcSize:
Exclude:
- 'lib/sdr_client/cli.rb'
+ - 'lib/sdr_client/update.rb'
-# Offense count: 1
+# Offense count: 2
# Configuration parameters: IgnoredMethods, Max.
Metrics/CyclomaticComplexity:
Exclude:
- 'lib/sdr_client/cli.rb'
+ - 'lib/sdr_client/update.rb'
# Offense count: 11
# Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Exclude:
@@ -48,16 +50,17 @@
- 'lib/sdr_client/deposit/process.rb'
- 'lib/sdr_client/deposit/request.rb'
- 'lib/sdr_client/login.rb'
- 'lib/sdr_client/update.rb'
-# Offense count: 8
+# Offense count: 10
# Configuration parameters: Max, CountAsOne.
RSpec/ExampleLength:
Exclude:
- 'spec/sdr_client/deposit_spec.rb'
- 'spec/sdr_client/model_deposit_spec.rb'
+ - 'spec/sdr_client/update_spec.rb'
# Offense count: 3
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
@@ -117,22 +120,30 @@
Style/KeywordParametersOrder:
Exclude:
- 'lib/sdr_client/deposit.rb'
- 'lib/sdr_client/deposit/request.rb'
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/MultilineTernaryOperator:
+ Exclude:
+ - 'lib/sdr_client/update.rb'
+
# Offense count: 2
# Cop supports --auto-correct-all.
# Configuration parameters: Mode.
Style/StringConcatenation:
Exclude:
- 'lib/sdr_client/deposit/create_resource.rb'
- 'spec/sdr_client/deposit_spec.rb'
-# Offense count: 16
+# Offense count: 19
# Cop supports --auto-correct.
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Exclude:
+ - 'lib/sdr_client/cli.rb'
- 'lib/sdr_client/deposit/model_process.rb'
+ - 'lib/sdr_client/update.rb'
- 'spec/sdr_client/deposit/model_process_spec.rb'
- 'spec/sdr_client/deposit/process_spec.rb'