Sha256: 2501929aa4086509935e0d76293b7303d1275a918e5eb9bf06284a0f71960e83

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 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

  task :diff => :environment do
    SeedGimmick.diff
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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