Sha256: ad1902cbabfbba8229c3fb94395c1759959fe684b4ea52e626bccd28caa501ac

Contents?: true

Size: 600 Bytes

Versions: 3

Compression:

Stored size: 600 Bytes

Contents

if (RUBY_VERSION.split('.')[1].to_i > 8 or RUBY_VERSION.split('.')[0].to_i > 1)
  begin
    require 'simplecov'
    SimpleCov.start
  rescue LoadError
  end
end

$:.unshift File.expand_path("../../lib", __FILE__)
$:.unshift File.expand_path("../", __FILE__)
require 'rubygems'
require 'fixtures'
require 'rspec'
require 'r509'

# exclude EC specific tests if it's unsupported
if not R509.ec_supported?
  puts "\e[#{31}mWARNING: NOT RUNNING EC TESTS BECAUSE EC IS UNSUPPORTED ON YOUR RUBY INSTALLATION\e[0m"
  R509.print_debug
  RSpec.configure do |c|
    c.filter_run_excluding :ec => true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
r509-0.9.2 spec/spec_helper.rb
r509-0.9.1 spec/spec_helper.rb
r509-0.9 spec/spec_helper.rb