resque-multi-step 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/resque/plugins/multi_step_task.rb +4 -2
- data/resque-multi-step.gemspec +2 -2
- metadata +12 -12
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.1
|
@@ -105,8 +105,10 @@ module Resque
|
|
105
105
|
|
106
106
|
# perform the task
|
107
107
|
klass = constantize(job_module_name)
|
108
|
-
|
109
|
-
klass.singleton_class.class_eval "def
|
108
|
+
|
109
|
+
klass.singleton_class.class_eval "def multi_step_task; MultiStepTask.find(multi_step_task_id); end" unless
|
110
|
+
klass.singleton_class.method_defined? :multi_step_task
|
111
|
+
klass.singleton_class.class_eval "def multi_step_task_id; '#{task_id}'; end"
|
110
112
|
|
111
113
|
klass.perform(*args)
|
112
114
|
|
data/resque-multi-step.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "resque-multi-step"
|
8
|
-
s.version = "2.0.
|
8
|
+
s.version = "2.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Peter Williams", "Morgan Whitney"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-09-13"
|
13
13
|
s.description = "Provides multi-step tasks with finalization and progress tracking"
|
14
14
|
s.email = "pezra@barelyenough.org"
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-multi-step
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-09-13 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
17
|
-
requirement: &
|
17
|
+
requirement: &2151907460 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *2151907460
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: redis-namespace
|
28
|
-
requirement: &
|
28
|
+
requirement: &2151904820 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *2151904820
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: yajl-ruby
|
39
|
-
requirement: &
|
39
|
+
requirement: &2151902620 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: '0'
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *2151902620
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: resque
|
50
|
-
requirement: &
|
50
|
+
requirement: &2151899640 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: '0'
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *2151899640
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: resque-fairly
|
61
|
-
requirement: &
|
61
|
+
requirement: &2151897360 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ! '>='
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
version: '0'
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *2151897360
|
70
70
|
description: Provides multi-step tasks with finalization and progress tracking
|
71
71
|
email: pezra@barelyenough.org
|
72
72
|
executables: []
|