Sha256: 0b902cc8eb01d8e57e343322090487a88843967ac70aec1fec36887a4b2a90e4
Contents?: true
Size: 1.11 KB
Versions: 9
Compression:
Stored size: 1.11 KB
Contents
Curate.configure do |config| # Injected via `rails g curate:work Spam` config.register_curation_concern :spam config.application_root_url = 'http://localhost' config.default_antivirus_instance = lambda {|file_path| AntiVirusScanner::NO_VIRUS_FOUND_RETURN_VALUE } config.characterization_runner = lambda {|file_path| Curate::Engine.root.join('spec/support/files/default_fits_output.xml').read } config.register_curation_concern :generic_work config.register_curation_concern :dataset config.register_curation_concern :article config.register_curation_concern :etd config.register_curation_concern :image config.register_curation_concern :document # # You can override curate's antivirus runner by configuring a lambda (or # # object that responds to call) # config.default_antivirus_instance = lambda {|filename| … } # # Used for constructing permanent URLs # config.application_root_url = 'https://repository.higher.edu/' # # Override the file characterization runner that is used # config.characterization_runner = lambda {|filename| … } end
Version data entries
9 entries across 9 versions & 1 rubygems