resque/resque-scheduler — pull request #452 by tbprojects (2014-10-08 10:00:40+00:00)
Title: enqueue_delayed_selection

One of the nice features is `remove_delayed_selection` which allows to filter jobs to be removed. I needed similar filtration functionality but for immediate enqueuing delayed jobs, that are already queued.

In addition I extracted filtration to separate private method - `find_delayed_selection`