Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.08 KB

CHANGELOG.md

File metadata and controls

25 lines (20 loc) · 1.08 KB

1.3.2

  • Clean up option defaults.
  • By default, rescue StandardError and Timeout::Error instead of Exception.

1.3.1

  • Add rake dependency for travis-ci.
  • Update gemspec summary and description.

1.3.0

  • 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

1.2.0

  • 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.