Sha256: 2ad30c32ae9a0ab6c19a45fd06c264cb3e0b780432b3650ab3251daec20e8106
Contents?: true
Size: 1 KB
Versions: 3
Compression:
Stored size: 1 KB
Contents
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 "bunnish" 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 Bunnish BUNNISH_HOME = File.expand_path(File.dirname(__FILE__) + "/..") BIN_DIR = "#{BUNNISH_HOME}/bin" LIB_DIR = "#{BUNNISH_HOME}/lib" RUBY_CMD = "/usr/bin/env ruby -I #{LIB_DIR}" REDIRECT = {:stderr=>"2> /dev/null"} end Bunnish.logger = Logger.new(STDERR) if File.exist?('/tmp/bunnish.debug') then Bunnish.logger.level = Logger::DEBUG Bunnish::REDIRECT[:stderr] = nil else Bunnish.logger.level = Logger::ERROR Bunnish::REDIRECT[:stderr] = "2> /dev/null" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bunnish-0.1.3 | spec/spec_helper.rb |
bunnish-0.1.2 | spec/spec_helper.rb |
bunnish-0.1.1 | spec/spec_helper.rb |