Rakefile in mongoid-2.0.1 vs Rakefile in mongoid-2.0.2

- old
+ new

@@ -22,22 +22,22 @@ system "git tag -a #{Mongoid::VERSION} -m 'Tagging #{Mongoid::VERSION}'" system "git push --tags" system "gem push mongoid-#{Mongoid::VERSION}.gem" end -Rspec::Core::RakeTask.new(:spec) do |spec| +RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = "spec/**/*_spec.rb" end -Rspec::Core::RakeTask.new("spec:unit") do |spec| +RSpec::Core::RakeTask.new("spec:unit") do |spec| spec.pattern = "spec/unit/**/*_spec.rb" end -Rspec::Core::RakeTask.new("spec:functional") do |spec| +RSpec::Core::RakeTask.new("spec:functional") do |spec| spec.pattern = "spec/functional/**/*_spec.rb" end -Rspec::Core::RakeTask.new('spec:progress') do |spec| +RSpec::Core::RakeTask.new('spec:progress') do |spec| spec.rspec_opts = %w(--format progress) spec.pattern = "spec/**/*_spec.rb" end Rake::RDocTask.new do |rdoc|