hirefire-resource 0.3.4 → 0.3.5

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: a55f92b5e4b2de9fa2ebe212d4a3932461c45ec9
4
- data.tar.gz: 3e2fb87988c43fc78ae3aca0a964c3f630c84e69
3
+ metadata.gz: 9483a65248d4c218eebfbc663e16d6a5894b623c
4
+ data.tar.gz: f1c5a0c7c206b04196d6a3974c6c59d59e92491a
5
5
  SHA512:
6
- metadata.gz: 2d0ce774690a3ddb73d30bca2457c04283a977dadecbd22912726ad7726c4f6df218e12f4592a271fc869af114f7c5ab42fc11c8d21cfde6966a277ba90a0245
7
- data.tar.gz: 14c65a1799a797b9f9cd5d3714a7971202fd7cdc1c1a6280661e9887a9414b106424f0a5fed1f71a8a3767bcc847d4894b8e72f8aacc7c8747e3f21fa6d11b09
6
+ metadata.gz: c1c752cf3a8621dfdc24f10a86389bfc093b244743b41a8acac636c8e287051c39c9d244a8fda7770042f0a205acbdd9f582dd08ff883102faf8e9875015f035
7
+ data.tar.gz: fdbefd6e8555f33fed3ab535d0f7294321ea84aa6c3ddd3da0920a12b76385f4682287ed3273f6a35c333cfe20f6c1ce4324cdb172b60fb00e2cf3431abeb0b0
data/README.md CHANGED
@@ -1,12 +1,8 @@
1
- # [HireFire](http://hirefire.io/) - Dyno management for Heroku
1
+ ## [HireFire](http://hirefire.io/) - Autoscaling for your Heroku dynos
2
2
 
3
- HireFire is a hosted service that manages / autoscales your [Heroku](http://heroku.com/) dynos.
3
+ Load-based scaling, schedule-based scaling, dyno crash recovery, for [Heroku](http://heroku.com/) web- and worker dynos.
4
4
 
5
- It supports the following stacks:
6
-
7
- * Celadon Cedar
8
- * Badious Bamboo
9
- * Argent Aspen
5
+ ---
10
6
 
11
7
  It supports practically any worker library. We provide out-of-the-box support for:
12
8
 
@@ -74,9 +70,8 @@ dj_worker: QUEUES=encode,compress bundle exec rake jobs:work
74
70
 
75
71
  Now that HireFire will scale both of the these dyno types based on their individual queue sizes. To customize how they scale, log in to the HireFire web interface.
76
72
 
77
- Visit the [official website](http://hirefire.io/) for more information!
73
+ Visit the [official website](http://www.hirefire.io/) for more information!
78
74
 
79
75
  ### License
80
76
 
81
77
  hirefire-resource is released under the Apache 2.0 license. See LICENSE.
82
-
@@ -2,13 +2,13 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "hirefire-resource"
5
- gem.version = "0.3.4"
5
+ gem.version = "0.3.5"
6
6
  gem.platform = Gem::Platform::RUBY
7
7
  gem.authors = "Michael van Rooijen"
8
8
  gem.email = "michael@hirefire.io"
9
- gem.homepage = "http://hirefire.io/"
10
- gem.summary = "Dyno management for Heroku"
11
- gem.description = "HireFire enables you to auto-scale your dynos, schedule capacity during specific times of the week, and recover crashed processes."
9
+ gem.homepage = "http://www.hirefire.io"
10
+ gem.summary = "Autoscaling for your Heroku dynos"
11
+ gem.description = "Load-based scaling, schedule-based scaling, dyno crash recovery, for web- and worker dynos."
12
12
  gem.licenses = ["Apache License"]
13
13
 
14
14
  gem.files = %x[git ls-files].split("\n")
@@ -36,8 +36,9 @@ module HireFire
36
36
  memo
37
37
  end
38
38
 
39
+ i = ::Sidekiq::VERSION >= "3.0.0" ? 2 : 1
39
40
  in_progress = ::Sidekiq::Workers.new.inject(0) do |memo, job|
40
- memo += 1 if queues.include?(job[2]["queue"]) && job[2]["run_at"] <= Time.now.to_i
41
+ memo += 1 if queues.include?(job[i]["queue"]) && job[i]["run_at"] <= Time.now.to_i
41
42
  memo
42
43
  end
43
44
 
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hirefire-resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van Rooijen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-07 00:00:00.000000000 Z
11
+ date: 2015-02-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: HireFire enables you to auto-scale your dynos, schedule capacity during
14
- specific times of the week, and recover crashed processes.
13
+ description: Load-based scaling, schedule-based scaling, dyno crash recovery, for
14
+ web- and worker dynos.
15
15
  email: michael@hirefire.io
16
16
  executables:
17
17
  - hirefire
@@ -36,7 +36,7 @@ files:
36
36
  - lib/hirefire/middleware.rb
37
37
  - lib/hirefire/railtie.rb
38
38
  - lib/hirefire/resource.rb
39
- homepage: http://hirefire.io/
39
+ homepage: http://www.hirefire.io
40
40
  licenses:
41
41
  - Apache License
42
42
  metadata: {}
@@ -56,9 +56,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  requirements: []
58
58
  rubyforge_project:
59
- rubygems_version: 2.2.2
59
+ rubygems_version: 2.4.5
60
60
  signing_key:
61
61
  specification_version: 4
62
- summary: Dyno management for Heroku
62
+ summary: Autoscaling for your Heroku dynos
63
63
  test_files: []
64
64
  has_rdoc: