lib/massive/process.rb in massive-0.1.0 vs lib/massive/process.rb in massive-0.1.1

- old
+ new

@@ -30,9 +30,13 @@ def completed? steps.not_completed.none? end + def failed? + steps.any? { |step| step.failed_at? } + end + def cancelled? cancelled_at? || redis.exists(cancelled_key) end def cancel