lib/seam/persistence.rb in seam-0.0.19 vs lib/seam/persistence.rb in seam-0.0.20

- old
+ new

@@ -12,10 +12,12 @@ .map { |x| x.clone } end def self.find_something_to_do Seam::InMemory.records + .select { |x| x.complete.nil? || x.complete == false } .select { |x| x.next_execute_at <= Time.now } + .select { |x| x.next_step != nil } .map { |x| x.clone } end def self.save effort old_record = find_by_effort_id effort.id