Sha256: 28f2170ea6ff64875248f74552565d22a87d26ffdb828350c2be7fede18651af
Contents?: true
Size: 821 Bytes
Versions: 12
Compression:
Stored size: 821 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 ram) class << self def config @_config ||= OpenStruct.new(DEFAULT_CONFIG) end def table_info @_table_info ||= YAML::load_file(config.table_list_file) end def table_list @_table_list ||= table_info.keys end end end end
Version data entries
12 entries across 12 versions & 1 rubygems