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>
Written by Nikita Fedyashev
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#