lib/rocketjob.rb in rocketjob-2.1.3 vs lib/rocketjob.rb in rocketjob-3.0.0.alpha
- old
+ new
@@ -1,21 +1,22 @@
# encoding: UTF-8
require 'semantic_logger'
-require 'rocket_job/extensions/mongo'
-require 'mongo_ha'
-require 'mongo_mapper'
-require 'rocket_job/extensions/mongo_mapper'
+require 'mongoid'
+require 'rocket_job/extensions/mongo/logging'
require 'rocket_job/version'
# @formatter:off
module RocketJob
+ autoload :ActiveServer, 'rocket_job/active_server'
autoload :CLI, 'rocket_job/cli'
autoload :Config, 'rocket_job/config'
autoload :DirmonEntry, 'rocket_job/dirmon_entry'
autoload :Heartbeat, 'rocket_job/heartbeat'
autoload :Job, 'rocket_job/job'
autoload :JobException, 'rocket_job/job_exception'
autoload :Worker, 'rocket_job/worker'
+ autoload :Performance, 'rocket_job/performance'
+ autoload :Server, 'rocket_job/server'
module Plugins
module Job
autoload :Callbacks, 'rocket_job/plugins/job/callbacks'
autoload :Defaults, 'rocket_job/plugins/job/defaults'