lib/ahoy_email.rb in ahoy_email-2.1.3 vs lib/ahoy_email.rb in ahoy_email-2.2.0
- old
+ new
@@ -6,23 +6,23 @@
# stdlib
require "openssl"
# modules
-require "ahoy_email/processor"
-require "ahoy_email/tracker"
-require "ahoy_email/observer"
-require "ahoy_email/mailer"
-require "ahoy_email/utils"
-require "ahoy_email/version"
+require_relative "ahoy_email/processor"
+require_relative "ahoy_email/tracker"
+require_relative "ahoy_email/observer"
+require_relative "ahoy_email/mailer"
+require_relative "ahoy_email/utils"
+require_relative "ahoy_email/version"
# subscribers
-require "ahoy_email/database_subscriber"
-require "ahoy_email/message_subscriber"
-require "ahoy_email/redis_subscriber"
+require_relative "ahoy_email/database_subscriber"
+require_relative "ahoy_email/message_subscriber"
+require_relative "ahoy_email/redis_subscriber"
# integrations
-require "ahoy_email/engine" if defined?(Rails)
+require_relative "ahoy_email/engine" if defined?(Rails)
module AhoyEmail
mattr_accessor :secret_token, :default_options, :subscribers, :invalid_redirect_url, :track_method, :api, :preserve_callbacks, :save_token
mattr_writer :message_model