Sha256: e6eb65a941c1ffb8ec737f026f6589626bd5d1e793aad8a408f6d53073bb8741

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

namespace :db do
  task :seed_gimmick => :environment do
    SeedGimmick.bootstrap
  end

  namespace :seed_gimmick do
    task :dump => :environment do
      SeedGimmick.dump
    end
  end
end

namespace :seed_gimmick do
  require "pp"

  task :config do
    pp SeedGimmick::Options.new.load_config
  end

  task :seed_files do
    pp SeedGimmick::Seed.find.map {|seed| seed.seed_file.to_s }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
seed_gimmick-0.0.2 lib/tasks/seed_gimmick.rake