mirthlab/heroku-resque-auto-scale — pull request #4 by joel (2012-10-22 15:35:12+00:00)
Title: Switch to Heroku API

# Changelog VERSION = '0.1.3'

## Principals changes :

* Switch from Jeweler Gem generator to simple Bundler gem generator
* Switch to Rspec from TestUnit
* Switch to HerokuAPI Gem instead of Heroku Client Gem
* Configuration into yaml file (optionnal)

### Requirements :

You need to defined two vars for your heroku app :

Go to your https://api.heroku.com/account for retreive your API Key

heroku config:add HEROKU_API_KEY=your_api_key -a your_app_name
heroku config:add HEROKU_APP_NAME=your_app_name -a your_app_name

### Configuration

You can changes thresholds into scaler_config.yml (It's totally optional)

### Test

You can test with this command line :

HEROKU_API_KEY=your_api_key HEROKU_APP_NAME=your_app_name *** bundle exec *** rake spec