Skip to content

Commit

Permalink
rubocop --only Style/RedundantFreeze -a
Browse files Browse the repository at this point in the history
  • Loading branch information
Irving-Betterment committed Dec 28, 2023
1 parent 369af2c commit cd5933c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/delayed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/delayed/backend/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cd5933c

Please sign in to comment.