Sha256: cafc7f8a1662588f5ecdc86cbc2f4179187a4659ab1f0959d285088270b0e59d

Contents?: true

Size: 609 Bytes

Versions: 28

Compression:

Stored size: 609 Bytes

Contents

require 'eve_app'

namespace :eve_app do
  namespace :sde do
    def importer
      @importer ||= EveApp::SDE::DataImporter.new
    end

    desc "Download latest postgresql datadump"
    task :download do
      importer.download
    end

    desc "Import and normalize EVE database"
    task import: :environment do
      importer.restore
      importer.normalize
    end

    desc "Import raw data into the database"
    task restore: :environment do
      importer.restore
    end

    desc "Import raw data into the database"
    task normalize: :environment do
      importer.normalize
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
eve_app-0.1.34 lib/tasks/eve_app.rake
eve_app-0.1.33 lib/tasks/eve_app.rake
eve_app-0.1.32 lib/tasks/eve_app.rake
eve_app-0.1.31 lib/tasks/eve_app.rake
eve_app-0.1.29 lib/tasks/eve_app.rake
eve_app-0.1.27 lib/tasks/eve_app.rake
eve_app-0.1.22 lib/tasks/eve_app.rake
eve_app-0.1.21 lib/tasks/eve_app.rake
eve_app-0.1.20 lib/tasks/eve_app.rake
eve_app-0.1.19 lib/tasks/eve_app.rake
eve_app-0.1.18 lib/tasks/eve_app.rake
eve_app-0.1.17 lib/tasks/eve_app.rake
eve_app-0.1.16 lib/tasks/eve_app.rake
eve_app-0.1.14 lib/tasks/eve_app.rake
eve_app-0.1.13 lib/tasks/eve_app.rake
eve_app-0.1.12 lib/tasks/eve_app.rake
eve_app-0.1.11 lib/tasks/eve_app.rake
eve_app-0.1.10 lib/tasks/eve_app.rake
eve_app-0.1.9 lib/tasks/eve_app.rake
eve_app-0.1.8 lib/tasks/eve_app.rake