Sha256: a92147bc61633d3b5ea39290b2db225bcfe657d49b1a3e90ca7e7c5fddd0b70a
Contents?: true
Size: 779 Bytes
Versions: 8
Compression:
Stored size: 779 Bytes
Contents
module EveApp module SDE autoload :DataImporter, 'eve_app/sde/data_importer' autoload :Downloader, 'eve_app/sde/downloader' autoload :Normalizer, 'eve_app/sde/normalizer' DEFAULT_CONFIG = { table_prefix: :eve, download_host: 'https://www.fuzzwork.co.uk/dump', archive: 'postgres-latest.dmp.bz2', tmp_path: Rails.root.join('tmp', 'eve-sde'), table_list_file: EveApp.root.join('lib', 'table-list.yml') } PREFIXES = %w(agt dgm map trn inv sta industry) ID_TYPE_INDEX = %w(activities) class << self def config @_config ||= OpenStruct.new(DEFAULT_CONFIG) end def table_list @_table_list ||= YAML::load_file(config.table_list_file) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems