coleifer/huey — pull request #56 by jbaiter (2014-03-07 18:10:51+00:00)
Title: Refactor consumer-code into separate module

This introduces a new `huey.consumer` module that houses the `Consumer` class and all `*Worker` classes.

I needed this functionality for my application, since I wanted to launch the consumer directly from my code, not from a seperate script, and handle things like logging in the main application and not in the `Consumer` class.

The tests are passing fine, as does the 'simple' example.