Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 1.1 KB
require 'rake'
require 'spec/rake/spectask'
require 'jeweler' do |gem| = "yaml_db"
gem.summary = %Q{yaml_db allows export/import of database into/from yaml files}
gem.description = %Q{
YamlDb is a database-independent format for dumping and restoring data. It complements the the database-independent schema format found in db/schema.rb. The data is saved into db/data.yml.
This can be used as a replacement for mysqldump or pg_dump, but only for the databases typically used by Rails apps. Users, permissions, schemas, triggers, and other advanced database features are not supported - by design.
Any database that has an ActiveRecord adapter should work
} = ""
gem.homepage = ""
gem.authors = ["Adam Wiggins","Orion Henry"]
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
desc "Run all specs"'spec') do |t|
t.spec_files = FileList['spec/*_spec.rb']
task :default => :spec