Sha256: dceaa86b1cea7fd460ad3d86eceb5a64289f507abcc8930ed9727be902366aac

Contents?: true

Size: 252 Bytes

Versions: 10

Compression:

Stored size: 252 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

trap('INT') do
  puts "Recieved SIGINT, aborting."
  exit 1
end

trap('TERM') do
  puts "Recieved SIGTERM, aborting."
  exit 1
end

puts "Sleeping for 10 seconds"
sleep(10)
puts "I wasn't killed? WTF"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 test/fixtures/timeout
shipit-engine-0.38.0 test/fixtures/timeout
shipit-engine-0.37.0 test/fixtures/timeout
shipit-engine-0.36.1 test/fixtures/timeout
shipit-engine-0.36.0 test/fixtures/timeout
shipit-engine-0.35.1 test/fixtures/timeout
shipit-engine-0.35.0 test/fixtures/timeout
shipit-engine-0.34.0 test/fixtures/timeout
shipit-engine-0.33.0 test/fixtures/timeout
shipit-engine-0.32.0 test/fixtures/timeout