Skip to content

v0.2.0

Compare
Choose a tag to compare
@taylorthurlow taylorthurlow released this 02 Nov 23:42
· 38 commits to master since this release
95f7ea3

Fixed

  • Interaktors which have success attributes defined will now cause an exception to be raised if their execution finishes completely without a call to #success!.

Changed

  • Organizers now pass their own attributes to the first interaktor, and each interaktor passes its attributes (required, optional, and success) to the next interaktor in the chain. When passing attributes between interaktors, attributes unknown to the receiving interaktor are dropped. See the organizer section of the README for more detail.
  • Providing unknown options to the failure and success DSL methods will now raise an exception.
  • Passing a non-hash argument to .call or .call! will raise a more helpful exception.

Added

  • Added custom error classes for the various error cases instead of raising RuntimeErrors.