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.
- data/lib/save_your_dosh/mangler.rb +1 -1
- data/lib/save_your_dosh.rb +1 -1
- metadata +2 -2
@@ -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']
|
data/lib/save_your_dosh.rb
CHANGED
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.
|
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-
|
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
|