KensoDev/perform_later — pull request #8 by gzohari (2012-08-25 08:09:16+00:00)
Title: Feature - delay option (only for AR)

1. Adding a :delay option to :later will enqueue the job only after the given number of seconds have past, i.e.:
"later :delayed_long_running_method, :delay => 60, queue: :some_queue_name"

2. Added rescue scheduler in order to use it's :enqueue_in_with_queue method.

3. Added new Job class in order to handle the logic of creating a Resque job or enqueuing one for later.

4. Some refactoring in method.rb.

* There is still some duplication left in method.rb, couldn't think of a way to dry it up without making relatively big design changes to the plugin. That's only why i held off object_perform_later for now, i'll quickly update it if the feature is accepted.