hirefireapp 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hirefireapp.gemspec +1 -1
- data/lib/hirefireapp/middleware.rb +3 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f77f454e1a4cbf917e951745f223cb11b71dbc52
|
4
|
+
data.tar.gz: a325cea5826ed2f9da7e3e049e960968de71d55a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4c918545f57406bacb79f2fa7bd8002332d2e55fbd467bbd105c28ed57083351abf3bf01cdfc29459d8e49560096903ef854239ab83da52dd399637f5294378
|
7
|
+
data.tar.gz: 1b8771df7f8b519eb3473dc634c8c114d12bb088d10ac28bbaa1aa90133c143282f47377d17e2015b69910542c60aec8b74ffe7b42840bcfd8b56bb308e595e0
|
data/hirefireapp.gemspec
CHANGED
@@ -91,11 +91,9 @@ module HireFireApp
|
|
91
91
|
where(:failed_at => nil).
|
92
92
|
where('run_at <= ?', Time.now).count
|
93
93
|
else
|
94
|
-
Delayed::Job.
|
95
|
-
:conditions => [
|
96
|
-
|
97
|
-
]
|
98
|
-
).count
|
94
|
+
Delayed::Job.count(
|
95
|
+
:id, :conditions => ["failed_at IS NULL and run_at <= ?", Time.now.utc]
|
96
|
+
)
|
99
97
|
end
|
100
98
|
elsif defined?(Mongoid) and backend?(/Mongoid/)
|
101
99
|
Delayed::Job.where(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hirefireapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
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: 2013-
|
11
|
+
date: 2013-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: HireFire.io - The Heroku Dyno Manager - Autoscaling your web and worker
|
14
14
|
dynos saving you time and money!
|