Sha256: 458eaad46f0e3b5d9c7c6979c5c20ed3de8ad00051c9150abbba338f123f2290
Contents?: true
Size: 1.11 KB
Versions: 3
Compression:
Stored size: 1.11 KB
Contents
sinatra_rake_tasks ================== Basic Usage ----------- Copy/Paste the following lines in your Rakefile : require 'sinatra_rake_tasks' OpenHood::Rake::SpecTask.new OpenHood::Rake::CucumberTask.new OpenHood::Rake::SequelTask.new OpenHood::Rake::CITask.new OpenHood::Rake::ConsoleTask.new Add basic directories : # For SequelTask and ConsoleTask : mkdir config mkdir migrations # For SpecTask : mkdir spec # For CucumberTask : mkdir features And you get : rake -T rake ci:all # Run all features and specs rake console # Pseudo console rake db:migrate # Migrate the database through scripts in db/migrate. rake db:migrate:redo # Rollbacks the database one migration and re migrate up. rake db:rollback # Rolls the schema back to the previous version. rake db:version # Retrieves the current schema version number rake features # Run Cucumber features rake spec # Run specs Copyright --------- Copyright (c) 2009 Joseph Halter & Jonathan Tron. See LICENSE for details.
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
openhood-sinatra_rake_tasks-0.1.0 | README.md |
openhood-sinatra_rake_tasks-0.1.1 | README.md |
sinatra_rake_tasks-0.2.0 | README.md |