README.md in dyno_scaler-0.1.0 vs README.md in dyno_scaler-0.2.0

- old
+ new

@@ -68,11 +68,11 @@ ## Heroku Deploy When deploying to heroku you'll want to add these two configuration keys: HEROKU_API_KEY=<YOUR-API-KEY-HERE> - HEROKU_APPLICATION=<THE-NAME-OF-YOUR-APP-ON-HEROKU-HERE> + HEROKU_APP=<THE-NAME-OF-YOUR-APP-ON-HEROKU-HERE> They are used by the [heroku-api](https://github.com/heroku/heroku.rb) gem to scale dynos of your application. ## Async @@ -90,10 +90,12 @@ MY_QUEUE = GirlFriday::WorkQueue.new(:my_queue, size: 5) do |options| DynoScaler.manager.scale_with(options) end - config.dyno_scaler.async { MY_QUEUE << options } + config.dyno_scaler.async do |options| + MY_QUEUE << options + end ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`)