job_boss 0.2
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/README.markdown +43 -0
- data/Rakefile +15 -0
- data/bin/job_boss +27 -0
- data/doc/ActiveRecord/Base.html +343 -0
- data/doc/ActiveRecord.html +185 -0
- data/doc/CreateJobs.html +256 -0
- data/doc/JobBoss/Boss.html +413 -0
- data/doc/JobBoss/Config.html +342 -0
- data/doc/JobBoss/Job.html +754 -0
- data/doc/JobBoss/Queuer.html +231 -0
- data/doc/JobBoss.html +480 -0
- data/doc/Mongrel/HttpServer.html +275 -0
- data/doc/Mongrel.html +185 -0
- data/doc/Passenger/Railz/RequestHandler.html +271 -0
- data/doc/Passenger/Railz.html +185 -0
- data/doc/Passenger.html +185 -0
- data/doc/PhusionPassenger/Rack/RequestHandler.html +271 -0
- data/doc/PhusionPassenger/Rack.html +185 -0
- data/doc/PhusionPassenger/Railz/RequestHandler.html +271 -0
- data/doc/PhusionPassenger/Railz.html +185 -0
- data/doc/PhusionPassenger.html +187 -0
- data/doc/Rakefile.html +115 -0
- data/doc/Spawn/SpawnId.html +276 -0
- data/doc/Spawn.html +742 -0
- data/doc/bin/job_boss.html +58 -0
- data/doc/created.rid +9 -0
- data/doc/index.html +126 -0
- data/doc/lib/job_boss/boss_rb.html +64 -0
- data/doc/lib/job_boss/capistrano_rb.html +60 -0
- data/doc/lib/job_boss/configuror_rb.html +54 -0
- data/doc/lib/job_boss/job_rb.html +56 -0
- data/doc/lib/job_boss/queuer_rb.html +56 -0
- data/doc/lib/migrate_rb.html +52 -0
- data/doc/rdoc.css +706 -0
- data/doc/vendor/spawn/CHANGELOG.html +275 -0
- data/doc/vendor/spawn/LICENSE.html +151 -0
- data/doc/vendor/spawn/init_rb.html +54 -0
- data/doc/vendor/spawn/lib/patches_rb.html +56 -0
- data/doc/vendor/spawn/lib/spawn_rb.html +52 -0
- data/job_boss.gemspec +26 -0
- data/lib/job_boss/boss.rb +153 -0
- data/lib/job_boss/capistrano.rb +8 -0
- data/lib/job_boss/configuror.rb +40 -0
- data/lib/job_boss/job.rb +155 -0
- data/lib/job_boss/queuer.rb +37 -0
- data/lib/migrate.rb +27 -0
- metadata +151 -0
@@ -0,0 +1,275 @@
|
|
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: CHANGELOG [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="../../Rakefile.html">Rakefile</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="../../vendor/spawn/CHANGELOG.html">CHANGELOG</a></li>
|
45
|
+
|
46
|
+
<li class="file"><a href="../../vendor/spawn/LICENSE.html">LICENSE</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="../../PhusionPassenger.html">PhusionPassenger</a></li>
|
78
|
+
|
79
|
+
<li><a href="../../PhusionPassenger/Rack.html">PhusionPassenger::Rack</a></li>
|
80
|
+
|
81
|
+
<li><a href="../../PhusionPassenger/Rack/RequestHandler.html">PhusionPassenger::Rack::RequestHandler</a></li>
|
82
|
+
|
83
|
+
<li><a href="../../PhusionPassenger/Railz.html">PhusionPassenger::Railz</a></li>
|
84
|
+
|
85
|
+
<li><a href="../../PhusionPassenger/Railz/RequestHandler.html">PhusionPassenger::Railz::RequestHandler</a></li>
|
86
|
+
|
87
|
+
<li><a href="../../Passenger.html">Passenger</a></li>
|
88
|
+
|
89
|
+
<li><a href="../../Passenger/Railz.html">Passenger::Railz</a></li>
|
90
|
+
|
91
|
+
<li><a href="../../Passenger/Railz/RequestHandler.html">Passenger::Railz::RequestHandler</a></li>
|
92
|
+
|
93
|
+
<li><a href="../../ActiveRecord.html">ActiveRecord</a></li>
|
94
|
+
|
95
|
+
<li><a href="../../ActiveRecord/Base.html">ActiveRecord::Base</a></li>
|
96
|
+
|
97
|
+
<li><a href="../../Mongrel.html">Mongrel</a></li>
|
98
|
+
|
99
|
+
<li><a href="../../Mongrel/HttpServer.html">Mongrel::HttpServer</a></li>
|
100
|
+
|
101
|
+
<li><a href="../../Spawn.html">Spawn</a></li>
|
102
|
+
|
103
|
+
<li><a href="../../Spawn/SpawnId.html">Spawn::SpawnId</a></li>
|
104
|
+
|
105
|
+
<li><a href="../../CreateJobs.html">CreateJobs</a></li>
|
106
|
+
|
107
|
+
</ul>
|
108
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
109
|
+
</div>
|
110
|
+
|
111
|
+
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div id="documentation">
|
116
|
+
<p>
|
117
|
+
v0.1 - 2007/09/13
|
118
|
+
</p>
|
119
|
+
<p>
|
120
|
+
initial version
|
121
|
+
</p>
|
122
|
+
<hr style="height: 10px"></hr><p>
|
123
|
+
v0.2 - 2007/09/28
|
124
|
+
</p>
|
125
|
+
<ul>
|
126
|
+
<li><p>
|
127
|
+
return PID of the child process
|
128
|
+
</p>
|
129
|
+
</li>
|
130
|
+
<li><p>
|
131
|
+
added “:detach => false” option
|
132
|
+
</p>
|
133
|
+
</li>
|
134
|
+
</ul>
|
135
|
+
<hr style="height: 10px"></hr><p>
|
136
|
+
v0.3 - 2007/10/15
|
137
|
+
</p>
|
138
|
+
<ul>
|
139
|
+
<li><p>
|
140
|
+
added ’:method => :thread’ for threaded spawns
|
141
|
+
</p>
|
142
|
+
</li>
|
143
|
+
<li><p>
|
144
|
+
removed ’:detach => false’ option in favor of more generic
|
145
|
+
implementation
|
146
|
+
</p>
|
147
|
+
</li>
|
148
|
+
<li><p>
|
149
|
+
added ability to set configuration of the form ‘<a
|
150
|
+
href="../../Spawn.html#method-c-method">Spawn::method</a> :thread’
|
151
|
+
</p>
|
152
|
+
</li>
|
153
|
+
<li><p>
|
154
|
+
added patch to <a
|
155
|
+
href="../../ActiveRecord/Base.html">ActiveRecord::Base</a> to allow for
|
156
|
+
more efficient reconnect in child processes
|
157
|
+
</p>
|
158
|
+
</li>
|
159
|
+
<li><p>
|
160
|
+
added monkey patch for <a
|
161
|
+
href="http://dev.rubyonrails.org/ticket/7579">dev.rubyonrails.org/ticket/7579</a>
|
162
|
+
</p>
|
163
|
+
</li>
|
164
|
+
<li><p>
|
165
|
+
added wait() method to wait for spawned code blocks
|
166
|
+
</p>
|
167
|
+
</li>
|
168
|
+
<li><p>
|
169
|
+
don’t allow threading if allow_concurrency=false
|
170
|
+
</p>
|
171
|
+
</li>
|
172
|
+
</ul>
|
173
|
+
<hr style="height: 10px"></hr><p>
|
174
|
+
v0.4 - 2008/1/26
|
175
|
+
</p>
|
176
|
+
<ul>
|
177
|
+
<li><p>
|
178
|
+
default to :thread on windows, still :fork on all other platforms
|
179
|
+
</p>
|
180
|
+
</li>
|
181
|
+
<li><p>
|
182
|
+
raise exception when used with :method=>:true and allow_concurrency != true
|
183
|
+
</p>
|
184
|
+
</li>
|
185
|
+
</ul>
|
186
|
+
<hr style="height: 10px"></hr><p>
|
187
|
+
v0.5 - 2008/3/1
|
188
|
+
</p>
|
189
|
+
<ul>
|
190
|
+
<li><p>
|
191
|
+
also default to :thread on JRuby (java)
|
192
|
+
</p>
|
193
|
+
</li>
|
194
|
+
<li><p>
|
195
|
+
added new :method => :yield which doesn’t fork or thread, this is
|
196
|
+
useful for testing
|
197
|
+
</p>
|
198
|
+
</li>
|
199
|
+
<li><p>
|
200
|
+
fixed problem with connections piling up on PostgreSQL
|
201
|
+
</p>
|
202
|
+
</li>
|
203
|
+
</ul>
|
204
|
+
<hr style="height: 10px"></hr><p>
|
205
|
+
v0.6 - 2008/04/21
|
206
|
+
</p>
|
207
|
+
<ul>
|
208
|
+
<li><p>
|
209
|
+
only apply clear_reloadable_connections patch on Rails 1.x (7579 fixed in
|
210
|
+
Rails 2.x)
|
211
|
+
</p>
|
212
|
+
</li>
|
213
|
+
<li><p>
|
214
|
+
made it more responsive in more environments by disconnecting from the
|
215
|
+
listener socket in the forked process
|
216
|
+
</p>
|
217
|
+
</li>
|
218
|
+
</ul>
|
219
|
+
<hr style="height: 10px"></hr><p>
|
220
|
+
v0.7 - 2008/04/24
|
221
|
+
</p>
|
222
|
+
<ul>
|
223
|
+
<li><p>
|
224
|
+
more generic mechanism for closing resources after fork
|
225
|
+
</p>
|
226
|
+
</li>
|
227
|
+
<li><p>
|
228
|
+
check for existence of <a href="../../Mongrel.html">Mongrel</a> before
|
229
|
+
patching it
|
230
|
+
</p>
|
231
|
+
</li>
|
232
|
+
</ul>
|
233
|
+
<hr style="height: 10px"></hr><p>
|
234
|
+
v0.8 - 2008/05/02
|
235
|
+
</p>
|
236
|
+
<ul>
|
237
|
+
<li><p>
|
238
|
+
call exit! within the ensure block so that at_exit handlers aren’t
|
239
|
+
called on exceptions
|
240
|
+
</p>
|
241
|
+
</li>
|
242
|
+
<li><p>
|
243
|
+
set logger from RAILS_DEFAULT_LOGGER if available, else STDERR
|
244
|
+
</p>
|
245
|
+
</li>
|
246
|
+
</ul>
|
247
|
+
<hr style="height: 10px"></hr><p>
|
248
|
+
v0.9 - 2008/05/11
|
249
|
+
</p>
|
250
|
+
<ul>
|
251
|
+
<li><p>
|
252
|
+
added ability to set nice level for child process
|
253
|
+
</p>
|
254
|
+
</li>
|
255
|
+
</ul>
|
256
|
+
<hr style="height: 10px"></hr><p>
|
257
|
+
v1.0 - 2010/10/09
|
258
|
+
</p>
|
259
|
+
<ul>
|
260
|
+
<li><p>
|
261
|
+
merged edged to master, let’s call this version 1.0
|
262
|
+
</p>
|
263
|
+
</li>
|
264
|
+
</ul>
|
265
|
+
|
266
|
+
</div>
|
267
|
+
|
268
|
+
<div id="validator-badges">
|
269
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
270
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
271
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
272
|
+
</div>
|
273
|
+
</body>
|
274
|
+
</html>
|
275
|
+
|
@@ -0,0 +1,151 @@
|
|
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: 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="../../Rakefile.html">Rakefile</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="../../vendor/spawn/CHANGELOG.html">CHANGELOG</a></li>
|
45
|
+
|
46
|
+
<li class="file"><a href="../../vendor/spawn/LICENSE.html">LICENSE</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="../../PhusionPassenger.html">PhusionPassenger</a></li>
|
78
|
+
|
79
|
+
<li><a href="../../PhusionPassenger/Rack.html">PhusionPassenger::Rack</a></li>
|
80
|
+
|
81
|
+
<li><a href="../../PhusionPassenger/Rack/RequestHandler.html">PhusionPassenger::Rack::RequestHandler</a></li>
|
82
|
+
|
83
|
+
<li><a href="../../PhusionPassenger/Railz.html">PhusionPassenger::Railz</a></li>
|
84
|
+
|
85
|
+
<li><a href="../../PhusionPassenger/Railz/RequestHandler.html">PhusionPassenger::Railz::RequestHandler</a></li>
|
86
|
+
|
87
|
+
<li><a href="../../Passenger.html">Passenger</a></li>
|
88
|
+
|
89
|
+
<li><a href="../../Passenger/Railz.html">Passenger::Railz</a></li>
|
90
|
+
|
91
|
+
<li><a href="../../Passenger/Railz/RequestHandler.html">Passenger::Railz::RequestHandler</a></li>
|
92
|
+
|
93
|
+
<li><a href="../../ActiveRecord.html">ActiveRecord</a></li>
|
94
|
+
|
95
|
+
<li><a href="../../ActiveRecord/Base.html">ActiveRecord::Base</a></li>
|
96
|
+
|
97
|
+
<li><a href="../../Mongrel.html">Mongrel</a></li>
|
98
|
+
|
99
|
+
<li><a href="../../Mongrel/HttpServer.html">Mongrel::HttpServer</a></li>
|
100
|
+
|
101
|
+
<li><a href="../../Spawn.html">Spawn</a></li>
|
102
|
+
|
103
|
+
<li><a href="../../Spawn/SpawnId.html">Spawn::SpawnId</a></li>
|
104
|
+
|
105
|
+
<li><a href="../../CreateJobs.html">CreateJobs</a></li>
|
106
|
+
|
107
|
+
</ul>
|
108
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
109
|
+
</div>
|
110
|
+
|
111
|
+
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div id="documentation">
|
116
|
+
<p>
|
117
|
+
Copyright © 2007 Tom Anderson (tom@squeat.com)
|
118
|
+
</p>
|
119
|
+
<p>
|
120
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
121
|
+
copy of this software and associated documentation files (the
|
122
|
+
“Software”), to deal in the Software without restriction,
|
123
|
+
including without limitation the rights to use, copy, modify, merge,
|
124
|
+
publish, distribute, sublicense, and/or sell copies of the Software, and to
|
125
|
+
permit persons to whom the Software is furnished to do so, subject to the
|
126
|
+
following conditions:
|
127
|
+
</p>
|
128
|
+
<p>
|
129
|
+
The above copyright notice and this permission notice shall be included in
|
130
|
+
all copies or substantial portions of the Software.
|
131
|
+
</p>
|
132
|
+
<p>
|
133
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
|
134
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
135
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
136
|
+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
137
|
+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
138
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
139
|
+
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
140
|
+
</p>
|
141
|
+
|
142
|
+
</div>
|
143
|
+
|
144
|
+
<div id="validator-badges">
|
145
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
146
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
147
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
148
|
+
</div>
|
149
|
+
</body>
|
150
|
+
</html>
|
151
|
+
|
@@ -0,0 +1,54 @@
|
|
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: init.rb [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 file-popup">
|
24
|
+
<div id="metadata">
|
25
|
+
<dl>
|
26
|
+
<dt class="modified-date">Last Modified</dt>
|
27
|
+
<dd class="modified-date">2010-11-26 13:46:41 -0500</dd>
|
28
|
+
|
29
|
+
|
30
|
+
<dt class="requires">Requires</dt>
|
31
|
+
<dd class="requires">
|
32
|
+
<ul>
|
33
|
+
|
34
|
+
<li>patches</li>
|
35
|
+
|
36
|
+
</ul>
|
37
|
+
</dd>
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
</dl>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<div id="documentation">
|
45
|
+
|
46
|
+
<div class="description">
|
47
|
+
<h2>Description</h2>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
</body>
|
53
|
+
</html>
|
54
|
+
|
@@ -0,0 +1,56 @@
|
|
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: patches.rb [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 file-popup">
|
24
|
+
<div id="metadata">
|
25
|
+
<dl>
|
26
|
+
<dt class="modified-date">Last Modified</dt>
|
27
|
+
<dd class="modified-date">2010-11-26 13:46:41 -0500</dd>
|
28
|
+
|
29
|
+
|
30
|
+
<dt class="requires">Requires</dt>
|
31
|
+
<dd class="requires">
|
32
|
+
<ul>
|
33
|
+
|
34
|
+
</ul>
|
35
|
+
</dd>
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
</dl>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<div id="documentation">
|
43
|
+
|
44
|
+
<div class="description">
|
45
|
+
<h2>Description</h2>
|
46
|
+
<p>
|
47
|
+
see
|
48
|
+
activerecord/lib/active_record/connection_adaptors/abstract/connection_specification.rb
|
49
|
+
</p>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
</body>
|
55
|
+
</html>
|
56
|
+
|
@@ -0,0 +1,52 @@
|
|
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: spawn.rb [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 file-popup">
|
24
|
+
<div id="metadata">
|
25
|
+
<dl>
|
26
|
+
<dt class="modified-date">Last Modified</dt>
|
27
|
+
<dd class="modified-date">2010-11-26 13:46:41 -0500</dd>
|
28
|
+
|
29
|
+
|
30
|
+
<dt class="requires">Requires</dt>
|
31
|
+
<dd class="requires">
|
32
|
+
<ul>
|
33
|
+
|
34
|
+
</ul>
|
35
|
+
</dd>
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
</dl>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<div id="documentation">
|
43
|
+
|
44
|
+
<div class="description">
|
45
|
+
<h2>Description</h2>
|
46
|
+
|
47
|
+
</div>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
</body>
|
51
|
+
</html>
|
52
|
+
|
data/job_boss.gemspec
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib/', __FILE__)
|
3
|
+
$:.unshift lib unless $:.include?(lib)
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "job_boss"
|
7
|
+
s.version = '0.2'
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Brian Underwood"]
|
10
|
+
s.email = ["ml+job_boss@semi-sentient.com"]
|
11
|
+
s.homepage = "http://github.com/cheerfulstoic/job_boss"
|
12
|
+
s.summary = %q{Asyncronous, parallel job processing}
|
13
|
+
s.description = %q{job_boss allows you to queue jobs which are unqueued by a "Job Boss" daemon and handed off to workers to process}
|
14
|
+
|
15
|
+
s.required_rubygems_version = ">= 1.3.6"
|
16
|
+
|
17
|
+
s.add_dependency "activerecord"
|
18
|
+
s.add_dependency "activesupport"
|
19
|
+
s.add_dependency "daemons"
|
20
|
+
|
21
|
+
s.files = `git ls-files`.split("\n")
|
22
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
23
|
+
s.executables = %w(job_boss)
|
24
|
+
s.default_executable = "job_boss"
|
25
|
+
s.require_paths = ["lib", "vendor", "vendor/spawn/lib"]
|
26
|
+
end
|