Skip to content

v1.3.0

Choose a tag to compare

@kamui kamui released this 26 May 20:47
· 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 :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