lib/knj/autoload.rb in knjrbfw-0.0.7 vs lib/knj/autoload.rb in knjrbfw-0.0.8
- old
+ new
@@ -1,63 +1,68 @@
$knjpath = File.dirname(__FILE__) + "/" if !$knjpath
-require "#{$knjpath}/knj.rb"
+require "#{$knjpath}/knj"
module Knj
- autoload :ArrayExt, $knjpath + "arrayext.rb"
- autoload :Datestamp, $knjpath + "datestamp.rb"
- autoload :Datet, $knjpath + "datet.rb"
- autoload :Compiler, $knjpath + "compiler.rb"
- autoload :Cpufreq, $knjpath + "cpufreq.rb"
- autoload :Datarow, $knjpath + "datarow.rb"
- autoload :Db, $knjpath + "knjdb/libknjdb.rb"
- autoload :Db_row, $knjpath + "knjdb/libknjdb_row.rb"
- autoload :Degulesider, $knjpath + "degulesider.rb"
- autoload :Errors, $knjpath + "errors.rb"
- autoload :Eruby, $knjpath + "eruby.rb"
- autoload :Event_filemod, $knjpath + "event_filemod.rb"
- autoload :Event_handler, $knjpath + "event_handler.rb"
- autoload :Exchangerates, $knjpath + "exchangerates.rb"
- autoload :Fs, $knjpath + "fs/fs.rb"
- autoload :Filesystem, $knjpath + "filesystem.rb"
- autoload :Gettext_threadded, $knjpath + "gettext_threadded.rb"
- autoload :Hash_methods, $knjpath + "hash_methods.rb"
- autoload :Ip2location, $knjpath + "ip2location.rb"
- autoload :Jruby_compiler, $knjpath + "jruby_compiler.rb"
- autoload :Locales, $knjpath + "locales.rb"
- autoload :Objects, $knjpath + "objects.rb"
- autoload :Opts, $knjpath + "opts.rb"
- autoload :Mail, $knjpath + "mail.rb"
- autoload :Mailobj, $knjpath + "mailobj.rb"
- autoload :Mutexcl, $knjpath + "mutexcl.rb"
- autoload :Mount, $knjpath + "mount.rb"
- autoload :Mplayer, $knjpath + "mplayer.rb"
- autoload :Notify, $knjpath + "notify.rb"
- autoload :Nvidia_settings, $knjpath + "nvidia_settings.rb"
- autoload :Web, $knjpath + "web.rb"
- autoload :Google_sitemap, $knjpath + "google_sitemap.rb"
- autoload :Http, $knjpath + "http.rb"
- autoload :Sms, $knjpath + "sms.rb"
- autoload :Os, $knjpath + "os.rb"
- autoload :Gtk2, $knjpath + "gtk2.rb"
- autoload :Php, $knjpath + "php.rb"
- autoload :Php_parser, $knjpath + "php_parser/php_parser.rb"
- autoload :Power_manager, $knjpath + "power_manager.rb"
- autoload :Rand, $knjpath + "rand.rb"
- autoload :Retry, $knjpath + "retry.rb"
- autoload :RSVGBIN, $knjpath + "rsvgbin.rb"
- autoload :Strings, $knjpath + "strings.rb"
- autoload :SSHRobot, $knjpath + "sshrobot/sshrobot.rb"
- autoload :Sysuser, $knjpath + "sysuser.rb"
- autoload :Thread, $knjpath + "thread.rb"
- autoload :Thread2, $knjpath + "thread2.rb"
- autoload :Threadpool, $knjpath + "threadpool.rb"
- autoload :Threadhandler, $knjpath + "threadhandler.rb"
- autoload :Translations, $knjpath + "translations.rb"
- autoload :X11VNC, $knjpath + "x11vnc.rb"
- autoload :Unix_proc, $knjpath + "unix_proc.rb"
- autoload :YouTube, $knjpath + "youtube.rb"
- autoload :Win, $knjpath + "win.rb"
+ autoload :Amixer, $knjpath + "amixer"
+ autoload :ArrayExt, $knjpath + "arrayext"
+ autoload :Datestamp, $knjpath + "datestamp"
+ autoload :Datet, $knjpath + "datet"
+ autoload :Cmd_gen, $knjpath + "cmd_gen"
+ autoload :Compiler, $knjpath + "compiler"
+ autoload :Cpufreq, $knjpath + "cpufreq"
+ autoload :Datarow, $knjpath + "datarow"
+ autoload :Db, $knjpath + "knjdb/libknjdb"
+ autoload :Db_row, $knjpath + "knjdb/libknjdb_row"
+ autoload :Degulesider, $knjpath + "degulesider"
+ autoload :Errors, $knjpath + "errors"
+ autoload :Eruby, $knjpath + "eruby"
+ autoload :Event_filemod, $knjpath + "event_filemod"
+ autoload :Event_handler, $knjpath + "event_handler"
+ autoload :Exchangerates, $knjpath + "exchangerates"
+ autoload :Facebook_connect, $knjpath + "facebook_connect"
+ autoload :Fs, $knjpath + "fs/fs"
+ autoload :Filesystem, $knjpath + "filesystem"
+ autoload :Gettext_threadded, $knjpath + "gettext_threadded"
+ autoload :Hash_methods, $knjpath + "hash_methods"
+ autoload :Http, $knjpath + "http"
+ autoload :Http2, $knjpath + "http2"
+ autoload :Image, $knjpath + "image"
+ autoload :Ip2location, $knjpath + "ip2location"
+ autoload :Jruby_compiler, $knjpath + "jruby_compiler"
+ autoload :Locales, $knjpath + "locales"
+ autoload :Objects, $knjpath + "objects"
+ autoload :Opts, $knjpath + "opts"
+ autoload :Mail, $knjpath + "mail"
+ autoload :Mailobj, $knjpath + "mailobj"
+ autoload :Mutexcl, $knjpath + "mutexcl"
+ autoload :Mount, $knjpath + "mount"
+ autoload :Mplayer, $knjpath + "mplayer"
+ autoload :Notify, $knjpath + "notify"
+ autoload :Nvidia_settings, $knjpath + "nvidia_settings"
+ autoload :Web, $knjpath + "web"
+ autoload :Google_sitemap, $knjpath + "google_sitemap"
+ autoload :Sms, $knjpath + "sms"
+ autoload :Os, $knjpath + "os"
+ autoload :Gtk2, $knjpath + "gtk2"
+ autoload :Php, $knjpath + "php"
+ autoload :Php_parser, $knjpath + "php_parser/php_parser"
+ autoload :Power_manager, $knjpath + "power_manager"
+ autoload :Rand, $knjpath + "rand"
+ autoload :Retry, $knjpath + "retry"
+ autoload :RSVGBIN, $knjpath + "rsvgbin"
+ autoload :Strings, $knjpath + "strings"
+ autoload :SSHRobot, $knjpath + "sshrobot/sshrobot"
+ autoload :Sysuser, $knjpath + "sysuser"
+ autoload :Thread, $knjpath + "thread"
+ autoload :Thread2, $knjpath + "thread2"
+ autoload :Threadpool, $knjpath + "threadpool"
+ autoload :Threadhandler, $knjpath + "threadhandler"
+ autoload :Translations, $knjpath + "translations"
+ autoload :X11VNC, $knjpath + "x11vnc"
+ autoload :Unix_proc, $knjpath + "unix_proc"
+ autoload :YouTube, $knjpath + "youtube"
+ autoload :Win, $knjpath + "win"
end
#ruby objects.
autoload :Base64, "base64"
autoload :CGI, "cgi"
@@ -75,11 +80,11 @@
autoload :Mutex, "thread"
autoload :Mysql, $knjpath + "autoload/mysql"
autoload :Open3, "open3"
autoload :OpenSSL, "openssl"
autoload :OptionParser, "optparse"
-autoload :ParseDate, $knjpath + "autoload/backups/parsedate.rb"
+autoload :ParseDate, $knjpath + "autoload/backups/parsedate"
autoload :Pathname, "pathname"
autoload :Ping, $knjpath + "autoload/ping"
autoload :REXML, $knjpath + "autoload/rexml"
autoload :StringIO, "stringio"
autoload :SOAP, $knjpath + "autoload/soap"
@@ -88,12 +93,13 @@
autoload :TCPSocket, "socket"
autoload :TCPServer, "socket"
autoload :URI, "uri"
autoload :Win32, "win32/registry"
autoload :WIN32OLE, "win32ole"
+autoload :WeakRef, "weakref"
autoload :WEBrick, "webrick"
autoload :XmlSimple, $knjpath + "autoload/xmlsimple"
-autoload :Zip, $knjpath + "autoload/zip.rb"
+autoload :Zip, $knjpath + "autoload/zip"
autoload :Zlib, "zlib"
if RUBY_PLATFORM == "java"
autoload :GetText, $knjpath + "autoload/gettext"
autoload :Gtk, "knj/jruby-gtk2/gtk2"