lib/massive/job.rb in massive-0.1.1 vs lib/massive/job.rb in massive-0.2.0
- old
+ new
@@ -103,10 +103,10 @@
raise e
end
def increment_processed
- inc(:processed, 1)
+ inc(processed: 1)
end
def args_for_resque
[process.id.to_s, step.id.to_s, id.to_s]
end