Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (38 sloc) 1.45 KB
require 'rubygems'
require 'rake'
require 'jeweler' do |gem| = "light_mongo"
gem.summary = %Q{A lightweight Ruby object persistence library for Mongo DB}
gem.description = %Q{LightMongo is a lightweight Mongo object persistence layer for Ruby which makes use of Mongo's features rather than trying to emulate ActiveRecord.} = ""
gem.homepage = ""
gem.authors = ["Elliot Crosby-McCullough"]
gem.add_development_dependency "rspec", ">= 1.3.0"
# gem is a Gem::Specification... see for additional settings
# check_dependencies is defined by jeweler
task :spec => :check_dependencies
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
require 'spec/rake/spectask' do |spec|
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
spec.spec_opts = ['--color']
end do |spec|
spec.libs << 'lib' << 'integration'
spec.spec_files = FileList['integration/**/*_spec.rb']
spec.spec_opts = ['--color']
end do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
spec.spec_opts = ['--color']
task :default => [:spec, :integration]