# This configuration was generated by # `rubocop --auto-gen-config` # on 2022-04-26 10:02:10 -0400 using RuboCop version 0.64.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. # Offense count: 4 # Cop supports --auto-correct. Layout/EmptyLineAfterGuardClause: Exclude: - 'app/models/concerns/blacklight_oai_provider/solr_document.rb' - 'lib/blacklight_oai_provider/solr_document_wrapper.rb' - 'lib/blacklight_oai_provider/solr_set.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, no_empty_lines Layout/EmptyLinesAroundBlockBody: Exclude: - 'spec/requests/list_metadata_formats_spec.rb' # Offense count: 6 Metrics/AbcSize: Max: 28 # Offense count: 4 # Configuration parameters: CountComments, ExcludedMethods. Metrics/MethodLength: Max: 46 # Offense count: 2 RSpec/BeforeAfterAll: Exclude: - 'spec/spec_helper.rb' - 'spec/rails_helper.rb' - 'spec/support/**/*.rb' - 'spec/requests/list_identifiers_spec.rb' # Offense count: 15 # Configuration parameters: Prefixes. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - 'spec/lib/blacklight_oai_provider/solr_document_wrapper_spec.rb' - 'spec/lib/blacklight_oai_provider/solr_set_spec.rb' - 'spec/requests/list_identifiers_spec.rb' - 'spec/requests/list_records_spec.rb' # Offense count: 1 # Configuration parameters: CustomIncludeMethods. RSpec/EmptyExampleGroup: Exclude: - 'spec/requests/list_records_spec.rb' # Offense count: 1 # Configuration parameters: Max. RSpec/ExampleLength: Exclude: - 'spec/controllers/catalog_controller_spec.rb' # Offense count: 1 # Configuration parameters: AssignmentOnly. RSpec/InstanceVariable: Exclude: - 'spec/lib/blacklight_oai_provider/solr_document_wrapper_spec.rb' # Offense count: 1 # Cop supports --auto-correct. RSpec/LeadingSubject: Exclude: - 'spec/models/solr_document_spec.rb' # Offense count: 14 # Configuration parameters: AggregateFailuresByDefault. RSpec/MultipleExpectations: Max: 2 # Offense count: 2 # Configuration parameters: EnforcedStyle. # SupportedStyles: strict, flexible Rails/TimeZone: Exclude: - 'spec/requests/identify_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods. # SupportedStyles: line_count_based, semantic, braces_for_chaining # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object # FunctionalMethods: let, let!, subject, watch # IgnoredMethods: lambda, proc, it Style/BlockDelimiters: Exclude: - 'spec/models/solr_document_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: braces, no_braces, context_dependent Style/BracesAroundHashParameters: Exclude: - 'spec/models/solr_document_spec.rb' # Offense count: 2 Style/CommentedKeyword: Exclude: - 'lib/blacklight_oai_provider/solr_document_wrapper.rb' - 'lib/blacklight_oai_provider/solr_set.rb' # Offense count: 1 # Cop supports --auto-correct. Style/ExpandPathArguments: Exclude: - 'spec/test_app_templates/lib/generators/test_app_generator.rb' # Offense count: 2 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/generators/blacklight_oai_provider/install_generator.rb' # Offense count: 1 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/blacklight_oai_provider/solr_document_wrapper.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: MinSize. # SupportedStyles: percent, brackets Style/SymbolArray: EnforcedStyle: brackets # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. # IgnoredMethods: respond_to, define_method Style/SymbolProc: Exclude: - 'spec/spec_helper.rb'