Source: ruby-retryable Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Hleb Valoshka <375gnu@gmail.com> Build-Depends: debhelper (>= 9~), gem2deb, rake, ruby-rspec (>= 3.1) Standards-Version: 3.9.8 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-retryable.git Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-retryable.git Homepage: http://github.com/nfedyashev/retryable Testsuite: autopkgtest-pkg-ruby XS-Ruby-Versions: all Package: ruby-retryable Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ruby | ruby-interpreter, ${misc:Depends}, ${shlibs:Depends} Description: module that allows one to retry a code block Runs a code block, and retries it when an exception occurs. It's great when working with flakey webservices (for example). . It's configured using four optional parameters :tries, :on, :sleep, :matching, :ensure, :exception_cb and runs the passed block. Should an exception occur, it'll retry for (n-1) times. . Should the number of retries be reached without success, the last exception will be raised.