Sha256: 7c5529a84bbda9fa5f6ed2fd02a6d9b15783e09d5bc0d592afb63b63fecbd070

Contents?: true

Size: 804 Bytes

Versions: 8

Compression:

Stored size: 804 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/test_base'
require 'sauce/rspec/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 & 2 rubygems

Version Path
sauce_ruby-3.5.11 lib/sauce.rb
sauce_ruby-3.5.10 lib/sauce.rb
sauce_ruby-3.5.9 lib/sauce.rb
sauce_ruby-3.5.8 lib/sauce.rb
sauce_ruby-3.5.7 lib/sauce.rb
sauce_ruby-3.5.6 lib/sauce.rb
sauce-3.5.6 lib/sauce.rb
sauce-3.5.5 lib/sauce.rb