From 4412ca6dac7dce284e2010678f7f2e276d60e4d1 Mon Sep 17 00:00:00 2001 From: Dino Maric Date: Fri, 14 Dec 2018 11:06:12 +0100 Subject: Add frozen_string_literal: true to match Rails codebase --- app/models/action_mailbox/inbound_email/incineratable.rb | 2 ++ app/models/action_mailbox/inbound_email/incineratable/incineration.rb | 2 ++ app/models/action_mailbox/inbound_email/message_id.rb | 2 ++ app/models/action_mailbox/inbound_email/routable.rb | 2 ++ 4 files changed, 8 insertions(+) (limited to 'app/models/action_mailbox/inbound_email') diff --git a/app/models/action_mailbox/inbound_email/incineratable.rb b/app/models/action_mailbox/inbound_email/incineratable.rb index a049b88b69..fb2461cf50 100644 --- a/app/models/action_mailbox/inbound_email/incineratable.rb +++ b/app/models/action_mailbox/inbound_email/incineratable.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Ensure that the `InboundEmail` is automatically scheduled for later incineration if the status has been # changed to `processed`. The later incineration will be invoked at the time specified by the # `ActionMailbox.incinerate_after` time using the `IncinerationJob`. diff --git a/app/models/action_mailbox/inbound_email/incineratable/incineration.rb b/app/models/action_mailbox/inbound_email/incineratable/incineration.rb index 50861bc64b..c4aaaa25a9 100644 --- a/app/models/action_mailbox/inbound_email/incineratable/incineration.rb +++ b/app/models/action_mailbox/inbound_email/incineratable/incineration.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # Command class for carrying out the actual incineration of the `InboundMail` that's been scheduled # for removal. Before the incineration – which really is just a call to `#destroy!` – is run, we verify # that it's both eligible (by virtue of having already been processed) and time to do so (that is, diff --git a/app/models/action_mailbox/inbound_email/message_id.rb b/app/models/action_mailbox/inbound_email/message_id.rb index dc17e48e74..4807a2a293 100644 --- a/app/models/action_mailbox/inbound_email/message_id.rb +++ b/app/models/action_mailbox/inbound_email/message_id.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # The `Message-ID` as specified by rfc822 is supposed to be a unique identifier for that individual email. # That makes it an ideal tracking token for debugging and forensics, just like `X-Request-Id` does for # web request. diff --git a/app/models/action_mailbox/inbound_email/routable.rb b/app/models/action_mailbox/inbound_email/routable.rb index f042fa4f57..58d67eb20c 100644 --- a/app/models/action_mailbox/inbound_email/routable.rb +++ b/app/models/action_mailbox/inbound_email/routable.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # A newly received `InboundEmail` will not be routed synchronously as part of ingress controller's receival. # Instead, the routing will be done asynchronously, using a `RoutingJob`, to ensure maximum parallel capacity. # -- cgit v1.2.3