Rakefile in patron-0.4.20 vs Rakefile in patron-0.5.0
- old
+ new
@@ -20,11 +20,11 @@
## OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
## THE SOFTWARE.
##
## -------------------------------------------------------------------
require 'rake/clean'
-require 'rake/rdoctask'
+require 'rdoc/task'
require 'rake/extensiontask'
require 'rspec/core/rake_task'
require 'bundler'
Rake::ExtensionTask.new do |ext|
@@ -56,14 +56,7 @@
t.rspec_opts = %w( --colour --format progress )
t.pattern = 'spec/**/*_spec.rb'
end
task :spec => [:compile]
-
-desc "Run specs with RCov"
-RSpec::Core::RakeTask.new('spec:rcov') do |t|
- t.pattern = 'spec/**/*_spec.rb'
- t.rcov = true
- t.rcov_opts = %q(--sort coverage --comments --exclude "spec")
-end
task :default => :spec