Rakefile in celluloid-dns-0.0.1 vs Rakefile in celluloid-dns-0.17.3
- old
+ new
@@ -1,5 +1,10 @@
-#!/usr/bin/env rake
require "bundler/gem_tasks"
-Dir["tasks/**/*.task"].each { |task| load task }
+require "rspec/core/rake_task"
-task :default => :spec
\ No newline at end of file
+RSpec::Core::RakeTask.new(:spec) do |task|
+ task.rspec_opts = ["--require", "simplecov"] if ENV['COVERAGE']
+end
+
+task :default => :spec
+
+require 'celluloid/current'