job_boss 0.5.0 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +39 -7
- data/bin/job_boss +4 -2
- data/doc/ActiveSupport/TestCase.html +106 -87
- data/doc/ActiveSupport.html +6 -0
- data/doc/CreateJobs.html +17 -5
- data/doc/DaemonTest.html +6 -0
- data/doc/Gemfile.html +128 -0
- data/doc/JobBoss/Boss.html +193 -144
- data/doc/JobBoss/Config.html +8 -2
- data/doc/JobBoss/Job.html +224 -166
- data/doc/JobBoss/Queuer.html +25 -11
- data/doc/JobBoss.html +9 -0
- data/doc/MIT-LICENSE.html +137 -0
- data/doc/MathJobs.html +6 -0
- data/doc/Penguin.html +223 -0
- data/doc/Rakefile.html +6 -0
- data/doc/SleepJobs.html +6 -0
- data/doc/StringJobs.html +7 -1
- data/doc/bin/job_boss.html +3 -1
- data/doc/created.rid +17 -11
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +12 -0
- data/doc/init_rb.html +54 -0
- data/doc/js/darkfish.js +116 -0
- data/doc/js/jquery.js +32 -0
- data/doc/js/quicksearch.js +114 -0
- data/doc/js/thickbox-compressed.js +10 -0
- data/doc/lib/job_boss/boss_rb.html +1 -1
- data/doc/lib/job_boss/config_rb.html +1 -1
- data/doc/lib/job_boss/job_rb.html +1 -1
- data/doc/lib/job_boss/queuer_rb.html +1 -1
- data/doc/lib/job_boss_rb.html +56 -0
- data/doc/lib/migrate_rb.html +1 -1
- data/doc/test/app_root/app/jobs/string_jobs_rb.html +1 -1
- data/doc/test/app_root/app/models/penguin_rb.html +52 -0
- data/doc/test/app_root/config/environment_rb.html +56 -0
- data/doc/test/test_helper_rb.html +3 -1
- data/doc/test/unit/job_test_rb.html +2 -4
- data/job_boss.gemspec +1 -1
- data/lib/job_boss/config.rb +2 -2
- data/lib/job_boss/job.rb +22 -2
- data/lib/job_boss/queuer.rb +10 -2
- data/lib/migrate.rb +6 -0
- data/test/app_root/app/models/penguin.rb +9 -0
- data/test/app_root/config/database.yml +3 -3
- data/test/app_root/config/environment.rb +3 -0
- data/test/test_helper.rb +6 -4
- data/test/unit/job_test.rb +33 -17
- metadata +38 -9
data/doc/JobBoss/Queuer.html
CHANGED
@@ -86,6 +86,10 @@
|
|
86
86
|
<h3 class="section-header">Files</h3>
|
87
87
|
<ul>
|
88
88
|
|
89
|
+
<li class="file"><a href="../Gemfile.html">Gemfile</a></li>
|
90
|
+
|
91
|
+
<li class="file"><a href="../MIT-LICENSE.html">MIT-LICENSE</a></li>
|
92
|
+
|
89
93
|
<li class="file"><a href="../Rakefile.html">Rakefile</a></li>
|
90
94
|
|
91
95
|
</ul>
|
@@ -127,6 +131,8 @@
|
|
127
131
|
|
128
132
|
<li><a href="../MathJobs.html">MathJobs</a></li>
|
129
133
|
|
134
|
+
<li><a href="../Penguin.html">Penguin</a></li>
|
135
|
+
|
130
136
|
<li><a href="../SleepJobs.html">SleepJobs</a></li>
|
131
137
|
|
132
138
|
<li><a href="../StringJobs.html">StringJobs</a></li>
|
@@ -200,18 +206,26 @@
|
|
200
206
|
21: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"Invalid action"</span>
|
201
207
|
22: <span class="ruby-keyword kw">end</span>
|
202
208
|
23: <span class="ruby-keyword kw">else</span>
|
203
|
-
24: <span class="ruby-comment cmt"># Check to see if there's a
|
209
|
+
24: <span class="ruby-comment cmt"># Check to see if there's a class</span>
|
204
210
|
25: <span class="ruby-keyword kw">begin</span>
|
205
|
-
26: <span class="ruby-
|
206
|
-
27:
|
207
|
-
28:
|
208
|
-
29:
|
209
|
-
30:
|
210
|
-
31:
|
211
|
-
32:
|
212
|
-
33:
|
213
|
-
34:
|
214
|
-
35:
|
211
|
+
26: <span class="ruby-comment cmt"># If we find a class that ends in "Jobs", we instanciate it and call an instance method</span>
|
212
|
+
27: <span class="ruby-ivar">@class</span> = <span class="ruby-constant">Kernel</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-node">"#{method_name.classify}Jobs"</span>).<span class="ruby-identifier">new</span>
|
213
|
+
28:
|
214
|
+
29: <span class="ruby-ivar">@controller</span> = <span class="ruby-identifier">method_name</span>
|
215
|
+
30: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">NameError</span>
|
216
|
+
31: <span class="ruby-keyword kw">begin</span>
|
217
|
+
32: <span class="ruby-comment cmt"># If we don't find a class that ends in "Jobs", we're going to call a class method</span>
|
218
|
+
33: <span class="ruby-ivar">@class</span> = <span class="ruby-constant">Kernel</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-node">"#{method_name.classify}"</span>)
|
219
|
+
34:
|
220
|
+
35: <span class="ruby-ivar">@controller</span> = <span class="ruby-identifier">method_name</span>
|
221
|
+
36: <span class="ruby-keyword kw">rescue</span>
|
222
|
+
37: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">"Invalid controller"</span>
|
223
|
+
38: <span class="ruby-keyword kw">end</span>
|
224
|
+
39: <span class="ruby-keyword kw">end</span>
|
225
|
+
40:
|
226
|
+
41: <span class="ruby-keyword kw">self</span>
|
227
|
+
42: <span class="ruby-keyword kw">end</span>
|
228
|
+
43: <span class="ruby-keyword kw">end</span></pre>
|
215
229
|
</div>
|
216
230
|
|
217
231
|
</div>
|
data/doc/JobBoss.html
CHANGED
@@ -50,6 +50,9 @@
|
|
50
50
|
<li><a href="./lib/job_boss/queuer_rb.html?TB_iframe=true&height=550&width=785"
|
51
51
|
class="thickbox" title="lib/job_boss/queuer.rb">lib/job_boss/queuer.rb</a></li>
|
52
52
|
|
53
|
+
<li><a href="./lib/job_boss_rb.html?TB_iframe=true&height=550&width=785"
|
54
|
+
class="thickbox" title="lib/job_boss.rb">lib/job_boss.rb</a></li>
|
55
|
+
|
53
56
|
</ul>
|
54
57
|
</div>
|
55
58
|
</div>
|
@@ -94,6 +97,10 @@
|
|
94
97
|
<h3 class="section-header">Files</h3>
|
95
98
|
<ul>
|
96
99
|
|
100
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
101
|
+
|
102
|
+
<li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
|
103
|
+
|
97
104
|
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
98
105
|
|
99
106
|
</ul>
|
@@ -135,6 +142,8 @@
|
|
135
142
|
|
136
143
|
<li><a href="./MathJobs.html">MathJobs</a></li>
|
137
144
|
|
145
|
+
<li><a href="./Penguin.html">Penguin</a></li>
|
146
|
+
|
138
147
|
<li><a href="./SleepJobs.html">SleepJobs</a></li>
|
139
148
|
|
140
149
|
<li><a href="./StringJobs.html">StringJobs</a></li>
|
@@ -0,0 +1,137 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: MIT-LICENSE [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="project-metadata">
|
36
|
+
|
37
|
+
|
38
|
+
<div id="fileindex-section" class="section project-section">
|
39
|
+
<h3 class="section-header">Files</h3>
|
40
|
+
<ul>
|
41
|
+
|
42
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
|
45
|
+
|
46
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
47
|
+
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
|
52
|
+
<div id="classindex-section" class="section project-section">
|
53
|
+
<h3 class="section-header">Class Index
|
54
|
+
<span class="search-toggle"><img src="./images/find.png"
|
55
|
+
height="16" width="16" alt="[+]"
|
56
|
+
title="show/hide quicksearch" /></span></h3>
|
57
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
58
|
+
<fieldset>
|
59
|
+
<legend>Quicksearch</legend>
|
60
|
+
<input type="text" name="quicksearch" value=""
|
61
|
+
class="quicksearch-field" />
|
62
|
+
</fieldset>
|
63
|
+
</form>
|
64
|
+
|
65
|
+
<ul class="link-list">
|
66
|
+
|
67
|
+
<li><a href="./JobBoss.html">JobBoss</a></li>
|
68
|
+
|
69
|
+
<li><a href="./JobBoss/Boss.html">JobBoss::Boss</a></li>
|
70
|
+
|
71
|
+
<li><a href="./JobBoss/Config.html">JobBoss::Config</a></li>
|
72
|
+
|
73
|
+
<li><a href="./JobBoss/Job.html">JobBoss::Job</a></li>
|
74
|
+
|
75
|
+
<li><a href="./JobBoss/Queuer.html">JobBoss::Queuer</a></li>
|
76
|
+
|
77
|
+
<li><a href="./ActiveSupport.html">ActiveSupport</a></li>
|
78
|
+
|
79
|
+
<li><a href="./ActiveSupport/TestCase.html">ActiveSupport::TestCase</a></li>
|
80
|
+
|
81
|
+
<li><a href="./CreateJobs.html">CreateJobs</a></li>
|
82
|
+
|
83
|
+
<li><a href="./DaemonTest.html">DaemonTest</a></li>
|
84
|
+
|
85
|
+
<li><a href="./MathJobs.html">MathJobs</a></li>
|
86
|
+
|
87
|
+
<li><a href="./Penguin.html">Penguin</a></li>
|
88
|
+
|
89
|
+
<li><a href="./SleepJobs.html">SleepJobs</a></li>
|
90
|
+
|
91
|
+
<li><a href="./StringJobs.html">StringJobs</a></li>
|
92
|
+
|
93
|
+
</ul>
|
94
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
95
|
+
</div>
|
96
|
+
|
97
|
+
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<div id="documentation">
|
102
|
+
<p>
|
103
|
+
Copyright © 2010 Brian Underwood
|
104
|
+
</p>
|
105
|
+
<p>
|
106
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
107
|
+
copy of this software and associated documentation files (the
|
108
|
+
“Software”), to deal in the Software without restriction,
|
109
|
+
including without limitation the rights to use, copy, modify, merge,
|
110
|
+
publish, distribute, sublicense, and/or sell copies of the Software, and to
|
111
|
+
permit persons to whom the Software is furnished to do so, subject to the
|
112
|
+
following conditions:
|
113
|
+
</p>
|
114
|
+
<p>
|
115
|
+
The above copyright notice and this permission notice shall be included in
|
116
|
+
all copies or substantial portions of the Software.
|
117
|
+
</p>
|
118
|
+
<p>
|
119
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
|
120
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
121
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
122
|
+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
123
|
+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
124
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
125
|
+
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
126
|
+
</p>
|
127
|
+
|
128
|
+
</div>
|
129
|
+
|
130
|
+
<div id="validator-badges">
|
131
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
132
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
133
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
134
|
+
</div>
|
135
|
+
</body>
|
136
|
+
</html>
|
137
|
+
|
data/doc/MathJobs.html
CHANGED
@@ -86,6 +86,10 @@
|
|
86
86
|
<h3 class="section-header">Files</h3>
|
87
87
|
<ul>
|
88
88
|
|
89
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
90
|
+
|
91
|
+
<li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
|
92
|
+
|
89
93
|
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
90
94
|
|
91
95
|
</ul>
|
@@ -127,6 +131,8 @@
|
|
127
131
|
|
128
132
|
<li><a href="./MathJobs.html">MathJobs</a></li>
|
129
133
|
|
134
|
+
<li><a href="./Penguin.html">Penguin</a></li>
|
135
|
+
|
130
136
|
<li><a href="./SleepJobs.html">SleepJobs</a></li>
|
131
137
|
|
132
138
|
<li><a href="./StringJobs.html">StringJobs</a></li>
|
data/doc/Penguin.html
ADDED
@@ -0,0 +1,223 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
7
|
+
|
8
|
+
<title>Class: Penguin</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
12
|
+
<script src="./js/jquery.js" type="text/javascript"
|
13
|
+
charset="utf-8"></script>
|
14
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
15
|
+
charset="utf-8"></script>
|
16
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
17
|
+
charset="utf-8"></script>
|
18
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
19
|
+
charset="utf-8"></script>
|
20
|
+
|
21
|
+
</head>
|
22
|
+
<body class="class">
|
23
|
+
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="file-metadata">
|
36
|
+
<div id="file-list-section" class="section">
|
37
|
+
<h3 class="section-header">In Files</h3>
|
38
|
+
<div class="section-body">
|
39
|
+
<ul>
|
40
|
+
|
41
|
+
<li><a href="./test/app_root/app/models/penguin_rb.html?TB_iframe=true&height=550&width=785"
|
42
|
+
class="thickbox" title="test/app_root/app/models/penguin.rb">test/app_root/app/models/penguin.rb</a></li>
|
43
|
+
|
44
|
+
</ul>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div id="class-metadata">
|
52
|
+
|
53
|
+
<!-- Parent Class -->
|
54
|
+
|
55
|
+
<div id="parent-class-section" class="section">
|
56
|
+
<h3 class="section-header">Parent</h3>
|
57
|
+
|
58
|
+
<p class="link">ActiveRecord::Base</p>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
|
62
|
+
|
63
|
+
<!-- Namespace Contents -->
|
64
|
+
|
65
|
+
|
66
|
+
<!-- Method Quickref -->
|
67
|
+
|
68
|
+
<div id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
70
|
+
<ul class="link-list">
|
71
|
+
|
72
|
+
<li><a href="#method-c-snooze">::snooze</a></li>
|
73
|
+
|
74
|
+
</ul>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
|
78
|
+
<!-- Included Modules -->
|
79
|
+
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div id="project-metadata">
|
83
|
+
|
84
|
+
|
85
|
+
<div id="fileindex-section" class="section project-section">
|
86
|
+
<h3 class="section-header">Files</h3>
|
87
|
+
<ul>
|
88
|
+
|
89
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
90
|
+
|
91
|
+
<li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
|
92
|
+
|
93
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
94
|
+
|
95
|
+
</ul>
|
96
|
+
</div>
|
97
|
+
|
98
|
+
|
99
|
+
<div id="classindex-section" class="section project-section">
|
100
|
+
<h3 class="section-header">Class Index
|
101
|
+
<span class="search-toggle"><img src="./images/find.png"
|
102
|
+
height="16" width="16" alt="[+]"
|
103
|
+
title="show/hide quicksearch" /></span></h3>
|
104
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
105
|
+
<fieldset>
|
106
|
+
<legend>Quicksearch</legend>
|
107
|
+
<input type="text" name="quicksearch" value=""
|
108
|
+
class="quicksearch-field" />
|
109
|
+
</fieldset>
|
110
|
+
</form>
|
111
|
+
|
112
|
+
<ul class="link-list">
|
113
|
+
|
114
|
+
<li><a href="./JobBoss.html">JobBoss</a></li>
|
115
|
+
|
116
|
+
<li><a href="./JobBoss/Boss.html">JobBoss::Boss</a></li>
|
117
|
+
|
118
|
+
<li><a href="./JobBoss/Config.html">JobBoss::Config</a></li>
|
119
|
+
|
120
|
+
<li><a href="./JobBoss/Job.html">JobBoss::Job</a></li>
|
121
|
+
|
122
|
+
<li><a href="./JobBoss/Queuer.html">JobBoss::Queuer</a></li>
|
123
|
+
|
124
|
+
<li><a href="./ActiveSupport.html">ActiveSupport</a></li>
|
125
|
+
|
126
|
+
<li><a href="./ActiveSupport/TestCase.html">ActiveSupport::TestCase</a></li>
|
127
|
+
|
128
|
+
<li><a href="./CreateJobs.html">CreateJobs</a></li>
|
129
|
+
|
130
|
+
<li><a href="./DaemonTest.html">DaemonTest</a></li>
|
131
|
+
|
132
|
+
<li><a href="./MathJobs.html">MathJobs</a></li>
|
133
|
+
|
134
|
+
<li><a href="./Penguin.html">Penguin</a></li>
|
135
|
+
|
136
|
+
<li><a href="./SleepJobs.html">SleepJobs</a></li>
|
137
|
+
|
138
|
+
<li><a href="./StringJobs.html">StringJobs</a></li>
|
139
|
+
|
140
|
+
</ul>
|
141
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
142
|
+
</div>
|
143
|
+
|
144
|
+
|
145
|
+
</div>
|
146
|
+
</div>
|
147
|
+
|
148
|
+
<div id="documentation">
|
149
|
+
<h1 class="class">Penguin</h1>
|
150
|
+
|
151
|
+
<div id="description">
|
152
|
+
|
153
|
+
</div>
|
154
|
+
|
155
|
+
<!-- Constants -->
|
156
|
+
|
157
|
+
|
158
|
+
<!-- Attributes -->
|
159
|
+
|
160
|
+
|
161
|
+
<!-- Methods -->
|
162
|
+
|
163
|
+
<div id="public-class-method-details" class="method-section section">
|
164
|
+
<h3 class="section-header">Public Class Methods</h3>
|
165
|
+
|
166
|
+
|
167
|
+
<div id="snooze-method" class="method-detail ">
|
168
|
+
<a name="method-c-snooze"></a>
|
169
|
+
|
170
|
+
<div class="method-heading">
|
171
|
+
|
172
|
+
<span class="method-name">snooze</span><span
|
173
|
+
class="method-args">(time)</span>
|
174
|
+
<span class="method-click-advice">click to toggle source</span>
|
175
|
+
|
176
|
+
</div>
|
177
|
+
|
178
|
+
<div class="method-description">
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
<div class="method-source-code"
|
185
|
+
id="snooze-source">
|
186
|
+
<pre>
|
187
|
+
<span class="ruby-comment cmt"># File test/app_root/app/models/penguin.rb, line 3</span>
|
188
|
+
3: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">snooze</span>(<span class="ruby-identifier">time</span>)
|
189
|
+
4: <span class="ruby-identifier">sleep</span>(<span class="ruby-identifier">time</span>)
|
190
|
+
5:
|
191
|
+
6: <span class="ruby-value str">"ZzZzZzzz"</span>
|
192
|
+
7: <span class="ruby-keyword kw">end</span></pre>
|
193
|
+
</div>
|
194
|
+
|
195
|
+
</div>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
</div>
|
201
|
+
|
202
|
+
|
203
|
+
</div>
|
204
|
+
|
205
|
+
|
206
|
+
</div>
|
207
|
+
|
208
|
+
|
209
|
+
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
210
|
+
|
211
|
+
<p>Disabled; run with --debug to generate this.</p>
|
212
|
+
|
213
|
+
</div>
|
214
|
+
|
215
|
+
<div id="validator-badges">
|
216
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
217
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
218
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
219
|
+
</div>
|
220
|
+
|
221
|
+
</body>
|
222
|
+
</html>
|
223
|
+
|
data/doc/Rakefile.html
CHANGED
@@ -39,6 +39,10 @@
|
|
39
39
|
<h3 class="section-header">Files</h3>
|
40
40
|
<ul>
|
41
41
|
|
42
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
|
45
|
+
|
42
46
|
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
43
47
|
|
44
48
|
</ul>
|
@@ -80,6 +84,8 @@
|
|
80
84
|
|
81
85
|
<li><a href="./MathJobs.html">MathJobs</a></li>
|
82
86
|
|
87
|
+
<li><a href="./Penguin.html">Penguin</a></li>
|
88
|
+
|
83
89
|
<li><a href="./SleepJobs.html">SleepJobs</a></li>
|
84
90
|
|
85
91
|
<li><a href="./StringJobs.html">StringJobs</a></li>
|
data/doc/SleepJobs.html
CHANGED
@@ -88,6 +88,10 @@
|
|
88
88
|
<h3 class="section-header">Files</h3>
|
89
89
|
<ul>
|
90
90
|
|
91
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
92
|
+
|
93
|
+
<li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
|
94
|
+
|
91
95
|
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
92
96
|
|
93
97
|
</ul>
|
@@ -129,6 +133,8 @@
|
|
129
133
|
|
130
134
|
<li><a href="./MathJobs.html">MathJobs</a></li>
|
131
135
|
|
136
|
+
<li><a href="./Penguin.html">Penguin</a></li>
|
137
|
+
|
132
138
|
<li><a href="./SleepJobs.html">SleepJobs</a></li>
|
133
139
|
|
134
140
|
<li><a href="./StringJobs.html">StringJobs</a></li>
|
data/doc/StringJobs.html
CHANGED
@@ -86,6 +86,10 @@
|
|
86
86
|
<h3 class="section-header">Files</h3>
|
87
87
|
<ul>
|
88
88
|
|
89
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
90
|
+
|
91
|
+
<li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
|
92
|
+
|
89
93
|
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
90
94
|
|
91
95
|
</ul>
|
@@ -127,6 +131,8 @@
|
|
127
131
|
|
128
132
|
<li><a href="./MathJobs.html">MathJobs</a></li>
|
129
133
|
|
134
|
+
<li><a href="./Penguin.html">Penguin</a></li>
|
135
|
+
|
130
136
|
<li><a href="./SleepJobs.html">SleepJobs</a></li>
|
131
137
|
|
132
138
|
<li><a href="./StringJobs.html">StringJobs</a></li>
|
@@ -180,7 +186,7 @@
|
|
180
186
|
<pre>
|
181
187
|
<span class="ruby-comment cmt"># File test/app_root/app/jobs/string_jobs.rb, line 2</span>
|
182
188
|
2: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concatenate</span>(*<span class="ruby-identifier">args</span>)
|
183
|
-
3: <span class="ruby-identifier">args</span>.<span class="ruby-identifier">join</span>
|
189
|
+
3: [<span class="ruby-identifier">args</span>.<span class="ruby-identifier">join</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">size</span>]
|
184
190
|
4: <span class="ruby-keyword kw">end</span></pre>
|
185
191
|
</div>
|
186
192
|
|
data/doc/bin/job_boss.html
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
<div id="metadata">
|
25
25
|
<dl>
|
26
26
|
<dt class="modified-date">Last Modified</dt>
|
27
|
-
<dd class="modified-date">2010-11
|
27
|
+
<dd class="modified-date">2010-12-11 15:09:03 -0500</dd>
|
28
28
|
|
29
29
|
|
30
30
|
<dt class="requires">Requires</dt>
|
@@ -37,6 +37,8 @@
|
|
37
37
|
|
38
38
|
<li>job_boss/boss</li>
|
39
39
|
|
40
|
+
<li>config/environment</li>
|
41
|
+
|
40
42
|
</ul>
|
41
43
|
</dd>
|
42
44
|
|
data/doc/created.rid
CHANGED
@@ -1,15 +1,21 @@
|
|
1
|
-
|
2
|
-
./bin/job_boss
|
3
|
-
./
|
1
|
+
Sat, 11 Dec 2010 17:06:33 -0500
|
2
|
+
./bin/job_boss Sat, 11 Dec 2010 15:09:03 -0500
|
3
|
+
./Gemfile Mon, 29 Nov 2010 09:41:29 -0500
|
4
|
+
./init.rb Fri, 03 Dec 2010 08:33:46 -0500
|
5
|
+
./lib/job_boss/boss.rb Sat, 11 Dec 2010 15:16:17 -0500
|
4
6
|
./lib/job_boss/capistrano.rb Wed, 24 Nov 2010 14:13:12 -0500
|
5
|
-
./lib/job_boss/config.rb
|
6
|
-
./lib/job_boss/job.rb
|
7
|
-
./lib/job_boss/queuer.rb
|
8
|
-
./lib/
|
9
|
-
./
|
7
|
+
./lib/job_boss/config.rb Sat, 11 Dec 2010 15:14:56 -0500
|
8
|
+
./lib/job_boss/job.rb Sat, 11 Dec 2010 17:04:01 -0500
|
9
|
+
./lib/job_boss/queuer.rb Sat, 11 Dec 2010 14:07:12 -0500
|
10
|
+
./lib/job_boss.rb Fri, 03 Dec 2010 08:55:47 -0500
|
11
|
+
./lib/migrate.rb Mon, 06 Dec 2010 20:40:41 -0500
|
12
|
+
./MIT-LICENSE Fri, 03 Dec 2010 08:38:44 -0500
|
13
|
+
./Rakefile Sat, 11 Dec 2010 17:05:22 -0500
|
10
14
|
./test/app_root/app/jobs/math_jobs.rb Sun, 28 Nov 2010 10:56:16 -0500
|
11
15
|
./test/app_root/app/jobs/sleep_jobs.rb Sun, 28 Nov 2010 17:28:24 -0500
|
12
|
-
./test/app_root/app/jobs/string_jobs.rb Sun, 28 Nov 2010
|
13
|
-
./test/
|
16
|
+
./test/app_root/app/jobs/string_jobs.rb Sun, 28 Nov 2010 20:04:58 -0500
|
17
|
+
./test/app_root/app/models/penguin.rb Sat, 11 Dec 2010 14:25:33 -0500
|
18
|
+
./test/app_root/config/environment.rb Sat, 11 Dec 2010 16:42:13 -0500
|
19
|
+
./test/test_helper.rb Sat, 11 Dec 2010 16:41:41 -0500
|
14
20
|
./test/unit/daemon_test.rb Sun, 28 Nov 2010 17:42:32 -0500
|
15
|
-
./test/unit/job_test.rb
|
21
|
+
./test/unit/job_test.rb Sat, 11 Dec 2010 17:03:07 -0500
|
Binary file
|
Binary file
|
data/doc/images/bug.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/date.png
ADDED
Binary file
|
data/doc/images/find.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/ruby.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/zoom.png
ADDED
Binary file
|