Skip to content

Commit 2ed435f

Browse files
nevansshugo
andcommitted
♻️ Switch Config autoload to require_relative
I accidentally merged #291 without pushing this update first! Oops. Co-authored-by: Shugo Maeda <shugo@ruby-lang.org>
1 parent b80fd4c commit 2ed435f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/net/imap.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,6 @@ class IMAP < Protocol
725725
"UTF8=ONLY" => "UTF8=ACCEPT",
726726
}.freeze
727727

728-
autoload :Config, File.expand_path("imap/config", __dir__)
729-
730728
autoload :SASL, File.expand_path("imap/sasl", __dir__)
731729
autoload :SASLAdapter, File.expand_path("imap/sasl_adapter", __dir__)
732730
autoload :StringPrep, File.expand_path("imap/stringprep", __dir__)
@@ -2981,6 +2979,7 @@ def self.saslprep(string, **opts)
29812979
end
29822980

29832981
require_relative "imap/errors"
2982+
require_relative "imap/config"
29842983
require_relative "imap/command_data"
29852984
require_relative "imap/data_encoding"
29862985
require_relative "imap/flags"

0 commit comments

Comments
 (0)