Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (25 sloc) 1.12 KB
require 'rake'
require "rspec/core/rake_task"
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"
end do |spec|
spec.pattern = 'spec/*_spec.rb'
spec.rspec_opts = ['--backtrace']
task :default => :spec