domcleal/foreman_hooks — pull request #1 by grimme-atix-de (2013-04-16 14:33:02+00:00)
Title: Convert priority string to integer. If not error in foreman/lib/tasks.rb...

There is an error in foreman if the priority of the queue job is not integer but string (which should always be the case).
This leads to an error in lib/foreman/task.rb:<=> method.
This patch should fix this problem.

Let me know what you think.