Rakefile in yeastymobs-remarkable_mongomapper-0.1.0 vs Rakefile in yeastymobs-remarkable_mongomapper-0.1.1

- old
+ new

@@ -1,7 +1,8 @@ require 'rubygems' require 'rake' +require 'spec/rake/spectask' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "remarkable_mongomapper" @@ -13,6 +14,15 @@ gem.add_dependency('remarkable', '~> 3.1.8') gem.add_dependency('mongomapper', '~> 0.3.1') end rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" +end + +desc 'Default: run specs.' +task :default => :spec + +desc 'Run all the specs for the machinist plugin.' +Spec::Rake::SpecTask.new do |t| + t.spec_files = FileList['spec/**/*_spec.rb'] + t.rcov = false end \ No newline at end of file