hirefireapp 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/hirefireapp.gemspec CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |gem|
4
4
 
5
5
  # General configuration / information
6
6
  gem.name = 'hirefireapp'
7
- gem.version = '0.0.7'
7
+ gem.version = '0.0.8'
8
8
  gem.platform = Gem::Platform::RUBY
9
9
  gem.authors = 'Michael van Rooijen'
10
10
  gem.email = 'meskyanichi@gmail.com'
@@ -67,6 +67,7 @@ module HireFireApp
67
67
  count_resque
68
68
  end
69
69
  rescue => error
70
+ puts error
70
71
  nil
71
72
  end
72
73
  end
@@ -104,6 +105,10 @@ module HireFireApp
104
105
  :failed_at => nil,
105
106
  :run_at.lte => Time.now
106
107
  ).count
108
+ elsif defined?(DataMapper) and backend?(/DataMapper/)
109
+ Delayed::Job.count(
110
+ :failed_at => nil,
111
+ :run_at.lte => Time.now)
107
112
  end
108
113
  end
109
114
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hirefireapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
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-03-02 00:00:00.000000000 Z
12
+ date: 2012-05-14 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: HireFireApp.com - The Heroku Process Manager - Autoscaling your web and
15
15
  worker dynos saving you time and money!