lib/resque/status.rb in resque-status-0.3.1 vs lib/resque/status.rb in resque-status-0.3.2
- old
+ new
@@ -1,6 +1,8 @@
require 'resque'
-require 'redisk'
-require 'uuid'
-require 'resque/plugins/status'
-require 'resque/job_with_status'
+module Resque
+ autoload :JobWithStatus, "#{File.dirname(__FILE__)}/job_with_status"
+ module Plugins
+ autoload :Status, "#{File.dirname(__FILE__)}/plugins/status"
+ end
+end