- :not configuration option has been added for specifying exceptions when a retry should not be performed. Thanks @drunkel
- Retryable can now be configured globally via Retryable.configure block.
- Retryable can now be used without monkey patching Kernel module(use
Retryable.retryable
instead). Thanks @oppegard
- Fixed warning: assigned but unused variable - tries. Thanks @amatsuda
- New callback option(:exception_cb) to run after an rescued exception is introduced. Thanks @jondruse
- Namespace issue has been fixed. Thanks @darkhelmet
- Retryable::Version constant typo has been fixed
- Retryable.disable method has been added
- Retryable.enabled method has been added
-
:ensure retryable option add added
-
ArgumentError is raised instead of InvalidRetryableOptions in case of invalid option param for retryable block
- StandardError is now default exception for rescuing.
- became friendly to any rubygems version installed
- added :matching option + better options validation
- fixed dependencies
- added :sleep option
- stability -- Thoroughly unit-tested
- FIX -- block would run twice when
:tries
was set to0
. (Thanks for the heads-up to Tuker.)