Merge pull request #45 from davidakachaos/mongoid_fix

Mongoid fix
A few tweaks that should reduce the number of needed calls to heroku ps API. Heroku is rate limiting API calls to 1200 an hour which makes this gem unusable for apps with large number of jobs, but this should noticably extend it's lifetime.

I've added the specs for new behaviour and in the process cleaned up existing specs a bit.
Merge pull request #56 from radanskoric/master

A few small tweaks that should reduce the number of Heroku API calls and help apps not hit the Heroku API rate limit.
Add run_at support !!DROPS RAILS 2.3 SUPPORT!!

Added the support for scheduling jobs in the future with run_at.
In scalers/base.rb I've used the where on the Delayed Jobs table to get the pending jobs.

This forces the use of Rails 3.x! So Rails 2.3 support has been dropped in this commit. If you know the correct way to do this query in a Rails 2.3 and Rails 3.x way, please inform me.

Also this introduces a middleware component to check for pending jobs, and if there are any, it will call to scale up the workers.

Signed-off-by: David Westerink <davidakachaos@gmail.com>
Removed patch file
Adding Coveralls support

This is to see the spec/test coverage
SimpleConv to check coverage
Same Travis standard as Delayed Job itself

We are a plugin for Delayed Job, so we should work on the same platforms as they do
Old style hash for 1.8.x compatiblity
We need the dev stuff
Noticed deprecated gemcutter

As Travis advises;
The source :gemcutter is deprecated because HTTP requests are insecure.
Please change your source to https://rubygems.org if possible
Update README.md

Fixed typo in readme
autoload scalers only when required
Update README.md
Fix run_at spec
Regression fix Ruby 1.8

until we drop Ruby 1.8.7 support, we need this. Else we can go with the new syntax.
Switched to rvm rc
added coveralls