lib/tasque/task.rb in tasque-0.1.0 vs lib/tasque/task.rb in tasque-0.1.1
- old
+ new
@@ -92,10 +92,10 @@
event :failure do
transition :processing => :error
end
event :reprocess do
- transition [:processing, :complete, :error] => :reprocessed
+ transition [:processing, :complete, :error, :canceled] => :reprocessed
end
event :cancel do
transition any => :canceled
end