rubu 0.0.2 → 0.0.3
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.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +3 -0
- data/README.rdoc +26 -1
- data/doc/Array.html +28 -28
- data/doc/Rubu.html +2 -2
- data/doc/Rubu/Fork.html +5 -5
- data/doc/Rubu/Info.html +9 -9
- data/doc/Rubu/Mark.html +1 -1
- data/doc/Rubu/Move.html +1 -1
- data/doc/Rubu/MoveStyles.html +1 -1
- data/doc/Rubu/Order.html +20 -9
- data/doc/Rubu/RubyCommand.html +1 -1
- data/doc/Rubu/ShellCommand.html +1 -1
- data/doc/Rubu/State.html +1 -1
- data/doc/Rubu/Step.html +106 -104
- data/doc/Rubu/StepAged.html +6 -6
- data/doc/Rubu/StepAgedMark.html +291 -0
- data/doc/Rubu/StepAlways.html +5 -5
- data/doc/Rubu/StepMark.html +10 -8
- data/doc/Rubu/Trail.html +57 -57
- data/doc/Rubu/Var.html +9 -9
- data/doc/Rubu/Walk.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.CHANGELOG.html +5 -2
- data/doc/file.README.html +26 -1
- data/doc/index.html +26 -1
- data/doc/top-level-namespace.html +1 -1
- data/example/bin/gen_world +5 -1
- data/example/bin/rubu_example +34 -6
- data/example/build/hello +0 -0
- data/example/build/world.o +0 -0
- data/example/{build → gen_cee}/world.c +0 -0
- data/example/up-to-date +127 -0
- data/lib/rubu.rb +10 -3
- data/lib/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46e803d19595870f07e2851b37a99c2b47cb39c1
|
4
|
+
data.tar.gz: 890357c13cc80edad316c408b6d19ffe3d832b78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfb519e0356513bdd66705af23564b4b9a5bdf156e0b96ba152dbf91a7445decfc0a44963b05c2966d71df4a81bc97f548a20bda3409fcb5c65c58f0e3a8d869
|
7
|
+
data.tar.gz: f20b763c2cc67921afe728209b4d010107fa7e72541ee915c25fdab97da528f8219cb06ef735c133b30cf25825b0dc461c964fd9f4d690d61292cfa01c9c0709
|
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -55,6 +55,31 @@ Also take a look into the build program itself:
|
|
55
55
|
There are comments which highlight purpose of the build program
|
56
56
|
content.
|
57
57
|
|
58
|
+
Sometimes it is useful to run {Rubu} automatically whenever a file
|
59
|
+
changes. Linux provides a facility called *inotify*, which can be used
|
60
|
+
in Ruby through "rb-inotify" gem. Automatic update example program is
|
61
|
+
in:
|
62
|
+
|
63
|
+
example/up-to-date
|
64
|
+
|
65
|
+
This program runs {Rubu} each time there is a change in "src" or in
|
66
|
+
"bin" directory. It compiles and generates C files if necessary. If
|
67
|
+
there are new compilation requirements coming, before all previous
|
68
|
+
have been completed, it will continue compilation. When all
|
69
|
+
compilations are done (i.e. none pending), it will call {Rubu} to
|
70
|
+
perform linking. "up-to-date" displays status messages in red and
|
71
|
+
green on the screen. If it is started with "-v" option the compile
|
72
|
+
commands are visible, and if it is started with "-d" option, there is
|
73
|
+
extra delay in compilation command.
|
74
|
+
|
75
|
+
cd example
|
76
|
+
up-to-date -v -d
|
77
|
+
|
78
|
+
This is useful if you want to play around with the pending compilation
|
79
|
+
processes when new changes are coming in. You can make (dummy) changes
|
80
|
+
to "hello_world.c" (for example), and follow the updates in the
|
81
|
+
terminal where you started "up-to-date".
|
82
|
+
|
58
83
|
|
59
84
|
== Concepts
|
60
85
|
|
@@ -214,7 +239,7 @@ one command is needed, it can be simply executed:
|
|
214
239
|
end
|
215
240
|
|
216
241
|
If there are multiple commands, then the commands can be grouped for
|
217
|
-
sequential ("walk") or parallel execution ("fork").
|
242
|
+
sequential ("walk") or parallel execution ("fork").
|
218
243
|
|
219
244
|
def step
|
220
245
|
fork do
|
data/doc/Array.html
CHANGED
@@ -280,12 +280,12 @@
|
|
280
280
|
<pre class="lines">
|
281
281
|
|
282
282
|
|
283
|
-
|
284
|
-
|
285
|
-
|
283
|
+
871
|
284
|
+
872
|
285
|
+
873</pre>
|
286
286
|
</td>
|
287
287
|
<td>
|
288
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
288
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 871</span>
|
289
289
|
|
290
290
|
<span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span><span class='lparen'>(</span> <span class='id identifier rubyid_joiner'>joiner</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span> <span class='rparen'>)</span>
|
291
291
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_item'>item</span><span class='op'>|</span> <span class='id identifier rubyid_item'>item</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span> <span class='id identifier rubyid_joiner'>joiner</span> <span class='rparen'>)</span>
|
@@ -321,14 +321,14 @@
|
|
321
321
|
<pre class="lines">
|
322
322
|
|
323
323
|
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
324
|
+
864
|
325
|
+
865
|
326
|
+
866
|
327
|
+
867
|
328
|
+
868</pre>
|
329
329
|
</td>
|
330
330
|
<td>
|
331
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
331
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 864</span>
|
332
332
|
|
333
333
|
<span class='kw'>def</span> <span class='id identifier rubyid_peer'>peer</span><span class='lparen'>(</span> <span class='id identifier rubyid_rdir'>rdir</span><span class='comma'>,</span> <span class='id identifier rubyid_ext'>ext</span><span class='comma'>,</span> <span class='id identifier rubyid_base'>base</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
|
334
334
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_item'>item</span><span class='op'>|</span>
|
@@ -366,12 +366,12 @@
|
|
366
366
|
<pre class="lines">
|
367
367
|
|
368
368
|
|
369
|
-
|
370
|
-
|
371
|
-
|
369
|
+
876
|
370
|
+
877
|
371
|
+
878</pre>
|
372
372
|
</td>
|
373
373
|
<td>
|
374
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
374
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 876</span>
|
375
375
|
|
376
376
|
<span class='kw'>def</span> <span class='id identifier rubyid_rpath'>rpath</span><span class='lparen'>(</span> <span class='id identifier rubyid_joiner'>joiner</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span> <span class='rparen'>)</span>
|
377
377
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_item'>item</span><span class='op'>|</span> <span class='id identifier rubyid_item'>item</span><span class='period'>.</span><span class='id identifier rubyid_rpath'>rpath</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span> <span class='id identifier rubyid_joiner'>joiner</span> <span class='rparen'>)</span>
|
@@ -407,15 +407,15 @@
|
|
407
407
|
<pre class="lines">
|
408
408
|
|
409
409
|
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
410
|
+
856
|
411
|
+
857
|
412
|
+
858
|
413
|
+
859
|
414
|
+
860
|
415
|
+
861</pre>
|
416
416
|
</td>
|
417
417
|
<td>
|
418
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
418
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 856</span>
|
419
419
|
|
420
420
|
<span class='kw'>def</span> <span class='id identifier rubyid_set_opt'>set_opt</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span> <span class='rparen'>)</span>
|
421
421
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_item'>item</span><span class='op'>|</span>
|
@@ -454,14 +454,14 @@
|
|
454
454
|
<pre class="lines">
|
455
455
|
|
456
456
|
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
457
|
+
849
|
458
|
+
850
|
459
|
+
851
|
460
|
+
852
|
461
|
+
853</pre>
|
462
462
|
</td>
|
463
463
|
<td>
|
464
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
464
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 849</span>
|
465
465
|
|
466
466
|
<span class='kw'>def</span> <span class='id identifier rubyid_use'>use</span>
|
467
467
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_item'>item</span><span class='op'>|</span>
|
@@ -478,7 +478,7 @@
|
|
478
478
|
</div>
|
479
479
|
|
480
480
|
<div id="footer">
|
481
|
-
Generated on Sun Jul
|
481
|
+
Generated on Sun Jul 8 19:50:20 2018 by
|
482
482
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
483
483
|
0.8.7.6 (ruby-2.3.3).
|
484
484
|
</div>
|
data/doc/Rubu.html
CHANGED
@@ -107,7 +107,7 @@
|
|
107
107
|
<dt id="VERSION-constant" class="">VERSION =
|
108
108
|
|
109
109
|
</dt>
|
110
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.
|
110
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.3</span><span class='tstring_end'>"</span></span></pre></dd>
|
111
111
|
|
112
112
|
</dl>
|
113
113
|
|
@@ -192,7 +192,7 @@
|
|
192
192
|
</div>
|
193
193
|
|
194
194
|
<div id="footer">
|
195
|
-
Generated on Sun Jul
|
195
|
+
Generated on Sun Jul 8 19:50:20 2018 by
|
196
196
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
197
197
|
0.8.7.6 (ruby-2.3.3).
|
198
198
|
</div>
|
data/doc/Rubu/Fork.html
CHANGED
@@ -224,12 +224,12 @@
|
|
224
224
|
<pre class="lines">
|
225
225
|
|
226
226
|
|
227
|
-
|
228
|
-
|
229
|
-
|
227
|
+
837
|
228
|
+
838
|
229
|
+
839</pre>
|
230
230
|
</td>
|
231
231
|
<td>
|
232
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
232
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 837</span>
|
233
233
|
|
234
234
|
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
|
235
235
|
<span class='id identifier rubyid_parallel_run'>parallel_run</span>
|
@@ -244,7 +244,7 @@
|
|
244
244
|
</div>
|
245
245
|
|
246
246
|
<div id="footer">
|
247
|
-
Generated on Sun Jul
|
247
|
+
Generated on Sun Jul 8 19:50:20 2018 by
|
248
248
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
249
249
|
0.8.7.6 (ruby-2.3.3).
|
250
250
|
</div>
|
data/doc/Rubu/Info.html
CHANGED
@@ -220,12 +220,12 @@
|
|
220
220
|
<pre class="lines">
|
221
221
|
|
222
222
|
|
223
|
-
|
224
|
-
|
225
|
-
|
223
|
+
456
|
224
|
+
457
|
225
|
+
458</pre>
|
226
226
|
</td>
|
227
227
|
<td>
|
228
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
228
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 456</span>
|
229
229
|
|
230
230
|
<span class='kw'>def</span> <span class='const'>Info</span><span class='period'>.</span><span class='op'>[]</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span> <span class='rparen'>)</span>
|
231
231
|
<span class='cvar'>@@info</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span>
|
@@ -261,12 +261,12 @@
|
|
261
261
|
<pre class="lines">
|
262
262
|
|
263
263
|
|
264
|
-
|
265
|
-
|
266
|
-
|
264
|
+
451
|
265
|
+
452
|
266
|
+
453</pre>
|
267
267
|
</td>
|
268
268
|
<td>
|
269
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
269
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 451</span>
|
270
270
|
|
271
271
|
<span class='kw'>def</span> <span class='const'>Info</span><span class='period'>.</span><span class='op'>[]=</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span> <span class='rparen'>)</span>
|
272
272
|
<span class='cvar'>@@info</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
|
@@ -281,7 +281,7 @@
|
|
281
281
|
</div>
|
282
282
|
|
283
283
|
<div id="footer">
|
284
|
-
Generated on Sun Jul
|
284
|
+
Generated on Sun Jul 8 19:50:19 2018 by
|
285
285
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
286
286
|
0.8.7.6 (ruby-2.3.3).
|
287
287
|
</div>
|
data/doc/Rubu/Mark.html
CHANGED
@@ -1574,7 +1574,7 @@ bare file names are not usable.</p>
|
|
1574
1574
|
</div>
|
1575
1575
|
|
1576
1576
|
<div id="footer">
|
1577
|
-
Generated on Sun Jul
|
1577
|
+
Generated on Sun Jul 8 19:50:19 2018 by
|
1578
1578
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1579
1579
|
0.8.7.6 (ruby-2.3.3).
|
1580
1580
|
</div>
|
data/doc/Rubu/Move.html
CHANGED
@@ -928,7 +928,7 @@
|
|
928
928
|
</div>
|
929
929
|
|
930
930
|
<div id="footer">
|
931
|
-
Generated on Sun Jul
|
931
|
+
Generated on Sun Jul 8 19:50:19 2018 by
|
932
932
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
933
933
|
0.8.7.6 (ruby-2.3.3).
|
934
934
|
</div>
|
data/doc/Rubu/MoveStyles.html
CHANGED
@@ -394,7 +394,7 @@
|
|
394
394
|
</div>
|
395
395
|
|
396
396
|
<div id="footer">
|
397
|
-
Generated on Sun Jul
|
397
|
+
Generated on Sun Jul 8 19:50:19 2018 by
|
398
398
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
399
399
|
0.8.7.6 (ruby-2.3.3).
|
400
400
|
</div>
|
data/doc/Rubu/Order.html
CHANGED
@@ -104,6 +104,17 @@
|
|
104
104
|
|
105
105
|
<p>Configuration space for Rubu.</p>
|
106
106
|
|
107
|
+
<p>Options:</p>
|
108
|
+
<ul><li>
|
109
|
+
<p>serial - Force parallel executions to serial.</p>
|
110
|
+
</li><li>
|
111
|
+
<p>parmax - Limit the number of parallel executions.</p>
|
112
|
+
</li><li>
|
113
|
+
<p>verbose - Show command executions.</p>
|
114
|
+
</li><li>
|
115
|
+
<p>force - Force Step updates.</p>
|
116
|
+
</li></ul>
|
117
|
+
|
107
118
|
|
108
119
|
</div>
|
109
120
|
</div>
|
@@ -220,12 +231,12 @@
|
|
220
231
|
<pre class="lines">
|
221
232
|
|
222
233
|
|
223
|
-
|
224
|
-
|
225
|
-
|
234
|
+
408
|
235
|
+
409
|
236
|
+
410</pre>
|
226
237
|
</td>
|
227
238
|
<td>
|
228
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
239
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 408</span>
|
229
240
|
|
230
241
|
<span class='kw'>def</span> <span class='const'>Order</span><span class='period'>.</span><span class='op'>[]</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span> <span class='rparen'>)</span>
|
231
242
|
<span class='cvar'>@@order</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span>
|
@@ -261,12 +272,12 @@
|
|
261
272
|
<pre class="lines">
|
262
273
|
|
263
274
|
|
264
|
-
|
265
|
-
|
266
|
-
|
275
|
+
403
|
276
|
+
404
|
277
|
+
405</pre>
|
267
278
|
</td>
|
268
279
|
<td>
|
269
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
280
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 403</span>
|
270
281
|
|
271
282
|
<span class='kw'>def</span> <span class='const'>Order</span><span class='period'>.</span><span class='op'>[]=</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span> <span class='rparen'>)</span>
|
272
283
|
<span class='cvar'>@@order</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
|
@@ -281,7 +292,7 @@
|
|
281
292
|
</div>
|
282
293
|
|
283
294
|
<div id="footer">
|
284
|
-
Generated on Sun Jul
|
295
|
+
Generated on Sun Jul 8 19:50:19 2018 by
|
285
296
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
286
297
|
0.8.7.6 (ruby-2.3.3).
|
287
298
|
</div>
|
data/doc/Rubu/RubyCommand.html
CHANGED
@@ -319,7 +319,7 @@
|
|
319
319
|
</div>
|
320
320
|
|
321
321
|
<div id="footer">
|
322
|
-
Generated on Sun Jul
|
322
|
+
Generated on Sun Jul 8 19:50:19 2018 by
|
323
323
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
324
324
|
0.8.7.6 (ruby-2.3.3).
|
325
325
|
</div>
|
data/doc/Rubu/ShellCommand.html
CHANGED
@@ -337,7 +337,7 @@
|
|
337
337
|
</div>
|
338
338
|
|
339
339
|
<div id="footer">
|
340
|
-
Generated on Sun Jul
|
340
|
+
Generated on Sun Jul 8 19:50:19 2018 by
|
341
341
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
342
342
|
0.8.7.6 (ruby-2.3.3).
|
343
343
|
</div>
|
data/doc/Rubu/State.html
CHANGED
@@ -500,7 +500,7 @@ checksums of file content.</p>
|
|
500
500
|
</div>
|
501
501
|
|
502
502
|
<div id="footer">
|
503
|
-
Generated on Sun Jul
|
503
|
+
Generated on Sun Jul 8 19:50:19 2018 by
|
504
504
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
505
505
|
0.8.7.6 (ruby-2.3.3).
|
506
506
|
</div>
|
data/doc/Rubu/Step.html
CHANGED
@@ -717,12 +717,6 @@ more targets.</p>
|
|
717
717
|
<pre class="lines">
|
718
718
|
|
719
719
|
|
720
|
-
500
|
721
|
-
501
|
722
|
-
502
|
723
|
-
503
|
724
|
-
504
|
725
|
-
505
|
726
720
|
506
|
727
721
|
507
|
728
722
|
508
|
@@ -733,10 +727,16 @@ more targets.</p>
|
|
733
727
|
513
|
734
728
|
514
|
735
729
|
515
|
736
|
-
516
|
730
|
+
516
|
731
|
+
517
|
732
|
+
518
|
733
|
+
519
|
734
|
+
520
|
735
|
+
521
|
736
|
+
522</pre>
|
737
737
|
</td>
|
738
738
|
<td>
|
739
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
739
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 506</span>
|
740
740
|
|
741
741
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span> <span class='id identifier rubyid_sources'>sources</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_targets'>targets</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span> <span class='rparen'>)</span>
|
742
742
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
@@ -793,12 +793,12 @@ more targets.</p>
|
|
793
793
|
<pre class="lines">
|
794
794
|
|
795
795
|
|
796
|
-
|
797
|
-
|
798
|
-
|
796
|
+
499
|
797
|
+
500
|
798
|
+
501</pre>
|
799
799
|
</td>
|
800
800
|
<td>
|
801
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
801
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 499</span>
|
802
802
|
|
803
803
|
<span class='kw'>def</span> <span class='id identifier rubyid_sources'>sources</span>
|
804
804
|
<span class='ivar'>@sources</span>
|
@@ -836,12 +836,12 @@ more targets.</p>
|
|
836
836
|
<pre class="lines">
|
837
837
|
|
838
838
|
|
839
|
-
|
840
|
-
|
841
|
-
|
839
|
+
500
|
840
|
+
501
|
841
|
+
502</pre>
|
842
842
|
</td>
|
843
843
|
<td>
|
844
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
844
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 500</span>
|
845
845
|
|
846
846
|
<span class='kw'>def</span> <span class='id identifier rubyid_targets'>targets</span>
|
847
847
|
<span class='ivar'>@targets</span>
|
@@ -924,12 +924,12 @@ more targets.</p>
|
|
924
924
|
<pre class="lines">
|
925
925
|
|
926
926
|
|
927
|
-
|
928
|
-
|
929
|
-
|
927
|
+
473
|
928
|
+
474
|
929
|
+
475</pre>
|
930
930
|
</td>
|
931
931
|
<td>
|
932
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
932
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 473</span>
|
933
933
|
|
934
934
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_use'>use</span><span class='lparen'>(</span> <span class='id identifier rubyid_sources'>sources</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_targets'>targets</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span> <span class='rparen'>)</span>
|
935
935
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_sources'>sources</span><span class='comma'>,</span> <span class='id identifier rubyid_targets'>targets</span> <span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_use'>use</span>
|
@@ -1001,14 +1001,14 @@ more targets.</p>
|
|
1001
1001
|
<pre class="lines">
|
1002
1002
|
|
1003
1003
|
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1004
|
+
492
|
1005
|
+
493
|
1006
|
+
494
|
1007
|
+
495
|
1008
|
+
496</pre>
|
1009
1009
|
</td>
|
1010
1010
|
<td>
|
1011
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1011
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 492</span>
|
1012
1012
|
|
1013
1013
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_usezip'>usezip</span><span class='lparen'>(</span> <span class='id identifier rubyid_sources'>sources</span><span class='comma'>,</span> <span class='id identifier rubyid_targets'>targets</span> <span class='rparen'>)</span>
|
1014
1014
|
<span class='id identifier rubyid_sources'>sources</span><span class='period'>.</span><span class='id identifier rubyid_zip'>zip</span><span class='lparen'>(</span> <span class='id identifier rubyid_targets'>targets</span> <span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_pair'>pair</span><span class='op'>|</span>
|
@@ -1082,14 +1082,14 @@ more targets.</p>
|
|
1082
1082
|
<pre class="lines">
|
1083
1083
|
|
1084
1084
|
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1085
|
+
481
|
1086
|
+
482
|
1087
|
+
483
|
1088
|
+
484
|
1089
|
+
485</pre>
|
1090
1090
|
</td>
|
1091
1091
|
<td>
|
1092
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1092
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 481</span>
|
1093
1093
|
|
1094
1094
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_zip'>zip</span><span class='lparen'>(</span> <span class='id identifier rubyid_sources'>sources</span><span class='comma'>,</span> <span class='id identifier rubyid_targets'>targets</span> <span class='rparen'>)</span>
|
1095
1095
|
<span class='id identifier rubyid_sources'>sources</span><span class='period'>.</span><span class='id identifier rubyid_zip'>zip</span><span class='lparen'>(</span> <span class='id identifier rubyid_targets'>targets</span> <span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_pair'>pair</span><span class='op'>|</span>
|
@@ -1146,12 +1146,6 @@ more targets.</p>
|
|
1146
1146
|
<pre class="lines">
|
1147
1147
|
|
1148
1148
|
|
1149
|
-
543
|
1150
|
-
544
|
1151
|
-
545
|
1152
|
-
546
|
1153
|
-
547
|
1154
|
-
548
|
1155
1149
|
549
|
1156
1150
|
550
|
1157
1151
|
551
|
@@ -1172,10 +1166,16 @@ more targets.</p>
|
|
1172
1166
|
566
|
1173
1167
|
567
|
1174
1168
|
568
|
1175
|
-
569
|
1169
|
+
569
|
1170
|
+
570
|
1171
|
+
571
|
1172
|
+
572
|
1173
|
+
573
|
1174
|
+
574
|
1175
|
+
575</pre>
|
1176
1176
|
</td>
|
1177
1177
|
<td>
|
1178
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1178
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 549</span>
|
1179
1179
|
|
1180
1180
|
<span class='kw'>def</span> <span class='id identifier rubyid_date_update?'>date_update?</span>
|
1181
1181
|
|
@@ -1235,15 +1235,15 @@ more targets.</p>
|
|
1235
1235
|
<pre class="lines">
|
1236
1236
|
|
1237
1237
|
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1238
|
+
647
|
1239
|
+
648
|
1240
|
+
649
|
1241
|
+
650
|
1242
|
+
651
|
1243
|
+
652</pre>
|
1244
1244
|
</td>
|
1245
1245
|
<td>
|
1246
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1246
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 647</span>
|
1247
1247
|
|
1248
1248
|
<span class='kw'>def</span> <span class='id identifier rubyid_fork'>fork</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
1249
1249
|
<span class='id identifier rubyid_host_in'>host_in</span>
|
@@ -1295,12 +1295,6 @@ more targets.</p>
|
|
1295
1295
|
<pre class="lines">
|
1296
1296
|
|
1297
1297
|
|
1298
|
-
573
|
1299
|
-
574
|
1300
|
-
575
|
1301
|
-
576
|
1302
|
-
577
|
1303
|
-
578
|
1304
1298
|
579
|
1305
1299
|
580
|
1306
1300
|
581
|
@@ -1322,14 +1316,22 @@ more targets.</p>
|
|
1322
1316
|
597
|
1323
1317
|
598
|
1324
1318
|
599
|
1325
|
-
600
|
1319
|
+
600
|
1320
|
+
601
|
1321
|
+
602
|
1322
|
+
603
|
1323
|
+
604
|
1324
|
+
605
|
1325
|
+
606
|
1326
|
+
607</pre>
|
1326
1327
|
</td>
|
1327
1328
|
<td>
|
1328
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1329
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 579</span>
|
1329
1330
|
|
1330
1331
|
<span class='kw'>def</span> <span class='id identifier rubyid_mark_update?'>mark_update?</span>
|
1331
1332
|
|
1332
1333
|
<span class='kw'>unless</span> <span class='id identifier rubyid_date_update?'>date_update?</span>
|
1334
|
+
<span class='id identifier rubyid_target'>target</span><span class='period'>.</span><span class='id identifier rubyid_skip'>skip</span> <span class='op'>=</span> <span class='kw'>true</span>
|
1333
1335
|
<span class='kw'>return</span> <span class='kw'>false</span>
|
1334
1336
|
<span class='kw'>end</span>
|
1335
1337
|
|
@@ -1408,12 +1410,12 @@ more targets.</p>
|
|
1408
1410
|
<pre class="lines">
|
1409
1411
|
|
1410
1412
|
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1413
|
+
634
|
1414
|
+
635
|
1415
|
+
636</pre>
|
1414
1416
|
</td>
|
1415
1417
|
<td>
|
1416
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1418
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 634</span>
|
1417
1419
|
|
1418
1420
|
<span class='kw'>def</span> <span class='id identifier rubyid_rbrun'>rbrun</span><span class='lparen'>(</span> <span class='id identifier rubyid_desc'>desc</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_cmd'>cmd</span> <span class='rparen'>)</span>
|
1419
1421
|
<span class='const'>RubyCommand</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_desc'>desc</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_cmd'>cmd</span> <span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span>
|
@@ -1471,13 +1473,13 @@ more targets.</p>
|
|
1471
1473
|
<pre class="lines">
|
1472
1474
|
|
1473
1475
|
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1476
|
+
641
|
1477
|
+
642
|
1478
|
+
643
|
1479
|
+
644</pre>
|
1478
1480
|
</td>
|
1479
1481
|
<td>
|
1480
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1482
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 641</span>
|
1481
1483
|
|
1482
1484
|
<span class='kw'>def</span> <span class='id identifier rubyid_rbuse'>rbuse</span><span class='lparen'>(</span> <span class='id identifier rubyid_desc'>desc</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_cmd'>cmd</span> <span class='rparen'>)</span>
|
1483
1485
|
<span class='id identifier rubyid_rb'>rb</span> <span class='op'>=</span> <span class='const'>RubyCommand</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_desc'>desc</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_cmd'>cmd</span> <span class='rparen'>)</span>
|
@@ -1514,17 +1516,17 @@ more targets.</p>
|
|
1514
1516
|
<pre class="lines">
|
1515
1517
|
|
1516
1518
|
|
1517
|
-
526
|
1518
|
-
527
|
1519
|
-
528
|
1520
|
-
529
|
1521
|
-
530
|
1522
|
-
531
|
1523
1519
|
532
|
1524
|
-
533
|
1520
|
+
533
|
1521
|
+
534
|
1522
|
+
535
|
1523
|
+
536
|
1524
|
+
537
|
1525
|
+
538
|
1526
|
+
539</pre>
|
1525
1527
|
</td>
|
1526
1528
|
<td>
|
1527
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1529
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 532</span>
|
1528
1530
|
|
1529
1531
|
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
|
1530
1532
|
<span class='kw'>if</span> <span class='id identifier rubyid_update?'>update?</span>
|
@@ -1565,11 +1567,11 @@ more targets.</p>
|
|
1565
1567
|
<pre class="lines">
|
1566
1568
|
|
1567
1569
|
|
1568
|
-
|
1569
|
-
|
1570
|
+
527
|
1571
|
+
528</pre>
|
1570
1572
|
</td>
|
1571
1573
|
<td>
|
1572
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1574
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 527</span>
|
1573
1575
|
|
1574
1576
|
<span class='kw'>def</span> <span class='id identifier rubyid_setup'>setup</span>
|
1575
1577
|
<span class='kw'>end</span></pre>
|
@@ -1604,12 +1606,12 @@ more targets.</p>
|
|
1604
1606
|
<pre class="lines">
|
1605
1607
|
|
1606
1608
|
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1609
|
+
621
|
1610
|
+
622
|
1611
|
+
623</pre>
|
1610
1612
|
</td>
|
1611
1613
|
<td>
|
1612
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1614
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 621</span>
|
1613
1615
|
|
1614
1616
|
<span class='kw'>def</span> <span class='id identifier rubyid_shrun'>shrun</span><span class='lparen'>(</span> <span class='id identifier rubyid_cmd'>cmd</span> <span class='rparen'>)</span>
|
1615
1617
|
<span class='const'>ShellCommand</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_cmd'>cmd</span> <span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span>
|
@@ -1645,13 +1647,13 @@ more targets.</p>
|
|
1645
1647
|
<pre class="lines">
|
1646
1648
|
|
1647
1649
|
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1650
|
+
626
|
1651
|
+
627
|
1652
|
+
628
|
1653
|
+
629</pre>
|
1652
1654
|
</td>
|
1653
1655
|
<td>
|
1654
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1656
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 626</span>
|
1655
1657
|
|
1656
1658
|
<span class='kw'>def</span> <span class='id identifier rubyid_shuse'>shuse</span><span class='lparen'>(</span> <span class='id identifier rubyid_cmd'>cmd</span> <span class='rparen'>)</span>
|
1657
1659
|
<span class='id identifier rubyid_sh'>sh</span> <span class='op'>=</span> <span class='const'>ShellCommand</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_cmd'>cmd</span> <span class='rparen'>)</span>
|
@@ -1688,12 +1690,12 @@ more targets.</p>
|
|
1688
1690
|
<pre class="lines">
|
1689
1691
|
|
1690
1692
|
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1693
|
+
611
|
1694
|
+
612
|
1695
|
+
613</pre>
|
1694
1696
|
</td>
|
1695
1697
|
<td>
|
1696
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1698
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 611</span>
|
1697
1699
|
|
1698
1700
|
<span class='kw'>def</span> <span class='id identifier rubyid_source'>source</span>
|
1699
1701
|
<span class='ivar'>@sources</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span>
|
@@ -1729,12 +1731,12 @@ more targets.</p>
|
|
1729
1731
|
<pre class="lines">
|
1730
1732
|
|
1731
1733
|
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1734
|
+
616
|
1735
|
+
617
|
1736
|
+
618</pre>
|
1735
1737
|
</td>
|
1736
1738
|
<td>
|
1737
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1739
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 616</span>
|
1738
1740
|
|
1739
1741
|
<span class='kw'>def</span> <span class='id identifier rubyid_target'>target</span>
|
1740
1742
|
<span class='ivar'>@targets</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span>
|
@@ -1783,12 +1785,12 @@ more targets.</p>
|
|
1783
1785
|
<pre class="lines">
|
1784
1786
|
|
1785
1787
|
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1788
|
+
543
|
1789
|
+
544
|
1790
|
+
545</pre>
|
1789
1791
|
</td>
|
1790
1792
|
<td>
|
1791
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1793
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 543</span>
|
1792
1794
|
|
1793
1795
|
<span class='kw'>def</span> <span class='id identifier rubyid_update?'>update?</span>
|
1794
1796
|
<span class='kw'>true</span>
|
@@ -1824,15 +1826,15 @@ more targets.</p>
|
|
1824
1826
|
<pre class="lines">
|
1825
1827
|
|
1826
1828
|
|
1827
|
-
|
1828
|
-
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1832
|
-
|
1829
|
+
655
|
1830
|
+
656
|
1831
|
+
657
|
1832
|
+
658
|
1833
|
+
659
|
1834
|
+
660</pre>
|
1833
1835
|
</td>
|
1834
1836
|
<td>
|
1835
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1837
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 655</span>
|
1836
1838
|
|
1837
1839
|
<span class='kw'>def</span> <span class='id identifier rubyid_walk'>walk</span><span class='lparen'>(</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
1838
1840
|
<span class='id identifier rubyid_host_in'>host_in</span>
|
@@ -1850,7 +1852,7 @@ more targets.</p>
|
|
1850
1852
|
</div>
|
1851
1853
|
|
1852
1854
|
<div id="footer">
|
1853
|
-
Generated on Sun Jul
|
1855
|
+
Generated on Sun Jul 8 19:50:19 2018 by
|
1854
1856
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1855
1857
|
0.8.7.6 (ruby-2.3.3).
|
1856
1858
|
</div>
|