v1.3.0
·
272 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
- 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
:timesoption to:tries. - Renamed
:sleepoption to:interval. - Renamed
:thenoption 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