Sha256: 3458e3202e2a46a9dbceb6f7e9e4e90fa317b7992116c9008a5ff881a03f74a1
Contents?: true
Size: 542 Bytes
Versions: 3
Compression:
Stored size: 542 Bytes
Contents
require 'sauce/version' require 'sauce/utilities' require 'sauce/job' require 'sauce/client' require 'sauce/config' require 'sauce/selenium' require 'sauce/integrations' # 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sauce-2.5.2 | lib/sauce.rb |
sauce-2.5.1 | lib/sauce.rb |
sauce-2.4.6 | lib/sauce.rb |