lib/tasque/task.rb in tasque-0.0.6 vs lib/tasque/task.rb in tasque-0.0.7
- old
+ new
@@ -96,10 +96,10 @@
event :reprocess do
transition [:processing, :complete, :error] => :reprocessed
end
event :cancel do
- transition any - [:processing] => :canceled
+ transition any => :canceled
end
state :processing do
def progress!(val)