Sha256: 9329a2364dd215fe7301bf7b3106cf1b005ce12aadfcfd1f485222a529964e50

Contents?: true

Size: 389 Bytes

Versions: 8

Compression:

Stored size: 389 Bytes

Contents

require 'versioned_seeds'

namespace :vs do
  desc "Display current seeds version"
  task :status do
    puts "Last seeds: #{VersionedSeeds.last_loaded}"
  end

  desc "Load the next seeding script"
  task :next => :environment do
    VersionedSeeds.next
  end

  desc "Load all seeding scripts that haven't been loaded yet"
  task :all => :environment do
    VersionedSeeds.all
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
versioned_seeds-0.4.0 lib/tasks/versioned_seeds.rake
versioned_seeds-0.3.1 lib/tasks/versioned_seeds.rake
versioned_seeds-0.3.0 lib/tasks/versioned_seeds.rake
versioned_seeds-0.2.1 lib/tasks/versioned_seeds.rake
versioned_seeds-0.2.0 lib/tasks/versioned_seeds.rake
versioned_seeds-0.1.2 lib/tasks/versioned_seeds.rake
versioned_seeds-0.1.1 lib/tasks/versioned_seeds.rake
versioned_seeds-0.1.0 lib/tasks/versioned_seeds.rake