Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (23 sloc) 858 Bytes
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
require 'rubygems'
require 'spec/rake/spectask'
task :default => :spec
desc "Run all specs"
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = ['--options', 'spec/spec.opts']
end
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = 'dataset'
s.summary = 'A simple API for creating and finding sets of data in your database, built on ActiveRecord.'
s.email = 'adam@thewilliams.ws'
s.files = FileList["[A-Z]*", "{lib,tasks}/**/*", "plugit/descriptor.rb"].exclude("tmp")
s.homepage = "http://github.com/aiwilliams/dataset"
s.description = s.summary
s.authors = ['Adam Williams']
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end