Sha256: 895e5fd71ad117fa6a962907db06132568bb50f2ce73573c449d8a87f7154630
Contents?: true
Size: 756 Bytes
Versions: 2
Compression:
Stored size: 756 Bytes
Contents
require "sufia/models/version" require "sufia/models/engine" require 'hydra/head' require 'nest' require 'mailboxer' require 'acts_as_follower' require 'paperclip' require 'RMagick' begin # activerecord-import 0.3.1 does not support rails 4, so we don't require it. require 'activerecord-import' rescue LoadError $stderr.puts "Sufia-models is unable to load activerecord-import" end 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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
sufia-3.0.0 | sufia-models/lib/sufia/models.rb |
sufia-models-3.0.0 | lib/sufia/models.rb |