Sha256: 7e146f1ee8e2ae74e0a8fbf8ae148afcaf9f040aa6e1a829a396839a4a960dec

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

module CarrierWave
  module Backgrounder
    autoload :DelayStorage, 'backgrounder/delay_storage'

    module ORM
      autoload :Base, 'backgrounder/orm/base'
    end
  end
end

if defined?(Rails)
  module CarrierWave
    module Backgrounder
      class Railtie < Rails::Railtie
        initializer "carrierwave_backgrounder.active_record" do
          ActiveSupport.on_load :active_record do
            require 'backgrounder/orm/activerecord'
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
carrierwave_backgrounder-0.0.5 lib/carrierwave_backgrounder.rb
carrierwave_backgrounder-0.0.4 lib/carrierwave_backgrounder.rb
carrierwave_backgrounder-0.0.3 lib/carrierwave_backgrounder.rb