Sha256: 0a46ef411e7db7ccd81e4de35c65a3021ca7da24d555989fdda9f64dde243d35

Contents?: true

Size: 419 Bytes

Versions: 6

Compression:

Stored size: 419 Bytes

Contents

task :environment

namespace :toro do
  desc 'Start processing Toro jobs'
  task :start  => :environment do
    cli = Toro::CLI.new
    cli.run
  end

  desc 'Add Toro tables and functions to the database'
  task :up => :environment do
    Toro::Database.up
  end

  desc 'Remove Toro tables and functions from the database'
  task :down => :environment do
    Toro::Database.down
  end
end

task :toro => 'toro:start'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
toro-0.2.2 lib/tasks/tasks.rb
toro-0.2.1 lib/tasks/tasks.rb
toro-0.2.0 lib/tasks/tasks.rb
toro-0.1.1 lib/tasks/tasks.rb
toro-0.1.0 lib/tasks/tasks.rb
toro-0.0.3 lib/tasks/tasks.rb