heroku-resque-workers-scaler 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ee8ee0ed0f37c02accec1a1ee9edf01609bf884
4
- data.tar.gz: a0ba98bd4f554f905a534de5c7bccbf43f5e0575
3
+ metadata.gz: efa38945abda66ac4437e22e798c4d1ea5c0f509
4
+ data.tar.gz: 22c4ef84b8513b1b754307e3c218a72f3d974eb4
5
5
  SHA512:
6
- metadata.gz: cfaa5aef014100ab64f24a8adbe7245c994741ade4225894d459fd551417e828555677c27427e7295fe062d52c5b352a853bcc866774aef81031ee2902c82c8d
7
- data.tar.gz: edf368619612f0293b8f9ab21efa4bcdf859778b38265742a6e56ea249a20c54437e2c27d18e8a8120ef4c38d9d5fa321438345eecd5affe7dd11224e192203f
6
+ metadata.gz: 99fa871c0636ac0ed002f74aabf23541d4048f1760cd43464ee8295ef2300fa2a63dc540369ca396d04842135f748ce3f1b94242ad9f5b233b9b43ede89990ee
7
+ data.tar.gz: 11169dd797bfeeda137c4f1085390a0158095a4bda68cefa6b3bb6a4c7593b3a293c54033870be87a94b517e9ff470c7ca5118475bdd5441d5331c9679c0d36a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # Changelog VERSION = '0.3.2'
2
+
3
+ * bug fix
4
+ * missing one return to avoid connection on forbidden mode.
5
+
6
+ [Fullcahnges](https://github.com/joel/heroku-resque-workers-scaler/pull/10)
7
+
1
8
  # Changelog VERSION = '0.3.1'
2
9
 
3
10
  * bug fix
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- heroku-resque-workers-scaler (0.3.1)
4
+ heroku-resque-workers-scaler (0.3.2)
5
5
  platform-api (~> 0.2.0)
6
6
  resque (~> 1.25.2)
7
7
 
@@ -29,6 +29,7 @@ module HerokuResqueAutoScale
29
29
  end
30
30
 
31
31
  def shut_down_workers!
32
+ return unless authorized?
32
33
  @@heroku.formation.update(app_name, worker_name, { quantity: 0 })
33
34
  nil
34
35
  end
@@ -1,3 +1,3 @@
1
1
  module HerokuResqueAutoScale
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-resque-workers-scaler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Quezada