delayed_job_extras 0.9.3 → 0.9.4

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.
@@ -1,14 +1,19 @@
1
- module Delayed
2
- class Job
1
+ unless defined?('DELAYED_JOB_TEST_ENHANCEMENTS')
2
+
3
+ module Delayed
4
+ class Job
3
5
 
4
- class << self
5
- def enqueue_with_work_off(obj, *args)
6
- job = enqueue_without_work_off(obj, *args)
7
- job.invoke_job
8
- return job
6
+ class << self
7
+ def enqueue_with_work_off(obj, *args)
8
+ job = enqueue_without_work_off(obj, *args)
9
+ job.invoke_job
10
+ return job
11
+ end
12
+ alias_method_chain :enqueue, :work_off
9
13
  end
10
- alias_method_chain :enqueue, :work_off
11
- end
12
14
 
13
- end
14
- end
15
+ end # Job
16
+ end # Delayed
17
+
18
+ DELAYED_JOB_TEST_ENHANCEMENTS = 1
19
+ end # unless defined?('DELAYED_JOB_TEST_ENHANCEMENTS')
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.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates