Sha256: 8d01b937990be2d153d087ed0a3a21ac25a6cbf052bcaac95c56a0fe62b910d5

Contents?: true

Size: 640 Bytes

Versions: 4

Compression:

Stored size: 640 Bytes

Contents

require 'rspec'
require 'terrapin'
require 'timeout'
require 'tempfile'
require 'pry'
require 'thread'
require 'pathname'

begin; require 'active_support/logger'; rescue LoadError; end
begin; require 'active_support/buffered_logger'; rescue LoadError; end

Dir[File.dirname(__FILE__) + "/support/**.rb"].each{|support_file| require support_file }

RSpec.configure do |config|
  config.include WithExitstatus
  config.include StubOS
end

def best_logger
  if ActiveSupport.const_defined?("Logger")
    ActiveSupport::Logger
  elsif ActiveSupport.const_defined?("BufferedLogger")
    ActiveSupport::BufferedLogger
  else
    Logger
  end
end

Version data entries

4 entries across 3 versions & 2 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/terrapin-1.0.1/spec/spec_helper.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/terrapin-1.0.1/spec/spec_helper.rb
terrapin-1.0.1 spec/spec_helper.rb
terrapin-1.0.0 spec/spec_helper.rb