Security/MarshalLoad: Exclude: - 'app/models/concerns/hyrax/user.rb' Metrics/ClassLength: Exclude: - 'app/controllers/hyrax/dashboard/collections_controller.rb' - 'app/controllers/hyrax/admin/admin_sets_controller.rb' - 'app/controllers/hyrax/batch_edits_controller.rb' - 'app/controllers/hyrax/downloads_controller.rb' - 'app/controllers/hyrax/file_sets_controller.rb' - 'app/forms/hyrax/forms/permission_template_form.rb' - 'app/presenters/hyrax/work_show_presenter.rb' - 'app/presenters/hyrax/collection_presenter.rb' - 'app/services/hyrax/user_stat_importer.rb' - 'lib/generators/hyrax/templates/catalog_controller.rb' - 'lib/generators/hyrax/install_generator.rb' - 'lib/hyrax/configuration.rb' Metrics/ParameterLists: Exclude: - 'app/jobs/batch_create_job.rb' Metrics/ModuleLength: Exclude: - 'app/controllers/concerns/hyrax/works_controller_behavior.rb' - 'app/helpers/hyrax/hyrax_helper_behavior.rb' - 'app/models/concerns/hyrax/ability.rb' - 'app/services/hyrax/workflow/permission_query.rb' - 'spec/services/hyrax/workflow/permission_query_spec.rb' # TODO: extract CollectionAccessControls or something, so we don't have to skip this check? - 'app/models/concerns/hyrax/collection_behavior.rb' RSpec/NamedSubject: Enabled: false RSpec/ExampleLength: Max: 9 Exclude: - 'spec/actors/hyrax/actors/file_set_actor_spec.rb' - 'spec/actors/hyrax/actors/generic_work_actor_spec.rb' - 'spec/controllers/hyrax/api/items_controller_spec.rb' - 'spec/controllers/hyrax/batch_edits_controller_spec.rb' - 'spec/controllers/hyrax/batch_uploads_controller_spec.rb' - 'spec/controllers/hyrax/file_sets_controller_spec.rb' - 'spec/controllers/hyrax/generic_works_controller_spec.rb' - 'spec/controllers/hyrax/my/highlights_controller_spec.rb' - 'spec/controllers/hyrax/transfers_controller_spec.rb' - 'spec/forms/hyrax/forms/collection_form_spec.rb' - 'spec/forms/hyrax/forms/batch_edit_form_spec.rb' - 'spec/forms/hyrax/forms/batch_upload_form_spec.rb' - 'spec/forms/hyrax/forms/file_set_edit_form_spec.rb' - 'spec/features/**/*' - 'spec/helpers/hyrax/charts_helper_spec.rb' - 'spec/helpers/dashboard_helper_spec.rb' - 'spec/helpers/hyrax_helper_spec.rb' - 'spec/indexers/hyrax/file_set_indexer_spec.rb' - 'spec/javascripts/jasmine_spec.rb' - 'spec/jobs/file_set_attached_event_job_spec.rb' - 'spec/jobs/batch_create_job_spec.rb' - 'spec/jobs/create_work_job_spec.rb' - 'spec/jobs/content_update_event_job_spec.rb' - 'spec/jobs/content_restored_version_event_job_spec.rb' - 'spec/jobs/content_new_version_event_job_spec.rb' - 'spec/jobs/content_depositor_change_event_job_spec.rb' - 'spec/jobs/content_deposit_event_job_spec.rb' - 'spec/jobs/content_delete_event_job_spec.rb' - 'spec/jobs/ingest_file_job_spec.rb' - 'spec/lib/hyrax/arkivo/actor_spec.rb' - 'spec/lib/hyrax/resource_sync/capability_list_writer_spec.rb' - 'spec/models/checksum_audit_log_spec.rb' - 'spec/models/featured_work_spec.rb' - 'spec/models/file_set_spec.rb' - 'spec/models/generic_work_spec.rb' - 'spec/presenters/hyrax/inspect_work_presenter_spec.rb' - 'spec/services/hyrax/actor_factory_spec.rb' - 'spec/services/hyrax/admin_set_create_service_spec.rb' - 'spec/services/hyrax/default_middleware_stack_spec.rb' - 'spec/services/hyrax/graph_exporter_spec.rb' - 'spec/services/hyrax/user_stat_importer_spec.rb' - 'spec/services/hyrax/workflow/activate_object_spec.rb' - 'spec/services/hyrax/workflow/deactivate_object_spec.rb' - 'spec/services/hyrax/workflow/permission_generator_spec.rb' - 'spec/services/hyrax/workflow/permission_query_spec.rb' - 'spec/services/hyrax/workflow/state_machine_generator_spec.rb' - 'spec/services/hyrax/workflow/workflow_importer_spec.rb' - 'spec/views/**/*' - 'spec/wings/valkyrie/persister_spec.rb' RSpec/VerifiedDoubles: Enabled: false RSpec/SubjectStub: Exclude: - 'spec/actors/hyrax/actors/generic_work_actor_spec.rb' - 'spec/controllers/hyrax/file_sets_controller_spec.rb' - 'spec/models/file_set_spec.rb' - 'spec/models/hyrax/work_behavior_spec.rb' - 'spec/search_builders/hyrax/file_set_search_builder_spec.rb' - 'spec/models/hyrax/operation_spec.rb' - 'spec/controllers/hyrax/accepts_batches_controller_spec.rb' - 'spec/indexers/hyrax/repository_reindexer_spec.rb' - 'spec/jobs/content_depositor_change_event_job_spec.rb' - 'spec/lib/hyrax/analytics_spec.rb' - 'spec/models/job_io_wrapper_spec.rb' - 'spec/search_builders/hyrax/abstract_type_relation_spec.rb' - 'spec/services/hyrax/database_migrator_spec.rb' RSpec/AnyInstance: Exclude: - 'spec/actors/hyrax/actors/generic_work_actor_spec.rb' - 'spec/controllers/hyrax/api/items_controller_spec.rb' - 'spec/controllers/hyrax/api/zotero_controller_spec.rb' - 'spec/controllers/hyrax/batch_edits_controller_spec.rb' - 'spec/controllers/hyrax/stats_controller_spec.rb' - 'spec/controllers/hyrax/users_controller_spec.rb' - 'spec/jobs/content_restored_version_event_job_spec.rb' - 'spec/jobs/file_set_attached_event_job_spec.rb' - 'spec/jobs/hyrax/grant_edit_to_members_job_spec.rb' - 'spec/jobs/hyrax/grant_read_to_members_job_spec.rb' - 'spec/jobs/hyrax/revoke_edit_from_members_job_spec.rb' - 'spec/lib/hyrax/arkivo/create_subscription_job_spec.rb' - 'spec/presenters/hyrax/file_usage_spec.rb' - 'spec/presenters/hyrax/work_usage_spec.rb' - 'spec/services/hyrax/repository_fixity_check_service_spec.rb' - 'spec/services/hyrax/workflow/permission_generator_spec.rb' - 'spec/services/hyrax/workflow/sipity_actions_generator_spec.rb' - 'spec/services/hyrax/workflow/state_machine_generator_spec.rb' - 'spec/services/hyrax/workflow/workflow_permissions_generator_spec.rb' - 'spec/controllers/hyrax/homepage_controller_spec.rb' - 'spec/controllers/hyrax/my/collections_controller_spec.rb' - 'spec/controllers/hyrax/my/works_controller_spec.rb' - 'spec/presenters/hyrax/admin/repository_object_presenter_spec.rb' # Offense count: 51 RSpec/ExpectInHook: Enabled: false # Offense count: 27 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: and_return, block RSpec/ReturnFromStub: Exclude: - 'spec/controllers/hyrax/api/items_controller_spec.rb' - 'spec/controllers/hyrax/file_sets_controller_spec.rb' - 'spec/lib/hyrax/arkivo/create_subscription_job_spec.rb' - 'spec/models/file_set_spec.rb' - 'spec/presenters/hyrax/admin_set_options_presenter_spec.rb' - 'spec/routing/api_route_spec.rb' - 'spec/views/_user_util_links.html.erb_spec.rb' - 'spec/views/hyrax/base/_attributes.html.erb_spec.rb' - 'spec/views/hyrax/base/_form.html.erb_spec.rb' - 'spec/views/hyrax/base/file_manager.html.erb_spec.rb' - 'spec/views/hyrax/dashboard/profiles/edit.html.erb_spec.rb' - 'spec/views/hyrax/users/_user_info.html.erb_spec.rb' # Offense count: 26 RSpec/RepeatedDescription: Exclude: - 'spec/models/sipity/agent_spec.rb' - 'spec/models/sipity/comment_spec.rb' - 'spec/models/sipity/entity_spec.rb' - 'spec/models/sipity/entity_specific_responsibility_spec.rb' - 'spec/models/sipity/role_spec.rb' - 'spec/models/sipity/workflow_action_spec.rb' - 'spec/models/sipity/workflow_responsibility_spec.rb' - 'spec/models/sipity/workflow_role_spec.rb' - 'spec/models/sipity/workflow_state_action_permission_spec.rb' - 'spec/models/sipity/workflow_state_action_spec.rb' - 'spec/models/sipity/workflow_state_spec.rb' # Offense count: 1 # Configuration parameters: Include. # Include: app/models/**/*.rb Rails/HasManyOrHasOneDependent: Exclude: - 'app/models/admin_set.rb' # Offense count: 1 Style/MethodMissingSuper: Exclude: - 'app/models/concerns/hyrax/file_set/characterization.rb'