# This configuration was generated by # `rubocop --auto-gen-config` # on 2022-09-14 23:37:26 UTC using RuboCop version 1.36.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: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: outdent, indent Layout/AccessModifierIndentation: Exclude: - 'lib/dispatch-rider/command.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyleAlignWith. # SupportedStylesAlignWith: either, start_of_block, start_of_line Layout/BlockAlignment: Exclude: - 'spec/lib/dispatch-rider/notification_services/aws_sns_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Layout/BlockEndNewline: Exclude: - 'spec/factories/messages.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Layout/ClosingParenthesisIndentation: Exclude: - 'spec/lib/dispatch-rider/publisher_spec.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). Layout/EmptyLineAfterGuardClause: Exclude: - 'lib/dispatch-rider/message.rb' - 'lib/dispatch-rider/queue_services/aws_sqs.rb' - 'lib/dispatch-rider/queue_services/file_system/queue.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines. Layout/EmptyLineBetweenDefs: Exclude: - 'lib/dispatch-rider/queue_services/base.rb' # Offense count: 45 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, no_empty_lines Layout/EmptyLinesAroundBlockBody: Enabled: false # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'spec/factories/messages.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Width, AllowedPatterns, IgnoredPatterns. Layout/IndentationWidth: Exclude: - 'lib/dispatch-rider/queue_services/base.rb' - 'lib/dispatch-rider/queue_services/file_system.rb' # Offense count: 6 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment. Layout/LeadingCommentSpace: Exclude: - 'lib/dispatch-rider.rb' - 'lib/dispatch-rider/queue_services/base.rb' - 'lib/dispatch-rider/queue_services/file_system/fs_received_message.rb' - 'lib/dispatch-rider/queue_services/received_message.rb' - 'spec/lib/dispatch-rider/configuration_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: symmetrical, new_line, same_line Layout/MultilineMethodCallBraceLayout: Exclude: - 'spec/lib/dispatch-rider/logging/lifecycle_logger_spec.rb' - 'spec/lib/dispatch-rider/publisher_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Layout/SpaceAfterColon: Exclude: - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). Layout/SpaceAfterComma: Exclude: - 'lib/dispatch-rider/queue_services/aws_sqs.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Exclude: - 'lib/dispatch-rider/publisher/configuration/destination.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. # SupportedStylesForExponentOperator: space, no_space Layout/SpaceAroundOperators: Exclude: - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceBeforeBlockBraces: Exclude: - 'lib/dispatch-rider/queue_services/file_system/queue.rb' # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: require_no_space, require_space Layout/SpaceInLambdaLiteral: Exclude: - 'lib/dispatch-rider/configuration.rb' - 'lib/dispatch-rider/scheduled_job.rb' - 'spec/lib/dispatch-rider/logging/lifecycle_logger_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideBlockBraces: Exclude: - 'lib/dispatch-rider/subscriber.rb' # Offense count: 41 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: - 'lib/dispatch-rider/queue_services/aws_sqs.rb' - 'spec/lib/dispatch-rider/publisher/base_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration_reader_spec.rb' - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' - 'spec/lib/dispatch-rider/queue_services/file_system_spec.rb' - 'spec/lib/dispatch-rider/queue_services/simple_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: space, compact, no_space Layout/SpaceInsideParens: Exclude: - 'lib/dispatch-rider/handlers/base.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: final_newline, final_blank_line Layout/TrailingEmptyLines: Exclude: - 'spec/lib/dispatch-rider/notification_services/file_system/notifier_spec.rb' # Offense count: 15 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowInHeredoc. Layout/TrailingWhitespace: Exclude: - 'lib/dispatch-rider/handlers/base.rb' - 'lib/dispatch-rider/queue_services/base.rb' - 'lib/dispatch-rider/queue_services/file_system.rb' - 'lib/dispatch-rider/queue_services/file_system/fs_received_message.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Lint/AmbiguousOperator: Exclude: - 'Rakefile' # Offense count: 13 # Configuration parameters: AllowedMethods. # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - 'spec/lib/dispatch-rider/demultiplexer_spec.rb' - 'spec/lib/dispatch-rider/dispatcher_spec.rb' - 'spec/lib/dispatch-rider/handlers/base_spec.rb' - 'spec/lib/dispatch-rider/handlers/inheritance_tracking_spec.rb' - 'spec/lib/dispatch-rider/publisher/base_spec.rb' - 'spec/lib/dispatch-rider/registrars/handler_spec.rb' # Offense count: 3 # Configuration parameters: AllowComments, AllowEmptyLambdas. Lint/EmptyBlock: Exclude: - 'spec/lib/dispatch-rider/notification_services_spec.rb' - 'spec/lib/dispatch-rider/queue_services_spec.rb' - 'spec/lib/dispatch-rider/registrars_spec.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Lint/NonDeterministicRequireOrder: Exclude: - 'spec/spec_helper.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Lint/RedundantStringCoercion: Exclude: - 'lib/dispatch-rider/errors.rb' # Offense count: 1 Lint/RescueException: Exclude: - 'lib/dispatch-rider/handlers/base.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Lint/ScriptPermission: Exclude: - 'lib/generators/dispatch_rider/install/templates/script/dispatch_rider' # Offense count: 1 Lint/ShadowingOuterLocalVariable: Exclude: - 'lib/dispatch-rider/command.rb' # Offense count: 7 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/dispatch-rider/error_handlers.rb' - 'lib/dispatch-rider/queue_services/simple.rb' - 'lib/dispatch-rider/registrars/file_system_channel.rb' - 'lib/dispatch-rider/registrars/handler.rb' - 'lib/dispatch-rider/registrars/publishing_destination.rb' - 'lib/dispatch-rider/registrars/sns_channel.rb' - 'spec/lib/dispatch-rider/subscriber_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods. Lint/UselessAccessModifier: Exclude: - 'lib/dispatch-rider/scheduled_job.rb' # Offense count: 1 # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods. Metrics/CyclomaticComplexity: Max: 8 # Offense count: 6 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods. Metrics/MethodLength: Max: 17 # Offense count: 2 Naming/AccessorMethodName: Exclude: - 'lib/dispatch-rider/handlers/base.rb' - 'lib/dispatch-rider/scheduled_job.rb' # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: PreferredName. Naming/RescuedExceptionsVariableName: Exclude: - 'lib/dispatch-rider/demultiplexer.rb' - 'lib/dispatch-rider/logging/lifecycle_logger.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Performance/RedundantBlockCall: Exclude: - 'lib/dispatch-rider/command.rb' - 'lib/dispatch-rider/queue_services/base.rb' # Offense count: 10 RSpec/AnyInstance: Exclude: - 'spec/lib/dispatch-rider/demultiplexer_spec.rb' - 'spec/lib/dispatch-rider/notification_services/base_spec.rb' - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' - 'spec/lib/dispatch-rider/queue_services/base_spec.rb' # Offense count: 13 # Configuration parameters: Prefixes, AllowedPatterns. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - 'spec/integration/logging_spec.rb' - 'spec/lib/dispatch-rider/handlers/inheritance_tracking_spec.rb' - 'spec/lib/dispatch-rider/logging/lifecycle_logger_spec.rb' - 'spec/lib/dispatch-rider/publisher/base_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration/notification_service_spec.rb' # Offense count: 13 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: SkipBlocks, EnforcedStyle. # SupportedStyles: described_class, explicit RSpec/DescribedClass: Exclude: - 'spec/lib/dispatch-rider/demultiplexer_spec.rb' - 'spec/lib/dispatch-rider/logging/lifecycle_logger_spec.rb' - 'spec/lib/dispatch-rider/message_spec.rb' - 'spec/lib/dispatch-rider/notification_services/base_spec.rb' - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' - 'spec/lib/dispatch-rider/queue_services/base_spec.rb' - 'spec/lib/dispatch-rider/queue_services/file_system_spec.rb' - 'spec/lib/dispatch-rider/queue_services/simple_spec.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). RSpec/EmptyExampleGroup: Exclude: - 'spec/lib/dispatch-rider/notification_services_spec.rb' - 'spec/lib/dispatch-rider/registrars_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowConsecutiveOneLiners. RSpec/EmptyLineAfterExample: Exclude: - 'spec/lib/dispatch-rider/demultiplexer_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowConsecutiveOneLiners. RSpec/EmptyLineAfterHook: Exclude: - 'spec/lib/dispatch-rider/dispatcher_spec.rb' - 'spec/lib/dispatch-rider/subscriber_spec.rb' # Offense count: 14 # This cop supports safe autocorrection (--autocorrect). RSpec/EmptyLineAfterSubject: Exclude: - 'spec/lib/dispatch-rider/logging/translator_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration/destination_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration/notification_service_spec.rb' # Offense count: 19 # Configuration parameters: CountAsOne. RSpec/ExampleLength: Max: 31 # Offense count: 66 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: CustomTransform, IgnoredWords. RSpec/ExampleWording: Exclude: - 'spec/lib/dispatch-rider/demultiplexer_spec.rb' - 'spec/lib/dispatch-rider/dispatcher_spec.rb' - 'spec/lib/dispatch-rider/message_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration_reader_spec.rb' - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' - 'spec/lib/dispatch-rider/queue_services/base_spec.rb' - 'spec/lib/dispatch-rider/queue_services/file_system_spec.rb' - 'spec/lib/dispatch-rider/queue_services/simple_spec.rb' - 'spec/lib/dispatch-rider/queue_services_spec.rb' - 'spec/lib/dispatch-rider/registrars/base_spec.rb' - 'spec/lib/dispatch-rider/subscriber_spec.rb' # Offense count: 45 # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. # Include: **/*_spec*rb*, **/spec/**/* RSpec/FilePath: Enabled: false # Offense count: 30 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: implicit, each, example RSpec/HookArgument: Exclude: - 'spec/lib/dispatch-rider/configuration_spec.rb' - 'spec/lib/dispatch-rider/dispatcher_spec.rb' - 'spec/lib/dispatch-rider/notification_services/base_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration_support_spec.rb' - 'spec/lib/dispatch-rider/publisher_spec.rb' - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' - 'spec/lib/dispatch-rider/queue_services/base_spec.rb' - 'spec/lib/dispatch-rider/queue_services/file_system_spec.rb' - 'spec/lib/dispatch-rider/queue_services/simple_spec.rb' - 'spec/lib/dispatch-rider/registrars/base_spec.rb' - 'spec/lib/dispatch-rider/runner_spec.rb' - 'spec/lib/dispatch-rider/subscriber_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: single_line_only, single_statement_only, disallow RSpec/ImplicitSubject: Exclude: - 'spec/lib/dispatch-rider/scheduled_job_spec.rb' # Offense count: 13 RSpec/LeakyConstantDeclaration: Exclude: - 'spec/lib/dispatch-rider/demultiplexer_spec.rb' - 'spec/lib/dispatch-rider/dispatcher_spec.rb' - 'spec/lib/dispatch-rider/handlers/base_spec.rb' - 'spec/lib/dispatch-rider/handlers/inheritance_tracking_spec.rb' - 'spec/lib/dispatch-rider/publisher/base_spec.rb' - 'spec/lib/dispatch-rider/registrars/handler_spec.rb' # Offense count: 62 # Configuration parameters: . # SupportedStyles: have_received, receive RSpec/MessageSpies: EnforcedStyle: receive # Offense count: 50 RSpec/MultipleExpectations: Max: 6 # Offense count: 39 # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: Max: 12 # Offense count: 173 # Configuration parameters: IgnoreSharedExamples. RSpec/NamedSubject: Enabled: false # Offense count: 27 # Configuration parameters: AllowedGroups. RSpec/NestedGroups: Max: 5 # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: not_to, to_not RSpec/NotToNot: Exclude: - 'spec/lib/dispatch-rider/handlers/base_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration_reader_spec.rb' - 'spec/lib/dispatch-rider/scheduled_job_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). RSpec/ReceiveCounts: Exclude: - 'spec/lib/dispatch-rider/demultiplexer_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration_reader_spec.rb' # Offense count: 2 RSpec/RepeatedExampleGroupDescription: Exclude: - 'spec/lib/dispatch-rider/logging/translator_spec.rb' # Offense count: 4 RSpec/StubbedMock: Exclude: - 'spec/lib/dispatch-rider/notification_services/base_spec.rb' - 'spec/lib/dispatch-rider/registrars/base_spec.rb' # Offense count: 12 RSpec/SubjectStub: Exclude: - 'spec/lib/dispatch-rider/demultiplexer_spec.rb' - 'spec/lib/dispatch-rider/notification_services/aws_sns_spec.rb' - 'spec/lib/dispatch-rider/queue_services/base_spec.rb' - 'spec/lib/dispatch-rider/registrars/base_spec.rb' - 'spec/lib/dispatch-rider/subscriber_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: symbols, strings RSpec/VariableDefinition: Exclude: - 'spec/lib/dispatch-rider/publisher/base_spec.rb' # Offense count: 21 # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. RSpec/VerifiedDoubles: Exclude: - 'spec/lib/dispatch-rider/configuration_spec.rb' - 'spec/lib/dispatch-rider/dispatcher_spec.rb' - 'spec/lib/dispatch-rider/handlers/base_spec.rb' - 'spec/lib/dispatch-rider/logging/lifecycle_logger_spec.rb' - 'spec/lib/dispatch-rider/logging/translator_spec.rb' - 'spec/lib/dispatch-rider/notification_services/aws_sns_spec.rb' - 'spec/lib/dispatch-rider/notification_services/base_spec.rb' - 'spec/lib/dispatch-rider/publisher/base_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration_reader_spec.rb' - 'spec/lib/dispatch-rider/publisher_spec.rb' - 'spec/lib/dispatch-rider/queue_services/received_message_spec.rb' - 'spec/lib/dispatch-rider/runner_spec.rb' - 'spec/lib/dispatch-rider/subscriber_spec.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Rails/ApplicationRecord: Exclude: - 'lib/dispatch-rider/scheduled_job.rb' # Offense count: 5 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforceForPrefixed. Rails/Delegate: Exclude: - 'lib/dispatch-rider/queue_services/file_system.rb' - 'lib/dispatch-rider/queue_services/file_system/queue.rb' - 'lib/dispatch-rider/queue_services/simple.rb' # Offense count: 2 # Configuration parameters: Include. # Include: app/**/*.rb, config/**/*.rb, lib/**/*.rb Rails/Exit: Exclude: - 'lib/dispatch-rider/command.rb' - 'lib/dispatch-rider/subscriber.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Include. # Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb Rails/Output: Exclude: - 'lib/dispatch-rider/command.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Include. # Include: **/Rakefile, **/*.rake Rails/RakeEnvironment: Exclude: - 'Rakefile' # Offense count: 13 # Configuration parameters: ForbiddenMethods, AllowedMethods. # ForbiddenMethods: decrement!, decrement_counter, increment!, increment_counter, insert, insert!, insert_all, insert_all!, toggle!, touch, touch_all, update_all, update_attribute, update_column, update_columns, update_counters, upsert, upsert_all Rails/SkipsModelValidations: Exclude: - 'lib/dispatch-rider/queue_services/base.rb' - 'lib/dispatch-rider/scheduled_job.rb' - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' - 'spec/lib/dispatch-rider/queue_services/base_spec.rb' - 'spec/lib/dispatch-rider/queue_services/file_system_spec.rb' - 'spec/lib/dispatch-rider/queue_services/simple_spec.rb' # Offense count: 10 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: strict, flexible Rails/TimeZone: Exclude: - 'lib/dispatch-rider/logging/lifecycle_logger.rb' - 'lib/dispatch-rider/queue_services/aws_sqs.rb' - 'lib/dispatch-rider/queue_services/aws_sqs/sqs_received_message.rb' - 'lib/dispatch-rider/scheduled_job.rb' - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' # Offense count: 3 # This cop supports unsafe autocorrection (--autocorrect-all). Security/JSONLoad: Exclude: - 'spec/integration/logging_spec.rb' - 'spec/lib/dispatch-rider/publisher_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: prefer_alias, prefer_alias_method Style/Alias: Exclude: - 'lib/dispatch-rider.rb' - 'lib/dispatch-rider/publisher/configuration_support.rb' # Offense count: 7 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'lib/dispatch-rider/notification_services/file_system/channel.rb' - 'lib/dispatch-rider/notification_services/file_system/notifier.rb' - 'lib/dispatch-rider/publisher/base.rb' - 'lib/dispatch-rider/publisher/configuration.rb' - 'lib/dispatch-rider/publisher/configuration/destination.rb' - 'lib/dispatch-rider/publisher/configuration/notification_service.rb' - 'lib/dispatch-rider/scheduled_job/migration.rb' # Offense count: 1 Style/ClassVars: Exclude: - 'lib/dispatch-rider/publisher/base.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Style/CommentedKeyword: Exclude: - 'spec/lib/dispatch-rider/publisher/configuration_reader_spec.rb' # Offense count: 63 # Configuration parameters: AllowedConstants. Style/Documentation: Enabled: false # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/EachWithObject: Exclude: - 'lib/dispatch-rider/publisher.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: compact, expanded Style/EmptyMethod: Exclude: - 'spec/support/null_logger.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/Encoding: Exclude: - 'Rakefile' # Offense count: 5 # This cop supports safe autocorrection (--autocorrect). Style/ExpandPathArguments: Exclude: - 'lib/generators/dispatch_rider/install/install_generator.rb' - 'lib/generators/dispatch_rider/job/dispatch_job_generator.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/FileWrite: Exclude: - 'lib/dispatch-rider/queue_services/file_system/queue.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'lib/dispatch-rider/logging/text_formatter.rb' # Offense count: 123 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Style/GlobalStdStream: Exclude: - 'lib/dispatch-rider/configuration.rb' # Offense count: 2 # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals. Style/GuardClause: Exclude: - 'lib/dispatch-rider/queue_services/aws_sqs/sqs_received_message.rb' - 'lib/dispatch-rider/queue_services/base.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: braces, no_braces Style/HashAsLastArrayItem: Exclude: - 'spec/lib/dispatch-rider/airbrake_error_handler_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration_reader_spec.rb' # Offense count: 26 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys # SupportedShorthandSyntax: always, never, either, consistent Style/HashSyntax: Exclude: - 'Rakefile' - 'lib/dispatch-rider/command.rb' - 'lib/dispatch-rider/configuration.rb' - 'lib/dispatch-rider/message.rb' - 'lib/dispatch-rider/publisher.rb' - 'lib/dispatch-rider/registrars/publishing_destination.rb' - 'spec/lib/dispatch-rider/dispatcher_spec.rb' - 'spec/lib/dispatch-rider/notification_services/file_system_spec.rb' - 'spec/lib/dispatch-rider/publisher_spec.rb' - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' - 'spec/lib/dispatch-rider/queue_services/file_system_spec.rb' - 'spec/lib/dispatch-rider/registrars/publishing_destination_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/IfUnlessModifier: Exclude: - 'lib/dispatch-rider/queue_services/aws_sqs/sqs_received_message.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: line_count_dependent, lambda, literal Style/Lambda: Exclude: - 'spec/lib/dispatch-rider/logging/lifecycle_logger_spec.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: literals, strict Style/MutableConstant: Exclude: - 'lib/dispatch-rider/version.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowedMethods. # AllowedMethods: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with Style/NestedParenthesizedCalls: Exclude: - 'lib/dispatch-rider/publisher.rb' - 'spec/lib/dispatch-rider/notification_services/aws_sns_spec.rb' - 'spec/lib/dispatch-rider/notification_services/base_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedOctalStyle. # SupportedOctalStyles: zero_with_o, zero_only Style/NumericLiteralPrefix: Exclude: - 'lib/generators/dispatch_rider/install/install_generator.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Strict, AllowedNumbers, AllowedPatterns. Style/NumericLiterals: MinDigits: 6 # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns, IgnoredMethods. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'lib/dispatch-rider/queue_services/aws_sqs/sqs_received_message.rb' # Offense count: 13 Style/OpenStructUse: Exclude: - 'lib/dispatch-rider/registrars/publishing_destination.rb' - 'spec/lib/dispatch-rider/notification_services/base_spec.rb' - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' - 'spec/lib/dispatch-rider/queue_services/base_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'spec/lib/dispatch-rider/logging/json_formatter_spec.rb' - 'spec/spec_helper.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: short, verbose Style/PreferredHashMethods: Exclude: - 'lib/dispatch-rider/publisher.rb' - 'lib/dispatch-rider/queue_services/aws_sqs/message_body_extractor.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: . # SupportedStyles: same_as_string_literals, single_quotes, double_quotes Style/QuotedSymbols: EnforcedStyle: double_quotes # Offense count: 8 # This cop supports safe autocorrection (--autocorrect). Style/RedundantBegin: Exclude: - 'lib/dispatch-rider/callbacks/storage.rb' - 'lib/dispatch-rider/demultiplexer.rb' - 'lib/dispatch-rider/queue_services/file_system.rb' - 'lib/dispatch-rider/registrars/base.rb' - 'spec/lib/dispatch-rider/dispatcher_spec.rb' - 'spec/lib/dispatch-rider/publisher_spec.rb' # Offense count: 11 # This cop supports safe autocorrection (--autocorrect). Style/RedundantSelf: Exclude: - 'lib/dispatch-rider/handlers/base.rb' - 'lib/dispatch-rider/notification_services/aws_sns.rb' - 'lib/dispatch-rider/notification_services/file_system.rb' - 'lib/dispatch-rider/publisher/configuration/destination.rb' - 'lib/dispatch-rider/publisher/configuration/notification_service.rb' - 'lib/dispatch-rider/queue_services/received_message.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'spec/lib/dispatch-rider/configuration_spec.rb' # Offense count: 4 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: implicit, explicit Style/RescueStandardError: Exclude: - 'lib/dispatch-rider/demultiplexer.rb' - 'lib/dispatch-rider/logging/lifecycle_logger.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: RequireEnglish. # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names Style/SpecialGlobalVars: EnforcedStyle: use_perl_names # Offense count: 6 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Mode. Style/StringConcatenation: Exclude: - 'lib/dispatch-rider/command.rb' - 'lib/dispatch-rider/configuration.rb' - 'lib/dispatch-rider/logging/text_formatter.rb' - 'lib/generators/dispatch_rider/job/dispatch_job_generator.rb' - 'spec/spec_helper.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowComments. # AllowedMethods: respond_to, define_method Style/SymbolProc: Exclude: - 'spec/lib/dispatch-rider/queue_services/base_spec.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInArguments: Exclude: - 'lib/dispatch-rider/integrations/appsignal.rb' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInArrayLiteral: Exclude: - 'spec/lib/dispatch-rider/airbrake_error_handler_spec.rb' # Offense count: 37 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma Style/TrailingCommaInHashLiteral: Exclude: - 'lib/dispatch-rider/command.rb' - 'lib/dispatch-rider/logging/translator/base_translator.rb' - 'spec/factories/messages.rb' - 'spec/integration/logging_spec.rb' - 'spec/lib/dispatch-rider/logging/lifecycle_logger_spec.rb' - 'spec/lib/dispatch-rider/logging/text_formatter_spec.rb' - 'spec/lib/dispatch-rider/logging/translator_spec.rb' - 'spec/lib/dispatch-rider/publisher/base_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration_reader_spec.rb' - 'spec/lib/dispatch-rider/publisher/configuration_support_spec.rb' - 'spec/lib/dispatch-rider/publisher_spec.rb' - 'spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb' # Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods. # AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym Style/TrivialAccessors: Exclude: - 'lib/dispatch-rider/publisher/configuration.rb'