extraloop 0.0.1
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 +2 -0
- data/README.md +135 -0
- data/examples/google_news_scraper.rb +22 -0
- data/examples/wikipedia_categories.rb +49 -0
- data/lib/extraloop/dom_extractor.rb +45 -0
- data/lib/extraloop/extraction_environment.rb +20 -0
- data/lib/extraloop/extraction_loop.rb +46 -0
- data/lib/extraloop/extractor_base.rb +40 -0
- data/lib/extraloop/hookable.rb +26 -0
- data/lib/extraloop/iterative_scraper.rb +291 -0
- data/lib/extraloop/json_extractor.rb +36 -0
- data/lib/extraloop/loggable.rb +64 -0
- data/lib/extraloop/scraper_base.rb +166 -0
- data/lib/extraloop/utils.rb +75 -0
- data/lib/extraloop.rb +43 -0
- data/spec/dom_extractor_spec.rb +165 -0
- data/spec/extraction_loop_spec.rb +76 -0
- data/spec/fixtures/doc.html +1324 -0
- data/spec/fixtures/doc.json +1 -0
- data/spec/helpers/scraper_helper.rb +46 -0
- data/spec/helpers/spec_helper.rb +12 -0
- data/spec/iterative_scraper_spec.rb +175 -0
- data/spec/json_extractor_spec.rb +146 -0
- data/spec/loggable_spec.rb +25 -0
- data/spec/scraper_base_spec.rb +178 -0
- data/spec/utils_spec.rb +44 -0
- metadata +140 -0
@@ -0,0 +1,1324 @@
|
|
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: CHANGES [rake-0.9.2 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="./CHANGES.html">CHANGES</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
|
45
|
+
|
46
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
47
|
+
|
48
|
+
<li class="file"><a href="./TODO.html">TODO</a></li>
|
49
|
+
|
50
|
+
<li class="file"><a href="./doc/command_line_usage_rdoc.html">command_line_usage.rdoc</a></li>
|
51
|
+
|
52
|
+
<li class="file"><a href="./doc/glossary_rdoc.html">glossary.rdoc</a></li>
|
53
|
+
|
54
|
+
<li class="file"><a href="./doc/proto_rake_rdoc.html">proto_rake.rdoc</a></li>
|
55
|
+
|
56
|
+
<li class="file"><a href="./doc/rakefile_rdoc.html">rakefile.rdoc</a></li>
|
57
|
+
|
58
|
+
<li class="file"><a href="./doc/rational_rdoc.html">rational.rdoc</a></li>
|
59
|
+
|
60
|
+
<li class="file"><a href="./doc/release_notes/rake-0_4_14_rdoc.html">rake-0.4.14.rdoc</a></li>
|
61
|
+
|
62
|
+
<li class="file"><a href="./doc/release_notes/rake-0_4_15_rdoc.html">rake-0.4.15.rdoc</a></li>
|
63
|
+
|
64
|
+
<li class="file"><a href="./doc/release_notes/rake-0_5_0_rdoc.html">rake-0.5.0.rdoc</a></li>
|
65
|
+
|
66
|
+
<li class="file"><a href="./doc/release_notes/rake-0_5_3_rdoc.html">rake-0.5.3.rdoc</a></li>
|
67
|
+
|
68
|
+
<li class="file"><a href="./doc/release_notes/rake-0_5_4_rdoc.html">rake-0.5.4.rdoc</a></li>
|
69
|
+
|
70
|
+
<li class="file"><a href="./doc/release_notes/rake-0_6_0_rdoc.html">rake-0.6.0.rdoc</a></li>
|
71
|
+
|
72
|
+
<li class="file"><a href="./doc/release_notes/rake-0_7_0_rdoc.html">rake-0.7.0.rdoc</a></li>
|
73
|
+
|
74
|
+
<li class="file"><a href="./doc/release_notes/rake-0_7_1_rdoc.html">rake-0.7.1.rdoc</a></li>
|
75
|
+
|
76
|
+
<li class="file"><a href="./doc/release_notes/rake-0_7_2_rdoc.html">rake-0.7.2.rdoc</a></li>
|
77
|
+
|
78
|
+
<li class="file"><a href="./doc/release_notes/rake-0_7_3_rdoc.html">rake-0.7.3.rdoc</a></li>
|
79
|
+
|
80
|
+
<li class="file"><a href="./doc/release_notes/rake-0_8_0_rdoc.html">rake-0.8.0.rdoc</a></li>
|
81
|
+
|
82
|
+
<li class="file"><a href="./doc/release_notes/rake-0_8_2_rdoc.html">rake-0.8.2.rdoc</a></li>
|
83
|
+
|
84
|
+
<li class="file"><a href="./doc/release_notes/rake-0_8_3_rdoc.html">rake-0.8.3.rdoc</a></li>
|
85
|
+
|
86
|
+
<li class="file"><a href="./doc/release_notes/rake-0_8_4_rdoc.html">rake-0.8.4.rdoc</a></li>
|
87
|
+
|
88
|
+
<li class="file"><a href="./doc/release_notes/rake-0_8_5_rdoc.html">rake-0.8.5.rdoc</a></li>
|
89
|
+
|
90
|
+
<li class="file"><a href="./doc/release_notes/rake-0_8_6_rdoc.html">rake-0.8.6.rdoc</a></li>
|
91
|
+
|
92
|
+
<li class="file"><a href="./doc/release_notes/rake-0_8_7_rdoc.html">rake-0.8.7.rdoc</a></li>
|
93
|
+
|
94
|
+
<li class="file"><a href="./doc/release_notes/rake-0_9_0_rdoc.html">rake-0.9.0.rdoc</a></li>
|
95
|
+
|
96
|
+
<li class="file"><a href="./doc/release_notes/rake-0_9_1_rdoc.html">rake-0.9.1.rdoc</a></li>
|
97
|
+
|
98
|
+
<li class="file"><a href="./doc/release_notes/rake-0_9_2_rdoc.html">rake-0.9.2.rdoc</a></li>
|
99
|
+
|
100
|
+
</ul>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
|
104
|
+
<div id="classindex-section" class="section project-section">
|
105
|
+
<h3 class="section-header">Class Index
|
106
|
+
<span class="search-toggle"><img src="./images/find.png"
|
107
|
+
height="16" width="16" alt="[+]"
|
108
|
+
title="show/hide quicksearch" /></span></h3>
|
109
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
110
|
+
<fieldset>
|
111
|
+
<legend>Quicksearch</legend>
|
112
|
+
<input type="text" name="quicksearch" value=""
|
113
|
+
class="quicksearch-field" />
|
114
|
+
</fieldset>
|
115
|
+
</form>
|
116
|
+
|
117
|
+
<ul class="link-list">
|
118
|
+
|
119
|
+
<li><a href="./Rake/AltSystem.html">Rake::AltSystem</a></li>
|
120
|
+
|
121
|
+
<li><a href="./Rake/Application.html">Rake::Application</a></li>
|
122
|
+
|
123
|
+
<li><a href="./Rake/Application.html">Rake::Application</a></li>
|
124
|
+
|
125
|
+
<li><a href="./Rake/Cloneable.html">Rake::Cloneable</a></li>
|
126
|
+
|
127
|
+
<li><a href="./Rake/CompositePublisher.html">Rake::CompositePublisher</a></li>
|
128
|
+
|
129
|
+
<li><a href="./Rake/DSL.html">Rake::DSL</a></li>
|
130
|
+
|
131
|
+
<li><a href="./Rake/DefaultLoader.html">Rake::DefaultLoader</a></li>
|
132
|
+
|
133
|
+
<li><a href="./Rake/DeprecatedObjectDSL.html">Rake::DeprecatedObjectDSL</a></li>
|
134
|
+
|
135
|
+
<li><a href="./Rake/EarlyTime.html">Rake::EarlyTime</a></li>
|
136
|
+
|
137
|
+
<li><a href="./Rake/FileCreationTask.html">Rake::FileCreationTask</a></li>
|
138
|
+
|
139
|
+
<li><a href="./Rake/FileList.html">Rake::FileList</a></li>
|
140
|
+
|
141
|
+
<li><a href="./Rake/FileList.html">Rake::FileList</a></li>
|
142
|
+
|
143
|
+
<li><a href="./Rake/FileTask.html">Rake::FileTask</a></li>
|
144
|
+
|
145
|
+
<li><a href="./Rake/FileUtilsExt.html">Rake::FileUtilsExt</a></li>
|
146
|
+
|
147
|
+
<li><a href="./Rake/FileUtilsExt.html">Rake::FileUtilsExt</a></li>
|
148
|
+
|
149
|
+
<li><a href="./Rake/FtpFile.html">Rake::FtpFile</a></li>
|
150
|
+
|
151
|
+
<li><a href="./Rake/FtpUploader.html">Rake::FtpUploader</a></li>
|
152
|
+
|
153
|
+
<li><a href="./Rake/InvocationChain.html">Rake::InvocationChain</a></li>
|
154
|
+
|
155
|
+
<li><a href="./Rake/InvocationChain/EmptyInvocationChain.html">Rake::InvocationChain::EmptyInvocationChain</a></li>
|
156
|
+
|
157
|
+
<li><a href="./Rake/InvocationExceptionMixin.html">Rake::InvocationExceptionMixin</a></li>
|
158
|
+
|
159
|
+
<li><a href="./Rake/MakefileLoader.html">Rake::MakefileLoader</a></li>
|
160
|
+
|
161
|
+
<li><a href="./Rake/MultiTask.html">Rake::MultiTask</a></li>
|
162
|
+
|
163
|
+
<li><a href="./Rake/NameSpace.html">Rake::NameSpace</a></li>
|
164
|
+
|
165
|
+
<li><a href="./Rake/PackageTask.html">Rake::PackageTask</a></li>
|
166
|
+
|
167
|
+
<li><a href="./Rake/PseudoStatus.html">Rake::PseudoStatus</a></li>
|
168
|
+
|
169
|
+
<li><a href="./Rake/RDocTask.html">Rake::RDocTask</a></li>
|
170
|
+
|
171
|
+
<li><a href="./Rake/RubyForgePublisher.html">Rake::RubyForgePublisher</a></li>
|
172
|
+
|
173
|
+
<li><a href="./Rake/RuleRecursionOverflowError.html">Rake::RuleRecursionOverflowError</a></li>
|
174
|
+
|
175
|
+
<li><a href="./Rake/SshDirPublisher.html">Rake::SshDirPublisher</a></li>
|
176
|
+
|
177
|
+
<li><a href="./Rake/SshFilePublisher.html">Rake::SshFilePublisher</a></li>
|
178
|
+
|
179
|
+
<li><a href="./Rake/SshFreshDirPublisher.html">Rake::SshFreshDirPublisher</a></li>
|
180
|
+
|
181
|
+
<li><a href="./Rake/Task.html">Rake::Task</a></li>
|
182
|
+
|
183
|
+
<li><a href="./Rake/TaskArgumentError.html">Rake::TaskArgumentError</a></li>
|
184
|
+
|
185
|
+
<li><a href="./Rake/TaskArguments.html">Rake::TaskArguments</a></li>
|
186
|
+
|
187
|
+
<li><a href="./Rake/TaskLib.html">Rake::TaskLib</a></li>
|
188
|
+
|
189
|
+
<li><a href="./Rake/TaskManager.html">Rake::TaskManager</a></li>
|
190
|
+
|
191
|
+
<li><a href="./Rake/TestTask.html">Rake::TestTask</a></li>
|
192
|
+
|
193
|
+
<li><a href="./Rake/Version.html">Rake::Version</a></li>
|
194
|
+
|
195
|
+
<li><a href="./Rake/Win32.html">Rake::Win32</a></li>
|
196
|
+
|
197
|
+
<li><a href="./Rake/Win32/Win32HomeError.html">Rake::Win32::Win32HomeError</a></li>
|
198
|
+
|
199
|
+
<li><a href="./CompositePublisher.html">CompositePublisher</a></li>
|
200
|
+
|
201
|
+
<li><a href="./FileUtils.html">FileUtils</a></li>
|
202
|
+
|
203
|
+
<li><a href="./Module.html">Module</a></li>
|
204
|
+
|
205
|
+
<li><a href="./SshDirPublisher.html">SshDirPublisher</a></li>
|
206
|
+
|
207
|
+
<li><a href="./SshFilePublisher.html">SshFilePublisher</a></li>
|
208
|
+
|
209
|
+
<li><a href="./SshFreshDirPublisher.html">SshFreshDirPublisher</a></li>
|
210
|
+
|
211
|
+
<li><a href="./String.html">String</a></li>
|
212
|
+
|
213
|
+
<li><a href="./Sys.html">Sys</a></li>
|
214
|
+
|
215
|
+
<li><a href="./Time.html">Time</a></li>
|
216
|
+
|
217
|
+
</ul>
|
218
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
219
|
+
</div>
|
220
|
+
|
221
|
+
|
222
|
+
</div>
|
223
|
+
</div>
|
224
|
+
|
225
|
+
<div id="documentation">
|
226
|
+
<h1>Rake Changelog</h1>
|
227
|
+
<h2>Version 0.9.1</h2>
|
228
|
+
<ul>
|
229
|
+
<li><p>
|
230
|
+
Added deprecation warnings to the Rake DSL methods.
|
231
|
+
</p>
|
232
|
+
</li>
|
233
|
+
</ul>
|
234
|
+
<h2>Version 0.9.0</h2>
|
235
|
+
<ul>
|
236
|
+
<li><p>
|
237
|
+
<b>Incompatible</b> <b>change</b>: Rake DSL commands (‘task’,
|
238
|
+
‘file’, etc.) are no longer private methods in Object. If you
|
239
|
+
need to call ‘task :xzy’ inside your class, include <a
|
240
|
+
href="Rake/DSL.html">Rake::DSL</a> into the class. The DSL is still
|
241
|
+
available at the top level scope (via the top level object which extends <a
|
242
|
+
href="Rake/DSL.html">Rake::DSL</a>).
|
243
|
+
</p>
|
244
|
+
</li>
|
245
|
+
<li><p>
|
246
|
+
Rake now warns when the deprecated :needs syntax used.
|
247
|
+
</p>
|
248
|
+
</li>
|
249
|
+
<li><p>
|
250
|
+
Rake history is now UTF-8 encoded.
|
251
|
+
</p>
|
252
|
+
</li>
|
253
|
+
<li><p>
|
254
|
+
Rake now uses case-insensitive comparisons to find the Rakefile on Windows.
|
255
|
+
Based on patch by Roger Pack.
|
256
|
+
</p>
|
257
|
+
</li>
|
258
|
+
<li><p>
|
259
|
+
Rake now requires (instead of loads) files in the test task. Patch by
|
260
|
+
Cezary Baginski.
|
261
|
+
</p>
|
262
|
+
</li>
|
263
|
+
<li><p>
|
264
|
+
Fixed typos. Patches by Sean Scot August Moon and R.T. Lechow.
|
265
|
+
</p>
|
266
|
+
</li>
|
267
|
+
<li><p>
|
268
|
+
Rake now prints the Rakefile directory only when it’s different from
|
269
|
+
the current directory. Patch by Alex Chaffee.
|
270
|
+
</p>
|
271
|
+
</li>
|
272
|
+
<li><p>
|
273
|
+
Improved rakefile_location discovery on Windows. Patch by James Tucker.
|
274
|
+
</p>
|
275
|
+
</li>
|
276
|
+
<li><p>
|
277
|
+
Rake now recognizes “Windows Server” as a windows system.
|
278
|
+
Patch by Matthias Lüdtke
|
279
|
+
</p>
|
280
|
+
</li>
|
281
|
+
<li><p>
|
282
|
+
<a href="Rake/RDocTask.html">Rake::RDocTask</a> is deprecated. Use
|
283
|
+
RDoc::Task from RDoc 2.4.2+ (require ‘rdoc/task’)
|
284
|
+
</p>
|
285
|
+
</li>
|
286
|
+
<li><p>
|
287
|
+
Rake::GemPackageTask is deprecated. Use Gem::PackageTask (require
|
288
|
+
‘rubygems/package_task’)
|
289
|
+
</p>
|
290
|
+
</li>
|
291
|
+
<li><p>
|
292
|
+
Rake now outputs various messages to $stderr instead of $stdout.
|
293
|
+
</p>
|
294
|
+
</li>
|
295
|
+
<li><p>
|
296
|
+
Rake no longer emits warnings for Config. Patch by Santiago Pastorino.
|
297
|
+
</p>
|
298
|
+
</li>
|
299
|
+
<li><p>
|
300
|
+
Split rake.rb into individual files.
|
301
|
+
</p>
|
302
|
+
</li>
|
303
|
+
<li><p>
|
304
|
+
Support for the —where (-W) flag for showing where a task is defined.
|
305
|
+
</p>
|
306
|
+
</li>
|
307
|
+
<li><p>
|
308
|
+
Fixed quoting in test task. (<a
|
309
|
+
href="http://onestepback.org/redmine/issues/show/44">onestepback.org/redmine/issues/show/44</a>,
|
310
|
+
<a
|
311
|
+
href="http://www.pivotaltracker.com/story/show/1223138">www.pivotaltracker.com/story/show/1223138</a>)
|
312
|
+
</p>
|
313
|
+
</li>
|
314
|
+
<li><p>
|
315
|
+
Fixed the silent option parsing problem. (<a
|
316
|
+
href="http://onestepback.org/redmine/issues/show/47">onestepback.org/redmine/issues/show/47</a>)
|
317
|
+
</p>
|
318
|
+
</li>
|
319
|
+
<li><p>
|
320
|
+
Fixed :verbose=>false flag on sh and ruby commands.
|
321
|
+
</p>
|
322
|
+
</li>
|
323
|
+
<li><p>
|
324
|
+
Rake command line options may be given by default in a RAKEOPT environment
|
325
|
+
variable.
|
326
|
+
</p>
|
327
|
+
</li>
|
328
|
+
<li><p>
|
329
|
+
Errors in Rake will now display the task invocation chain in effect at the
|
330
|
+
time of the error.
|
331
|
+
</p>
|
332
|
+
</li>
|
333
|
+
<li><p>
|
334
|
+
Accepted change by warnickr to not expand test patterns in shell (allowing
|
335
|
+
more files in the test suite).
|
336
|
+
</p>
|
337
|
+
</li>
|
338
|
+
<li><p>
|
339
|
+
Fixed that file tasks did not perform prereq lookups in scope (Redmine
|
340
|
+
#57).
|
341
|
+
</p>
|
342
|
+
</li>
|
343
|
+
</ul>
|
344
|
+
<h2>Version 0.8.7</h2>
|
345
|
+
<ul>
|
346
|
+
<li><p>
|
347
|
+
Fixed EXEEXT for JRuby on windows.
|
348
|
+
</p>
|
349
|
+
</li>
|
350
|
+
</ul>
|
351
|
+
<h2>Version 0.8.6</h2>
|
352
|
+
<ul>
|
353
|
+
<li><p>
|
354
|
+
Minor fixes to the RDoc generation (removed dependency on darkfish and
|
355
|
+
removed inline source option).
|
356
|
+
</p>
|
357
|
+
</li>
|
358
|
+
</ul>
|
359
|
+
<h2>PreVersion 0.8.6</h2>
|
360
|
+
<ul>
|
361
|
+
<li><p>
|
362
|
+
Now allow # comments to comment a task definition.
|
363
|
+
</p>
|
364
|
+
</li>
|
365
|
+
</ul>
|
366
|
+
<h2>Version 0.8.5</h2>
|
367
|
+
<ul>
|
368
|
+
<li><p>
|
369
|
+
Better support for the system command on Windows.
|
370
|
+
</p>
|
371
|
+
</li>
|
372
|
+
</ul>
|
373
|
+
<h2>Version 0.8.4</h2>
|
374
|
+
<ul>
|
375
|
+
<li><p>
|
376
|
+
Preserve case when locating rakefiles (patch from James
|
377
|
+
</p>
|
378
|
+
<ol style="display: upper-alpha">
|
379
|
+
<li><p>
|
380
|
+
Lawrence/quix)
|
381
|
+
</p>
|
382
|
+
</li>
|
383
|
+
</ol>
|
384
|
+
</li>
|
385
|
+
<li><p>
|
386
|
+
Better support for windows paths in the test task (patch from Simon
|
387
|
+
Chiang/bahuvrihi)
|
388
|
+
</p>
|
389
|
+
</li>
|
390
|
+
<li><p>
|
391
|
+
Windows system dir search order is now: HOME, HOMEDRIVE + HOMEPATH,
|
392
|
+
APPDATA, USERPROFILE (patch from Luis Lavena)
|
393
|
+
</p>
|
394
|
+
</li>
|
395
|
+
<li><p>
|
396
|
+
MingGW is now recognized as a windows platform. (patch from Luis Lavena)
|
397
|
+
</p>
|
398
|
+
</li>
|
399
|
+
<li><p>
|
400
|
+
Numerous fixes to the windows test suite (patch from Luis Lavena).
|
401
|
+
</p>
|
402
|
+
</li>
|
403
|
+
<li><p>
|
404
|
+
Improved Rakefile case insensitivity testing (patch from Luis Lavena).
|
405
|
+
</p>
|
406
|
+
</li>
|
407
|
+
<li><p>
|
408
|
+
Fixed stray ARGV option problem that was interfering with
|
409
|
+
Test::Unit::Runner.
|
410
|
+
</p>
|
411
|
+
</li>
|
412
|
+
<li><p>
|
413
|
+
Fixed default verbose mode (was accidently changed to false).
|
414
|
+
</p>
|
415
|
+
</li>
|
416
|
+
<li><p>
|
417
|
+
Removed reference to manage_gem to fix the warning produced by the gem
|
418
|
+
package task.
|
419
|
+
</p>
|
420
|
+
</li>
|
421
|
+
</ul>
|
422
|
+
<h2>Version 0.8.3</h2>
|
423
|
+
<ul>
|
424
|
+
<li><p>
|
425
|
+
Enhanced the system directory detection in windows. We now check
|
426
|
+
HOMEDRIVE/HOMEPATH and USERPROFILE if APPDATA isn’t found. (Patch
|
427
|
+
supplied by James Tucker). Rake no long aborts if it can’t find the
|
428
|
+
directory.
|
429
|
+
</p>
|
430
|
+
</li>
|
431
|
+
<li><p>
|
432
|
+
Added fix to handle ruby installations in directories with spaces in their
|
433
|
+
name.
|
434
|
+
</p>
|
435
|
+
</li>
|
436
|
+
</ul>
|
437
|
+
<h2>Version 0.8.2</h2>
|
438
|
+
<ul>
|
439
|
+
<li><p>
|
440
|
+
Fixed bug in package task so that it will include the subdir directory in
|
441
|
+
the package for testing. (Bug found by Adam Majer)
|
442
|
+
</p>
|
443
|
+
</li>
|
444
|
+
<li><p>
|
445
|
+
Added ENV var to rakefile to prevent OS X from including extended attribute
|
446
|
+
junk in a tar file. (Bug found by Adam Majer)
|
447
|
+
</p>
|
448
|
+
</li>
|
449
|
+
<li><p>
|
450
|
+
Fixed filename dependency order bug in test_inspect_pending and
|
451
|
+
test_to_s_pending. (Bug found by Adam Majer)
|
452
|
+
</p>
|
453
|
+
</li>
|
454
|
+
<li><p>
|
455
|
+
Fixed check for file utils options to make them immune to the symbol/string
|
456
|
+
differences. (Patch supplied by Edwin Pratomo)
|
457
|
+
</p>
|
458
|
+
</li>
|
459
|
+
<li><p>
|
460
|
+
Fixed bug with rules involving multiple source (Patch supplied by Emanuel
|
461
|
+
Indermühle)
|
462
|
+
</p>
|
463
|
+
</li>
|
464
|
+
<li><p>
|
465
|
+
Switched from getoptlong to optparse (patches supplied by Edwin Pratomo)
|
466
|
+
</p>
|
467
|
+
</li>
|
468
|
+
<li><p>
|
469
|
+
The -T option will now attempt to dynamically sense the size of the
|
470
|
+
terminal. RAKE_COLUMNS will override any dynamic sensing.
|
471
|
+
</p>
|
472
|
+
</li>
|
473
|
+
<li><p>
|
474
|
+
FileList#clone and FileList#dup have better sematics w.r.t. taint and
|
475
|
+
freeze.
|
476
|
+
</p>
|
477
|
+
</li>
|
478
|
+
<li><p>
|
479
|
+
Added ability clear prerequisites, and/or actions from an existing task.
|
480
|
+
</p>
|
481
|
+
</li>
|
482
|
+
<li><p>
|
483
|
+
Added the ability to reenable a task to be invoked a second time.
|
484
|
+
</p>
|
485
|
+
</li>
|
486
|
+
<li><p>
|
487
|
+
Changed RDoc test task to have no default template. This makes it easier
|
488
|
+
for the tempate to pick up the template from the environment.
|
489
|
+
</p>
|
490
|
+
</li>
|
491
|
+
<li><p>
|
492
|
+
Changed from using Mutex to Monitor. Evidently Mutex causes thread join
|
493
|
+
errors when Ruby is compiled with -disable-pthreads. (Patch supplied by
|
494
|
+
Ittay Dror)
|
495
|
+
</p>
|
496
|
+
</li>
|
497
|
+
<li><p>
|
498
|
+
Fixed bug in makefile parser that had problems with extra spaces in file
|
499
|
+
task names. (Patch supplied by Ittay Dror)
|
500
|
+
</p>
|
501
|
+
</li>
|
502
|
+
<li><p>
|
503
|
+
Added a performance patch for reading large makefile dependency files.
|
504
|
+
(Patch supplied by Ittay Dror)
|
505
|
+
</p>
|
506
|
+
</li>
|
507
|
+
<li><p>
|
508
|
+
Default values for task arguments can easily be specified with the
|
509
|
+
:with_defaults method. (Idea for default argument merging supplied by (Adam
|
510
|
+
Q. Salter)
|
511
|
+
</p>
|
512
|
+
</li>
|
513
|
+
<li><p>
|
514
|
+
The -T output will only self-truncate if the output is a tty. However, if
|
515
|
+
RAKE_COLUMNS is explicitly set, it will be honored in any case. (Patch
|
516
|
+
provided by Gavin Stark).
|
517
|
+
</p>
|
518
|
+
</li>
|
519
|
+
<li><p>
|
520
|
+
Numerous fixes for running under windows. A big thanks to Bheeshmar
|
521
|
+
Redheendran for spending a good part of the afternoon at the Lonestar Ruby
|
522
|
+
Conference to help me work out these issues.
|
523
|
+
</p>
|
524
|
+
</li>
|
525
|
+
</ul>
|
526
|
+
<h2>Version 0.8.1</h2>
|
527
|
+
<ul>
|
528
|
+
<li><p>
|
529
|
+
Removed requires on parsedate.rb (in Ftptools)
|
530
|
+
</p>
|
531
|
+
</li>
|
532
|
+
<li><p>
|
533
|
+
Removed ftools from rake.rb. Made it options in sys.rb
|
534
|
+
</p>
|
535
|
+
</li>
|
536
|
+
</ul>
|
537
|
+
<h2>Version 0.8.0</h2>
|
538
|
+
<ul>
|
539
|
+
<li><p>
|
540
|
+
Added task parameters (e.g. “rake build[version7]”)
|
541
|
+
</p>
|
542
|
+
</li>
|
543
|
+
<li><p>
|
544
|
+
Made task parameters passable to prerequisites.
|
545
|
+
</p>
|
546
|
+
</li>
|
547
|
+
<li><p>
|
548
|
+
Comments are limited to 80 columns or so (suggested by Jamis Buck).
|
549
|
+
</p>
|
550
|
+
</li>
|
551
|
+
<li><p>
|
552
|
+
Added -D to display full comments (suggested by Jamis Buck).
|
553
|
+
</p>
|
554
|
+
</li>
|
555
|
+
<li><p>
|
556
|
+
The rake program will set the status value used in any explicit exit(n)
|
557
|
+
calls. (patch provided by Stephen Touset)
|
558
|
+
</p>
|
559
|
+
</li>
|
560
|
+
<li><p>
|
561
|
+
Fixed error in functional tests that were not including session (and
|
562
|
+
silently skipping the functionl tests.
|
563
|
+
</p>
|
564
|
+
</li>
|
565
|
+
<li><p>
|
566
|
+
Removed —usage and make -h the same as -H.
|
567
|
+
</p>
|
568
|
+
</li>
|
569
|
+
<li><p>
|
570
|
+
Make a prettier inspect for tasks.
|
571
|
+
</p>
|
572
|
+
</li>
|
573
|
+
</ul>
|
574
|
+
<h2>Version 0.7.3</h2>
|
575
|
+
<ul>
|
576
|
+
<li><p>
|
577
|
+
Added existing and existing! methods to <a
|
578
|
+
href="Rake/FileList.html">FileList</a>
|
579
|
+
</p>
|
580
|
+
</li>
|
581
|
+
<li><p>
|
582
|
+
FileLists now claim to be Arrays (via is_a?) to get better support from the
|
583
|
+
FileUtil module.
|
584
|
+
</p>
|
585
|
+
</li>
|
586
|
+
<li><p>
|
587
|
+
Added init and top_level for custom rake applications.
|
588
|
+
</p>
|
589
|
+
</li>
|
590
|
+
</ul>
|
591
|
+
<h2>Version 0.7.2</h2>
|
592
|
+
<ul>
|
593
|
+
<li><p>
|
594
|
+
Error messages are now send to stderr rather than stdout (from Payton
|
595
|
+
Quackenbush).
|
596
|
+
</p>
|
597
|
+
</li>
|
598
|
+
<li><p>
|
599
|
+
Better error handling on invalid command line arguments (from Payton
|
600
|
+
Quackenbush).
|
601
|
+
</p>
|
602
|
+
</li>
|
603
|
+
<li><p>
|
604
|
+
Added rcov task and updated unit testing for better code coverage.
|
605
|
+
</p>
|
606
|
+
</li>
|
607
|
+
<li><p>
|
608
|
+
Fixed some bugs where the application object was going to the global
|
609
|
+
appliation instead of using its own data.
|
610
|
+
</p>
|
611
|
+
</li>
|
612
|
+
<li><p>
|
613
|
+
Added square and curly bracket patterns to <a
|
614
|
+
href="Rake/FileList.html#method-i-include">FileList#include</a> (Tilman
|
615
|
+
Sauerbeck).
|
616
|
+
</p>
|
617
|
+
</li>
|
618
|
+
<li><p>
|
619
|
+
Added plain filename support to rule dependents (suggested by Nobu Nakada).
|
620
|
+
</p>
|
621
|
+
</li>
|
622
|
+
<li><p>
|
623
|
+
Added pathmap support to rule dependents.
|
624
|
+
</p>
|
625
|
+
</li>
|
626
|
+
<li><p>
|
627
|
+
Added a ‘tasks’ method to a namespace to get a list of tasks
|
628
|
+
associated with the namespace.
|
629
|
+
</p>
|
630
|
+
</li>
|
631
|
+
<li><p>
|
632
|
+
Fixed the method name leak from <a href="FileUtils.html">FileUtils</a> (bug
|
633
|
+
found by Glenn Vanderburg).
|
634
|
+
</p>
|
635
|
+
</li>
|
636
|
+
<li><p>
|
637
|
+
Added rake_extension to handle detection of extension collisions.
|
638
|
+
</p>
|
639
|
+
</li>
|
640
|
+
<li><p>
|
641
|
+
Added test for noop, bad_option and verbose flags to sh command.
|
642
|
+
</p>
|
643
|
+
</li>
|
644
|
+
<li><p>
|
645
|
+
Removed dependency on internal fu_xxx functions from <a
|
646
|
+
href="FileUtils.html">FileUtils</a>.
|
647
|
+
</p>
|
648
|
+
</li>
|
649
|
+
<li><p>
|
650
|
+
Added a ‘shame’ task to the Rakefile.
|
651
|
+
</p>
|
652
|
+
</li>
|
653
|
+
<li><p>
|
654
|
+
Added tar_command and zip_command options to the Package task.
|
655
|
+
</p>
|
656
|
+
</li>
|
657
|
+
<li><p>
|
658
|
+
Added a description to the gem task in GemPackageTask.
|
659
|
+
</p>
|
660
|
+
</li>
|
661
|
+
<li><p>
|
662
|
+
Fixed a bug when rules have multiple prerequisites (patch by Joel
|
663
|
+
VanderWerf)
|
664
|
+
</p>
|
665
|
+
</li>
|
666
|
+
<li><p>
|
667
|
+
Added a protected ‘require “rubygems”’ to
|
668
|
+
test/test_application to unbreak cruisecontrol.rb.
|
669
|
+
</p>
|
670
|
+
</li>
|
671
|
+
<li><p>
|
672
|
+
Added the handful of <a href="Rake/FileUtilsExt.html">RakeFileUtils</a> to
|
673
|
+
the private method as well.
|
674
|
+
</p>
|
675
|
+
</li>
|
676
|
+
<li><p>
|
677
|
+
Added block based exclusion.
|
678
|
+
</p>
|
679
|
+
</li>
|
680
|
+
<li><p>
|
681
|
+
The clean task will no longer delete ‘core’ if it is a
|
682
|
+
directory.
|
683
|
+
</p>
|
684
|
+
</li>
|
685
|
+
<li><p>
|
686
|
+
Removed rake_dup. Now we just simply rescue a bad dup.
|
687
|
+
</p>
|
688
|
+
</li>
|
689
|
+
<li><p>
|
690
|
+
Refactored the <a href="Rake/FileList.html">FileList</a> reject logic to
|
691
|
+
remove duplication.
|
692
|
+
</p>
|
693
|
+
</li>
|
694
|
+
<li><p>
|
695
|
+
Removed if <em>FILE</em> at the end of the rake.rb file.
|
696
|
+
</p>
|
697
|
+
</li>
|
698
|
+
</ul>
|
699
|
+
<h2>Version 0.7.1</h2>
|
700
|
+
<ul>
|
701
|
+
<li><p>
|
702
|
+
Added optional filter parameter to the —tasks command line option.
|
703
|
+
</p>
|
704
|
+
</li>
|
705
|
+
<li><p>
|
706
|
+
Added flatten to allow rule transform procs to return lists of prereqs
|
707
|
+
(Joel VanderWerf provided patch).
|
708
|
+
</p>
|
709
|
+
</li>
|
710
|
+
<li><p>
|
711
|
+
Added pathmap to <a href="String.html">String</a> and <a
|
712
|
+
href="Rake/FileList.html">FileList</a>.
|
713
|
+
</p>
|
714
|
+
</li>
|
715
|
+
<li><p>
|
716
|
+
The -r option will now load .rake files (but a straight require
|
717
|
+
doesn’t yet). NOTE: This is experimental … it may be
|
718
|
+
discontinued.
|
719
|
+
</p>
|
720
|
+
</li>
|
721
|
+
<li><p>
|
722
|
+
The -f option without a value will disable the search for a Rakefile. The
|
723
|
+
assumption is that the -r files are adequate.
|
724
|
+
</p>
|
725
|
+
</li>
|
726
|
+
<li><p>
|
727
|
+
Fixed the safe_ln function to fall back to cp in more error scenarios.
|
728
|
+
</p>
|
729
|
+
</li>
|
730
|
+
</ul>
|
731
|
+
<h2>Version 0.7.0</h2>
|
732
|
+
<ul>
|
733
|
+
<li><p>
|
734
|
+
Added Rake.original_dir to return the original starting directory of the
|
735
|
+
rake application.
|
736
|
+
</p>
|
737
|
+
</li>
|
738
|
+
<li><p>
|
739
|
+
Added safe_ln support for openAFS (from Ludvig Omholt).
|
740
|
+
</p>
|
741
|
+
</li>
|
742
|
+
<li><p>
|
743
|
+
Added —trace reminder on short exception messages (David Heinemeier
|
744
|
+
Hansson suggestion).
|
745
|
+
</p>
|
746
|
+
</li>
|
747
|
+
<li><p>
|
748
|
+
Added multitask declaration that executes prerequisites in parallel. (Doug
|
749
|
+
Young providied an initial implementation).
|
750
|
+
</p>
|
751
|
+
</li>
|
752
|
+
<li><p>
|
753
|
+
Fixed missing_const hack to be compatible with Rails. (Jamis Buck supplied
|
754
|
+
test case).
|
755
|
+
</p>
|
756
|
+
</li>
|
757
|
+
<li><p>
|
758
|
+
Made the RDoc task default to internal (in-process) RDoc formatting. The
|
759
|
+
old behavior is still available by setting the <tt>external</tt> flag to
|
760
|
+
true.
|
761
|
+
</p>
|
762
|
+
</li>
|
763
|
+
<li><p>
|
764
|
+
Rakefiles are now loaded with the expanded path to prevent accidental
|
765
|
+
polution from the Ruby load path.
|
766
|
+
</p>
|
767
|
+
</li>
|
768
|
+
<li><p>
|
769
|
+
The <tt>namespace</tt> command now returns a NameSpace object that can be
|
770
|
+
used to lookup tasks defined in that namespace. This allows for better
|
771
|
+
anonymous namespace behavior.
|
772
|
+
</p>
|
773
|
+
</li>
|
774
|
+
<li><p>
|
775
|
+
Task objects my now be used in prerequisite lists directly.
|
776
|
+
</p>
|
777
|
+
</li>
|
778
|
+
</ul>
|
779
|
+
<h2>Version 0.6.1</h2>
|
780
|
+
<ul>
|
781
|
+
<li><p>
|
782
|
+
Rebuilt 0.6.0 gem without signing.
|
783
|
+
</p>
|
784
|
+
</li>
|
785
|
+
</ul>
|
786
|
+
<h2>Version 0.6.0</h2>
|
787
|
+
<ul>
|
788
|
+
<li><p>
|
789
|
+
Fixed file creation bug in the unit tests (caused infinite loop on
|
790
|
+
windows).
|
791
|
+
</p>
|
792
|
+
</li>
|
793
|
+
<li><p>
|
794
|
+
Fixed bug where session based functional tests were run under windows.
|
795
|
+
</p>
|
796
|
+
</li>
|
797
|
+
<li><p>
|
798
|
+
Fixed bug in directory tasks so that updating a directory will not
|
799
|
+
retrigger file tasks depending on the directory (see FileCreationTask and
|
800
|
+
EarlyTime).
|
801
|
+
</p>
|
802
|
+
</li>
|
803
|
+
<li><p>
|
804
|
+
Added egrep to <a href="Rake/FileList.html">FileList</a>
|
805
|
+
</p>
|
806
|
+
</li>
|
807
|
+
<li><p>
|
808
|
+
ruby command now runs same ruby version as rake.
|
809
|
+
</p>
|
810
|
+
</li>
|
811
|
+
<li><p>
|
812
|
+
Added investigation to task object. (suggested by Martin Fowler)
|
813
|
+
</p>
|
814
|
+
</li>
|
815
|
+
<li><p>
|
816
|
+
Added ruby_opts to the test task to allow arbitrary ruby options to be
|
817
|
+
passed to the test script. (Greg Fast)
|
818
|
+
</p>
|
819
|
+
</li>
|
820
|
+
<li><p>
|
821
|
+
Fixed the test loader to ignore options. (Greg Fast)
|
822
|
+
</p>
|
823
|
+
</li>
|
824
|
+
<li><p>
|
825
|
+
Moved Task, FileTask, FileCreationTask and <a
|
826
|
+
href="Rake/Application.html">RakeApp</a> into the Rake module namespace.
|
827
|
+
Old style namespace behavior can be invoked via the
|
828
|
+
—classic-namespace option. (requested by Kelly Felkins).
|
829
|
+
</p>
|
830
|
+
</li>
|
831
|
+
<li><p>
|
832
|
+
GemTask is now sensitive to the gem platform (Masao Mutoh).
|
833
|
+
</p>
|
834
|
+
</li>
|
835
|
+
<li><p>
|
836
|
+
A non-existing file prerequisite will no longer cause an exception (Philipp
|
837
|
+
Neubeck).
|
838
|
+
</p>
|
839
|
+
</li>
|
840
|
+
<li><p>
|
841
|
+
Multiple prerequisites on Rake rules now allowed (initial patch supplied by
|
842
|
+
Stuart Jansen).
|
843
|
+
</p>
|
844
|
+
</li>
|
845
|
+
</ul>
|
846
|
+
<h2>Version 0.5.4</h2>
|
847
|
+
<ul>
|
848
|
+
<li><p>
|
849
|
+
Added double quotes to the test runner.
|
850
|
+
</p>
|
851
|
+
</li>
|
852
|
+
<li><p>
|
853
|
+
Added .svn to default ignore list.
|
854
|
+
</p>
|
855
|
+
</li>
|
856
|
+
<li><p>
|
857
|
+
Updated <a href="Rake/FileList.html#method-i-include">FileList#include</a>
|
858
|
+
to support nested arrays and filelists.
|
859
|
+
</p>
|
860
|
+
</li>
|
861
|
+
</ul>
|
862
|
+
<h2>Version 0.5.3</h2>
|
863
|
+
<ul>
|
864
|
+
<li><p>
|
865
|
+
Added support for importing Rakefile and other dependencies.
|
866
|
+
</p>
|
867
|
+
</li>
|
868
|
+
<li><p>
|
869
|
+
Fixed bug so that now rules can chain off of existing tasks as well as
|
870
|
+
existing files.
|
871
|
+
</p>
|
872
|
+
</li>
|
873
|
+
<li><p>
|
874
|
+
Fixed verbose flag bug in the testing task. Shortened some failure
|
875
|
+
messages.
|
876
|
+
</p>
|
877
|
+
</li>
|
878
|
+
<li><p>
|
879
|
+
Make <a href="FileUtils.html">FileUtils</a> methods private at the top
|
880
|
+
level module to avoid accidental method leaking into other objects.
|
881
|
+
</p>
|
882
|
+
</li>
|
883
|
+
<li><p>
|
884
|
+
Added test loader option to test task. “testrb” is no longer
|
885
|
+
the default test loader. It is now eating syntax errors that should halt
|
886
|
+
the unit tests.
|
887
|
+
</p>
|
888
|
+
</li>
|
889
|
+
<li><p>
|
890
|
+
Revamped <a href="Rake/FileList.html">FileList</a> so that it works more
|
891
|
+
like and array (addressed flatten bug). Added many tests around file list.
|
892
|
+
</p>
|
893
|
+
</li>
|
894
|
+
<li><p>
|
895
|
+
Added <tt>ext</tt> method to both <a href="String.html">String</a> and <a
|
896
|
+
href="Rake/FileList.html">FileList</a>.
|
897
|
+
</p>
|
898
|
+
</li>
|
899
|
+
</ul>
|
900
|
+
<h2>Version 0.5.0</h2>
|
901
|
+
<ul>
|
902
|
+
<li><p>
|
903
|
+
Fixed documentation that was lacking the Rake module name (Tilman
|
904
|
+
Sauerbeck).
|
905
|
+
</p>
|
906
|
+
</li>
|
907
|
+
<li><p>
|
908
|
+
Added tar.gz and tar.bz2 support to package task (Tilman Sauerbeck).
|
909
|
+
</p>
|
910
|
+
</li>
|
911
|
+
<li><p>
|
912
|
+
Recursive rules are now supported (Tilman Sauerbeck).
|
913
|
+
</p>
|
914
|
+
</li>
|
915
|
+
<li><p>
|
916
|
+
Added warning option for the Test Task (requested by Eric Hodel).
|
917
|
+
</p>
|
918
|
+
</li>
|
919
|
+
<li><p>
|
920
|
+
The jamis rdoc template is only used if it exists.
|
921
|
+
</p>
|
922
|
+
</li>
|
923
|
+
<li><p>
|
924
|
+
Added fix for Ruby 1.8.2 test/unit and rails problem.
|
925
|
+
</p>
|
926
|
+
</li>
|
927
|
+
<li><p>
|
928
|
+
Added contributed rake man file (Jani Monoses).
|
929
|
+
</p>
|
930
|
+
</li>
|
931
|
+
<li><p>
|
932
|
+
Added Brian Candler’s fix for problems in —trace and
|
933
|
+
—dry-run mode.
|
934
|
+
</p>
|
935
|
+
</li>
|
936
|
+
</ul>
|
937
|
+
<h2>Version 0.4.15</h2>
|
938
|
+
<ul>
|
939
|
+
<li><p>
|
940
|
+
Fixed a bug that prevented the TESTOPTS flag from working with the revised
|
941
|
+
for 1.8.2 test task.
|
942
|
+
</p>
|
943
|
+
</li>
|
944
|
+
<li><p>
|
945
|
+
Updated the docs on —trace to indicate that it also enables a full
|
946
|
+
backtrace on errors.
|
947
|
+
</p>
|
948
|
+
</li>
|
949
|
+
</ul>
|
950
|
+
<h2>Version 0.4.14</h2>
|
951
|
+
<ul>
|
952
|
+
<li><p>
|
953
|
+
Modified the TestTask to workaround the Ruby 1.8.2 change in autoexecuting
|
954
|
+
unit tests.
|
955
|
+
</p>
|
956
|
+
</li>
|
957
|
+
</ul>
|
958
|
+
<h2>Version 0.4.13</h2>
|
959
|
+
<ul>
|
960
|
+
<li><p>
|
961
|
+
Fixed the dry-run flag so it is operating again.
|
962
|
+
</p>
|
963
|
+
</li>
|
964
|
+
<li><p>
|
965
|
+
Multiple arguments to sh and ruby commands will not be interpreted by the
|
966
|
+
shell (patch provided by Jonathan Paisley).
|
967
|
+
</p>
|
968
|
+
</li>
|
969
|
+
</ul>
|
970
|
+
<h2>Version 0.4.12</h2>
|
971
|
+
<ul>
|
972
|
+
<li><p>
|
973
|
+
Added —silent (-s) to suppress the (in directory) rake message.
|
974
|
+
</p>
|
975
|
+
</li>
|
976
|
+
</ul>
|
977
|
+
<h2>Version 0.4.11</h2>
|
978
|
+
<ul>
|
979
|
+
<li><p>
|
980
|
+
Changed the “don’t know how to rake” message (finally)
|
981
|
+
</p>
|
982
|
+
</li>
|
983
|
+
<li><p>
|
984
|
+
Changes references to a literal “Rakefile” to reference the
|
985
|
+
global variable $rakefile (which contains the actual name of the rakefile).
|
986
|
+
</p>
|
987
|
+
</li>
|
988
|
+
</ul>
|
989
|
+
<h2>Version 0.4.10</h2>
|
990
|
+
<ul>
|
991
|
+
<li><p>
|
992
|
+
Added block support to the “sh” command, allowing users to take
|
993
|
+
special actions on the result of the system call. E.g.
|
994
|
+
</p>
|
995
|
+
<pre>
|
996
|
+
sh "shell_command" do |ok, res|
|
997
|
+
puts "Program returned #{res.exitstatus}" if ! ok
|
998
|
+
end
|
999
|
+
</pre>
|
1000
|
+
</li>
|
1001
|
+
</ul>
|
1002
|
+
<h2>Version 0.4.9</h2>
|
1003
|
+
<ul>
|
1004
|
+
<li><p>
|
1005
|
+
Switched to Jamis Buck’s RDoc template.
|
1006
|
+
</p>
|
1007
|
+
</li>
|
1008
|
+
<li><p>
|
1009
|
+
Removed autorequire from Rake’s gem spec. This prevents the Rake
|
1010
|
+
libraries from loading while using rails.
|
1011
|
+
</p>
|
1012
|
+
</li>
|
1013
|
+
</ul>
|
1014
|
+
<h2>Version 0.4.8</h2>
|
1015
|
+
<ul>
|
1016
|
+
<li><p>
|
1017
|
+
Added support for .rb versions of Rakefile.
|
1018
|
+
</p>
|
1019
|
+
</li>
|
1020
|
+
<li><p>
|
1021
|
+
Removed \n’s from test task.
|
1022
|
+
</p>
|
1023
|
+
</li>
|
1024
|
+
<li><p>
|
1025
|
+
Fixed Ruby 1.9 compatibility issue with <a
|
1026
|
+
href="Rake/FileList.html">FileList</a>.
|
1027
|
+
</p>
|
1028
|
+
</li>
|
1029
|
+
</ul>
|
1030
|
+
<h2>Version 0.4.7</h2>
|
1031
|
+
<ul>
|
1032
|
+
<li><p>
|
1033
|
+
Fixed problem in <a href="Rake/FileList.html">FileList</a> that caused Ruby
|
1034
|
+
1.9 to go into infinite recursion. Since to_a was removed from Object, it
|
1035
|
+
does not need to added back into the list of methods to rewrite in <a
|
1036
|
+
href="Rake/FileList.html">FileList</a>. (Thanks to Kent Sibilev for
|
1037
|
+
pointing this out).
|
1038
|
+
</p>
|
1039
|
+
</li>
|
1040
|
+
</ul>
|
1041
|
+
<h2>Version 0.4.6</h2>
|
1042
|
+
<ul>
|
1043
|
+
<li><p>
|
1044
|
+
Removed test version of ln in <a href="FileUtils.html">FileUtils</a> that
|
1045
|
+
prevented safe_ln from using ln.
|
1046
|
+
</p>
|
1047
|
+
</li>
|
1048
|
+
</ul>
|
1049
|
+
<h2>Version 0.4.5</h2>
|
1050
|
+
<ul>
|
1051
|
+
<li><p>
|
1052
|
+
Upgraded comments in TestTask.
|
1053
|
+
</p>
|
1054
|
+
</li>
|
1055
|
+
<li><p>
|
1056
|
+
<a href="Rake/FileList.html">FileList</a> to_s and inspect now
|
1057
|
+
automatically resolve pending changes.
|
1058
|
+
</p>
|
1059
|
+
</li>
|
1060
|
+
<li><p>
|
1061
|
+
<a href="Rake/FileList.html#method-i-exclude">FileList#exclude</a> properly
|
1062
|
+
returns the <a href="Rake/FileList.html">FileList</a>.
|
1063
|
+
</p>
|
1064
|
+
</li>
|
1065
|
+
</ul>
|
1066
|
+
<h2>Version 0.4.4</h2>
|
1067
|
+
<ul>
|
1068
|
+
<li><p>
|
1069
|
+
Fixed initialization problem with @comment.
|
1070
|
+
</p>
|
1071
|
+
</li>
|
1072
|
+
<li><p>
|
1073
|
+
Now using multi -r technique in TestTask. Switch Rakefile back to using
|
1074
|
+
the built-in test task macros because the rake runtime is no longer needed.
|
1075
|
+
</p>
|
1076
|
+
</li>
|
1077
|
+
<li><p>
|
1078
|
+
Added ‘TEST=filename’ and ‘TESTOPTS=options’ to the
|
1079
|
+
Test Task macros.
|
1080
|
+
</p>
|
1081
|
+
</li>
|
1082
|
+
<li><p>
|
1083
|
+
Allow a <tt>test_files</tt> attribute in test tasks. This allows more
|
1084
|
+
flexibility in specifying test files.
|
1085
|
+
</p>
|
1086
|
+
</li>
|
1087
|
+
</ul>
|
1088
|
+
<h2>Version 0.4.3</h2>
|
1089
|
+
<ul>
|
1090
|
+
<li><p>
|
1091
|
+
Fixed Comment leakage.
|
1092
|
+
</p>
|
1093
|
+
</li>
|
1094
|
+
</ul>
|
1095
|
+
<h2>Version 0.4.2</h2>
|
1096
|
+
<ul>
|
1097
|
+
<li><p>
|
1098
|
+
Added safe_ln that falls back to a copy if a file link is not supported.
|
1099
|
+
</p>
|
1100
|
+
</li>
|
1101
|
+
<li><p>
|
1102
|
+
Package builder now uses safe_ln.
|
1103
|
+
</p>
|
1104
|
+
</li>
|
1105
|
+
</ul>
|
1106
|
+
<h2>Version 0.4.1</h2>
|
1107
|
+
<ul>
|
1108
|
+
<li><p>
|
1109
|
+
Task comments are now additive, combined with “/”.
|
1110
|
+
</p>
|
1111
|
+
</li>
|
1112
|
+
<li><p>
|
1113
|
+
Works with (soon to be released) rubygems 0.6.2 (or 0.7.0)
|
1114
|
+
</p>
|
1115
|
+
</li>
|
1116
|
+
</ul>
|
1117
|
+
<h2>Version 0.4.0</h2>
|
1118
|
+
<ul>
|
1119
|
+
<li><p>
|
1120
|
+
<a href="Rake/FileList.html">FileList</a> now uses deferred loading. The
|
1121
|
+
file system is not searched until the first call that needs the file names.
|
1122
|
+
</p>
|
1123
|
+
</li>
|
1124
|
+
<li><p>
|
1125
|
+
VAR=VALUE options are now accepted on the command line and are treated like
|
1126
|
+
environment variables. The values may be tested in a Rakefile by
|
1127
|
+
referencing ENV[‘VAR’].
|
1128
|
+
</p>
|
1129
|
+
</li>
|
1130
|
+
<li><p>
|
1131
|
+
File.mtime is now used (instead of File.new().mtime).
|
1132
|
+
</p>
|
1133
|
+
</li>
|
1134
|
+
</ul>
|
1135
|
+
<h2>Version 0.3.2.x</h2>
|
1136
|
+
<ul>
|
1137
|
+
<li><p>
|
1138
|
+
Removed some hidden dependencies on rubygems. Tests now will test gems
|
1139
|
+
only if they are installed.
|
1140
|
+
</p>
|
1141
|
+
</li>
|
1142
|
+
<li><p>
|
1143
|
+
Removed <a href="Sys.html">Sys</a> from some example files. I believe that
|
1144
|
+
is that last reference to <a href="Sys.html">Sys</a> outside of the contrib
|
1145
|
+
area.
|
1146
|
+
</p>
|
1147
|
+
</li>
|
1148
|
+
<li><p>
|
1149
|
+
Updated all copyright notices to include 2004.
|
1150
|
+
</p>
|
1151
|
+
</li>
|
1152
|
+
</ul>
|
1153
|
+
<h2>Version 0.3.2</h2>
|
1154
|
+
<ul>
|
1155
|
+
<li><p>
|
1156
|
+
GEM Installation now works with the application stub.
|
1157
|
+
</p>
|
1158
|
+
</li>
|
1159
|
+
</ul>
|
1160
|
+
<h2>Version 0.3.1</h2>
|
1161
|
+
<ul>
|
1162
|
+
<li><p>
|
1163
|
+
FileLists now automatically ignore CVS, .bak, !
|
1164
|
+
</p>
|
1165
|
+
</li>
|
1166
|
+
<li><p>
|
1167
|
+
GEM Installation now works.
|
1168
|
+
</p>
|
1169
|
+
</li>
|
1170
|
+
</ul>
|
1171
|
+
<h2>Version 0.3.0</h2>
|
1172
|
+
<p>
|
1173
|
+
Promoted 0.2.10.
|
1174
|
+
</p>
|
1175
|
+
<h2>Version 0.2.10</h2>
|
1176
|
+
<p>
|
1177
|
+
General
|
1178
|
+
</p>
|
1179
|
+
<ul>
|
1180
|
+
<li><p>
|
1181
|
+
Added title to Rake’s rdocs
|
1182
|
+
</p>
|
1183
|
+
</li>
|
1184
|
+
<li><p>
|
1185
|
+
Contrib packages are no longer included in the documentation.
|
1186
|
+
</p>
|
1187
|
+
</li>
|
1188
|
+
</ul>
|
1189
|
+
<p>
|
1190
|
+
RDoc Issues
|
1191
|
+
</p>
|
1192
|
+
<ul>
|
1193
|
+
<li><p>
|
1194
|
+
Removed default for the ’—main’ option
|
1195
|
+
</p>
|
1196
|
+
</li>
|
1197
|
+
<li><p>
|
1198
|
+
Fixed rendering of the rdoc options
|
1199
|
+
</p>
|
1200
|
+
</li>
|
1201
|
+
<li><p>
|
1202
|
+
Fixed clean/clobber confusion with rerdoc
|
1203
|
+
</p>
|
1204
|
+
</li>
|
1205
|
+
<li><p>
|
1206
|
+
‘title’ attribute added
|
1207
|
+
</p>
|
1208
|
+
</li>
|
1209
|
+
</ul>
|
1210
|
+
<p>
|
1211
|
+
Package Task Library Issues
|
1212
|
+
</p>
|
1213
|
+
<ul>
|
1214
|
+
<li><p>
|
1215
|
+
Version (or explicit :noversion) is required.
|
1216
|
+
</p>
|
1217
|
+
</li>
|
1218
|
+
<li><p>
|
1219
|
+
<tt>package_file</tt> attribute is now writable
|
1220
|
+
</p>
|
1221
|
+
</li>
|
1222
|
+
</ul>
|
1223
|
+
<p>
|
1224
|
+
<a href="Rake/FileList.html">FileList</a> Issues
|
1225
|
+
</p>
|
1226
|
+
<ul>
|
1227
|
+
<li><p>
|
1228
|
+
Dropped bang version of exclude. Now using ant-like include/exclude
|
1229
|
+
semantics.
|
1230
|
+
</p>
|
1231
|
+
</li>
|
1232
|
+
<li><p>
|
1233
|
+
Enabled the “yield self” idiom in FileList#initialize.
|
1234
|
+
</p>
|
1235
|
+
</li>
|
1236
|
+
</ul>
|
1237
|
+
<h2>Version 0.2.9</h2>
|
1238
|
+
<p>
|
1239
|
+
This version contains numerous changes as the RubyConf.new(2003)
|
1240
|
+
presentation was being prepared. The changes include:
|
1241
|
+
</p>
|
1242
|
+
<ul>
|
1243
|
+
<li><p>
|
1244
|
+
The monolithic rubyapp task library is in the process of being dropped in
|
1245
|
+
favor of lighter weight task libraries.
|
1246
|
+
</p>
|
1247
|
+
</li>
|
1248
|
+
</ul>
|
1249
|
+
<h2>Version 0.2.7</h2>
|
1250
|
+
<ul>
|
1251
|
+
<li><p>
|
1252
|
+
Added “desc” for task descriptions.
|
1253
|
+
</p>
|
1254
|
+
</li>
|
1255
|
+
<li><p>
|
1256
|
+
-T will now display tasks with descriptions.
|
1257
|
+
</p>
|
1258
|
+
</li>
|
1259
|
+
<li><p>
|
1260
|
+
-P will display tasks and prerequisites.
|
1261
|
+
</p>
|
1262
|
+
</li>
|
1263
|
+
<li><p>
|
1264
|
+
Dropped the <a href="Sys.html">Sys</a> module in favor of the 1.8.x <a
|
1265
|
+
href="FileUtils.html">FileUtils</a> module. <a href="Sys.html">Sys</a> is
|
1266
|
+
still supported in the contrib area.
|
1267
|
+
</p>
|
1268
|
+
</li>
|
1269
|
+
</ul>
|
1270
|
+
<h2>Version 0.2.6</h2>
|
1271
|
+
<ul>
|
1272
|
+
<li><p>
|
1273
|
+
Moved to RubyForge
|
1274
|
+
</p>
|
1275
|
+
</li>
|
1276
|
+
</ul>
|
1277
|
+
<h2>Version 0.2.5</h2>
|
1278
|
+
<ul>
|
1279
|
+
<li><p>
|
1280
|
+
Switched to standard ruby app builder.
|
1281
|
+
</p>
|
1282
|
+
</li>
|
1283
|
+
<li><p>
|
1284
|
+
Added no_match option to file matcher.
|
1285
|
+
</p>
|
1286
|
+
</li>
|
1287
|
+
</ul>
|
1288
|
+
<h2>Version 0.2.4</h2>
|
1289
|
+
<ul>
|
1290
|
+
<li><p>
|
1291
|
+
Fixed indir, which neglected to actually change directories.
|
1292
|
+
</p>
|
1293
|
+
</li>
|
1294
|
+
</ul>
|
1295
|
+
<h2>Version 0.2.3</h2>
|
1296
|
+
<ul>
|
1297
|
+
<li><p>
|
1298
|
+
Added rake module for a help target
|
1299
|
+
</p>
|
1300
|
+
</li>
|
1301
|
+
<li><p>
|
1302
|
+
Added ‘for_files’ to <a href="Sys.html">Sys</a>
|
1303
|
+
</p>
|
1304
|
+
</li>
|
1305
|
+
<li><p>
|
1306
|
+
Added a $rakefile constant
|
1307
|
+
</p>
|
1308
|
+
</li>
|
1309
|
+
<li><p>
|
1310
|
+
Added test for selecting proper rule with multiple targets.
|
1311
|
+
</p>
|
1312
|
+
</li>
|
1313
|
+
</ul>
|
1314
|
+
|
1315
|
+
</div>
|
1316
|
+
|
1317
|
+
<div id="validator-badges">
|
1318
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
1319
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
1320
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
1321
|
+
</div>
|
1322
|
+
</body>
|
1323
|
+
</html>
|
1324
|
+
|