activequeue 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/active_queue/job.rb +4 -1
  2. metadata +3 -3
@@ -16,7 +16,7 @@ module ActiveQueue
16
16
  def enqueue
17
17
  @queue_adapter.enqueue(self.class, options)
18
18
  end
19
- def perform(options = nil)
19
+ def self.perform(options = nil)
20
20
  success = true
21
21
  begin
22
22
  @value.perform(options)
@@ -25,6 +25,9 @@ module ActiveQueue
25
25
  end
26
26
  success
27
27
  end
28
+ def perform(options = nil)
29
+ self.perform(options)
30
+ end
28
31
  def adapters
29
32
  { "resque" => ActiveQueue::Adapter::ResqueAdapter,
30
33
  "delayed" => ActiveQueue::Adapter::DelayedJobAdapter }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 8
9
- version: 0.0.8
8
+ - 9
9
+ version: 0.0.9
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matthew Jording
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-19 00:00:00 -04:00
17
+ date: 2010-05-20 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies: []
20
20