delayed_job_extras 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,9 +29,8 @@ module Delayed
29
29
  RAILS_DEFAULT_LOGGER
30
30
  end
31
31
 
32
- def enqueue(options = {})
33
- options = {:priority => self.priority}.merge(options)
34
- Delayed::Job.enqueue(self, options)
32
+ def enqueue(priority = self.priority, run_at = Time.now)
33
+ Delayed::Job.enqueue(self, priority, run_at)
35
34
  end
36
35
 
37
36
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delayed_job_extras
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-11 00:00:00 -04:00
12
+ date: 2009-09-12 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15