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.
@@ -124,11 +124,6 @@
124
124
  </dt>
125
125
  <dd><pre class="code"><span class='lbracket'>[</span><span class='rbracket'>]</span></pre></dd>
126
126
 
127
- <dt id="show_shell_warning-classvariable" class="">@@show_shell_warning =
128
-
129
- </dt>
130
- <dd><pre class="code"><span class='kw'>true</span></pre></dd>
131
-
132
127
  </dl>
133
128
 
134
129
 
@@ -410,28 +405,6 @@
410
405
  <p>A new instance of Move.</p>
411
406
  </div></span>
412
407
 
413
- </li>
414
-
415
-
416
- <li class="public ">
417
- <span class="summary_signature">
418
-
419
- <a href="#set_show_shell_warning-instance_method" title="#set_show_shell_warning (instance method)">- (Object) <strong>set_show_shell_warning</strong>(value = true) </a>
420
-
421
-
422
-
423
- </span>
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433
- <span class="summary_desc"><div class='inline'></div></span>
434
-
435
408
  </li>
436
409
 
437
410
 
@@ -515,16 +488,16 @@
515
488
  <pre class="lines">
516
489
 
517
490
 
518
- 75
519
491
  76
520
492
  77
521
493
  78
522
494
  79
523
495
  80
524
- 81</pre>
496
+ 81
497
+ 82</pre>
525
498
  </td>
526
499
  <td>
527
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 75</span>
500
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 76</span>
528
501
 
529
502
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
530
503
  <span class='ivar'>@status</span> <span class='op'>=</span> <span class='symbol'>:success</span>
@@ -571,12 +544,12 @@
571
544
  <pre class="lines">
572
545
 
573
546
 
574
- 67
575
547
  68
576
- 69</pre>
548
+ 69
549
+ 70</pre>
577
550
  </td>
578
551
  <td>
579
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 67</span>
552
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 68</span>
580
553
 
581
554
  <span class='kw'>def</span> <span class='id identifier rubyid_errmsg'>errmsg</span>
582
555
  <span class='ivar'>@errmsg</span>
@@ -614,12 +587,12 @@
614
587
  <pre class="lines">
615
588
 
616
589
 
617
- 70
618
590
  71
619
- 72</pre>
591
+ 72
592
+ 73</pre>
620
593
  </td>
621
594
  <td>
622
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 70</span>
595
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 71</span>
623
596
 
624
597
  <span class='kw'>def</span> <span class='id identifier rubyid_output'>output</span>
625
598
  <span class='ivar'>@output</span>
@@ -657,12 +630,12 @@
657
630
  <pre class="lines">
658
631
 
659
632
 
660
- 64
661
633
  65
662
- 66</pre>
634
+ 66
635
+ 67</pre>
663
636
  </td>
664
637
  <td>
665
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 64</span>
638
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 65</span>
666
639
 
667
640
  <span class='kw'>def</span> <span class='id identifier rubyid_status'>status</span>
668
641
  <span class='ivar'>@status</span>
@@ -700,12 +673,12 @@
700
673
  <pre class="lines">
701
674
 
702
675
 
703
- 73
704
676
  74
705
- 75</pre>
677
+ 75
678
+ 76</pre>
706
679
  </td>
707
680
  <td>
708
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 73</span>
681
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 74</span>
709
682
 
710
683
  <span class='kw'>def</span> <span class='id identifier rubyid_subs'>subs</span>
711
684
  <span class='ivar'>@subs</span>
@@ -748,13 +721,13 @@
748
721
  <pre class="lines">
749
722
 
750
723
 
751
- 116
752
724
  117
753
725
  118
754
- 119</pre>
726
+ 119
727
+ 120</pre>
755
728
  </td>
756
729
  <td>
757
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 116</span>
730
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 117</span>
758
731
 
759
732
  <span class='kw'>def</span> <span class='id identifier rubyid_display'>display</span><span class='lparen'>(</span> <span class='id identifier rubyid_msg'>msg</span> <span class='rparen'>)</span>
760
733
  <span class='ivar'>@output</span> <span class='op'>=</span> <span class='id identifier rubyid_msg'>msg</span>
@@ -791,13 +764,13 @@
791
764
  <pre class="lines">
792
765
 
793
766
 
794
- 105
795
767
  106
796
768
  107
797
- 108</pre>
769
+ 108
770
+ 109</pre>
798
771
  </td>
799
772
  <td>
800
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 105</span>
773
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 106</span>
801
774
 
802
775
  <span class='kw'>def</span> <span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span> <span class='id identifier rubyid_msg'>msg</span> <span class='rparen'>)</span>
803
776
  <span class='ivar'>@errmsg</span> <span class='op'>=</span> <span class='id identifier rubyid_msg'>msg</span>
@@ -834,12 +807,12 @@
834
807
  <pre class="lines">
835
808
 
836
809
 
837
- 100
838
810
  101
839
- 102</pre>
811
+ 102
812
+ 103</pre>
840
813
  </td>
841
814
  <td>
842
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 100</span>
815
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 101</span>
843
816
 
844
817
  <span class='kw'>def</span> <span class='id identifier rubyid_host'>host</span>
845
818
  <span class='cvar'>@@host</span><span class='lbracket'>[</span><span class='op'>-</span><span class='int'>1</span><span class='rbracket'>]</span>
@@ -875,12 +848,12 @@
875
848
  <pre class="lines">
876
849
 
877
850
 
878
- 90
879
851
  91
880
- 92</pre>
852
+ 92
853
+ 93</pre>
881
854
  </td>
882
855
  <td>
883
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 90</span>
856
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 91</span>
884
857
 
885
858
  <span class='kw'>def</span> <span class='id identifier rubyid_host_in'>host_in</span>
886
859
  <span class='cvar'>@@host</span><span class='period'>.</span><span class='id identifier rubyid_push'>push</span> <span class='kw'>self</span>
@@ -916,12 +889,12 @@
916
889
  <pre class="lines">
917
890
 
918
891
 
919
- 95
920
892
  96
921
- 97</pre>
893
+ 97
894
+ 98</pre>
922
895
  </td>
923
896
  <td>
924
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 95</span>
897
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 96</span>
925
898
 
926
899
  <span class='kw'>def</span> <span class='id identifier rubyid_host_out'>host_out</span>
927
900
  <span class='cvar'>@@host</span><span class='period'>.</span><span class='id identifier rubyid_pop'>pop</span>
@@ -929,36 +902,6 @@
929
902
  </td>
930
903
  </tr>
931
904
  </table>
932
- </div>
933
-
934
- <div class="method_details ">
935
- <h3 class="signature " id="set_show_shell_warning-instance_method">
936
-
937
- - (<tt>Object</tt>) <strong>set_show_shell_warning</strong>(value = true)
938
-
939
-
940
-
941
-
942
-
943
- </h3><table class="source_code">
944
- <tr>
945
- <td>
946
- <pre class="lines">
947
-
948
-
949
- 121
950
- 122
951
- 123</pre>
952
- </td>
953
- <td>
954
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 121</span>
955
-
956
- <span class='kw'>def</span> <span class='id identifier rubyid_set_show_shell_warning'>set_show_shell_warning</span><span class='lparen'>(</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='rparen'>)</span>
957
- <span class='cvar'>@@show_shell_warning</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
958
- <span class='kw'>end</span></pre>
959
- </td>
960
- </tr>
961
- </table>
962
905
  </div>
963
906
 
964
907
  <div class="method_details ">
@@ -987,13 +930,13 @@
987
930
  <pre class="lines">
988
931
 
989
932
 
990
- 84
991
933
  85
992
934
  86
993
- 87</pre>
935
+ 87
936
+ 88</pre>
994
937
  </td>
995
938
  <td>
996
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 84</span>
939
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 85</span>
997
940
 
998
941
  <span class='kw'>def</span> <span class='id identifier rubyid_use'>use</span>
999
942
  <span class='id identifier rubyid_host'>host</span><span class='period'>.</span><span class='id identifier rubyid_subs'>subs</span><span class='period'>.</span><span class='id identifier rubyid_push'>push</span><span class='lparen'>(</span> <span class='kw'>self</span> <span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_host'>host</span>
@@ -1030,12 +973,12 @@
1030
973
  <pre class="lines">
1031
974
 
1032
975
 
1033
- 111
1034
976
  112
1035
- 113</pre>
977
+ 113
978
+ 114</pre>
1036
979
  </td>
1037
980
  <td>
1038
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 111</span>
981
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 112</span>
1039
982
 
1040
983
  <span class='kw'>def</span> <span class='id identifier rubyid_warn'>warn</span><span class='lparen'>(</span> <span class='id identifier rubyid_msg'>msg</span> <span class='rparen'>)</span>
1041
984
  <span class='const'>STDERR</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Rubu Warning: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_msg'>msg</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
@@ -1050,7 +993,7 @@
1050
993
  </div>
1051
994
 
1052
995
  <div id="footer">
1053
- Generated on Thu Aug 30 16:05:51 2018 by
996
+ Generated on Fri Aug 31 09:32:06 2018 by
1054
997
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1055
998
  0.8.7.6 (ruby-2.3.3).
1056
999
  </div>
@@ -197,6 +197,9 @@
197
197
  <pre class="lines">
198
198
 
199
199
 
200
+ 209
201
+ 210
202
+ 211
200
203
  212
201
204
  213
202
205
  214
@@ -255,13 +258,10 @@
255
258
  267
256
259
  268
257
260
  269
258
- 270
259
- 271
260
- 272
261
- 273</pre>
261
+ 270</pre>
262
262
  </td>
263
263
  <td>
264
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 212</span>
264
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 209</span>
265
265
 
266
266
  <span class='kw'>def</span> <span class='id identifier rubyid_parallel_run'>parallel_run</span>
267
267
 
@@ -356,6 +356,9 @@
356
356
  <pre class="lines">
357
357
 
358
358
 
359
+ 195
360
+ 196
361
+ 197
359
362
  198
360
363
  199
361
364
  200
@@ -364,13 +367,10 @@
364
367
  203
365
368
  204
366
369
  205
367
- 206
368
- 207
369
- 208
370
- 209</pre>
370
+ 206</pre>
371
371
  </td>
372
372
  <td>
373
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 198</span>
373
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 195</span>
374
374
 
375
375
  <span class='kw'>def</span> <span class='id identifier rubyid_serial_run'>serial_run</span>
376
376
  <span class='ivar'>@subs</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_sub'>sub</span><span class='op'>|</span>
@@ -394,7 +394,7 @@
394
394
  </div>
395
395
 
396
396
  <div id="footer">
397
- Generated on Thu Aug 30 16:05:51 2018 by
397
+ Generated on Fri Aug 31 09:32:06 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>
@@ -106,13 +106,15 @@
106
106
 
107
107
  <p>Options:</p>
108
108
  <ul><li>
109
- <p>serial - Force parallel executions to serial.</p>
109
+ <p>serial - Force parallel executions to serial (default: parallel).</p>
110
110
  </li><li>
111
- <p>parmax - Limit the number of parallel executions.</p>
111
+ <p>parmax - Limit the number of parallel executions (default: 0).</p>
112
112
  </li><li>
113
- <p>verbose - Show command executions.</p>
113
+ <p>verbose - Show command executions (default: false).</p>
114
114
  </li><li>
115
- <p>force - Force Step updates.</p>
115
+ <p>force - Force Step updates (default: false).</p>
116
+ </li><li>
117
+ <p>sh_warn - Show shell warnings (default: true).</p>
116
118
  </li></ul>
117
119
 
118
120
 
@@ -231,12 +233,12 @@
231
233
  <pre class="lines">
232
234
 
233
235
 
234
- 420
235
- 421
236
- 422</pre>
236
+ 418
237
+ 419
238
+ 420</pre>
237
239
  </td>
238
240
  <td>
239
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 420</span>
241
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 418</span>
240
242
 
241
243
  <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>
242
244
  <span class='cvar'>@@order</span><span class='lbracket'>[</span> <span class='id identifier rubyid_key'>key</span> <span class='rbracket'>]</span>
@@ -272,12 +274,12 @@
272
274
  <pre class="lines">
273
275
 
274
276
 
275
- 415
276
- 416
277
- 417</pre>
277
+ 413
278
+ 414
279
+ 415</pre>
278
280
  </td>
279
281
  <td>
280
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 415</span>
282
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 413</span>
281
283
 
282
284
  <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>
283
285
  <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>
@@ -292,7 +294,7 @@
292
294
  </div>
293
295
 
294
296
  <div id="footer">
295
- Generated on Thu Aug 30 16:05:51 2018 by
297
+ Generated on Fri Aug 31 09:32:07 2018 by
296
298
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
297
299
  0.8.7.6 (ruby-2.3.3).
298
300
  </div>
@@ -195,7 +195,7 @@
195
195
 
196
196
 
197
197
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Move.html" title="Rubu::Move (class)">Move</a></span></h3>
198
- <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#set_show_shell_warning-instance_method" title="Rubu::Move#set_show_shell_warning (method)">#set_show_shell_warning</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>
198
+ <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>
199
199
  <div id="constructor_details" class="method_details_list">
200
200
  <h2>Constructor Details</h2>
201
201
 
@@ -225,14 +225,14 @@
225
225
  <pre class="lines">
226
226
 
227
227
 
228
+ 167
229
+ 168
230
+ 169
228
231
  170
229
- 171
230
- 172
231
- 173
232
- 174</pre>
232
+ 171</pre>
233
233
  </td>
234
234
  <td>
235
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 170</span>
235
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 167</span>
236
236
 
237
237
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</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'>&amp;</span><span class='id identifier rubyid_cmd'>cmd</span> <span class='rparen'>)</span>
238
238
  <span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
@@ -277,6 +277,9 @@
277
277
  <pre class="lines">
278
278
 
279
279
 
280
+ 174
281
+ 175
282
+ 176
280
283
  177
281
284
  178
282
285
  179
@@ -287,13 +290,10 @@
287
290
  184
288
291
  185
289
292
  186
290
- 187
291
- 188
292
- 189
293
- 190</pre>
293
+ 187</pre>
294
294
  </td>
295
295
  <td>
296
- <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 177</span>
296
+ <pre class="code"><span class="info file"># File 'lib/rubu.rb', line 174</span>
297
297
 
298
298
  <span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
299
299
  <span class='kw'>begin</span>
@@ -319,7 +319,7 @@
319
319
  </div>
320
320
 
321
321
  <div id="footer">
322
- Generated on Thu Aug 30 16:05:51 2018 by
322
+ Generated on Fri Aug 31 09:32:06 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>