require "massive/version" module Massive autoload :MemoryConsumption, 'massive/memory_consumption' autoload :TimingSupport, 'massive/timing_support' autoload :Status, 'massive/status' autoload :Locking, 'massive/locking' autoload :Retry, 'massive/retry' autoload :Cancelling, 'massive/cancelling' autoload :Process, 'massive/process' autoload :Step, 'massive/step' autoload :Job, 'massive/job' autoload :File, 'massive/file' autoload :FileProcess, 'massive/file_process' autoload :FileStep, 'massive/file_step' autoload :FileJob, 'massive/file_job' autoload :Notifications, 'massive/notifications' autoload :Notifiers, 'massive/notifiers' autoload :ProcessSerializer, 'massive/process_serializer' autoload :StepSerializer, 'massive/step_serializer' class Cancelled < StandardError; end def self.redis @redis ||= Resque.redis end def self.fog_credentials @fog_credentials end def self.fog_credentials=(values=nil) @fog_credentials = values end def self.fog_authenticated_url_expiration @fog_authenticated_url_expiration end def self.fog_authenticated_url_expiration=(value=nil) @fog_authenticated_url_expiration = value end def self.fog_directory @fog_directory end def self.fog_directory=(directory=nil) @fog_directory = directory end self.fog_directory = 'massive' self.fog_authenticated_url_expiration = 1 * 60 * 60 end require "resque" require "mongoid" require "active_model_serializers" require "file_processor"