Sha256: 21c18eb4bb1d0ab066a4aeb9c6175f4e8621472bc00fe95d1de453e2da407a5f

Contents?: true

Size: 801 Bytes

Versions: 5

Compression:

Stored size: 801 Bytes

Contents

# encoding: utf-8
require 'os'

module Libis
  module Format

    # noinspection RubyConstantNamingConvention
    Config = ::Libis::Tools::Config

    Config[:converter_chain_max_level] = 8

    Config[:java_path] = 'java'
    Config[:j2kdriver] = 'j2kdriver'
    Config[:soffice_path] = 'soffice'
    Config[:ghostscript_path] = 'gs'
    Config[:droid_path] = '/opt/droid/droid.sh'
    Config[:fido_path] = '/usr/local/bin/fido'
    data_dir = File.absolute_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'data'))
    Config[:fido_formats] = [(File.join(data_dir, 'lias_formats.xml'))]
    # noinspection RubyStringKeysInHashInspection
    Config[:xml_validations] = [['archive/ead', File.join(data_dir, 'ead.xsd')]]
    Config[:type_database] = File.join(data_dir, 'types.yml')

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
libis-format-0.9.38 lib/libis/format/config.rb
libis-format-0.9.37 lib/libis/format/config.rb
libis-format-0.9.36 lib/libis/format/config.rb
libis-format-0.9.35 lib/libis/format/config.rb
libis-format-0.9.33 lib/libis/format/config.rb