RubyGems Navigation menu

attempt 0.6.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 an http or database connection, where it's often better to try again after a brief period rather than fail immediately.

Gemfile:
=

install:
=

Versions:

  1. 0.8.0 July 15, 2025 (29.5 KB)
  2. 0.7.0 July 14, 2025 (26 KB)
  3. 0.6.3 June 26, 2024 (19 KB)
  4. 0.6.2 June 02, 2022 (18.5 KB)
  5. 0.6.1 October 20, 2020 (18.5 KB)
  6. 0.6.0 September 17, 2020 (18.5 KB)
Show all versions (17 total)

Runtime Dependencies (3):

rspec ~> 3.9
safe_timeout ~> 0.0.5

Owners:

Pushed by:

Authors:

  • Daniel J. Berger

SHA 256 checksum:

=

Total downloads 288,984

For this version 2,607

Version Released:

License:

Apache-2.0

Required Ruby Version: >= 0

New versions require MFA: true

Links: