lib/tasks/databasion.rake in databasion-0.1.0 vs lib/tasks/databasion.rake in databasion-0.1.1

- old
+ new

@@ -1,23 +1,28 @@ require 'lib/databasion' namespace :databasion do desc "Run Databasion for Google Spreadsheets" task :google do - Databasion.databate('google', 'config/google.yml') + Databasion.run('google', 'config/google.yml') end desc "Run Ruby Migration scripts" task :migrate do - Databasion.databate('migrate', 'config/google.yml') + Databasion.run('migrate', 'config/google.yml') end - desc "Run the update script to stuff YAML data into database" - task :update do - Databasion.databate('update', 'config/google.yml') + desc "Run the load script to stuff YAML data into database" + task :load do + Databasion.run('load', 'config/google.yml') end desc "Run the SVN auto-commit system" task :svn do - Databasion.databate('svn', 'config/google.yml') + Databasion.run('svn', 'config/google.yml') + end + + desc "Run the GIT auto-commit system" + task :git do + Databasion.run('git', 'config/google.yml') end end \ No newline at end of file