ryandotsmith/queue_classic — pull request #73 by lbotsch (2012-05-16 20:53:51+00:00)
Title: Adding priority queue feature

Hi,
I would like to share this simple priority queue implementation:

Simply use

```Ruby
# Enqueue a job with priority 2 (Default is 1)
QC.enqueue_with_priority(2, "Kernel.puts", "I am important!")

# This will still work as expected
QC.enqueue("Kernel.puts", "I am a regular job")
```

to enqueue a job with custom priority. Test cases are included and all passing.