rubu 0.0.4 → 0.0.5
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 +2 -0
- data/README.rdoc +8 -6
- data/doc/Array.html +27 -27
- data/doc/Rubu.html +20 -21
- data/doc/Rubu/Fork.html +6 -6
- data/doc/Rubu/Info.html +9 -9
- data/doc/Rubu/Mark.html +74 -74
- data/doc/Rubu/Move.html +37 -94
- data/doc/Rubu/MoveStyles.html +11 -11
- data/doc/Rubu/Order.html +15 -13
- data/doc/Rubu/RubyCommand.html +12 -12
- data/doc/Rubu/ShellCommand.html +13 -13
- data/doc/Rubu/State.html +17 -17
- data/doc/Rubu/Step.html +98 -98
- data/doc/Rubu/StepAged.html +6 -6
- data/doc/Rubu/StepAlways.html +6 -6
- data/doc/Rubu/StepMark.html +6 -6
- data/doc/Rubu/Trail.html +46 -46
- data/doc/Rubu/Var.html +9 -9
- data/doc/Rubu/Walk.html +2 -2
- data/doc/_index.html +2 -2
- data/doc/file.CHANGELOG.html +5 -2
- data/doc/file.README.html +29 -28
- data/doc/index.html +29 -28
- data/doc/method_list.html +24 -30
- data/doc/top-level-namespace.html +1 -1
- data/example/bin/rubu_example +0 -1
- data/lib/rubu.rb +14 -10
- data/lib/version.rb +2 -2
- metadata +2 -2
data/doc/Rubu/StepAged.html
CHANGED
@@ -198,7 +198,7 @@
|
|
198
198
|
|
199
199
|
|
200
200
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Move.html" title="Rubu::Move (class)">Move</a></span></h3>
|
201
|
-
<p class="inherited"><span class='object_link'><a href="Move.html#display-instance_method" title="Rubu::Move#display (method)">#display</a></span>, <span class='object_link'><a href="Move.html#error-instance_method" title="Rubu::Move#error (method)">#error</a></span>, <span class='object_link'><a href="Move.html#host-instance_method" title="Rubu::Move#host (method)">#host</a></span>, <span class='object_link'><a href="Move.html#host_in-instance_method" title="Rubu::Move#host_in (method)">#host_in</a></span>, <span class='object_link'><a href="Move.html#host_out-instance_method" title="Rubu::Move#host_out (method)">#host_out</a></span>, <span class='object_link'><a href="Move.html#initialize-instance_method" title="Rubu::Move#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Move.html#
|
201
|
+
<p class="inherited"><span class='object_link'><a href="Move.html#display-instance_method" title="Rubu::Move#display (method)">#display</a></span>, <span class='object_link'><a href="Move.html#error-instance_method" title="Rubu::Move#error (method)">#error</a></span>, <span class='object_link'><a href="Move.html#host-instance_method" title="Rubu::Move#host (method)">#host</a></span>, <span class='object_link'><a href="Move.html#host_in-instance_method" title="Rubu::Move#host_in (method)">#host_in</a></span>, <span class='object_link'><a href="Move.html#host_out-instance_method" title="Rubu::Move#host_out (method)">#host_out</a></span>, <span class='object_link'><a href="Move.html#initialize-instance_method" title="Rubu::Move#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Move.html#use-instance_method" title="Rubu::Move#use (method)">#use</a></span>, <span class='object_link'><a href="Move.html#warn-instance_method" title="Rubu::Move#warn (method)">#warn</a></span></p>
|
202
202
|
<div id="constructor_details" class="method_details_list">
|
203
203
|
<h2>Constructor Details</h2>
|
204
204
|
|
@@ -250,12 +250,12 @@
|
|
250
250
|
<pre class="lines">
|
251
251
|
|
252
252
|
|
253
|
-
|
254
|
-
|
255
|
-
|
253
|
+
697
|
254
|
+
698
|
255
|
+
699</pre>
|
256
256
|
</td>
|
257
257
|
<td>
|
258
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
258
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 697</span>
|
259
259
|
|
260
260
|
<span class='kw'>def</span> <span class='id identifier rubyid_update?'>update?</span>
|
261
261
|
<span class='const'>Order</span><span class='lbracket'>[</span> <span class='symbol'>:force</span> <span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_date_update?'>date_update?</span>
|
@@ -270,7 +270,7 @@
|
|
270
270
|
</div>
|
271
271
|
|
272
272
|
<div id="footer">
|
273
|
-
Generated on
|
273
|
+
Generated on Fri Aug 31 09:32:07 2018 by
|
274
274
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
275
275
|
0.8.7.6 (ruby-2.3.3).
|
276
276
|
</div>
|
data/doc/Rubu/StepAlways.html
CHANGED
@@ -198,7 +198,7 @@
|
|
198
198
|
|
199
199
|
|
200
200
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Move.html" title="Rubu::Move (class)">Move</a></span></h3>
|
201
|
-
<p class="inherited"><span class='object_link'><a href="Move.html#display-instance_method" title="Rubu::Move#display (method)">#display</a></span>, <span class='object_link'><a href="Move.html#error-instance_method" title="Rubu::Move#error (method)">#error</a></span>, <span class='object_link'><a href="Move.html#host-instance_method" title="Rubu::Move#host (method)">#host</a></span>, <span class='object_link'><a href="Move.html#host_in-instance_method" title="Rubu::Move#host_in (method)">#host_in</a></span>, <span class='object_link'><a href="Move.html#host_out-instance_method" title="Rubu::Move#host_out (method)">#host_out</a></span>, <span class='object_link'><a href="Move.html#initialize-instance_method" title="Rubu::Move#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Move.html#
|
201
|
+
<p class="inherited"><span class='object_link'><a href="Move.html#display-instance_method" title="Rubu::Move#display (method)">#display</a></span>, <span class='object_link'><a href="Move.html#error-instance_method" title="Rubu::Move#error (method)">#error</a></span>, <span class='object_link'><a href="Move.html#host-instance_method" title="Rubu::Move#host (method)">#host</a></span>, <span class='object_link'><a href="Move.html#host_in-instance_method" title="Rubu::Move#host_in (method)">#host_in</a></span>, <span class='object_link'><a href="Move.html#host_out-instance_method" title="Rubu::Move#host_out (method)">#host_out</a></span>, <span class='object_link'><a href="Move.html#initialize-instance_method" title="Rubu::Move#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Move.html#use-instance_method" title="Rubu::Move#use (method)">#use</a></span>, <span class='object_link'><a href="Move.html#warn-instance_method" title="Rubu::Move#warn (method)">#warn</a></span></p>
|
202
202
|
<div id="constructor_details" class="method_details_list">
|
203
203
|
<h2>Constructor Details</h2>
|
204
204
|
|
@@ -250,12 +250,12 @@
|
|
250
250
|
<pre class="lines">
|
251
251
|
|
252
252
|
|
253
|
-
|
254
|
-
|
255
|
-
|
253
|
+
688
|
254
|
+
689
|
255
|
+
690</pre>
|
256
256
|
</td>
|
257
257
|
<td>
|
258
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
258
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 688</span>
|
259
259
|
|
260
260
|
<span class='kw'>def</span> <span class='id identifier rubyid_update?'>update?</span>
|
261
261
|
<span class='kw'>true</span>
|
@@ -270,7 +270,7 @@
|
|
270
270
|
</div>
|
271
271
|
|
272
272
|
<div id="footer">
|
273
|
-
Generated on
|
273
|
+
Generated on Fri Aug 31 09:32:07 2018 by
|
274
274
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
275
275
|
0.8.7.6 (ruby-2.3.3).
|
276
276
|
</div>
|
data/doc/Rubu/StepMark.html
CHANGED
@@ -199,7 +199,7 @@ addition of being newer.</p>
|
|
199
199
|
|
200
200
|
|
201
201
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Move.html" title="Rubu::Move (class)">Move</a></span></h3>
|
202
|
-
<p class="inherited"><span class='object_link'><a href="Move.html#display-instance_method" title="Rubu::Move#display (method)">#display</a></span>, <span class='object_link'><a href="Move.html#error-instance_method" title="Rubu::Move#error (method)">#error</a></span>, <span class='object_link'><a href="Move.html#host-instance_method" title="Rubu::Move#host (method)">#host</a></span>, <span class='object_link'><a href="Move.html#host_in-instance_method" title="Rubu::Move#host_in (method)">#host_in</a></span>, <span class='object_link'><a href="Move.html#host_out-instance_method" title="Rubu::Move#host_out (method)">#host_out</a></span>, <span class='object_link'><a href="Move.html#initialize-instance_method" title="Rubu::Move#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Move.html#
|
202
|
+
<p class="inherited"><span class='object_link'><a href="Move.html#display-instance_method" title="Rubu::Move#display (method)">#display</a></span>, <span class='object_link'><a href="Move.html#error-instance_method" title="Rubu::Move#error (method)">#error</a></span>, <span class='object_link'><a href="Move.html#host-instance_method" title="Rubu::Move#host (method)">#host</a></span>, <span class='object_link'><a href="Move.html#host_in-instance_method" title="Rubu::Move#host_in (method)">#host_in</a></span>, <span class='object_link'><a href="Move.html#host_out-instance_method" title="Rubu::Move#host_out (method)">#host_out</a></span>, <span class='object_link'><a href="Move.html#initialize-instance_method" title="Rubu::Move#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Move.html#use-instance_method" title="Rubu::Move#use (method)">#use</a></span>, <span class='object_link'><a href="Move.html#warn-instance_method" title="Rubu::Move#warn (method)">#warn</a></span></p>
|
203
203
|
<div id="constructor_details" class="method_details_list">
|
204
204
|
<h2>Constructor Details</h2>
|
205
205
|
|
@@ -252,12 +252,12 @@ addition of being newer.</p>
|
|
252
252
|
<pre class="lines">
|
253
253
|
|
254
254
|
|
255
|
-
|
256
|
-
|
257
|
-
|
255
|
+
707
|
256
|
+
708
|
257
|
+
709</pre>
|
258
258
|
</td>
|
259
259
|
<td>
|
260
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
260
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 707</span>
|
261
261
|
|
262
262
|
<span class='kw'>def</span> <span class='id identifier rubyid_update?'>update?</span>
|
263
263
|
<span class='const'>Order</span><span class='lbracket'>[</span> <span class='symbol'>:force</span> <span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_mark_update?'>mark_update?</span>
|
@@ -272,7 +272,7 @@ addition of being newer.</p>
|
|
272
272
|
</div>
|
273
273
|
|
274
274
|
<div id="footer">
|
275
|
-
Generated on
|
275
|
+
Generated on Fri Aug 31 09:32:07 2018 by
|
276
276
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
277
277
|
0.8.7.6 (ruby-2.3.3).
|
278
278
|
</div>
|
data/doc/Rubu/Trail.html
CHANGED
@@ -424,7 +424,7 @@
|
|
424
424
|
|
425
425
|
|
426
426
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Move.html" title="Rubu::Move (class)">Move</a></span></h3>
|
427
|
-
<p class="inherited"><span class='object_link'><a href="Move.html#display-instance_method" title="Rubu::Move#display (method)">#display</a></span>, <span class='object_link'><a href="Move.html#error-instance_method" title="Rubu::Move#error (method)">#error</a></span>, <span class='object_link'><a href="Move.html#host-instance_method" title="Rubu::Move#host (method)">#host</a></span>, <span class='object_link'><a href="Move.html#host_in-instance_method" title="Rubu::Move#host_in (method)">#host_in</a></span>, <span class='object_link'><a href="Move.html#host_out-instance_method" title="Rubu::Move#host_out (method)">#host_out</a></span>, <span class='object_link'><a href="Move.html#
|
427
|
+
<p class="inherited"><span class='object_link'><a href="Move.html#display-instance_method" title="Rubu::Move#display (method)">#display</a></span>, <span class='object_link'><a href="Move.html#error-instance_method" title="Rubu::Move#error (method)">#error</a></span>, <span class='object_link'><a href="Move.html#host-instance_method" title="Rubu::Move#host (method)">#host</a></span>, <span class='object_link'><a href="Move.html#host_in-instance_method" title="Rubu::Move#host_in (method)">#host_in</a></span>, <span class='object_link'><a href="Move.html#host_out-instance_method" title="Rubu::Move#host_out (method)">#host_out</a></span>, <span class='object_link'><a href="Move.html#use-instance_method" title="Rubu::Move#use (method)">#use</a></span>, <span class='object_link'><a href="Move.html#warn-instance_method" title="Rubu::Move#warn (method)">#warn</a></span></p>
|
428
428
|
<div id="constructor_details" class="method_details_list">
|
429
429
|
<h2>Constructor Details</h2>
|
430
430
|
|
@@ -455,19 +455,19 @@ later.</p>
|
|
455
455
|
<pre class="lines">
|
456
456
|
|
457
457
|
|
458
|
-
734
|
459
|
-
735
|
460
|
-
736
|
461
|
-
737
|
462
458
|
738
|
463
459
|
739
|
464
460
|
740
|
465
461
|
741
|
466
462
|
742
|
467
|
-
743
|
463
|
+
743
|
464
|
+
744
|
465
|
+
745
|
466
|
+
746
|
467
|
+
747</pre>
|
468
468
|
</td>
|
469
469
|
<td>
|
470
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
470
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 738</span>
|
471
471
|
|
472
472
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
473
473
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
@@ -517,12 +517,12 @@ later.</p>
|
|
517
517
|
<pre class="lines">
|
518
518
|
|
519
519
|
|
520
|
-
|
521
|
-
|
522
|
-
|
520
|
+
734
|
521
|
+
735
|
522
|
+
736</pre>
|
523
523
|
</td>
|
524
524
|
<td>
|
525
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
525
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 734</span>
|
526
526
|
|
527
527
|
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
528
528
|
<span class='ivar'>@name</span>
|
@@ -565,12 +565,12 @@ later.</p>
|
|
565
565
|
<pre class="lines">
|
566
566
|
|
567
567
|
|
568
|
-
|
569
|
-
|
570
|
-
|
568
|
+
729
|
569
|
+
730
|
570
|
+
731</pre>
|
571
571
|
</td>
|
572
572
|
<td>
|
573
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
573
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 729</span>
|
574
574
|
|
575
575
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='op'>[]</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span> <span class='rparen'>)</span>
|
576
576
|
<span class='cvar'>@@trails</span><span class='lbracket'>[</span> <span class='id identifier rubyid_name'>name</span> <span class='rbracket'>]</span>
|
@@ -606,12 +606,12 @@ later.</p>
|
|
606
606
|
<pre class="lines">
|
607
607
|
|
608
608
|
|
609
|
-
|
610
|
-
|
611
|
-
|
609
|
+
723
|
610
|
+
724
|
611
|
+
725</pre>
|
612
612
|
</td>
|
613
613
|
<td>
|
614
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
614
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 723</span>
|
615
615
|
|
616
616
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_form'>form</span><span class='lparen'>(</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
617
617
|
<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_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_blk'>blk</span> <span class='rparen'>)</span>
|
@@ -647,10 +647,6 @@ later.</p>
|
|
647
647
|
<pre class="lines">
|
648
648
|
|
649
649
|
|
650
|
-
758
|
651
|
-
759
|
652
|
-
760
|
653
|
-
761
|
654
650
|
762
|
655
651
|
763
|
656
652
|
764
|
@@ -668,10 +664,14 @@ later.</p>
|
|
668
664
|
776
|
669
665
|
777
|
670
666
|
778
|
671
|
-
779
|
667
|
+
779
|
668
|
+
780
|
669
|
+
781
|
670
|
+
782
|
671
|
+
783</pre>
|
672
672
|
</td>
|
673
673
|
<td>
|
674
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
674
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 762</span>
|
675
675
|
|
676
676
|
<span class='kw'>def</span> <span class='const'>Trail</span><span class='period'>.</span><span class='id identifier rubyid_load_setup'>load_setup</span><span class='lparen'>(</span> <span class='id identifier rubyid_setup_file'>setup_file</span> <span class='rparen'>)</span>
|
677
677
|
|
@@ -748,10 +748,6 @@ later.</p>
|
|
748
748
|
<pre class="lines">
|
749
749
|
|
750
750
|
|
751
|
-
815
|
752
|
-
816
|
753
|
-
817
|
754
|
-
818
|
755
751
|
819
|
756
752
|
820
|
757
753
|
821
|
@@ -776,10 +772,14 @@ later.</p>
|
|
776
772
|
840
|
777
773
|
841
|
778
774
|
842
|
779
|
-
843
|
775
|
+
843
|
776
|
+
844
|
777
|
+
845
|
778
|
+
846
|
779
|
+
847</pre>
|
780
780
|
</td>
|
781
781
|
<td>
|
782
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
782
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 819</span>
|
783
783
|
|
784
784
|
<span class='kw'>def</span> <span class='const'>Trail</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span> <span class='id identifier rubyid_trails'>trails</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>default</span><span class='tstring_end'>'</span></span> <span class='rparen'>)</span>
|
785
785
|
|
@@ -861,10 +861,6 @@ later.</p>
|
|
861
861
|
<pre class="lines">
|
862
862
|
|
863
863
|
|
864
|
-
786
|
865
|
-
787
|
866
|
-
788
|
867
|
-
789
|
868
864
|
790
|
869
865
|
791
|
870
866
|
792
|
@@ -885,10 +881,14 @@ later.</p>
|
|
885
881
|
807
|
886
882
|
808
|
887
883
|
809
|
888
|
-
810
|
884
|
+
810
|
885
|
+
811
|
886
|
+
812
|
887
|
+
813
|
888
|
+
814</pre>
|
889
889
|
</td>
|
890
890
|
<td>
|
891
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
891
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 790</span>
|
892
892
|
|
893
893
|
<span class='kw'>def</span> <span class='const'>Trail</span><span class='period'>.</span><span class='id identifier rubyid_setup'>setup</span><span class='lparen'>(</span> <span class='id identifier rubyid_spec'>spec</span> <span class='rparen'>)</span>
|
894
894
|
|
@@ -952,12 +952,12 @@ later.</p>
|
|
952
952
|
<pre class="lines">
|
953
953
|
|
954
954
|
|
955
|
-
|
956
|
-
|
957
|
-
|
955
|
+
751
|
956
|
+
752
|
957
|
+
753</pre>
|
958
958
|
</td>
|
959
959
|
<td>
|
960
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
960
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 751</span>
|
961
961
|
|
962
962
|
<span class='kw'>def</span> <span class='id identifier rubyid_pick'>pick</span><span class='lparen'>(</span> <span class='id identifier rubyid_trail'>trail</span> <span class='rparen'>)</span>
|
963
963
|
<span class='const'>Trail</span><span class='lbracket'>[</span> <span class='id identifier rubyid_trail'>trail</span> <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_use'>use</span>
|
@@ -993,12 +993,12 @@ later.</p>
|
|
993
993
|
<pre class="lines">
|
994
994
|
|
995
995
|
|
996
|
-
|
997
|
-
|
998
|
-
|
996
|
+
757
|
997
|
+
758
|
998
|
+
759</pre>
|
999
999
|
</td>
|
1000
1000
|
<td>
|
1001
|
-
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line
|
1001
|
+
<pre class="code"><span class="info file"># File 'lib/rubu.rb', line 757</span>
|
1002
1002
|
|
1003
1003
|
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
|
1004
1004
|
<span class='id identifier rubyid_serial_run'>serial_run</span>
|
@@ -1013,7 +1013,7 @@ later.</p>
|
|
1013
1013
|
</div>
|
1014
1014
|
|
1015
1015
|
<div id="footer">
|
1016
|
-
Generated on
|
1016
|
+
Generated on Fri Aug 31 09:32:07 2018 by
|
1017
1017
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1018
1018
|
0.8.7.6 (ruby-2.3.3).
|
1019
1019
|
</div>
|
data/doc/Rubu/Var.html
CHANGED
@@ -220,12 +220,12 @@
|
|
220
220
|
<pre class="lines">
|
221
221
|
|
222
222
|
|
223
|
-
|
224
|
-
|
225
|
-
|
223
|
+
454
|
224
|
+
455
|
225
|
+
456</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 454</span>
|
229
229
|
|
230
230
|
<span class='kw'>def</span> <span class='const'>Var</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'>@@var</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
|
+
449
|
265
|
+
450
|
266
|
+
451</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 449</span>
|
270
270
|
|
271
271
|
<span class='kw'>def</span> <span class='const'>Var</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'>@@var</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
|
284
|
+
Generated on Fri Aug 31 09:32:07 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/Walk.html
CHANGED
@@ -163,7 +163,7 @@
|
|
163
163
|
|
164
164
|
|
165
165
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Move.html" title="Rubu::Move (class)">Move</a></span></h3>
|
166
|
-
<p class="inherited"><span class='object_link'><a href="Move.html#display-instance_method" title="Rubu::Move#display (method)">#display</a></span>, <span class='object_link'><a href="Move.html#error-instance_method" title="Rubu::Move#error (method)">#error</a></span>, <span class='object_link'><a href="Move.html#host-instance_method" title="Rubu::Move#host (method)">#host</a></span>, <span class='object_link'><a href="Move.html#host_in-instance_method" title="Rubu::Move#host_in (method)">#host_in</a></span>, <span class='object_link'><a href="Move.html#host_out-instance_method" title="Rubu::Move#host_out (method)">#host_out</a></span>, <span class='object_link'><a href="Move.html#initialize-instance_method" title="Rubu::Move#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Move.html#
|
166
|
+
<p class="inherited"><span class='object_link'><a href="Move.html#display-instance_method" title="Rubu::Move#display (method)">#display</a></span>, <span class='object_link'><a href="Move.html#error-instance_method" title="Rubu::Move#error (method)">#error</a></span>, <span class='object_link'><a href="Move.html#host-instance_method" title="Rubu::Move#host (method)">#host</a></span>, <span class='object_link'><a href="Move.html#host_in-instance_method" title="Rubu::Move#host_in (method)">#host_in</a></span>, <span class='object_link'><a href="Move.html#host_out-instance_method" title="Rubu::Move#host_out (method)">#host_out</a></span>, <span class='object_link'><a href="Move.html#initialize-instance_method" title="Rubu::Move#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Move.html#use-instance_method" title="Rubu::Move#use (method)">#use</a></span>, <span class='object_link'><a href="Move.html#warn-instance_method" title="Rubu::Move#warn (method)">#warn</a></span></p>
|
167
167
|
<div id="constructor_details" class="method_details_list">
|
168
168
|
<h2>Constructor Details</h2>
|
169
169
|
|
@@ -175,7 +175,7 @@
|
|
175
175
|
</div>
|
176
176
|
|
177
177
|
<div id="footer">
|
178
|
-
Generated on
|
178
|
+
Generated on Fri Aug 31 09:32:07 2018 by
|
179
179
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
180
180
|
0.8.7.6 (ruby-2.3.3).
|
181
181
|
</div>
|
data/doc/_index.html
CHANGED
@@ -175,7 +175,7 @@
|
|
175
175
|
<ul>
|
176
176
|
|
177
177
|
<li>
|
178
|
-
<span class='object_link'><a href="Rubu.html" title="Rubu (
|
178
|
+
<span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span>
|
179
179
|
|
180
180
|
</li>
|
181
181
|
|
@@ -296,7 +296,7 @@
|
|
296
296
|
</div>
|
297
297
|
|
298
298
|
<div id="footer">
|
299
|
-
Generated on
|
299
|
+
Generated on Fri Aug 31 09:32:06 2018 by
|
300
300
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
301
301
|
0.8.7.6 (ruby-2.3.3).
|
302
302
|
</div>
|
data/doc/file.CHANGELOG.html
CHANGED
@@ -63,7 +63,10 @@
|
|
63
63
|
|
64
64
|
<div id="content"><div id='filecontents'>
|
65
65
|
<h1 id="label-Version+history">Version history</h1>
|
66
|
-
<dl class="rdoc-list label-list"><dt>0.0.
|
66
|
+
<dl class="rdoc-list label-list"><dt>0.0.5
|
67
|
+
<dd>
|
68
|
+
<p>Minor document updates.</p>
|
69
|
+
</dd><dt>0.0.4
|
67
70
|
<dd>
|
68
71
|
<p>Enable compiler warning display control.</p>
|
69
72
|
</dd><dt>0.0.3
|
@@ -79,7 +82,7 @@
|
|
79
82
|
</div></div>
|
80
83
|
|
81
84
|
<div id="footer">
|
82
|
-
Generated on
|
85
|
+
Generated on Fri Aug 31 09:32:06 2018 by
|
83
86
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
84
87
|
0.8.7.6 (ruby-2.3.3).
|
85
88
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -64,33 +64,34 @@
|
|
64
64
|
<div id="content"><div id='filecontents'>
|
65
65
|
<h1 id="label-Rubu">Rubu</h1>
|
66
66
|
|
67
|
-
<p><span class='object_link'><a href="Rubu.html" title="Rubu (
|
68
|
-
is in practice a replacement for Make and Rake type of tools. <span class='object_link'><a href="Rubu.html" title="Rubu (
|
67
|
+
<p><span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> (Re-Usable Build Utility) is a library for building programs. <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span>
|
68
|
+
is in practice a replacement for Make and Rake type of tools. <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> is
|
69
69
|
targeted to provide means for creating flexible build environments.</p>
|
70
70
|
|
71
71
|
<p>Make and Rake are rule and recipe based, and they are very effective when
|
72
72
|
the build process can be captured to these rules and is fairly fixed.
|
73
|
-
<span class='object_link'><a href="Rubu.html" title="Rubu (
|
73
|
+
<span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> includes declarations which correspond to rules, but the
|
74
74
|
declarations are lower level and provide more control over the behavior.
|
75
|
-
<span class='object_link'><a href="Rubu.html" title="Rubu (
|
75
|
+
<span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> also provides direct control over when the rules are executed.</p>
|
76
76
|
|
77
77
|
<p>Make and Rake are more compact for the simplest build environments, but
|
78
|
-
there is a break-even point where <span class='object_link'><a href="Rubu.html" title="Rubu (
|
78
|
+
there is a break-even point where <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> becomes more convenient. This is
|
79
79
|
likely to happen when the user needs many exceptions to basic rules, also
|
80
80
|
when other tasks than just build tasks are needed.</p>
|
81
81
|
|
82
|
-
<p><span class='object_link'><a href="Rubu.html" title="Rubu (
|
82
|
+
<p><span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> library can be used from any Ruby program, since it is just a
|
83
83
|
library. It can also be part of a larger program as less significant part
|
84
84
|
of the overall functionality. From maintenance point of view this can be a
|
85
85
|
win in many cases.</p>
|
86
86
|
|
87
|
-
<p>The easiest way to get started with <span class='object_link'><a href="Rubu.html" title="Rubu (
|
87
|
+
<p>The easiest way to get started with <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> is to study examples (See:
|
88
88
|
“Example” chapter below). However for longer term the main concepts are
|
89
89
|
important as well (See: “Concepts” chapter below).</p>
|
90
90
|
|
91
91
|
<h2 id="label-Example">Example</h2>
|
92
92
|
|
93
|
-
<p>Example of <span class='object_link'><a href="Rubu.html" title="Rubu (
|
93
|
+
<p>Example of <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> build program is placed in (relative to your installation
|
94
|
+
directory), which you should copy over somewhere to execute:</p>
|
94
95
|
|
95
96
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_example'>example</span><span class='op'>/</span><span class='id identifier rubyid_bin'>bin</span><span class='op'>/</span><span class='id identifier rubyid_rubu_example'>rubu_example</span>
|
96
97
|
</code></pre>
|
@@ -118,7 +119,7 @@ script. File generation is part of the build program.</p>
|
|
118
119
|
|
119
120
|
<p>There are comments which highlight purpose of the build program content.</p>
|
120
121
|
|
121
|
-
<p>Sometimes it is useful to run <span class='object_link'><a href="Rubu.html" title="Rubu (
|
122
|
+
<p>Sometimes it is useful to run <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> automatically whenever a file changes.
|
122
123
|
Linux provides a facility called <strong>inotify</strong>, which can be
|
123
124
|
used in Ruby through “rb-inotify” gem. Automatic update example program is
|
124
125
|
in:</p>
|
@@ -126,11 +127,11 @@ in:</p>
|
|
126
127
|
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_example'>example</span><span class='op'>/</span><span class='id identifier rubyid_up'>up</span><span class='op'>-</span><span class='id identifier rubyid_to'>to</span><span class='op'>-</span><span class='id identifier rubyid_date'>date</span>
|
127
128
|
</code></pre>
|
128
129
|
|
129
|
-
<p>This program runs <span class='object_link'><a href="Rubu.html" title="Rubu (
|
130
|
+
<p>This program runs <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> each time there is a change in “src” or in “bin”
|
130
131
|
directory. It compiles and generates C files if necessary. If there are new
|
131
132
|
compilation requirements coming, before all previous have been completed,
|
132
133
|
it will continue compilation. When all compilations are done (i.e. none
|
133
|
-
pending), it will call <span class='object_link'><a href="Rubu.html" title="Rubu (
|
134
|
+
pending), it will call <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> to perform linking. “up-to-date” displays
|
134
135
|
status messages in red and green on the screen. If it is started with “-v”
|
135
136
|
option the compile commands are visible, and if it is started with “-d”
|
136
137
|
option, there is extra delay in compilation command.</p>
|
@@ -145,13 +146,13 @@ you started “up-to-date”.</p>
|
|
145
146
|
|
146
147
|
<h2 id="label-Concepts">Concepts</h2>
|
147
148
|
|
148
|
-
<p><span class='object_link'><a href="Rubu.html" title="Rubu (
|
149
|
+
<p><span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> Build Program, RBP, is a Ruby program that uses the <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> library.
|
149
150
|
Typically command line options are accepted to give options for the build
|
150
151
|
process.</p>
|
151
152
|
|
152
153
|
<p>Build programs are about collecting source files and transforming them into
|
153
|
-
targets. This process is explicit in <span class='object_link'><a href="Rubu.html" title="Rubu (
|
154
|
-
source or target, is collected within the <span class='object_link'><a href="Rubu.html" title="Rubu (
|
154
|
+
targets. This process is explicit in <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span>. Each file, whether it's
|
155
|
+
source or target, is collected within the <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> build program. The files
|
155
156
|
are converted into <strong>Mark</strong> objects. Basically
|
156
157
|
<strong>Mark</strong> corresponds to a file, but it includes methods that
|
157
158
|
make the build process convenient.</p>
|
@@ -188,14 +189,14 @@ parallel. For example, C source to object compilation can be done in
|
|
188
189
|
parallel, but linking of objects to executable must occur after all objects
|
189
190
|
have been created.</p>
|
190
191
|
|
191
|
-
<p><span class='object_link'><a href="Rubu.html" title="Rubu (
|
192
|
+
<p><span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> Build Program includes all of the above, and the last step is to
|
192
193
|
select which <strong>Trail</strong> is executed. There should be at least
|
193
194
|
“default” <strong>Trail</strong>, and typically there is also a “clean”
|
194
195
|
<strong>Trail</strong>.</p>
|
195
196
|
|
196
|
-
<p><span class='object_link'><a href="Rubu.html" title="Rubu (
|
197
|
+
<p><span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> supports the configuration spaces: <strong>Order</strong>,
|
197
198
|
<strong>Var</strong>, and <strong>Info</strong>. <strong>Order</strong> is
|
198
|
-
meant to be used for controlling <span class='object_link'><a href="Rubu.html" title="Rubu (
|
199
|
+
meant to be used for controlling <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> itself. For example if user wants
|
199
200
|
to see all executed command, then “verbose” option should be selected.</p>
|
200
201
|
|
201
202
|
<p><strong>Var</strong> is used to control how <strong>Steps</strong> behave
|
@@ -207,7 +208,7 @@ example.</p>
|
|
207
208
|
<p>To summarize and highlight the relationships between concepts, see the
|
208
209
|
diagram below:</p>
|
209
210
|
|
210
|
-
<pre class="code ruby"><code class="ruby">RBP =>
|
211
|
+
<pre class="code ruby"><code class="ruby">RBP => Trail+ => Step+ [s/p] => Move+ [s/p] => SourceMark*, TargetMark*
|
211
212
|
=> Order+
|
212
213
|
=> Var*
|
213
214
|
=> Info*
|
@@ -217,17 +218,17 @@ diagram below:</p>
|
|
217
218
|
s = Serial
|
218
219
|
p = Parallel</code></pre>
|
219
220
|
|
220
|
-
<p>RBP includes <strong>
|
221
|
-
<strong>Vars</strong> and <strong>Infos</strong>. <strong>
|
221
|
+
<p>RBP includes <strong>Trails</strong>, <strong>Orders</strong>, and possibly
|
222
|
+
<strong>Vars</strong> and <strong>Infos</strong>. <strong>Trail</strong>
|
222
223
|
includes one or more <strong>Steps</strong>, which can be executed in
|
223
224
|
sequence or in parallel.</p>
|
224
225
|
|
225
226
|
<p><strong>Step</strong> includes one or more <strong>Moves</strong>, and they
|
226
227
|
can also be sequential or parallel. <strong>Move</strong> has typically at
|
227
|
-
least one <strong>
|
228
|
-
However, there are exceptions as well.</p>
|
228
|
+
least one <strong>SourceMark</strong> and at least one
|
229
|
+
<strong>TargetMark</strong>. However, there are exceptions as well.</p>
|
229
230
|
|
230
|
-
<p>The suggested ordering within <span class='object_link'><a href="Rubu.html" title="Rubu (
|
231
|
+
<p>The suggested ordering within <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> Build Program is:</p>
|
231
232
|
<dl class="rdoc-list label-list"><dt>configuration
|
232
233
|
<dd>
|
233
234
|
<p>Process command line arguments and assign options that are used to control
|
@@ -254,7 +255,7 @@ execute.</p>
|
|
254
255
|
|
255
256
|
<h2 id="label-Configuration">Configuration</h2>
|
256
257
|
|
257
|
-
<p><strong>Order</strong> space default are set by the <span class='object_link'><a href="Rubu.html" title="Rubu (
|
258
|
+
<p><strong>Order</strong> space default are set by the <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> library and user
|
258
259
|
can override the default based on command line parameters if needed.</p>
|
259
260
|
|
260
261
|
<p>Set default values for <strong>Var</strong> space. After default setting,
|
@@ -288,7 +289,7 @@ also the “basename” of the file is changed. This is achieved by giving the
|
|
288
289
|
|
289
290
|
<h2 id="label-Step+definition">Step definition</h2>
|
290
291
|
|
291
|
-
<p><strong>Step</strong> is defined by inheriting of the <span class='object_link'><a href="Rubu.html" title="Rubu (
|
292
|
+
<p><strong>Step</strong> is defined by inheriting of the <span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span>
|
292
293
|
<strong>Step</strong> classes and defining the custom “step” method. If a
|
293
294
|
specific setup for the <strong>Step</strong> is required, then an
|
294
295
|
additional “setup” method can be defined as well.</p>
|
@@ -302,7 +303,7 @@ additional “setup” method can be defined as well.</p>
|
|
302
303
|
|
303
304
|
<p>“setup” method is typically used to change the command according to user
|
304
305
|
configuration. “step” method is the action for <strong>Step</strong>.
|
305
|
-
<span class='object_link'><a href="Rubu.html" title="Rubu (
|
306
|
+
<span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> executes it, if necessary. For example, if <strong>Step</strong> is
|
306
307
|
a <strong>StepAged</strong> class, then the “step” method is only called if
|
307
308
|
the source <strong>Mark</strong> is newer than the target
|
308
309
|
<strong>Mark</strong>.</p>
|
@@ -378,7 +379,7 @@ above definition (from previous section) is executed with:</p>
|
|
378
379
|
|
379
380
|
<h2 id="label-Final+notes">Final notes</h2>
|
380
381
|
|
381
|
-
<p><span class='object_link'><a href="Rubu.html" title="Rubu (
|
382
|
+
<p><span class='object_link'><a href="Rubu.html" title="Rubu (module)">Rubu</a></span> treats single <strong>Mark</strong> objects and Array of
|
382
383
|
<strong>Mark</strong> objects the “same” way. In practice this means that
|
383
384
|
the most common methods for <strong>Mark</strong> objects are implemented
|
384
385
|
for Array as well. Hence, you can call a <strong>Mark</strong> method for
|
@@ -396,7 +397,7 @@ refer to the source, i.e. the only existing source, you can use the
|
|
396
397
|
</div></div>
|
397
398
|
|
398
399
|
<div id="footer">
|
399
|
-
Generated on
|
400
|
+
Generated on Fri Aug 31 09:32:06 2018 by
|
400
401
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
401
402
|
0.8.7.6 (ruby-2.3.3).
|
402
403
|
</div>
|