From 84357223ea58647e2febf8e98ec2bd8c2b0a99f1 Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 4 May 2023 23:32:47 +0000 Subject: [PATCH 1/3] :police_car: regenerate rubocop todo --- .rubocop_todo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2d540c9..ddc27da 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 180` -# on 2023-04-20 23:33:11 UTC using RuboCop version 1.50.2. +# on 2023-05-04 23:32:47 UTC using RuboCop version 1.50.2. # 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 From dcd495b192a2f607d88e480c2e308016a573fbdb Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 4 May 2023 23:32:52 +0000 Subject: [PATCH 2/3] :police_car: Style/NumericLiterals --- .rubocop_todo.yml | 5 ----- spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index ddc27da..a0b3355 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -459,11 +459,6 @@ Style/NestedParenthesizedCalls: - '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: Strict, AllowedNumbers, AllowedPatterns. -Style/NumericLiterals: - MinDigits: 6 # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). diff --git a/spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb b/spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb index 297000e..c7493bb 100644 --- a/spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb +++ b/spec/lib/dispatch-rider/queue_services/aws_sqs_spec.rb @@ -130,7 +130,7 @@ let(:response_message) do OpenStruct.new({ - message_id: 12345, + message_id: 12_345, md5_of_body: "mmmddd555", body: { subject: "foo", body: { bar: "baz" } }.to_json, receipt_handle: "HANDLE", From 7ecec67bd784df3e311596092607ef3e291cbb0e Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 4 May 2023 23:32:58 +0000 Subject: [PATCH 3/3] :police_car: regenerate rubocop todo --- .rubocop_todo.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a0b3355..71905de 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 180` -# on 2023-05-04 23:32:47 UTC using RuboCop version 1.50.2. +# on 2023-05-04 23:32:57 UTC using RuboCop version 1.50.2. # 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 @@ -459,7 +459,6 @@ Style/NestedParenthesizedCalls: - '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 unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.