lib/ftpd.rb in ftpd-0.0.1.pre vs lib/ftpd.rb in ftpd-0.1.0
- old
+ new
@@ -1,4 +1,22 @@
-require 'ftpd/ftp_server'
-require 'ftpd/server'
-require 'ftpd/temp_dir'
-require 'ftpd/tls_server'
+require 'fileutils'
+require 'memoizer'
+require 'openssl'
+require 'pathname'
+require 'socket'
+require 'tmpdir'
+
+module Ftpd
+ autoload :DiskFileSystem, 'ftpd/disk_file_system'
+ autoload :Error, 'ftpd/error'
+ autoload :ExceptionTranslator, 'ftpd/exception_translator'
+ autoload :FileSystemErrorTranslator, 'ftpd/file_system_error_translator'
+ autoload :FtpServer, 'ftpd/ftp_server'
+ autoload :InsecureCertificate, 'ftpd/insecure_certificate'
+ autoload :Server, 'ftpd/server'
+ autoload :Session, 'ftpd/session'
+ autoload :TempDir, 'ftpd/temp_dir'
+ autoload :TlsServer, 'ftpd/tls_server'
+ autoload :TranslateExceptions, 'ftpd/translate_exceptions'
+end
+
+require 'ftpd/exceptions'