Rakefile in gitable-0.2.3 vs Rakefile in gitable-0.2.4

- old
+ new

@@ -1,16 +1,13 @@ -require 'bundler' -Bundler::GemHelper.install_tasks +require 'bundler/gem_tasks' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new do |t| t.rspec_opts = %w[--color] t.pattern = 'spec/**/*_spec.rb' end task :default => :spec -RSpec::Core::RakeTask.new(:rcov) do |t| - t.rspec_opts = %w[--color] - t.pattern = 'spec/**/*_spec.rb' - t.rcov = true - t.rcov_opts = %w[--exclude spec/,gems/,Library/,.bundle] +task :coverage => [:coverage_env, :spec] +task :coverage_env do + ENV['COVERAGE'] = '1' end