Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix up the Rakefile.

  • Loading branch information...
commit b8fd51e254161c70fd6fb38e0ec68a3153376b6a 1 parent fa5fe60
@elliotcm authored
Showing with 10 additions and 2 deletions.
  1. +10 −2 Rakefile
View
12 Rakefile
@@ -7,7 +7,7 @@ begin
gem.name = "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.email = "elliotcm@googlemail.com"
+ gem.email = "elliot.cm@gmail.com"
gem.homepage = "http://github.com/elliotcm/light_mongo"
gem.authors = ["Elliot Crosby-McCullough"]
gem.add_development_dependency "rspec", ">= 1.3.0"
@@ -25,13 +25,21 @@ require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
+ spec.spec_opts = ['--color']
+end
+
+Spec::Rake::SpecTask.new(:integration) do |spec|
+ spec.libs << 'lib' << 'integration'
+ spec.spec_files = FileList['integration/**/*_spec.rb']
+ spec.spec_opts = ['--color']
end
Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
+ spec.spec_opts = ['--color']
end
-task :default => :spec
+task :default => [:spec, :integration]
Please sign in to comment.
Something went wrong with that request. Please try again.