spec/spec_helper.rb in mrjoy-bundler-audit-0.3.6 vs spec/spec_helper.rb in mrjoy-bundler-audit-0.3.7
- old
+ new
@@ -1,14 +1,10 @@
require 'rubygems'
require 'bundler'
Bundler.require(:default, :development, :test)
-version = RUBY_VERSION.split(/\./).map(&:to_i)
-if((version[0] == 1 && version[1] >= 9) || (version[0] >= 2))
- require 'simplecov'
- require 'json'
- SimpleCov.start
-end
+require 'simplecov'
+SimpleCov.start
require 'rspec'
require 'tmpdir'
require 'bundler/audit'
require 'bundler/audit/version'