hirefire-resource 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "hirefire-resource"
5
- gem.version = "0.2.1"
5
+ gem.version = "0.2.2"
6
6
  gem.platform = Gem::Platform::RUBY
7
7
  gem.authors = "Michael van Rooijen"
8
8
  gem.email = "michael@hirefire.io"
@@ -45,7 +45,7 @@ module HireFire
45
45
  when :active_record_2
46
46
  conditions = ["run_at <= ? AND failed_at is NULL", Time.now.utc]
47
47
  # There is no queue column in delayed_job <= 2.x
48
- c = Delayed::Job.all(:conditions => conditions)
48
+ c = ::Delayed::Job.all(:conditions => conditions)
49
49
  c.count
50
50
  when :mongoid
51
51
  c = ::Delayed::Job
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael van Rooijen
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2013-09-25 00:00:00 +02:00
17
+ date: 2013-09-26 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies: []
20
20