- Clean up option defaults.
- By default, rescue StandardError and Timeout::Error instead of Exception.
- Add
rake
dependency for travis-ci. - Update gemspec summary and description.
- Rewrote a lot of the code with inspiration from attempt.
- Add timeout option to the code block.
- Include in Kernel by default, but allow require 'retriable/no_kernel' to load a non kernel version.
- Renamed
:times
option to:tries
. - Renamed
:sleep
option to:interval
. - Renamed
:then
option to:on_retry
. - Removed other callbacks, you can wrap retriable in a begin/rescue/else/ensure block if you need that functionality. It avoids the need to define multiple Procs and makes the code more readable.
- Rewrote most of the README
- Forked the retryable-rb repo.
- Extend the Kernel module with the retriable method so you can use it anywhere without having to include it in every class.
- Update gemspec, Gemfile, and Raketask.
- Remove echoe dependency.