save-your-dosh 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,7 +28,7 @@ private
28
28
  # a little wrapper to avoid problems with setting/getting
29
29
  # a wrong thing
30
30
  def mangle!(what, &block)
31
- qty = @heroku.get_app(@config.heroku['app_id']).body[what.to_s]
31
+ qty = @heroku.get_app(@config.heroku['app_id']).body[0][what.to_s]
32
32
  new_qty = yield(qty)
33
33
 
34
34
  min_qty = @config.send(what)['min']
@@ -4,7 +4,7 @@
4
4
  module SaveYourDosh
5
5
  extend self
6
6
 
7
- VERSION = '0.0.0'
7
+ VERSION = '1.0.0'
8
8
 
9
9
  autoload :Config, 'save_your_dosh/config.rb'
10
10
  autoload :Mangler, 'save_your_dosh/mangler.rb'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: save-your-dosh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-20 00:00:00.000000000 Z
12
+ date: 2012-12-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This gem can automatically scale the dynos amount on your heroku app
15
15
  depending on your system busyness