Sha256: 2d2e25307a94d3f5c4a1199b94539b80ca1ea0c8eb2743083569c7ed6f36a5db

Contents?: true

Size: 693 Bytes

Versions: 2

Compression:

Stored size: 693 Bytes

Contents

source 'http://rubygems.org'

unless defined?(OATS_GEM_IS_ALREADY_INCLUDED)
  OATS_GEM_IS_ALREADY_INCLUDED = true

  gemspec
  # Include Gemfile from dir_tests
  unless ENV['OATS_TESTS']
    ENV['OATS_TESTS'] =  File.expand_path('oats_tests', File.dirname(__FILE__) )
    puts "Undefined OATS_TESTS Environment variable, assuming: " + ENV['OATS_TESTS']
  end
  test_gemfile = $oats_execution['options'][ "_:gemfile"] if $oats_execution and $oats_execution['options']
  test_gemfile ||= ENV['OATS_TESTS'] + '/Gemfile'
  puts "AUT Gemfile :" + test_gemfile
  if File.exist?(test_gemfile)
    puts "Including AUT Gemfile: " + test_gemfile
    eval(IO.read(test_gemfile), binding)
  end
  
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oats-0.0.6 Gemfile
oats-0.0.5 Gemfile