A very simple wrapper over Signal#trap method that allows you to easily protect your scripts from being killed while they are doing something that should not be interrupted (e.g. interacting with some non-transactional service) or is too costly to restart (e.g. long computations).

Required Ruby Version

None

Authors

Przemyslaw Kowalczyk

Versions

  1. 0.4.0
    1. source

      1. 0.4.0 source January 31, 2010 (12.5 KB)
  2. 0.3.0
    1. source

      1. 0.3.0 source January 14, 2010 (12 KB)
  3. 0.2.0
    1. source

      1. 0.2.0 source January 08, 2010 (11 KB)
  4. 0.1.2
    1. source

      1. 0.1.2 source January 07, 2010 (10.5 KB)
  5. 0.1.1
    1. source

      1. 0.1.1 source January 04, 2010 (10 KB)
Show all versions (6 total)

SHA 256 checksum