RubyGems.org

attempt

0.2.0

The attempt library provides a thin wrapper for the typical begin/rescue/sleep/retry dance. Use this in order to robustly handle blocks of code that could briefly flake out, such as a socket or database connection, where it's often better to try again after a brief period rather than fail immediately.

installgem install attempt
Authors

Daniel J. Berger

7,755 total downloads 3,936 for this version
Owners

Aee77dba395ece0a04c688b05b07cd6318813f71506ebad74179bf8c5a136696

Gemfile
gem "attempt", "~> 0.2.0"
Versions
  1. 0.2.0 September 26, 2009
  2. 0.1.2 August 1, 2009
  3. 0.1.1 July 31, 2007
  4. 0.1.0 June 9, 2006
Runtime Dependencies
  1. structured_warnings >= 0
Development Dependencies
  1. test-unit >= 2.0.3