# This configuration was generated by # `rubocop --auto-gen-config` # on 2017-10-26 15:19:14 -0400 using RuboCop version 0.50.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: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, no_empty_lines Layout/EmptyLinesAroundBlockBody: Exclude: - 'spec/requests/list_metadata_formats_spec.rb' # Offense count: 4 Metrics/AbcSize: Max: 25 # Offense count: 2 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 39 # 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: 6 RSpec/DescribeClass: Exclude: - 'spec/features/html_rendering_spec.rb' - 'spec/requests/get_record_spec.rb' - 'spec/requests/identify_spec.rb' - 'spec/requests/list_identifiers_spec.rb' - 'spec/requests/list_metadata_formats_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: 6 RSpec/MultipleExpectations: Max: 2 # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: strict, flexible Rails/TimeZone: Exclude: - 'spec/requests/identify_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, 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: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: braces, no_braces, context_dependent Style/BracesAroundHashParameters: Exclude: - 'lib/blacklight_oai_provider/solr_document_wrapper.rb' - 'spec/models/solr_document_spec.rb' # Offense count: 12 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'app/controllers/concerns/blacklight_oai_provider/controller.rb' - 'app/models/concerns/blacklight_oai_provider/solr_document.rb' - 'lib/blacklight_oai_provider.rb' - 'lib/blacklight_oai_provider/engine.rb' - 'lib/blacklight_oai_provider/exceptions.rb' - 'lib/blacklight_oai_provider/resumption_token.rb' - 'lib/blacklight_oai_provider/routes.rb' - 'lib/blacklight_oai_provider/solr_document_provider.rb' - 'lib/blacklight_oai_provider/solr_document_wrapper.rb' - 'lib/blacklight_oai_provider/version.rb' - 'lib/generators/blacklight_oai_provider/install_generator.rb' # Offense count: 24 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: when_needed, always, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 2 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/generators/blacklight_oai_provider/install_generator.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: MinSize, SupportedStyles. # 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'