Sha256: 7b15d88cc051a5f5bf97a1d96542453d5ae3fd2a71b83ae840a148578a303a7e

Contents?: true

Size: 1017 Bytes

Versions: 4

Compression:

Stored size: 1017 Bytes

Contents

require 'select2-rails'
require 'nest'
require 'redis-namespace'
require 'mailboxer'
require 'acts_as_follower'
require 'carrierwave'
require 'rails_autolink'
require 'font-awesome-rails'
require 'tinymce-rails'
require 'tinymce-rails-imageupload'
require 'blacklight'
require 'blacklight_advanced_search'
require 'blacklight/gallery'
require 'active_fedora/noid'
require 'hydra/head'
require 'hydra-batch-edit'
require 'hydra-editor'
require 'browse-everything'
require 'curation_concerns'
require 'sufia/engine'
require 'sufia/version'
require 'sufia/inflections'
require 'kaminari_route_prefix'

module Sufia
  extend ActiveSupport::Autoload

  eager_autoload do
    autoload :Arkivo
    autoload :Configuration
    autoload :RedisEventStore
    autoload :ResourceSync
    autoload :Zotero
  end

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

    yield @config if block

    @config
  end

  def self.primary_work_type
    CurationConcerns::WorkRelation::DummyModel.primary_concern
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sufia-7.1.0 lib/sufia.rb
sufia-7.0.0 lib/sufia.rb
sufia-7.0.0.rc2 lib/sufia.rb
sufia-7.0.0.rc1 lib/sufia.rb