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 CHANGED
@@ -1 +1 @@
1
- 2.0.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
- klass.singleton_class.class_eval "def multi_step_task; @@task ||= MultiStepTask.find('#{task_id}'); end"
109
- klass.singleton_class.class_eval "def multi_step_task_id; @@task_id ||= '#{task_id}'; end"
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
 
@@ -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.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-06-14"
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.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-06-14 00:00:00.000000000Z
13
+ date: 2012-09-13 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
17
- requirement: &2169769520 !ruby/object:Gem::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: *2169769520
25
+ version_requirements: *2151907460
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: redis-namespace
28
- requirement: &2169768960 !ruby/object:Gem::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: *2169768960
36
+ version_requirements: *2151904820
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: yajl-ruby
39
- requirement: &2169768480 !ruby/object:Gem::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: *2169768480
47
+ version_requirements: *2151902620
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: resque
50
- requirement: &2169768000 !ruby/object:Gem::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: *2169768000
58
+ version_requirements: *2151899640
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: resque-fairly
61
- requirement: &2169767520 !ruby/object:Gem::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: *2169767520
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: []