From cd5933c4b01a40acbce5a3880c322af870104677 Mon Sep 17 00:00:00 2001 From: Irving Caro <112433591+betterment-coding-agent@users.noreply.github.com> Date: Thu, 28 Dec 2023 15:13:20 -0600 Subject: [PATCH] rubocop --only Style/RedundantFreeze -a --- lib/delayed.rb | 2 +- lib/delayed/backend/base.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/delayed.rb b/lib/delayed.rb index 485c0ad..f558466 100644 --- a/lib/delayed.rb +++ b/lib/delayed.rb @@ -41,7 +41,7 @@ module Delayed autoload :PerformableMailer, 'delayed/performable_mailer' - mattr_accessor(:default_log_level) { 'info'.freeze } + mattr_accessor(:default_log_level) { 'info' } mattr_accessor(:plugins) do [ Delayed::Plugins::Instrumentation, diff --git a/lib/delayed/backend/base.rb b/lib/delayed/backend/base.rb index a8d0843..8c205df 100644 --- a/lib/delayed/backend/base.rb +++ b/lib/delayed/backend/base.rb @@ -57,7 +57,7 @@ def failed? end alias failed failed? - ParseObjectFromYaml = %r{!ruby/\w+:([^\s]+)}.freeze # rubocop:disable Naming/ConstantName + ParseObjectFromYaml = %r{!ruby/\w+:([^\s]+)} # rubocop:disable Naming/ConstantName def name # rubocop:disable Metrics/AbcSize @name ||= payload_object.job_data['job_class'] if payload_object.respond_to?(:job_data)