public
Description: Advanced seed data handling for Rails, combining the best practices of several methods together.
Homepage: http://mbleigh.lighthouseapp.com/projects/10223-seed-fu
Clone URL: git://github.com/mbleigh/seed-fu.git
seed-fu / Rakefile
100644 24 lines (20 sloc) 1.004 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "seed-fu"
    gemspec.summary = "Allows easier database seeding of tables in Rails."
    gemspec.email = "michael@intridea.com"
    gemspec.homepage = "http://github.com/mblegih/seed-fu"
    gemspec.description = "Seed Fu is an attempt to once and for all solve the problem of inserting and maintaining seed data in a database. It uses a variety of techniques gathered from various places around the web and combines them to create what is hopefully the most robust seed data system around."
    gemspec.authors = ["Michael Bleigh"]
    gemspec.add_dependency 'rails', '>= 2.1'
    gemspec.files = FileList["[A-Z]*", "{lib,spec,rails}/**/*"] - FileList["**/*.log"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
 
 
desc 'Default: run specs.'
task :default => :spec