Module: Hydra::Derivatives

Extended by:
ActiveSupport::Autoload, ActiveSupport::Concern, Deprecation
Defined in:
lib/hydra/derivatives.rb,
lib/hydra/derivatives/config.rb,
lib/hydra/derivatives/logger.rb,
lib/hydra/derivatives/processors.rb,
lib/hydra/derivatives/io_decorator.rb,
lib/hydra/derivatives/audio_encoder.rb,
lib/hydra/derivatives/runners/runner.rb,
lib/hydra/derivatives/runners/pdf_derivatives.rb,
lib/hydra/derivatives/runners/audio_derivatives.rb,
lib/hydra/derivatives/runners/full_text_extract.rb,
lib/hydra/derivatives/runners/image_derivatives.rb,
lib/hydra/derivatives/runners/video_derivatives.rb,
lib/hydra/derivatives/services/tempfile_service.rb,
lib/hydra/derivatives/services/mime_type_service.rb,
lib/hydra/derivatives/services/capability_service.rb,
lib/hydra/derivatives/runners/document_derivatives.rb,
lib/hydra/derivatives/runners/jpeg2k_image_derivatives.rb,
lib/hydra/derivatives/services/persist_output_file_service.rb,
lib/hydra/derivatives/services/retrieve_source_file_service.rb,
lib/hydra/derivatives/services/persist_basic_contained_output_file_service.rb

Defined Under Namespace

Modules: MimeTypeService, Processors Classes: AudioDerivatives, AudioEncoder, CapabilityService, Config, DocumentDerivatives, FullTextExtract, ImageDerivatives, IoDecorator, Jpeg2kImageDerivatives, Logger, PdfDerivatives, PersistBasicContainedOutputFileService, PersistOutputFileService, RetrieveSourceFileService, Runner, TempfileService, TimeoutError, VideoDerivatives

Constant Summary collapse

CONFIG_METHODS =
[:ffmpeg_path, :libreoffice_path, :temp_file_base, :fits_path, :kdu_compress_path,
:kdu_compress_recipes, :enable_ffmpeg, :source_file_service, :output_file_service].freeze

Class Method Summary collapse

Class Method Details

.configObject



42
43
44
# File 'lib/hydra/derivatives.rb', line 42

def self.config
  @config ||= reset_config!
end

.reset_config!Object



46
47
48
# File 'lib/hydra/derivatives.rb', line 46

def self.reset_config!
  @config = Config.new
end