Sha256: 70f7242d7947dc1cb3ffa2fbafe0007ead89fc33f6b40bcf6ad657f7493a04f3
Contents?: true
Size: 682 Bytes
Versions: 1
Compression:
Stored size: 682 Bytes
Contents
# frozen_string_literal: true if RUBY_ENGINE == 'ruby' && ENV['COVERAGE'] == 'true' require 'yaml' rubies = YAML.load(File.read(File.join(__dir__, '..', '.travis.yml')))['rvm'] latest_mri = rubies.select { |v| v =~ /\A\d+\.\d+.\d+\z/ }.max if RUBY_VERSION == latest_mri require 'simplecov' SimpleCov.start do add_filter '/spec/' end end end if defined? Warning require 'warning' Warning.ignore(/rspec/) Warning.process { |w| raise RuntimeError, w } unless ENV['NO_WARNING'] end begin require 'byebug' rescue LoadError;end require 'transproc/all' root = Pathname(__FILE__).dirname Dir[root.join('support/*.rb').to_s].each { |f| require f }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
transproc-1.1.1 | spec/spec_helper.rb |