activequeue 0.1.0 → 0.1.1

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 +1 -4
  2. metadata +2 -2
@@ -16,7 +16,7 @@ module ActiveQueue
16
16
  def enqueue
17
17
  @queue_adapter.enqueue(self.class, options)
18
18
  end
19
- def self.perform(options = nil)
19
+ def perform(options = nil)
20
20
  success = true
21
21
  begin
22
22
  @value.perform(options)
@@ -25,9 +25,6 @@ module ActiveQueue
25
25
  end
26
26
  success
27
27
  end
28
- def perform(options = nil)
29
- self.perform(options)
30
- end
31
28
  def adapters
32
29
  { "resque" => ActiveQueue::Adapter::ResqueAdapter,
33
30
  "delayed" => ActiveQueue::Adapter::DelayedJobAdapter,
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matthew Jording