Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 31 lines (25 sloc) 1.143 kb
aa4dec4f »
2008-06-11 init
1 require 'rake'
bec9ecfa »
2011-04-19 moving to rspec 2
2 require "rspec/core/rake_task"
aa4dec4f »
2008-06-11 init
3
76190d57 »
2009-12-27 added gemspec file
4 begin
5 require 'jeweler'
6 Jeweler::Tasks.new do |gem|
7 gem.name = "yaml_db"
8 gem.summary = %Q{yaml_db allows export/import of database into/from yaml files}
9 gem.description = %Q{
10 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.
11 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.
12 Any database that has an ActiveRecord adapter should work
13 }
14 gem.email = "nate@ludicast.com"
15 gem.homepage = "http://github.com/ludicast/yaml_db"
16 gem.authors = ["Adam Wiggins","Orion Henry"]
17 end
18 Jeweler::GemcutterTasks.new
19 rescue LoadError
20 puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
21 end
22
bec9ecfa »
2011-04-19 moving to rspec 2
23
24 RSpec::Core::RakeTask.new(:spec) do |spec|
25 spec.pattern = 'spec/*_spec.rb'
26 spec.rspec_opts = ['--backtrace']
aa4dec4f »
2008-06-11 init
27 end
28
29 task :default => :spec
30
Something went wrong with that request. Please try again.