Sha256: c950736287d91b789ee6d864490b81736ae8107a45b1aaae4968985ef73164ea
Contents?: true
Size: 822 Bytes
Versions: 4
Compression:
Stored size: 822 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: EveApp.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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
eve_app-0.1.34 | lib/eve_app/sde.rb |
eve_app-0.1.33 | lib/eve_app/sde.rb |
eve_app-0.1.32 | lib/eve_app/sde.rb |
eve_app-0.1.31 | lib/eve_app/sde.rb |