Sha256: 17516ca8f9317d087e4a0603a84b428f11121a92c97323ceddec50429f6e27bf

Contents?: true

Size: 875 Bytes

Versions: 14

Compression:

Stored size: 875 Bytes

Contents

require 'active-fedora'
#
# Misc Config for SALT Application
#


# This initializes ActiveFedora with config info from RAILS_ROOT/lib/fedora.yml
# Among other things, it allows you to access Fedora and Solr (ActiveFedora's copy) as ActiveFedora.fedora and ActiveFedora.solr
silence_warnings { ENABLE_SOLR_UPDATES=true }

# Don't need to call ActiveFedora.init any more.  It's handled by {ActiveFedora::Railtie}
# ActiveFedora.init

#
# Loads EAD descriptors 
# Attempts to parse any xml files in lib/stanford/ead/
#
# You can access any of the loaded descriptors using Descriptor.retrieve( id ), where "id" is the base filename of the descriptor xml file

# puts "Registering EADs..."
# Dir[File.join( RAILS_ROOT, 'lib', "stanford", "ead", "/*.xml" )].each do |f| 
#   puts "... EAD id #{File.basename(f, ".xml")}"
#   Descriptor.register( File.basename(f, ".xml") ) 
# end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hydra-head-3.1.0.rc2 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.1.0.rc1 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.1.0.pre5 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.1.0.pre4 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.1.0.pre3 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.0.1 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.1.0.pre2 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.0.0 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.1.0.pre1 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.0.0.rc2 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.0.0.rc1 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.0.0pre4 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.0.0pre3 lib/generators/hydra/templates/config/initializers/fedora_config.rb
hydra-head-3.0.0pre2 lib/generators/hydra/templates/config/initializers/fedora_config.rb