diff --git a/emory.gemspec b/emory.gemspec index 5cdc4ee..1065f1e 100644 --- a/emory.gemspec +++ b/emory.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |s| s.require_paths = ["lib"] s.add_development_dependency 'rspec', '~> 2.10' - s.add_development_dependency 'simplecov', '~> 0.6.2' + s.add_development_dependency 'simplecov', '~> 0.6.4' if RUBY_VERSION =~ /1.9/ s.add_development_dependency 'rake' s.add_runtime_dependency 'logging' diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index af54ae7..8a24918 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,7 @@ -require 'simplecov' -SimpleCov.start +if RUBY_VERSION =~ /1.9/ + require 'simplecov' + SimpleCov.start +end require 'rspec' require 'logging'