# 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. # 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: Severity, Include. # Include: **/*.gemspec Gemspec/RequiredRubyVersion: Exclude: - 'sdr-client.gemspec' # Offense count: 1 Lint/NoReturnInBeginEndBlocks: Exclude: - 'lib/sdr_client/deposit/model_process.rb' # Offense count: 2 # 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: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max. Metrics/AbcSize: Exclude: - 'lib/sdr_client/cli.rb' - 'lib/sdr_client/update.rb' # Offense count: 1 # Configuration parameters: AllowedMethods, AllowedPatterns, Max. Metrics/CyclomaticComplexity: Exclude: - 'lib/sdr_client/update.rb' # Offense count: 12 # 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/update.rb' # Offense count: 11 # 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: 1 # Configuration parameters: EnforcedStyle. # SupportedStyles: have_received, receive RSpec/MessageSpies: Exclude: - 'spec/sdr_client/deposit_spec.rb' # 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: 24 # Configuration parameters: EnforcedStyle, IgnoreSharedExamples. # SupportedStyles: always, named_only 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: 19 # 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/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 # This cop supports safe autocorrection (--autocorrect). Style/MultilineTernaryOperator: Exclude: - 'lib/sdr_client/update.rb' # Offense count: 2 # 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: 35 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. # 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' - 'spec/sdr_client/update_spec.rb'