From 4c7e45a1d58dbfae1d2135529964d4339c11b81b Mon Sep 17 00:00:00 2001 From: Nicolas McCurdy Date: Fri, 4 Apr 2014 15:08:36 -0400 Subject: [PATCH 1/2] Use simplecov instead of rcov for all Rubies, since we have dropped 1.8 anyway --- Gemfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index e92684c..65a54b5 100644 --- a/Gemfile +++ b/Gemfile @@ -13,8 +13,7 @@ group :development do gem "guard-rspec" gem "rb-readline", "~> 0.5.0" gem "jeweler", ">= 1.6.2" - gem "rcov", :platforms => :mri_18 - gem "simplecov", :platforms => :mri_19 + gem "simplecov" gem "test_construct" gem "capture-output", "~> 1.0.0" if RbConfig::CONFIG['host_os'] =~ /linux|freebsd|openbsd|sunos|solaris/ From 22aed48d4ebc8aa3aa8d9f6adb971a646a69adba Mon Sep 17 00:00:00 2001 From: Nicolas McCurdy Date: Fri, 4 Apr 2014 15:11:07 -0400 Subject: [PATCH 2/2] Set up simplecov (it was in the Gemfile before, but it wasn't actually used) --- spec/spec_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index e594897..b4cd930 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,6 @@ +require 'simplecov' +SimpleCov.start + $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'homesick'