bovem 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/CHANGELOG.md +5 -1
- data/README.md +0 -1
- data/doc/Bovem.html +1 -1
- data/doc/Bovem/Application.html +1 -1
- data/doc/Bovem/Command.html +1 -1
- data/doc/Bovem/CommandMethods.html +1 -1
- data/doc/Bovem/CommandMethods/Children.html +1 -1
- data/doc/Bovem/CommandMethods/Help.html +1 -1
- data/doc/Bovem/Configuration.html +11 -9
- data/doc/Bovem/Console.html +19 -19
- data/doc/Bovem/ConsoleMethods.html +1 -1
- data/doc/Bovem/ConsoleMethods/Interactions.html +7 -7
- data/doc/Bovem/ConsoleMethods/Interactions/ClassMethods.html +4 -4
- data/doc/Bovem/ConsoleMethods/Logging.html +45 -35
- data/doc/Bovem/ConsoleMethods/Logging/ClassMethods.html +4 -4
- data/doc/Bovem/ConsoleMethods/Output.html +1 -1
- data/doc/Bovem/ConsoleMethods/StyleHandling.html +1 -1
- data/doc/Bovem/ConsoleMethods/StyleHandling/ClassMethods.html +1 -1
- data/doc/Bovem/Errors.html +1 -1
- data/doc/Bovem/Errors/Error.html +1 -1
- data/doc/Bovem/Errors/InvalidConfiguration.html +1 -1
- data/doc/Bovem/Errors/InvalidLogger.html +1 -1
- data/doc/Bovem/I18n.html +1 -1
- data/doc/Bovem/Logger.html +1 -1
- data/doc/Bovem/Option.html +1 -1
- data/doc/Bovem/Parser.html +1 -1
- data/doc/Bovem/ParserMethods.html +1 -1
- data/doc/Bovem/ParserMethods/General.html +1 -1
- data/doc/Bovem/ParserMethods/General/ClassMethods.html +1 -1
- data/doc/Bovem/Shell.html +1 -1
- data/doc/Bovem/ShellMethods.html +1 -1
- data/doc/Bovem/ShellMethods/Directories.html +1 -1
- data/doc/Bovem/ShellMethods/Execute.html +1 -1
- data/doc/Bovem/ShellMethods/General.html +1 -1
- data/doc/Bovem/ShellMethods/Read.html +1 -1
- data/doc/Bovem/ShellMethods/Write.html +1 -1
- data/doc/Bovem/Version.html +2 -2
- data/doc/_index.html +1 -1
- data/doc/file.README.html +2 -3
- data/doc/index.html +2 -3
- data/doc/top-level-namespace.html +1 -1
- data/lib/bovem/configuration.rb +2 -1
- data/lib/bovem/console.rb +1 -0
- data/lib/bovem/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6887537feb52f5267a841ceecb00e75f62e0eac0
|
4
|
+
data.tar.gz: ded90a94ae85a7e6113065fd403c8ca243d28b94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea2f4f989dc8858775e69daddcb2cbd6715b6bb44106687629855771ea79bbb8b279f2d3f112e741933b98ff3cc516700fffc18ee1c2bfb9ad5a8802ede76c7a
|
7
|
+
data.tar.gz: 990bf96530cd11ea07e6a2a985312bdc4e00f0257a87b61826141a2ff44a65b1a8d804061d348b60dd24caa9b1fdad82ebef447996772b6fbd03b0655cdfe6ad
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
### 4.0.1 / 2016-03-30
|
2
|
+
|
3
|
+
* Minor bugfix.
|
4
|
+
|
1
5
|
### 4.0.0 / 2016-03-29
|
2
6
|
|
3
7
|
* Refactored `Bovem::Console`.
|
@@ -6,7 +10,7 @@
|
|
6
10
|
* Dropped `is_` or `has_` from all methods in `Bovem::Command` and `Bovem::Option`.
|
7
11
|
* Changed signature of `Bovem::Parser.smart_join`.
|
8
12
|
* Changed signature of `Bovem::Parser.find_command`.
|
9
|
-
* Changed signature of `Bovem::Command
|
13
|
+
* Changed signature of `Bovem::Command#get_options`.
|
10
14
|
* Dropped support for Ruby <2.3
|
11
15
|
* Updated dependencies.
|
12
16
|
|
data/README.md
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
[![Build Status](https://secure.travis-ci.org/ShogunPanda/bovem.png?branch=master)](http://travis-ci.org/ShogunPanda/bovem)
|
6
6
|
[![Code Climate](https://codeclimate.com/github/ShogunPanda/bovem.png)](https://codeclimate.com/github/ShogunPanda/bovem)
|
7
7
|
[![Coverage Status](https://coveralls.io/repos/ShogunPanda/bovem/badge.png)](https://coveralls.io/r/ShogunPanda/bovem)
|
8
|
-
[![Bitdeli Trend](https://d2weczhvl823v0.cloudfront.net/ShogunPanda/bovem/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
9
8
|
|
10
9
|
A command line manager and a collection of utilities for developers.
|
11
10
|
|
data/doc/Bovem.html
CHANGED
@@ -177,7 +177,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
177
177
|
</div>
|
178
178
|
|
179
179
|
<div id="footer">
|
180
|
-
Generated on
|
180
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
181
181
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
182
182
|
0.8.7.6 (ruby-2.3.0).
|
183
183
|
</div>
|
data/doc/Bovem/Application.html
CHANGED
@@ -3400,7 +3400,7 @@
|
|
3400
3400
|
</div>
|
3401
3401
|
|
3402
3402
|
<div id="footer">
|
3403
|
-
Generated on
|
3403
|
+
Generated on Wed Mar 30 11:49:27 2016 by
|
3404
3404
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
3405
3405
|
0.8.7.6 (ruby-2.3.0).
|
3406
3406
|
</div>
|
data/doc/Bovem/Command.html
CHANGED
@@ -7344,7 +7344,7 @@
|
|
7344
7344
|
</div>
|
7345
7345
|
|
7346
7346
|
<div id="footer">
|
7347
|
-
Generated on
|
7347
|
+
Generated on Wed Mar 30 11:49:27 2016 by
|
7348
7348
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
7349
7349
|
0.8.7.6 (ruby-2.3.0).
|
7350
7350
|
</div>
|
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.7.6 (ruby-2.3.0).
|
122
122
|
</div>
|
@@ -1270,7 +1270,7 @@ the user inputs or the defaults values.</p>
|
|
1270
1270
|
</div>
|
1271
1271
|
|
1272
1272
|
<div id="footer">
|
1273
|
-
Generated on
|
1273
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
1274
1274
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1275
1275
|
0.8.7.6 (ruby-2.3.0).
|
1276
1276
|
</div>
|
@@ -200,7 +200,7 @@
|
|
200
200
|
</div>
|
201
201
|
|
202
202
|
<div id="footer">
|
203
|
-
Generated on
|
203
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
204
204
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
205
205
|
0.8.7.6 (ruby-2.3.0).
|
206
206
|
</div>
|
@@ -315,15 +315,15 @@ end</p>
|
|
315
315
|
<pre class="lines">
|
316
316
|
|
317
317
|
|
318
|
-
34
|
319
318
|
35
|
320
319
|
36
|
321
320
|
37
|
322
321
|
38
|
323
|
-
39
|
322
|
+
39
|
323
|
+
40</pre>
|
324
324
|
</td>
|
325
325
|
<td>
|
326
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/configuration.rb', line
|
326
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/configuration.rb', line 35</span>
|
327
327
|
|
328
328
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_overrides'>overrides</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_logger'>logger</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
329
329
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
@@ -449,13 +449,15 @@ end</p>
|
|
449
449
|
85
|
450
450
|
86
|
451
451
|
87
|
452
|
-
88
|
452
|
+
88
|
453
|
+
89</pre>
|
453
454
|
</td>
|
454
455
|
<td>
|
455
456
|
<pre class="code"><span class="info file"># File 'lib/bovem/configuration.rb', line 24</span>
|
456
457
|
|
457
458
|
<span class='kw'>class</span> <span class='const'>Configuration</span> <span class='op'><</span> <span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Configuration</span>
|
458
459
|
<span class='id identifier rubyid_attr_reader'>attr_reader</span> <span class='symbol'>:i18n</span>
|
460
|
+
|
459
461
|
<span class='comment'># Creates a new configuration.
|
460
462
|
</span> <span class='comment'>#
|
461
463
|
</span> <span class='comment'># A configuration file is a plain Ruby file with a top-level {Configuration config} object.
|
@@ -505,7 +507,7 @@ end</p>
|
|
505
507
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_read_configuration_file'>read_configuration_file</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='id identifier rubyid_logger'>logger</span><span class='rparen'>)</span>
|
506
508
|
<span class='comment'># Open the file
|
507
509
|
</span> <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='id identifier rubyid_file'>file</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^</span><span class='embexpr_beg'>#{</span><span class='const'>File</span><span class='op'>::</span><span class='const'>SEPARATOR</span><span class='embexpr_end'>}</span><span class='regexp_end'>/</span></span> <span class='op'>?</span> <span class='id identifier rubyid_file'>file</span> <span class='op'>:</span> <span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_realpath'>realpath</span>
|
508
|
-
<span class='id identifier rubyid_logger'>logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span><span class='lparen'>(</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier
|
510
|
+
<span class='id identifier rubyid_logger'>logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span><span class='lparen'>(</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_using'>using</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_logger'>logger</span>
|
509
511
|
<span class='id identifier rubyid_eval_file'>eval_file</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
510
512
|
<span class='kw'>rescue</span> <span class='const'>Exception</span>
|
511
513
|
<span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Errors</span><span class='op'>::</span><span class='const'>InvalidConfiguration</span><span class='comma'>,</span> <span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_invalid'>invalid</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
@@ -619,7 +621,6 @@ config.property = "VALUE"
|
|
619
621
|
<pre class="lines">
|
620
622
|
|
621
623
|
|
622
|
-
54
|
623
624
|
55
|
624
625
|
56
|
625
626
|
57
|
@@ -631,10 +632,11 @@ config.property = "VALUE"
|
|
631
632
|
63
|
632
633
|
64
|
633
634
|
65
|
634
|
-
66
|
635
|
+
66
|
636
|
+
67</pre>
|
635
637
|
</td>
|
636
638
|
<td>
|
637
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/configuration.rb', line
|
639
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/configuration.rb', line 55</span>
|
638
640
|
|
639
641
|
<span class='kw'>def</span> <span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_overrides'>overrides</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_logger'>logger</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
640
642
|
<span class='id identifier rubyid_file'>file</span> <span class='op'>=</span> <span class='id identifier rubyid_file'>file</span><span class='period'>.</span><span class='id identifier rubyid_present?'>present?</span> <span class='op'>?</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='kw'>nil</span>
|
@@ -659,7 +661,7 @@ config.property = "VALUE"
|
|
659
661
|
</div>
|
660
662
|
|
661
663
|
<div id="footer">
|
662
|
-
Generated on
|
664
|
+
Generated on Wed Mar 30 11:49:27 2016 by
|
663
665
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
664
666
|
0.8.7.6 (ruby-2.3.0).
|
665
667
|
</div>
|
data/doc/Bovem/Console.html
CHANGED
@@ -380,14 +380,14 @@
|
|
380
380
|
<pre class="lines">
|
381
381
|
|
382
382
|
|
383
|
-
705
|
384
383
|
706
|
385
384
|
707
|
386
385
|
708
|
387
|
-
709
|
386
|
+
709
|
387
|
+
710</pre>
|
388
388
|
</td>
|
389
389
|
<td>
|
390
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
390
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 706</span>
|
391
391
|
|
392
392
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
393
393
|
<span class='ivar'>@indentation</span> <span class='op'>=</span> <span class='int'>0</span>
|
@@ -448,7 +448,6 @@
|
|
448
448
|
<pre class="lines">
|
449
449
|
|
450
450
|
|
451
|
-
688
|
452
451
|
689
|
453
452
|
690
|
454
453
|
691
|
@@ -480,10 +479,11 @@
|
|
480
479
|
717
|
481
480
|
718
|
482
481
|
719
|
483
|
-
720
|
482
|
+
720
|
483
|
+
721</pre>
|
484
484
|
</td>
|
485
485
|
<td>
|
486
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
486
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 689</span>
|
487
487
|
|
488
488
|
<span class='kw'>class</span> <span class='const'>Console</span>
|
489
489
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:indentation</span><span class='comma'>,</span> <span class='symbol'>:indentation_string</span>
|
@@ -567,7 +567,6 @@
|
|
567
567
|
<pre class="lines">
|
568
568
|
|
569
569
|
|
570
|
-
688
|
571
570
|
689
|
572
571
|
690
|
573
572
|
691
|
@@ -599,10 +598,11 @@
|
|
599
598
|
717
|
600
599
|
718
|
601
600
|
719
|
602
|
-
720
|
601
|
+
720
|
602
|
+
721</pre>
|
603
603
|
</td>
|
604
604
|
<td>
|
605
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
605
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 689</span>
|
606
606
|
|
607
607
|
<span class='kw'>class</span> <span class='const'>Console</span>
|
608
608
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:indentation</span><span class='comma'>,</span> <span class='symbol'>:indentation_string</span>
|
@@ -686,7 +686,6 @@
|
|
686
686
|
<pre class="lines">
|
687
687
|
|
688
688
|
|
689
|
-
688
|
690
689
|
689
|
691
690
|
690
|
692
691
|
691
|
@@ -718,10 +717,11 @@
|
|
718
717
|
717
|
719
718
|
718
|
720
719
|
719
|
721
|
-
720
|
720
|
+
720
|
721
|
+
721</pre>
|
722
722
|
</td>
|
723
723
|
<td>
|
724
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
724
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 689</span>
|
725
725
|
|
726
726
|
<span class='kw'>class</span> <span class='const'>Console</span>
|
727
727
|
<span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:indentation</span><span class='comma'>,</span> <span class='symbol'>:indentation_string</span>
|
@@ -810,12 +810,12 @@
|
|
810
810
|
<pre class="lines">
|
811
811
|
|
812
812
|
|
813
|
-
700
|
814
813
|
701
|
815
|
-
702
|
814
|
+
702
|
815
|
+
703</pre>
|
816
816
|
</td>
|
817
817
|
<td>
|
818
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
818
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 701</span>
|
819
819
|
|
820
820
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span>
|
821
821
|
<span class='ivar'>@instance</span> <span class='op'>||=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Console</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
@@ -873,15 +873,15 @@
|
|
873
873
|
<pre class="lines">
|
874
874
|
|
875
875
|
|
876
|
-
714
|
877
876
|
715
|
878
877
|
716
|
879
878
|
717
|
880
879
|
718
|
881
|
-
719
|
880
|
+
719
|
881
|
+
720</pre>
|
882
882
|
</td>
|
883
883
|
<td>
|
884
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
884
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 715</span>
|
885
885
|
|
886
886
|
<span class='kw'>def</span> <span class='id identifier rubyid_line_width'>line_width</span>
|
887
887
|
<span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>io/console</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='kw'>defined?</span><span class='lparen'>(</span><span class='gvar'>$stdin</span><span class='period'>.</span><span class='id identifier rubyid_winsize'>winsize</span><span class='rparen'>)</span>
|
@@ -899,7 +899,7 @@
|
|
899
899
|
</div>
|
900
900
|
|
901
901
|
<div id="footer">
|
902
|
-
Generated on
|
902
|
+
Generated on Wed Mar 30 11:49:27 2016 by
|
903
903
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
904
904
|
0.8.7.6 (ruby-2.3.0).
|
905
905
|
</div>
|
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.7.6 (ruby-2.3.0).
|
122
122
|
</div>
|
@@ -272,7 +272,6 @@
|
|
272
272
|
<pre class="lines">
|
273
273
|
|
274
274
|
|
275
|
-
563
|
276
275
|
564
|
277
276
|
565
|
278
277
|
566
|
@@ -286,10 +285,11 @@
|
|
286
285
|
574
|
287
286
|
575
|
288
287
|
576
|
289
|
-
577
|
288
|
+
577
|
289
|
+
578</pre>
|
290
290
|
</td>
|
291
291
|
<td>
|
292
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
292
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 564</span>
|
293
293
|
|
294
294
|
<span class='kw'>def</span> <span class='id identifier rubyid_read'>read</span><span class='lparen'>(</span><span class='label'>prompt:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>default_value:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>validator:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>echo:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
295
295
|
<span class='id identifier rubyid_prompt'>prompt</span> <span class='op'>=</span> <span class='id identifier rubyid_sanitize_prompt'>sanitize_prompt</span><span class='lparen'>(</span><span class='id identifier rubyid_prompt'>prompt</span><span class='rparen'>)</span>
|
@@ -495,7 +495,6 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
495
495
|
<pre class="lines">
|
496
496
|
|
497
497
|
|
498
|
-
592
|
499
498
|
593
|
500
499
|
594
|
501
500
|
595
|
@@ -512,10 +511,11 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
512
511
|
606
|
513
512
|
607
|
514
513
|
608
|
515
|
-
609
|
514
|
+
609
|
515
|
+
610</pre>
|
516
516
|
</td>
|
517
517
|
<td>
|
518
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
518
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 593</span>
|
519
519
|
|
520
520
|
<span class='kw'>def</span> <span class='id identifier rubyid_task'>task</span><span class='lparen'>(</span>
|
521
521
|
<span class='id identifier rubyid_message'>message</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>indented_banner:</span> <span class='kw'>false</span><span class='comma'>,</span>
|
@@ -545,7 +545,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
545
545
|
</div>
|
546
546
|
|
547
547
|
<div id="footer">
|
548
|
-
Generated on
|
548
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
549
549
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
550
550
|
0.8.7.6 (ruby-2.3.0).
|
551
551
|
</div>
|
@@ -202,12 +202,12 @@
|
|
202
202
|
<pre class="lines">
|
203
203
|
|
204
204
|
|
205
|
-
552
|
206
205
|
553
|
207
|
-
554
|
206
|
+
554
|
207
|
+
555</pre>
|
208
208
|
</td>
|
209
209
|
<td>
|
210
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
210
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 553</span>
|
211
211
|
|
212
212
|
<span class='kw'>def</span> <span class='id identifier rubyid_execute'>execute</span><span class='lparen'>(</span><span class='id identifier rubyid_command'>command</span><span class='rparen'>)</span>
|
213
213
|
<span class='backtick'>`</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_command'>command</span><span class='embexpr_end'>}</span><span class='tstring_end'>`</span></span>
|
@@ -222,7 +222,7 @@
|
|
222
222
|
</div>
|
223
223
|
|
224
224
|
<div id="footer">
|
225
|
-
Generated on
|
225
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
226
226
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
227
227
|
0.8.7.6 (ruby-2.3.0).
|
228
228
|
</div>
|
@@ -118,7 +118,17 @@
|
|
118
118
|
<dl class="constants">
|
119
119
|
|
120
120
|
<dt id="DEFAULT_STATUSES-constant" class="">DEFAULT_STATUSES =
|
121
|
-
|
121
|
+
<div class="docstring">
|
122
|
+
<div class="discussion">
|
123
|
+
<p>Available statuses for tasks.</p>
|
124
|
+
|
125
|
+
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
<div class="tags">
|
129
|
+
|
130
|
+
|
131
|
+
</div>
|
122
132
|
</dt>
|
123
133
|
<dd><pre class="code"><span class='lbrace'>{</span>
|
124
134
|
<span class='label'>ok:</span> <span class='lbrace'>{</span><span class='label'>label:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> OK </span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>color:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bright green</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span><span class='comma'>,</span>
|
@@ -565,14 +575,14 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
565
575
|
<pre class="lines">
|
566
576
|
|
567
577
|
|
568
|
-
404
|
569
578
|
405
|
570
579
|
406
|
571
580
|
407
|
572
|
-
408
|
581
|
+
408
|
582
|
+
409</pre>
|
573
583
|
</td>
|
574
584
|
<td>
|
575
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
585
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 405</span>
|
576
586
|
|
577
587
|
<span class='kw'>def</span> <span class='kw'>begin</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>indented_banner:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>full_colored:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
578
588
|
<span class='id identifier rubyid_banner'>banner</span> <span class='op'>=</span> <span class='id identifier rubyid_get_banner'>get_banner</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bright green</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>full_colored:</span> <span class='id identifier rubyid_full_colored'>full_colored</span><span class='rparen'>)</span>
|
@@ -741,7 +751,6 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
741
751
|
<pre class="lines">
|
742
752
|
|
743
753
|
|
744
|
-
464
|
745
754
|
465
|
746
755
|
466
|
747
756
|
467
|
@@ -753,10 +762,11 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
753
762
|
473
|
754
763
|
474
|
755
764
|
475
|
756
|
-
476
|
765
|
+
476
|
766
|
+
477</pre>
|
757
767
|
</td>
|
758
768
|
<td>
|
759
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
769
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 465</span>
|
760
770
|
|
761
771
|
<span class='kw'>def</span> <span class='id identifier rubyid_debug'>debug</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>indented_banner:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>full_colored:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
762
772
|
<span class='id identifier rubyid_info'>info</span><span class='lparen'>(</span>
|
@@ -933,7 +943,6 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
933
943
|
<pre class="lines">
|
934
944
|
|
935
945
|
|
936
|
-
518
|
937
946
|
519
|
938
947
|
520
|
939
948
|
521
|
@@ -945,10 +954,11 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
945
954
|
527
|
946
955
|
528
|
947
956
|
529
|
948
|
-
530
|
957
|
+
530
|
958
|
+
531</pre>
|
949
959
|
</td>
|
950
960
|
<td>
|
951
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
961
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 519</span>
|
952
962
|
|
953
963
|
<span class='kw'>def</span> <span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>indented_banner:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>full_colored:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
954
964
|
<span class='id identifier rubyid_info'>info</span><span class='lparen'>(</span>
|
@@ -1140,13 +1150,13 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1140
1150
|
<pre class="lines">
|
1141
1151
|
|
1142
1152
|
|
1143
|
-
424
|
1144
1153
|
425
|
1145
1154
|
426
|
1146
|
-
427
|
1155
|
+
427
|
1156
|
+
428</pre>
|
1147
1157
|
</td>
|
1148
1158
|
<td>
|
1149
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
1159
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 425</span>
|
1150
1160
|
|
1151
1161
|
<span class='kw'>def</span> <span class='id identifier rubyid_fatal'>fatal</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>indented_banner:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>full_colored:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>return_code:</span> <span class='op'>-</span><span class='int'>1</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1152
1162
|
<span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='id identifier rubyid_suffix'>suffix</span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='id identifier rubyid_indented'>indented</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='id identifier rubyid_wrap'>wrap</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='id identifier rubyid_plain'>plain</span><span class='comma'>,</span> <span class='label'>indented_banner:</span> <span class='id identifier rubyid_indented_banner'>indented_banner</span><span class='comma'>,</span> <span class='label'>full_colored:</span> <span class='id identifier rubyid_full_colored'>full_colored</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='id identifier rubyid_print'>print</span><span class='rparen'>)</span>
|
@@ -1285,15 +1295,15 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1285
1295
|
<pre class="lines">
|
1286
1296
|
|
1287
1297
|
|
1288
|
-
367
|
1289
1298
|
368
|
1290
1299
|
369
|
1291
1300
|
370
|
1292
1301
|
371
|
1293
|
-
372
|
1302
|
+
372
|
1303
|
+
373</pre>
|
1294
1304
|
</td>
|
1295
1305
|
<td>
|
1296
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
1306
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 368</span>
|
1297
1307
|
|
1298
1308
|
<span class='kw'>def</span> <span class='id identifier rubyid_get_banner'>get_banner</span><span class='lparen'>(</span><span class='id identifier rubyid_label'>label</span><span class='comma'>,</span> <span class='id identifier rubyid_base_color'>base_color</span><span class='comma'>,</span> <span class='label'>full_colored:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>bracket_color:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>blue</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>brackets:</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>[</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>]</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
1299
1309
|
<span class='id identifier rubyid_label'>label</span> <span class='op'>=</span> <span class='id identifier rubyid_label'>label</span><span class='period'>.</span><span class='id identifier rubyid_rjust'>rjust</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Console</span><span class='period'>.</span><span class='id identifier rubyid_min_banner_length'>min_banner_length</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
@@ -1478,16 +1488,16 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1478
1488
|
<pre class="lines">
|
1479
1489
|
|
1480
1490
|
|
1481
|
-
443
|
1482
1491
|
444
|
1483
1492
|
445
|
1484
1493
|
446
|
1485
1494
|
447
|
1486
1495
|
448
|
1487
|
-
449
|
1496
|
+
449
|
1497
|
+
450</pre>
|
1488
1498
|
</td>
|
1489
1499
|
<td>
|
1490
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
1500
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 444</span>
|
1491
1501
|
|
1492
1502
|
<span class='kw'>def</span> <span class='id identifier rubyid_info'>info</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>indented_banner:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>full_colored:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>banner:</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
1493
1503
|
<span class='id identifier rubyid_banner'>banner</span> <span class='op'>=</span> <span class='id identifier rubyid_banner'>banner</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span><span class='lparen'>(</span><span class='label'>no_duplicates:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>compact:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>flatten:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
@@ -1607,7 +1617,6 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1607
1617
|
<pre class="lines">
|
1608
1618
|
|
1609
1619
|
|
1610
|
-
381
|
1611
1620
|
382
|
1612
1621
|
383
|
1613
1622
|
384
|
@@ -1615,10 +1624,11 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1615
1624
|
386
|
1616
1625
|
387
|
1617
1626
|
388
|
1618
|
-
389
|
1627
|
+
389
|
1628
|
+
390</pre>
|
1619
1629
|
</td>
|
1620
1630
|
<td>
|
1621
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
1631
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 382</span>
|
1622
1632
|
|
1623
1633
|
<span class='kw'>def</span> <span class='id identifier rubyid_progress'>progress</span><span class='lparen'>(</span><span class='id identifier rubyid_current'>current</span><span class='comma'>,</span> <span class='id identifier rubyid_total'>total</span><span class='comma'>,</span> <span class='label'>type:</span> <span class='symbol'>:list</span><span class='comma'>,</span> <span class='label'>precision:</span> <span class='int'>0</span><span class='rparen'>)</span>
|
1624
1634
|
<span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='symbol'>:list</span>
|
@@ -1755,7 +1765,6 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1755
1765
|
<pre class="lines">
|
1756
1766
|
|
1757
1767
|
|
1758
|
-
339
|
1759
1768
|
340
|
1760
1769
|
341
|
1761
1770
|
342
|
@@ -1772,10 +1781,11 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1772
1781
|
353
|
1773
1782
|
354
|
1774
1783
|
355
|
1775
|
-
356
|
1784
|
+
356
|
1785
|
+
357</pre>
|
1776
1786
|
</td>
|
1777
1787
|
<td>
|
1778
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
1788
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 340</span>
|
1779
1789
|
|
1780
1790
|
<span class='kw'>def</span> <span class='id identifier rubyid_status'>status</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>go_up:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>right:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1781
1791
|
<span class='id identifier rubyid_statuses'>statuses</span> <span class='op'>=</span> <span class='const'>DEFAULT_STATUSES</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
|
@@ -1957,7 +1967,6 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1957
1967
|
<pre class="lines">
|
1958
1968
|
|
1959
1969
|
|
1960
|
-
491
|
1961
1970
|
492
|
1962
1971
|
493
|
1963
1972
|
494
|
@@ -1969,10 +1978,11 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
1969
1978
|
500
|
1970
1979
|
501
|
1971
1980
|
502
|
1972
|
-
503
|
1981
|
+
503
|
1982
|
+
504</pre>
|
1973
1983
|
</td>
|
1974
1984
|
<td>
|
1975
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
1985
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 492</span>
|
1976
1986
|
|
1977
1987
|
<span class='kw'>def</span> <span class='id identifier rubyid_warn'>warn</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>indented_banner:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>full_colored:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1978
1988
|
<span class='id identifier rubyid_info'>info</span><span class='lparen'>(</span>
|
@@ -2136,14 +2146,14 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
2136
2146
|
<pre class="lines">
|
2137
2147
|
|
2138
2148
|
|
2139
|
-
302
|
2140
2149
|
303
|
2141
2150
|
304
|
2142
2151
|
305
|
2143
|
-
306
|
2152
|
+
306
|
2153
|
+
307</pre>
|
2144
2154
|
</td>
|
2145
2155
|
<td>
|
2146
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
2156
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 303</span>
|
2147
2157
|
|
2148
2158
|
<span class='kw'>def</span> <span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
2149
2159
|
<span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='id identifier rubyid_format'>format</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='id identifier rubyid_suffix'>suffix</span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='id identifier rubyid_indented'>indented</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='id identifier rubyid_wrap'>wrap</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='id identifier rubyid_plain'>plain</span><span class='rparen'>)</span>
|
@@ -2299,7 +2309,6 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
2299
2309
|
<pre class="lines">
|
2300
2310
|
|
2301
2311
|
|
2302
|
-
320
|
2303
2312
|
321
|
2304
2313
|
322
|
2305
2314
|
323
|
@@ -2308,10 +2317,11 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
2308
2317
|
326
|
2309
2318
|
327
|
2310
2319
|
328
|
2311
|
-
329
|
2320
|
+
329
|
2321
|
+
330</pre>
|
2312
2322
|
</td>
|
2313
2323
|
<td>
|
2314
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
2324
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 321</span>
|
2315
2325
|
|
2316
2326
|
<span class='kw'>def</span> <span class='id identifier rubyid_write_banner_aligned'>write_banner_aligned</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='label'>suffix:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>indented:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>wrap:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>plain:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>print:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
2317
2327
|
<span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span>
|
@@ -2333,7 +2343,7 @@ a negative value of <code>-x</code> will indent of <code>x</code> absolute space
|
|
2333
2343
|
</div>
|
2334
2344
|
|
2335
2345
|
<div id="footer">
|
2336
|
-
Generated on
|
2346
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
2337
2347
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2338
2348
|
0.8.7.6 (ruby-2.3.0).
|
2339
2349
|
</div>
|
@@ -183,12 +183,12 @@
|
|
183
183
|
<pre class="lines">
|
184
184
|
|
185
185
|
|
186
|
-
285
|
187
186
|
286
|
188
|
-
287
|
187
|
+
287
|
188
|
+
288</pre>
|
189
189
|
</td>
|
190
190
|
<td>
|
191
|
-
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line
|
191
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 286</span>
|
192
192
|
|
193
193
|
<span class='kw'>def</span> <span class='id identifier rubyid_min_banner_length'>min_banner_length</span>
|
194
194
|
<span class='int'>1</span>
|
@@ -203,7 +203,7 @@
|
|
203
203
|
</div>
|
204
204
|
|
205
205
|
<div id="footer">
|
206
|
-
Generated on
|
206
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
207
207
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
208
208
|
0.8.7.6 (ruby-2.3.0).
|
209
209
|
</div>
|
@@ -1206,7 +1206,7 @@ will indent of <code>x</code> absolute spaces. <code>nil</code> or <code>false</
|
|
1206
1206
|
</div>
|
1207
1207
|
|
1208
1208
|
<div id="footer">
|
1209
|
-
Generated on
|
1209
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
1210
1210
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1211
1211
|
0.8.7.6 (ruby-2.3.0).
|
1212
1212
|
</div>
|
@@ -265,7 +265,7 @@
|
|
265
265
|
</div>
|
266
266
|
|
267
267
|
<div id="footer">
|
268
|
-
Generated on
|
268
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
269
269
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
270
270
|
0.8.7.6 (ruby-2.3.0).
|
271
271
|
</div>
|
@@ -628,7 +628,7 @@ Bovem::Console.new.replace_markers("{mark=bright bg_red}{mark=green}Hello world!
|
|
628
628
|
</div>
|
629
629
|
|
630
630
|
<div id="footer">
|
631
|
-
Generated on
|
631
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
632
632
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
633
633
|
0.8.7.6 (ruby-2.3.0).
|
634
634
|
</div>
|
data/doc/Bovem/Errors.html
CHANGED
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.7.6 (ruby-2.3.0).
|
122
122
|
</div>
|
data/doc/Bovem/Errors/Error.html
CHANGED
@@ -622,7 +622,7 @@
|
|
622
622
|
</div>
|
623
623
|
|
624
624
|
<div id="footer">
|
625
|
-
Generated on
|
625
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
626
626
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
627
627
|
0.8.7.6 (ruby-2.3.0).
|
628
628
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.8.7.6 (ruby-2.3.0).
|
130
130
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.8.7.6 (ruby-2.3.0).
|
130
130
|
</div>
|
data/doc/Bovem/I18n.html
CHANGED
@@ -166,7 +166,7 @@
|
|
166
166
|
</div>
|
167
167
|
|
168
168
|
<div id="footer">
|
169
|
-
Generated on
|
169
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
170
170
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
171
171
|
0.8.7.6 (ruby-2.3.0).
|
172
172
|
</div>
|
data/doc/Bovem/Logger.html
CHANGED
@@ -1052,7 +1052,7 @@
|
|
1052
1052
|
</div>
|
1053
1053
|
|
1054
1054
|
<div id="footer">
|
1055
|
-
Generated on
|
1055
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
1056
1056
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1057
1057
|
0.8.7.6 (ruby-2.3.0).
|
1058
1058
|
</div>
|
data/doc/Bovem/Option.html
CHANGED
@@ -6903,7 +6903,7 @@ if this option doesn’t require a meta argument.</p>
|
|
6903
6903
|
</div>
|
6904
6904
|
|
6905
6905
|
<div id="footer">
|
6906
|
-
Generated on
|
6906
|
+
Generated on Wed Mar 30 11:49:27 2016 by
|
6907
6907
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
6908
6908
|
0.8.7.6 (ruby-2.3.0).
|
6909
6909
|
</div>
|
data/doc/Bovem/Parser.html
CHANGED
@@ -267,7 +267,7 @@
|
|
267
267
|
</div>
|
268
268
|
|
269
269
|
<div id="footer">
|
270
|
-
Generated on
|
270
|
+
Generated on Wed Mar 30 11:49:27 2016 by
|
271
271
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
272
272
|
0.8.7.6 (ruby-2.3.0).
|
273
273
|
</div>
|
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.7.6 (ruby-2.3.0).
|
122
122
|
</div>
|
@@ -125,7 +125,7 @@
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on
|
128
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
129
129
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
130
|
0.8.7.6 (ruby-2.3.0).
|
131
131
|
</div>
|
@@ -549,7 +549,7 @@
|
|
549
549
|
</div>
|
550
550
|
|
551
551
|
<div id="footer">
|
552
|
-
Generated on
|
552
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
553
553
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
554
554
|
0.8.7.6 (ruby-2.3.0).
|
555
555
|
</div>
|
data/doc/Bovem/Shell.html
CHANGED
@@ -614,7 +614,7 @@
|
|
614
614
|
</div>
|
615
615
|
|
616
616
|
<div id="footer">
|
617
|
-
Generated on
|
617
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
618
618
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
619
619
|
0.8.7.6 (ruby-2.3.0).
|
620
620
|
</div>
|
data/doc/Bovem/ShellMethods.html
CHANGED
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.7.6 (ruby-2.3.0).
|
122
122
|
</div>
|
@@ -457,7 +457,7 @@
|
|
457
457
|
</div>
|
458
458
|
|
459
459
|
<div id="footer">
|
460
|
-
Generated on
|
460
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
461
461
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
462
462
|
0.8.7.6 (ruby-2.3.0).
|
463
463
|
</div>
|
@@ -508,7 +508,7 @@
|
|
508
508
|
</div>
|
509
509
|
|
510
510
|
<div id="footer">
|
511
|
-
Generated on
|
511
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
512
512
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
513
513
|
0.8.7.6 (ruby-2.3.0).
|
514
514
|
</div>
|
@@ -110,7 +110,7 @@
|
|
110
110
|
</div>
|
111
111
|
|
112
112
|
<div id="footer">
|
113
|
-
Generated on
|
113
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
114
114
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
115
115
|
0.8.7.6 (ruby-2.3.0).
|
116
116
|
</div>
|
@@ -437,7 +437,7 @@
|
|
437
437
|
</div>
|
438
438
|
|
439
439
|
<div id="footer">
|
440
|
-
Generated on
|
440
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
441
441
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
442
442
|
0.8.7.6 (ruby-2.3.0).
|
443
443
|
</div>
|
@@ -445,7 +445,7 @@
|
|
445
445
|
</div>
|
446
446
|
|
447
447
|
<div id="footer">
|
448
|
-
Generated on
|
448
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
449
449
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
450
450
|
0.8.7.6 (ruby-2.3.0).
|
451
451
|
</div>
|
data/doc/Bovem/Version.html
CHANGED
@@ -149,7 +149,7 @@
|
|
149
149
|
|
150
150
|
</div>
|
151
151
|
</dt>
|
152
|
-
<dd><pre class="code"><span class='int'>
|
152
|
+
<dd><pre class="code"><span class='int'>1</span></pre></dd>
|
153
153
|
|
154
154
|
<dt id="STRING-constant" class="">STRING =
|
155
155
|
<div class="docstring">
|
@@ -180,7 +180,7 @@
|
|
180
180
|
</div>
|
181
181
|
|
182
182
|
<div id="footer">
|
183
|
-
Generated on
|
183
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
185
|
0.8.7.6 (ruby-2.3.0).
|
186
186
|
</div>
|
data/doc/_index.html
CHANGED
@@ -454,7 +454,7 @@
|
|
454
454
|
</div>
|
455
455
|
|
456
456
|
<div id="footer">
|
457
|
-
Generated on
|
457
|
+
Generated on Wed Mar 30 11:49:25 2016 by
|
458
458
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
459
459
|
0.8.7.6 (ruby-2.3.0).
|
460
460
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -67,8 +67,7 @@
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/bovem"><img src="https://gemnasium.com/ShogunPanda/bovem.png?travis" alt="Dependency Status" /></a>
|
68
68
|
<a href="http://travis-ci.org/ShogunPanda/bovem"><img src="https://secure.travis-ci.org/ShogunPanda/bovem.png?branch=master" alt="Build Status" /></a>
|
69
69
|
<a href="https://codeclimate.com/github/ShogunPanda/bovem"><img src="https://codeclimate.com/github/ShogunPanda/bovem.png" alt="Code Climate" /></a>
|
70
|
-
<a href="https://coveralls.io/r/ShogunPanda/bovem"><img src="https://coveralls.io/repos/ShogunPanda/bovem/badge.png" alt="Coverage Status" /></a>
|
71
|
-
<a href="https://bitdeli.com/free" title="Bitdeli Badge"><img src="https://d2weczhvl823v0.cloudfront.net/ShogunPanda/bovem/trend.png" alt="Bitdeli Trend" /></a></p>
|
70
|
+
<a href="https://coveralls.io/r/ShogunPanda/bovem"><img src="https://coveralls.io/repos/ShogunPanda/bovem/badge.png" alt="Coverage Status" /></a></p>
|
72
71
|
|
73
72
|
<p>A command line manager and a collection of utilities for developers.</p>
|
74
73
|
|
@@ -195,7 +194,7 @@ $ ./test help manage
|
|
195
194
|
</div></div>
|
196
195
|
|
197
196
|
<div id="footer">
|
198
|
-
Generated on
|
197
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
199
198
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
200
199
|
0.8.7.6 (ruby-2.3.0).
|
201
200
|
</div>
|
data/doc/index.html
CHANGED
@@ -67,8 +67,7 @@
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/bovem"><img src="https://gemnasium.com/ShogunPanda/bovem.png?travis" alt="Dependency Status" /></a>
|
68
68
|
<a href="http://travis-ci.org/ShogunPanda/bovem"><img src="https://secure.travis-ci.org/ShogunPanda/bovem.png?branch=master" alt="Build Status" /></a>
|
69
69
|
<a href="https://codeclimate.com/github/ShogunPanda/bovem"><img src="https://codeclimate.com/github/ShogunPanda/bovem.png" alt="Code Climate" /></a>
|
70
|
-
<a href="https://coveralls.io/r/ShogunPanda/bovem"><img src="https://coveralls.io/repos/ShogunPanda/bovem/badge.png" alt="Coverage Status" /></a>
|
71
|
-
<a href="https://bitdeli.com/free" title="Bitdeli Badge"><img src="https://d2weczhvl823v0.cloudfront.net/ShogunPanda/bovem/trend.png" alt="Bitdeli Trend" /></a></p>
|
70
|
+
<a href="https://coveralls.io/r/ShogunPanda/bovem"><img src="https://coveralls.io/repos/ShogunPanda/bovem/badge.png" alt="Coverage Status" /></a></p>
|
72
71
|
|
73
72
|
<p>A command line manager and a collection of utilities for developers.</p>
|
74
73
|
|
@@ -195,7 +194,7 @@ $ ./test help manage
|
|
195
194
|
</div></div>
|
196
195
|
|
197
196
|
<div id="footer">
|
198
|
-
Generated on
|
197
|
+
Generated on Wed Mar 30 11:49:25 2016 by
|
199
198
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
200
199
|
0.8.7.6 (ruby-2.3.0).
|
201
200
|
</div>
|
@@ -103,7 +103,7 @@
|
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div id="footer">
|
106
|
-
Generated on
|
106
|
+
Generated on Wed Mar 30 11:49:26 2016 by
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
108
|
0.8.7.6 (ruby-2.3.0).
|
109
109
|
</div>
|
data/lib/bovem/configuration.rb
CHANGED
@@ -23,6 +23,7 @@ module Bovem
|
|
23
23
|
# @return [I18n] A i18n helper.
|
24
24
|
class Configuration < Lazier::Configuration
|
25
25
|
attr_reader :i18n
|
26
|
+
|
26
27
|
# Creates a new configuration.
|
27
28
|
#
|
28
29
|
# A configuration file is a plain Ruby file with a top-level {Configuration config} object.
|
@@ -72,7 +73,7 @@ module Bovem
|
|
72
73
|
def read_configuration_file(file, logger)
|
73
74
|
# Open the file
|
74
75
|
path = file =~ /^#{File::SEPARATOR}/ ? file : ::Pathname.new(file).realpath
|
75
|
-
logger.info(i18n.
|
76
|
+
logger.info(i18n.using(path)) if logger
|
76
77
|
eval_file(path)
|
77
78
|
rescue Exception
|
78
79
|
raise(Bovem::Errors::InvalidConfiguration, i18n.invalid(file))
|
data/lib/bovem/console.rb
CHANGED
data/lib/bovem/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bovem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shogun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lazier
|