Sha256: 2ba7c1a0ed0abdaff88d8073b5b2a6c48bbaeb519550f9cb69e13af2ffdfe2a5
Contents?: true
Size: 993 Bytes
Versions: 4
Compression:
Stored size: 993 Bytes
Contents
# coding: utf-8 if RUBY_VERSION <= '1.8.7' else require "simplecov" require "simplecov-rcov" SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter SimpleCov.start end $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib")) $LOAD_PATH.unshift(File.dirname(__FILE__)) require "rspec" require "lapidary" require "tempfile" # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| end module Lapidary LAPIDARY_HOME = File.expand_path(File.dirname(__FILE__) + "/..") REDIRECT = {} end Lapidary.logger = Logger.new(STDERR) if File.exist?('/tmp/lapidary.debug') then Lapidary.logger.level = Logger::DEBUG Lapidary::REDIRECT[:stdout] = nil Lapidary::REDIRECT[:stderr] = nil else Lapidary.logger.level = Logger::ERROR Lapidary::REDIRECT[:stdout] = "> /dev/null" Lapidary::REDIRECT[:stderr] = "2> /dev/null" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lapidary-0.2.6 | spec/spec_helper.rb |
lapidary-0.2.5 | spec/spec_helper.rb |
lapidary-0.2.4 | spec/spec_helper.rb |
lapidary-0.2.3 | spec/spec_helper.rb |