Last Updated: February 25, 2016
·
1.273K
· nfedyashev

Retryable gem

Its great for retrying unstable code block when an exception occurs.

Retryable is configured using four optional parameters :tries, :on, :sleep, :matching, :ensure and runs the passed block.

Great test coverage, lots of users, no external dependencies. The gem is following <a href="http://semver.org/">Semantic Versioning Specification</a>.

<a href="https://github.com/nfedyashev/retryable">source</a>

<a href="https://rubygems.org/gems/retryable">rubygems</a>