lib/gush/workflow.rb in gush-0.2.2 vs lib/gush/workflow.rb in gush-0.2.3
- old
+ new
@@ -69,14 +69,14 @@
def finished?
jobs.all?(&:finished?)
end
def started?
- @stopped == false
+ !!started_at
end
def running?
- !finished?
+ started? && !finished?
end
def failed?
jobs.any?(&:failed?)
end