-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
10 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,2 @@ | ||
module Postal | ||
|
||
extend ActiveSupport::Autoload | ||
|
||
eager_autoload do | ||
autoload :AppLogger | ||
autoload :BounceMessage | ||
autoload :Config | ||
autoload :Countries | ||
autoload :DKIMHeader | ||
autoload :Error | ||
autoload :Helpers | ||
autoload :HTTP | ||
autoload :HTTPSender | ||
autoload :Job | ||
autoload :MessageDB | ||
autoload :MessageInspection | ||
autoload :MessageInspector | ||
autoload :MessageInspectors | ||
autoload :MessageParser | ||
autoload :MessageRequeuer | ||
autoload :MXLookup | ||
autoload :QueryString | ||
autoload :RabbitMQ | ||
autoload :ReplySeparator | ||
autoload :RspecHelpers | ||
autoload :Sender | ||
autoload :SendResult | ||
autoload :SMTPSender | ||
autoload :SMTPServer | ||
autoload :SpamCheck | ||
autoload :TrackingMiddleware | ||
autoload :UserCreator | ||
autoload :Version | ||
autoload :Worker | ||
end | ||
|
||
def self.eager_load! | ||
super | ||
Postal::MessageDB.eager_load! | ||
Postal::SMTPServer.eager_load! | ||
Postal::MessageInspectors.eager_load! | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,4 @@ | ||
module Postal | ||
module MessageDB | ||
|
||
extend ActiveSupport::Autoload | ||
eager_autoload do | ||
autoload :Click | ||
autoload :Database | ||
autoload :Delivery | ||
autoload :LiveStats | ||
autoload :Load | ||
autoload :Message | ||
autoload :Migration | ||
autoload :Provisioner | ||
autoload :Statistics | ||
autoload :SuppressionList | ||
autoload :Webhooks | ||
end | ||
|
||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
module Postal | ||
module MessageInspectors | ||
|
||
extend ActiveSupport::Autoload | ||
eager_autoload do | ||
autoload :Clamav | ||
autoload :Rspamd | ||
autoload :SpamAssassin | ||
end | ||
|
||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
module Postal | ||
module SMTPServer | ||
|
||
extend ActiveSupport::Autoload | ||
eager_autoload do | ||
autoload :Client | ||
autoload :Server | ||
end | ||
|
||
end | ||
end |