resque_ui 3.2.3 → 3.2.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.
- data/History.txt +5 -0
- data/VERSION.yml +1 -1
- data/app/views/resque/cleaner_list.html.erb +1 -1
- data/lib/resque_ui.rb +1 -0
- data/lib/resque_ui/overrides/resque/failure/redis.rb +11 -0
- data/rdoc/Object.html +147 -160
- data/rdoc/Redis.html +185 -0
- data/rdoc/Resque.html +148 -186
- data/rdoc/Resque/ChainedJobWithStatus.html +195 -214
- data/rdoc/Resque/Failure.html +134 -0
- data/rdoc/Resque/Failure/Redis.html +187 -0
- data/rdoc/Resque/Job.html +149 -162
- data/rdoc/Resque/JobWithStatus.html +351 -390
- data/rdoc/Resque/Status.html +265 -293
- data/rdoc/Resque/Worker.html +758 -851
- data/rdoc/ResqueScheduler.html +277 -306
- data/rdoc/ResqueUi.html +114 -136
- data/rdoc/ResqueUi/Cap.html +118 -128
- data/rdoc/ResqueUi/Engine.html +118 -128
- data/rdoc/created.rid +3 -2
- data/rdoc/images/add.png +0 -0
- data/rdoc/images/delete.png +0 -0
- data/rdoc/images/tag_blue.png +0 -0
- data/rdoc/images/transparent.png +0 -0
- data/rdoc/index.html +78 -166
- data/rdoc/js/darkfish.js +99 -62
- data/rdoc/js/jquery.js +15 -29
- data/rdoc/js/navigation.js +142 -0
- data/rdoc/js/search.js +94 -0
- data/rdoc/js/search_index.js +1 -0
- data/rdoc/js/searcher.js +228 -0
- data/rdoc/rdoc.css +119 -339
- data/rdoc/table_of_contents.html +196 -0
- data/resque_ui.gemspec +15 -2
- metadata +15 -2
@@ -0,0 +1,134 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>Module: Resque::Failure</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "../";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="module">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="../index.html">Home</a>
|
28
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>lib/resque_ui/overrides/resque/failure/redis.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<div id="project-metadata">
|
65
|
+
|
66
|
+
<nav id="classindex-section" class="section project-section">
|
67
|
+
<h3 class="section-header">Class and Module Index</h3>
|
68
|
+
|
69
|
+
<ul class="link-list">
|
70
|
+
|
71
|
+
<li><a href="../Resque.html">Resque</a>
|
72
|
+
|
73
|
+
<li><a href="../Resque/ChainedJobWithStatus.html">Resque::ChainedJobWithStatus</a>
|
74
|
+
|
75
|
+
<li><a href="../Resque/Failure.html">Resque::Failure</a>
|
76
|
+
|
77
|
+
<li><a href="../Resque/Failure/Redis.html">Resque::Failure::Redis</a>
|
78
|
+
|
79
|
+
<li><a href="../Resque/Job.html">Resque::Job</a>
|
80
|
+
|
81
|
+
<li><a href="../Resque/JobWithStatus.html">Resque::JobWithStatus</a>
|
82
|
+
|
83
|
+
<li><a href="../Resque/Status.html">Resque::Status</a>
|
84
|
+
|
85
|
+
<li><a href="../Resque/Worker.html">Resque::Worker</a>
|
86
|
+
|
87
|
+
<li><a href="../ResqueUi.html">ResqueUi</a>
|
88
|
+
|
89
|
+
<li><a href="../ResqueUi/Cap.html">ResqueUi::Cap</a>
|
90
|
+
|
91
|
+
<li><a href="../ResqueUi/Engine.html">ResqueUi::Engine</a>
|
92
|
+
|
93
|
+
<li><a href="../Object.html">Object</a>
|
94
|
+
|
95
|
+
<li><a href="../ResqueScheduler.html">ResqueScheduler</a>
|
96
|
+
|
97
|
+
</ul>
|
98
|
+
</nav>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
</nav>
|
102
|
+
|
103
|
+
<div id="documentation">
|
104
|
+
<h1 class="module">module Resque::Failure</h1>
|
105
|
+
|
106
|
+
<div id="description" class="description">
|
107
|
+
|
108
|
+
</div><!-- description -->
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
<!-- Methods -->
|
123
|
+
|
124
|
+
</section><!-- 5Buntitled-5D -->
|
125
|
+
|
126
|
+
</div><!-- documentation -->
|
127
|
+
|
128
|
+
|
129
|
+
<footer id="validator-badges">
|
130
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
131
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
|
132
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
133
|
+
</footer>
|
134
|
+
|
@@ -0,0 +1,187 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>Class: Resque::Failure::Redis</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "../../";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="class">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="../../index.html">Home</a>
|
28
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>lib/resque_ui/overrides/resque/failure/redis.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<nav id="parent-class-section" class="section">
|
60
|
+
<h3 class="section-header">Parent</h3>
|
61
|
+
|
62
|
+
<p class="link"><a href="../../Object.html">Object</a>
|
63
|
+
|
64
|
+
</nav>
|
65
|
+
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<nav id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list">
|
72
|
+
|
73
|
+
<li><a href="#method-i-filter_backtrace">#filter_backtrace</a>
|
74
|
+
|
75
|
+
</ul>
|
76
|
+
</nav>
|
77
|
+
|
78
|
+
</div>
|
79
|
+
|
80
|
+
<div id="project-metadata">
|
81
|
+
|
82
|
+
<nav id="classindex-section" class="section project-section">
|
83
|
+
<h3 class="section-header">Class and Module Index</h3>
|
84
|
+
|
85
|
+
<ul class="link-list">
|
86
|
+
|
87
|
+
<li><a href="../../Resque.html">Resque</a>
|
88
|
+
|
89
|
+
<li><a href="../../Resque/ChainedJobWithStatus.html">Resque::ChainedJobWithStatus</a>
|
90
|
+
|
91
|
+
<li><a href="../../Resque/Failure.html">Resque::Failure</a>
|
92
|
+
|
93
|
+
<li><a href="../../Resque/Failure/Redis.html">Resque::Failure::Redis</a>
|
94
|
+
|
95
|
+
<li><a href="../../Resque/Job.html">Resque::Job</a>
|
96
|
+
|
97
|
+
<li><a href="../../Resque/JobWithStatus.html">Resque::JobWithStatus</a>
|
98
|
+
|
99
|
+
<li><a href="../../Resque/Status.html">Resque::Status</a>
|
100
|
+
|
101
|
+
<li><a href="../../Resque/Worker.html">Resque::Worker</a>
|
102
|
+
|
103
|
+
<li><a href="../../ResqueUi.html">ResqueUi</a>
|
104
|
+
|
105
|
+
<li><a href="../../ResqueUi/Cap.html">ResqueUi::Cap</a>
|
106
|
+
|
107
|
+
<li><a href="../../ResqueUi/Engine.html">ResqueUi::Engine</a>
|
108
|
+
|
109
|
+
<li><a href="../../Object.html">Object</a>
|
110
|
+
|
111
|
+
<li><a href="../../ResqueScheduler.html">ResqueScheduler</a>
|
112
|
+
|
113
|
+
</ul>
|
114
|
+
</nav>
|
115
|
+
|
116
|
+
</div>
|
117
|
+
</nav>
|
118
|
+
|
119
|
+
<div id="documentation">
|
120
|
+
<h1 class="class">class Resque::Failure::Redis</h1>
|
121
|
+
|
122
|
+
<div id="description" class="description">
|
123
|
+
|
124
|
+
</div><!-- description -->
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
<!-- Methods -->
|
139
|
+
|
140
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
141
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
142
|
+
|
143
|
+
|
144
|
+
<div id="method-i-filter_backtrace" class="method-detail ">
|
145
|
+
|
146
|
+
<div class="method-heading">
|
147
|
+
<span class="method-name">filter_backtrace</span><span
|
148
|
+
class="method-args">(backtrace)</span>
|
149
|
+
<span class="method-click-advice">click to toggle source</span>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
|
153
|
+
<div class="method-description">
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
<div class="method-source-code" id="filter_backtrace-source">
|
160
|
+
<pre><span class="ruby-comment"># File lib/resque_ui/overrides/resque/failure/redis.rb, line 5</span>
|
161
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">filter_backtrace</span>(<span class="ruby-identifier">backtrace</span>)
|
162
|
+
<span class="ruby-identifier">index</span> = <span class="ruby-identifier">backtrace</span>.<span class="ruby-identifier">index</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">item</span><span class="ruby-operator">|</span> <span class="ruby-identifier">item</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">'/lib/resque_ui/overrides/resque/job.rb'</span>) }
|
163
|
+
<span class="ruby-identifier">backtrace</span>.<span class="ruby-identifier">first</span>(<span class="ruby-identifier">index</span>.<span class="ruby-identifier">to_i</span>)
|
164
|
+
<span class="ruby-keyword">end</span></pre>
|
165
|
+
</div><!-- filter_backtrace-source -->
|
166
|
+
|
167
|
+
</div>
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
</div><!-- filter_backtrace-method -->
|
173
|
+
|
174
|
+
|
175
|
+
</section><!-- public-instance-method-details -->
|
176
|
+
|
177
|
+
</section><!-- 5Buntitled-5D -->
|
178
|
+
|
179
|
+
</div><!-- documentation -->
|
180
|
+
|
181
|
+
|
182
|
+
<footer id="validator-badges">
|
183
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
184
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
|
185
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
186
|
+
</footer>
|
187
|
+
|
data/rdoc/Resque/Job.html
CHANGED
@@ -1,176 +1,166 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
5
4
|
<head>
|
6
|
-
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
7
6
|
|
8
|
-
|
7
|
+
<title>Class: Resque::Job</title>
|
9
8
|
|
10
|
-
|
9
|
+
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
<script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "../";
|
13
|
+
</script>
|
16
14
|
|
17
|
-
|
18
|
-
<
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
|
19
21
|
|
20
|
-
<div id="metadata">
|
21
|
-
<div id="home-metadata">
|
22
|
-
<div id="home-section" class="section">
|
23
|
-
<h3 class="section-header">
|
24
|
-
<a href="../index.html">Home</a>
|
25
|
-
<a href="../index.html#classes">Classes</a>
|
26
|
-
<a href="../index.html#methods">Methods</a>
|
27
|
-
</h3>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
|
31
|
-
<div id="file-metadata">
|
32
|
-
<div id="file-list-section" class="section">
|
33
|
-
<h3 class="section-header">In Files</h3>
|
34
|
-
<div class="section-body">
|
35
|
-
<ul>
|
36
|
-
|
37
|
-
<li><a href="../lib/resque_ui/overrides/resque/job_rb.html?TB_iframe=true&height=550&width=785"
|
38
|
-
class="thickbox" title="lib/resque_ui/overrides/resque/job.rb">lib/resque_ui/overrides/resque/job.rb</a></li>
|
39
|
-
|
40
|
-
</ul>
|
41
|
-
</div>
|
42
|
-
</div>
|
43
22
|
|
44
|
-
|
45
|
-
|
23
|
+
<body id="top" class="class">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="../index.html">Home</a>
|
28
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>lib/resque_ui/overrides/resque/job.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
46
53
|
|
47
|
-
|
48
|
-
|
49
|
-
<!-- Parent Class -->
|
50
|
-
<div id="parent-class-section" class="section">
|
51
|
-
<h3 class="section-header">Parent</h3>
|
52
|
-
|
53
|
-
<p class="link"><a href="../Object.html">Object</a></p>
|
54
|
-
|
55
|
-
</div>
|
56
|
-
|
54
|
+
|
55
|
+
</div>
|
57
56
|
|
58
|
-
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<nav id="parent-class-section" class="section">
|
60
|
+
<h3 class="section-header">Parent</h3>
|
61
|
+
|
62
|
+
<p class="link"><a href="../Object.html">Object</a>
|
63
|
+
|
64
|
+
</nav>
|
59
65
|
|
60
|
-
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<nav id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
61
70
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
<li><a href="#method-i-perform">#perform</a></li>
|
69
|
-
|
70
|
-
</ul>
|
71
|
-
</div>
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
</div>
|
76
|
-
|
77
|
-
<div id="project-metadata">
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<div id="classindex-section" class="section project-section">
|
82
|
-
<h3 class="section-header">Class/Module Index
|
83
|
-
<span class="search-toggle"><img src="../images/find.png"
|
84
|
-
height="16" width="16" alt="[+]"
|
85
|
-
title="show/hide quicksearch" /></span></h3>
|
86
|
-
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
87
|
-
<fieldset>
|
88
|
-
<legend>Quicksearch</legend>
|
89
|
-
<input type="text" name="quicksearch" value=""
|
90
|
-
class="quicksearch-field" />
|
91
|
-
</fieldset>
|
92
|
-
</form>
|
93
|
-
|
94
|
-
<ul class="link-list">
|
95
|
-
|
96
|
-
<li><a href="../Resque.html">Resque</a></li>
|
97
|
-
|
98
|
-
<li><a href="../Resque/ChainedJobWithStatus.html">Resque::ChainedJobWithStatus</a></li>
|
99
|
-
|
100
|
-
<li><a href="../Resque/Job.html">Resque::Job</a></li>
|
101
|
-
|
102
|
-
<li><a href="../Resque/JobWithStatus.html">Resque::JobWithStatus</a></li>
|
103
|
-
|
104
|
-
<li><a href="../Resque/Status.html">Resque::Status</a></li>
|
105
|
-
|
106
|
-
<li><a href="../Resque/Worker.html">Resque::Worker</a></li>
|
107
|
-
|
108
|
-
<li><a href="../ResqueUi.html">ResqueUi</a></li>
|
109
|
-
|
110
|
-
<li><a href="../ResqueUi/Cap.html">ResqueUi::Cap</a></li>
|
111
|
-
|
112
|
-
<li><a href="../ResqueUi/Engine.html">ResqueUi::Engine</a></li>
|
113
|
-
|
114
|
-
<li><a href="../Object.html">Object</a></li>
|
115
|
-
|
116
|
-
<li><a href="../ResqueScheduler.html">ResqueScheduler</a></li>
|
117
|
-
|
118
|
-
</ul>
|
119
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
120
|
-
</div>
|
71
|
+
<ul class="link-list">
|
72
|
+
|
73
|
+
<li><a href="#method-i-perform">#perform</a>
|
74
|
+
|
75
|
+
</ul>
|
76
|
+
</nav>
|
121
77
|
|
122
|
-
|
123
|
-
</div>
|
124
78
|
</div>
|
125
79
|
|
126
|
-
<div id="
|
127
|
-
|
80
|
+
<div id="project-metadata">
|
81
|
+
|
82
|
+
<nav id="classindex-section" class="section project-section">
|
83
|
+
<h3 class="section-header">Class and Module Index</h3>
|
84
|
+
|
85
|
+
<ul class="link-list">
|
86
|
+
|
87
|
+
<li><a href="../Resque.html">Resque</a>
|
88
|
+
|
89
|
+
<li><a href="../Resque/ChainedJobWithStatus.html">Resque::ChainedJobWithStatus</a>
|
90
|
+
|
91
|
+
<li><a href="../Resque/Failure.html">Resque::Failure</a>
|
92
|
+
|
93
|
+
<li><a href="../Resque/Failure/Redis.html">Resque::Failure::Redis</a>
|
94
|
+
|
95
|
+
<li><a href="../Resque/Job.html">Resque::Job</a>
|
96
|
+
|
97
|
+
<li><a href="../Resque/JobWithStatus.html">Resque::JobWithStatus</a>
|
98
|
+
|
99
|
+
<li><a href="../Resque/Status.html">Resque::Status</a>
|
100
|
+
|
101
|
+
<li><a href="../Resque/Worker.html">Resque::Worker</a>
|
102
|
+
|
103
|
+
<li><a href="../ResqueUi.html">ResqueUi</a>
|
104
|
+
|
105
|
+
<li><a href="../ResqueUi/Cap.html">ResqueUi::Cap</a>
|
106
|
+
|
107
|
+
<li><a href="../ResqueUi/Engine.html">ResqueUi::Engine</a>
|
108
|
+
|
109
|
+
<li><a href="../Object.html">Object</a>
|
110
|
+
|
111
|
+
<li><a href="../ResqueScheduler.html">ResqueScheduler</a>
|
112
|
+
|
113
|
+
</ul>
|
114
|
+
</nav>
|
115
|
+
|
116
|
+
</div>
|
117
|
+
</nav>
|
128
118
|
|
129
|
-
|
130
|
-
|
131
|
-
</div><!-- description -->
|
119
|
+
<div id="documentation">
|
120
|
+
<h1 class="class">class Resque::Job</h1>
|
132
121
|
|
122
|
+
<div id="description" class="description">
|
133
123
|
|
124
|
+
</div><!-- description -->
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
134
130
|
|
135
|
-
|
136
|
-
<div id="5Buntitled-5D" class="documentation-section">
|
137
|
-
|
138
131
|
|
139
|
-
|
132
|
+
|
140
133
|
|
141
|
-
|
134
|
+
|
142
135
|
|
143
|
-
|
136
|
+
|
144
137
|
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
138
|
+
<!-- Methods -->
|
139
|
+
|
140
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
141
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
149
142
|
|
150
|
-
|
151
|
-
|
152
|
-
|
143
|
+
|
144
|
+
<div id="method-i-perform" class="method-detail ">
|
145
|
+
|
146
|
+
<div class="method-heading">
|
147
|
+
<span class="method-name">perform</span><span
|
148
|
+
class="method-args">()</span>
|
149
|
+
<span class="method-click-advice">click to toggle source</span>
|
150
|
+
</div>
|
151
|
+
|
153
152
|
|
153
|
+
<div class="method-description">
|
154
154
|
|
155
|
-
<
|
156
|
-
|
157
|
-
class="method-args">()</span>
|
158
|
-
<span class="method-click-advice">click to toggle source</span>
|
159
|
-
</div>
|
160
|
-
|
161
|
-
|
162
|
-
<div class="method-description">
|
163
|
-
|
164
|
-
<p>Attempts to perform the work represented by this job instance. Calls <a
|
165
|
-
href="Job.html#method-i-perform">perform</a> on the class given in the
|
155
|
+
<p>Attempts to perform the work represented by this job instance. Calls <a
|
156
|
+
href="Job.html#method-i-perform">#perform</a> on the class given in the
|
166
157
|
payload with the arguments given in the payload. A block is sent so a
|
167
158
|
message can be yielded back to be set in the worker.</p>
|
168
|
-
|
159
|
+
|
169
160
|
|
170
|
-
|
171
|
-
|
172
|
-
<pre>
|
173
|
-
<span class="ruby-comment"># File lib/resque_ui/overrides/resque/job.rb, line 7</span>
|
161
|
+
|
162
|
+
<div class="method-source-code" id="perform-source">
|
163
|
+
<pre><span class="ruby-comment"># File lib/resque_ui/overrides/resque/job.rb, line 7</span>
|
174
164
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">perform</span>
|
175
165
|
<span class="ruby-identifier">job</span> = <span class="ruby-identifier">payload_class</span>
|
176
166
|
<span class="ruby-identifier">job_args</span> = <span class="ruby-identifier">args</span> <span class="ruby-operator">||</span> []
|
@@ -238,29 +228,26 @@ message can be yielded back to be set in the worker.</p>
|
|
238
228
|
<span class="ruby-identifier">raise</span> <span class="ruby-identifier">e</span>
|
239
229
|
<span class="ruby-keyword">end</span>
|
240
230
|
<span class="ruby-keyword">end</span></pre>
|
241
|
-
|
242
|
-
|
243
|
-
</div>
|
244
|
-
|
231
|
+
</div><!-- perform-source -->
|
245
232
|
|
233
|
+
</div>
|
246
234
|
|
247
|
-
|
248
|
-
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
</div><!-- perform-method -->
|
249
239
|
|
250
|
-
|
251
|
-
</div><!-- public-instance-method-details -->
|
252
240
|
|
253
|
-
</
|
241
|
+
</section><!-- public-instance-method-details -->
|
254
242
|
|
243
|
+
</section><!-- 5Buntitled-5D -->
|
255
244
|
|
256
|
-
|
245
|
+
</div><!-- documentation -->
|
257
246
|
|
258
|
-
<div id="validator-badges">
|
259
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
260
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
261
|
-
Rdoc Generator</a> 2</small>.</p>
|
262
|
-
</div>
|
263
247
|
|
264
|
-
|
265
|
-
</
|
248
|
+
<footer id="validator-badges">
|
249
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
250
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
|
251
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
252
|
+
</footer>
|
266
253
|
|