From e423db1c83bbf832bf3f8776b549c3a14ebb1ff3 Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 1 Jun 2023 23:33:17 +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..b2a0d22 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-06-01 23:33:16 UTC using RuboCop version 1.51.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 From a676614b0815f0314b6a5c2f1d08a7d6bc7ce1b6 Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 1 Jun 2023 23:33:22 +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 b2a0d22..0723915 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 1d8f472e600f5637bda74ec8a4fedcdb74819f90 Mon Sep 17 00:00:00 2001 From: Rubocop Challenger Date: Thu, 1 Jun 2023 23:33:28 +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 0723915..834cbf2 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-06-01 23:33:16 UTC using RuboCop version 1.51.0. +# on 2023-06-01 23:33:27 UTC using RuboCop version 1.51.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 @@ -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.