heroku-autoscale 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. data/lib/heroku/autoscale.rb +2 -2
  2. metadata +3 -3
@@ -5,7 +5,7 @@ require "rack"
5
5
  module Heroku
6
6
  class Autoscale
7
7
 
8
- VERSION = "0.2.0"
8
+ VERSION = "0.2.1"
9
9
 
10
10
  attr_reader :app, :options, :last_scaled
11
11
 
@@ -70,7 +70,7 @@ private ######################################################################
70
70
  end
71
71
 
72
72
  def queue_wait(env)
73
- env["HTTP_X_HEROKU_QUEUE_WAIT_TIME"]
73
+ env["HTTP_X_HEROKU_QUEUE_WAIT_TIME"].to_i
74
74
  end
75
75
 
76
76
  def set_dynos(count)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-autoscale
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Dollar