Sha256: 39ae2f8afa9aaf05060a62528fa25d8a73e2476424b002b02bdaf62d983fcb21

Contents?: true

Size: 617 Bytes

Versions: 10

Compression:

Stored size: 617 Bytes

Contents

require "sufia/models/version"
require "sufia/models/engine"
require 'hydra/head'
require 'nest'
require 'mailboxer'
require 'acts_as_follower'
require 'paperclip'
require "active_resource" # used by GenericFile to catch errors & by GeoNamesResource
require 'resque/server'

module Sufia
  extend ActiveSupport::Autoload

  module Models
  end

  autoload :Utils, 'sufia/models/utils'

  attr_writer :queue

  def self.queue
    @queue ||= config.queue.new('sufia')
  end

  def self.config(&block)
    @@config ||= Sufia::Models::Engine::Configuration.new

    yield @@config if block

    return @@config
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
sufia-3.6.0 sufia-models/lib/sufia/models.rb
sufia-models-3.6.0 lib/sufia/models.rb
sufia-3.5.0 sufia-models/lib/sufia/models.rb
sufia-models-3.5.0 lib/sufia/models.rb
sufia-3.4.0 sufia-models/lib/sufia/models.rb
sufia-models-3.4.0 lib/sufia/models.rb
sufia-3.4.0.rc4 sufia-models/lib/sufia/models.rb
sufia-models-3.4.0.rc4 lib/sufia/models.rb
sufia-3.4.0.rc3 sufia-models/lib/sufia/models.rb
sufia-models-3.4.0.rc3 lib/sufia/models.rb