lib/rocketjob.rb in rocketjob-4.3.0.beta2 vs lib/rocketjob.rb in rocketjob-5.0.0.beta

- old
+ new

@@ -2,10 +2,12 @@ require 'semantic_logger' require 'mongoid' require 'rocket_job/extensions/mongo/logging' require 'rocket_job/version' require 'rocket_job/rocket_job' +require 'rocket_job/config' +require 'rocket_job/railtie' if defined?(Rails) # Apply patches to implement `with_collection` if Mongoid::VERSION.to_i >= 6 require 'rocket_job/extensions/mongoid/clients/options' require 'rocket_job/extensions/mongoid/contextual/mongo' @@ -19,10 +21,9 @@ # @formatter:off module RocketJob autoload :ActiveWorker, 'rocket_job/active_worker' autoload :Batch, 'rocket_job/batch' autoload :CLI, 'rocket_job/cli' - autoload :Config, 'rocket_job/config' autoload :DirmonEntry, 'rocket_job/dirmon_entry' autoload :Event, 'rocket_job/event' autoload :Heartbeat, 'rocket_job/heartbeat' autoload :Job, 'rocket_job/job' autoload :JobException, 'rocket_job/job_exception'