4
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
5
Uploaders: Hleb Valoshka <375gnu@gmail.com>
6
Build-Depends: debhelper (>= 7.0.50~),
10
Standards-Version: 3.9.6
11
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-retryable.git
12
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-retryable.git
13
Homepage: http://github.com/nfedyashev/retryable
14
Testsuite: autopkgtest-pkg-ruby
17
Package: ruby-retryable
19
XB-Ruby-Versions: ${ruby:Versions}
20
Depends: ruby | ruby-interpreter,
23
Description: Retryable#retryable, allows for retrying of code blocks.
24
Runs a code block, and retries it when an exception occurs. It's great when
25
working with flakey webservices (for example).
27
It's configured using four optional parameters :tries, :on, :sleep, :matching,
28
:ensure, :exception_cb and runs the passed block. Should an exception occur,
29
it'll retry for (n-1) times.
31
Should the number of retries be reached without success, the last exception