Rakefile in mongoid_search-0.1.0 vs Rakefile in mongoid_search-0.1.1

- old
+ new

@@ -8,10 +8,11 @@ gem.summary = "Search implementation for Mongoid ORM" gem.description = "Simple full text search implementation." gem.email = "mauricio@papodenerd.net" gem.homepage = "http://github.com/mauriciozaffari/mongoid_search" gem.authors = ["Mauricio Zaffari"] + gem.add_dependency("mongoid", ["~> 2.0.0.beta"]) gem.add_development_dependency "rspec", ">= 1.2.9" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new rescue LoadError @@ -22,24 +23,6 @@ Spec::Rake::SpecTask.new(:spec) do |spec| spec.libs << 'lib' << 'spec' spec.spec_files = FileList['spec/**/*_spec.rb'] end -Spec::Rake::SpecTask.new(:rcov) do |spec| - spec.libs << 'lib' << 'spec' - spec.pattern = 'spec/**/*_spec.rb' - spec.rcov = true -end - -task :spec => :check_dependencies - task :default => :spec - -require 'rake/rdoctask' -Rake::RDocTask.new do |rdoc| - version = File.exist?('VERSION') ? File.read('VERSION') : "" - - rdoc.rdoc_dir = 'rdoc' - rdoc.title = "mongoid_search #{version}" - rdoc.rdoc_files.include('README*') - rdoc.rdoc_files.include('lib/**/*.rb') -end