diff --git a/lib/homographic_spoofing.rb b/lib/homographic_spoofing.rb index 14e814e..9302ea2 100644 --- a/lib/homographic_spoofing.rb +++ b/lib/homographic_spoofing.rb @@ -10,8 +10,6 @@ loader = Zeitwerk::Loader.for_gem loader.setup -require "homographic_spoofing/railtie" if defined?(Rails::Railtie) - module HomographicSpoofing mattr_accessor :logger, instance_accessor: false @@ -45,3 +43,5 @@ def sanitize_idn(idn) end end end + +require_relative "homographic_spoofing/railtie" if defined?(Rails::Railtie)