Sha256: beefc9e3d7fc7fbc1166b9d82034c14f913a76f0e0e12298702ec72ca2041103

Contents?: true

Size: 772 Bytes

Versions: 8

Compression:

Stored size: 772 Bytes

Contents

if defined?(Rails)
  require "sauce/railtie"
else
  require 'tasks/parallel_testing'
end

require 'sauce/version'
require 'sauce/utilities'
require 'sauce/utilities/rake'
require 'sauce/job'
require 'sauce/client'
require 'sauce/config'
require 'sauce/selenium'
require 'sauce/rspec'
require 'sauce/test_unit'
require 'parallel_tests/saucerspec/runner'
require 'parallel_tests/saucecucumber/runner'


# Ruby before 1.9.3-p382 does not handle exit codes correctly when nested
if RUBY_VERSION == "1.9.3" && RUBY_PATCHLEVEL < 392
  module Kernel
    alias :existing_at_exit :at_exit
    def at_exit(&block)
      existing_at_exit do
        exit_status = $!.status if $!.is_a?(SystemExit)
        block.call
        exit exit_status if exit_status
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sauce-3.4.9 lib/sauce.rb
sauce-3.4.8 lib/sauce.rb
sauce-3.4.7 lib/sauce.rb
sauce-3.4.6 lib/sauce.rb
sauce-3.4.5 lib/sauce.rb
sauce-3.4.4 lib/sauce.rb
sauce-3.4.3 lib/sauce.rb
sauce-3.4.2 lib/sauce.rb