bovem 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/doc/Bovem.html +2 -2
- data/doc/Bovem/Configuration.html +6 -6
- data/doc/Bovem/Console.html +44 -44
- data/doc/Bovem/ConsoleMethods.html +2 -2
- data/doc/Bovem/ConsoleMethods/Interactions.html +24 -24
- data/doc/Bovem/ConsoleMethods/Interactions/ClassMethods.html +7 -7
- data/doc/Bovem/ConsoleMethods/Logging.html +62 -62
- data/doc/Bovem/ConsoleMethods/Logging/ClassMethods.html +6 -6
- data/doc/Bovem/ConsoleMethods/Output.html +122 -6
- data/doc/Bovem/ConsoleMethods/StyleHandling.html +2 -2
- data/doc/Bovem/ConsoleMethods/StyleHandling/ClassMethods.html +3 -3
- data/doc/Bovem/Errors.html +2 -2
- data/doc/Bovem/Errors/InvalidConfiguration.html +2 -2
- data/doc/Bovem/Errors/InvalidLogger.html +2 -2
- data/doc/Bovem/Logger.html +4 -4
- data/doc/Bovem/Shell.html +2 -2
- data/doc/Bovem/ShellMethods.html +2 -2
- data/doc/Bovem/ShellMethods/Directories.html +2 -2
- data/doc/Bovem/ShellMethods/Execute.html +2 -2
- data/doc/Bovem/ShellMethods/General.html +2 -2
- data/doc/Bovem/ShellMethods/Read.html +2 -2
- data/doc/Bovem/ShellMethods/Write.html +2 -2
- data/doc/Bovem/Version.html +3 -3
- data/doc/_index.html +2 -2
- data/doc/file.README.html +6 -6
- data/doc/index.html +6 -6
- data/doc/method_list.html +49 -43
- data/doc/top-level-namespace.html +2 -2
- data/lib/bovem/console.rb +10 -1
- data/lib/bovem/version.rb +1 -1
- data/spec/bovem/console_spec.rb +7 -0
- data/spec/coverage_helper.rb +2 -2
- metadata +7 -16
@@ -183,12 +183,12 @@
|
|
183
183
|
<pre class="lines">
|
184
184
|
|
185
185
|
|
186
|
-
|
187
|
-
|
188
|
-
|
186
|
+
250
|
187
|
+
251
|
188
|
+
252</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 250</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,9 +203,9 @@
|
|
203
203
|
</div>
|
204
204
|
|
205
205
|
<div id="footer">
|
206
|
-
Generated on Sat
|
206
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
207
207
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
208
|
-
0.8.6.2 (ruby-
|
208
|
+
0.8.6.2 (ruby-2.0.0).
|
209
209
|
</div>
|
210
210
|
|
211
211
|
</body>
|
@@ -116,6 +116,29 @@
|
|
116
116
|
<li class="public ">
|
117
117
|
<span class="summary_signature">
|
118
118
|
|
119
|
+
<a href="#emphasize-instance_method" title="#emphasize (instance method)">- (String) <strong>emphasize</strong>(message, style = "bright") </a>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
</span>
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<span class="summary_desc"><div class='inline'><p>Embeds a message in a style.</p>
|
134
|
+
</div></span>
|
135
|
+
|
136
|
+
</li>
|
137
|
+
|
138
|
+
|
139
|
+
<li class="public ">
|
140
|
+
<span class="summary_signature">
|
141
|
+
|
119
142
|
<a href="#format-instance_method" title="#format (instance method)">- (String) <strong>format</strong>(message, suffix = "\n", indent = true, wrap = true, plain = false) </a>
|
120
143
|
|
121
144
|
|
@@ -284,7 +307,100 @@
|
|
284
307
|
|
285
308
|
|
286
309
|
<div class="method_details first">
|
287
|
-
<h3 class="signature first" id="
|
310
|
+
<h3 class="signature first" id="emphasize-instance_method">
|
311
|
+
|
312
|
+
- (<tt>String</tt>) <strong>emphasize</strong>(message, style = "bright")
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
</h3><div class="docstring">
|
319
|
+
<div class="discussion">
|
320
|
+
<p>Embeds a message in a style.</p>
|
321
|
+
|
322
|
+
|
323
|
+
</div>
|
324
|
+
</div>
|
325
|
+
<div class="tags">
|
326
|
+
<p class="tag_title">Parameters:</p>
|
327
|
+
<ul class="param">
|
328
|
+
|
329
|
+
<li>
|
330
|
+
|
331
|
+
<span class='name'>message</span>
|
332
|
+
|
333
|
+
|
334
|
+
<span class='type'>(<tt>String</tt>)</span>
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
—
|
339
|
+
<div class='inline'><p>The message to emphasize.</p>
|
340
|
+
</div>
|
341
|
+
|
342
|
+
</li>
|
343
|
+
|
344
|
+
<li>
|
345
|
+
|
346
|
+
<span class='name'>style</span>
|
347
|
+
|
348
|
+
|
349
|
+
<span class='type'>(<tt>String</tt>)</span>
|
350
|
+
|
351
|
+
|
352
|
+
<em class="default">(defaults to: <tt>"bright"</tt>)</em>
|
353
|
+
|
354
|
+
|
355
|
+
—
|
356
|
+
<div class='inline'><p>The style to use.</p>
|
357
|
+
</div>
|
358
|
+
|
359
|
+
</li>
|
360
|
+
|
361
|
+
</ul>
|
362
|
+
|
363
|
+
<p class="tag_title">Returns:</p>
|
364
|
+
<ul class="return">
|
365
|
+
|
366
|
+
<li>
|
367
|
+
|
368
|
+
|
369
|
+
<span class='type'>(<tt>String</tt>)</span>
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
—
|
374
|
+
<div class='inline'><p>The emphasized message.</p>
|
375
|
+
</div>
|
376
|
+
|
377
|
+
</li>
|
378
|
+
|
379
|
+
</ul>
|
380
|
+
|
381
|
+
</div><table class="source_code">
|
382
|
+
<tr>
|
383
|
+
<td>
|
384
|
+
<pre class="lines">
|
385
|
+
|
386
|
+
|
387
|
+
237
|
388
|
+
238
|
389
|
+
239</pre>
|
390
|
+
</td>
|
391
|
+
<td>
|
392
|
+
<pre class="code"><span class="info file"># File 'lib/bovem/console.rb', line 237</span>
|
393
|
+
|
394
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_emphasize'>emphasize</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_style'>style</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>bright</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
395
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>{mark=</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_style'>style</span><span class='embexpr_end'>}</span><span class='tstring_content'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_message'>message</span><span class='embexpr_end'>}</span><span class='tstring_content'>{/mark}</span><span class='tstring_end'>"</span></span>
|
396
|
+
<span class='kw'>end</span></pre>
|
397
|
+
</td>
|
398
|
+
</tr>
|
399
|
+
</table>
|
400
|
+
</div>
|
401
|
+
|
402
|
+
<div class="method_details ">
|
403
|
+
<h3 class="signature " id="format-instance_method">
|
288
404
|
|
289
405
|
- (<tt>String</tt>) <strong>format</strong>(message, suffix = "\n", indent = true, wrap = true, plain = false)
|
290
406
|
|
@@ -464,7 +580,7 @@
|
|
464
580
|
<span class='kw'>end</span>
|
465
581
|
|
466
582
|
<span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='id identifier rubyid_indent'>indent</span><span class='lparen'>(</span><span class='id identifier rubyid_wrap'>wrap</span><span class='lparen'>(</span><span class='id identifier rubyid_rv'>rv</span><span class='comma'>,</span> <span class='id identifier rubyid_wrap'>wrap</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_indent'>indent</span><span class='rparen'>)</span> <span class='comment'># Wrap & Indent
|
467
|
-
</span> <span class='id identifier rubyid_rv'>rv</span> <span class='op'>+=</span> <span class='id identifier rubyid_suffix'>suffix</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span> <span class='kw'>if</span> <span class='id identifier rubyid_suffix'>suffix</span> <span class='comment'># Add the suffix
|
583
|
+
</span> <span class='id identifier rubyid_rv'>rv</span> <span class='op'>+=</span> <span class='lparen'>(</span><span class='id identifier rubyid_suffix'>suffix</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>TrueClass</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span> <span class='op'>:</span> <span class='id identifier rubyid_suffix'>suffix</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_suffix'>suffix</span> <span class='comment'># Add the suffix
|
468
584
|
</span> <span class='id identifier rubyid_rv'>rv</span>
|
469
585
|
<span class='kw'>end</span></pre>
|
470
586
|
</td>
|
@@ -608,7 +724,7 @@
|
|
608
724
|
</span> <span class='id identifier rubyid_padding'>padding</span> <span class='op'>=</span> <span class='id identifier rubyid_width'>width</span> <span class='op'>-</span> <span class='id identifier rubyid_message'>message</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(\e\[[0-9]*[a-z]?)|(\\n)</span><span class='regexp_end'>/i</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span>
|
609
725
|
|
610
726
|
<span class='comment'># Return
|
611
|
-
</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_go_up'>go_up</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\e[A</span><span class='tstring_end'>"</span></span> <span class='op'>:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='
|
727
|
+
</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_go_up'>go_up</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\e[A</span><span class='tstring_end'>"</span></span> <span class='op'>:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='embexpr_end'>}</span><span class='tstring_content'>\e[0G\e[</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_padding'>padding</span><span class='embexpr_end'>}</span><span class='tstring_content'>C</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_message'>message</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
612
728
|
<span class='kw'>end</span></pre>
|
613
729
|
</td>
|
614
730
|
</tr>
|
@@ -1098,7 +1214,7 @@
|
|
1098
1214
|
<span class='id identifier rubyid_width'>width</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_width'>width</span> <span class='op'>==</span> <span class='kw'>true</span> <span class='op'>||</span> <span class='id identifier rubyid_width'>width</span><span class='period'>.</span><span class='id identifier rubyid_to_integer'>to_integer</span> <span class='op'><</span> <span class='int'>0</span> <span class='op'>?</span> <span class='id identifier rubyid_line_width'>line_width</span> <span class='op'>:</span> <span class='id identifier rubyid_width'>width</span><span class='period'>.</span><span class='id identifier rubyid_to_integer'>to_integer</span><span class='rparen'>)</span>
|
1099
1215
|
|
1100
1216
|
<span class='id identifier rubyid_message'>message</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_collect'>collect</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_line'>line</span><span class='op'>|</span>
|
1101
|
-
<span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span> <span class='op'>></span> <span class='id identifier rubyid_width'>width</span> <span class='op'>?</span> <span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(.{1,</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_width'>width</span><span class='
|
1217
|
+
<span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span> <span class='op'>></span> <span class='id identifier rubyid_width'>width</span> <span class='op'>?</span> <span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(.{1,</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_width'>width</span><span class='embexpr_end'>}</span><span class='tstring_content'>})(\s+|$)</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\\1\n</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span> <span class='op'>:</span> <span class='id identifier rubyid_line'>line</span>
|
1102
1218
|
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1103
1219
|
<span class='kw'>end</span>
|
1104
1220
|
<span class='kw'>end</span></pre>
|
@@ -1112,9 +1228,9 @@
|
|
1112
1228
|
</div>
|
1113
1229
|
|
1114
1230
|
<div id="footer">
|
1115
|
-
Generated on Sat
|
1231
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
1116
1232
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1117
|
-
0.8.6.2 (ruby-
|
1233
|
+
0.8.6.2 (ruby-2.0.0).
|
1118
1234
|
</div>
|
1119
1235
|
|
1120
1236
|
</body>
|
@@ -265,9 +265,9 @@
|
|
265
265
|
</div>
|
266
266
|
|
267
267
|
<div id="footer">
|
268
|
-
Generated on Sat
|
268
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
269
269
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
270
|
-
0.8.6.2 (ruby-
|
270
|
+
0.8.6.2 (ruby-2.0.0).
|
271
271
|
</div>
|
272
272
|
|
273
273
|
</body>
|
@@ -629,7 +629,7 @@ Bovem::Console.new.replace_markers("{mark=bright bg_red}{mark=green}Hello world!
|
|
629
629
|
|
630
630
|
<span class='kw'>def</span> <span class='id identifier rubyid_replace_term_code'>replace_term_code</span><span class='lparen'>(</span><span class='id identifier rubyid_codes'>codes</span><span class='comma'>,</span> <span class='id identifier rubyid_code'>code</span><span class='comma'>,</span> <span class='id identifier rubyid_modifier'>modifier</span> <span class='op'>=</span> <span class='int'>0</span><span class='rparen'>)</span>
|
631
631
|
<span class='id identifier rubyid_sym'>sym</span> <span class='op'>=</span> <span class='id identifier rubyid_code'>code</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
632
|
-
<span class='id identifier rubyid_codes'>codes</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_sym'>sym</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\e[</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_modifier'>modifier</span> <span class='op'>+</span> <span class='id identifier rubyid_codes'>codes</span><span class='lbracket'>[</span><span class='id identifier rubyid_sym'>sym</span><span class='rbracket'>]</span><span class='
|
632
|
+
<span class='id identifier rubyid_codes'>codes</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_sym'>sym</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\e[</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_modifier'>modifier</span> <span class='op'>+</span> <span class='id identifier rubyid_codes'>codes</span><span class='lbracket'>[</span><span class='id identifier rubyid_sym'>sym</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>m</span><span class='tstring_end'>"</span></span> <span class='op'>:</span> <span class='kw'>nil</span>
|
633
633
|
<span class='kw'>end</span></pre>
|
634
634
|
</td>
|
635
635
|
</tr>
|
@@ -641,9 +641,9 @@ Bovem::Console.new.replace_markers("{mark=bright bg_red}{mark=green}Hello world!
|
|
641
641
|
</div>
|
642
642
|
|
643
643
|
<div id="footer">
|
644
|
-
Generated on Sat
|
644
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
645
645
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
646
|
-
0.8.6.2 (ruby-
|
646
|
+
0.8.6.2 (ruby-2.0.0).
|
647
647
|
</div>
|
648
648
|
|
649
649
|
</body>
|
data/doc/Bovem/Errors.html
CHANGED
@@ -116,9 +116,9 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on Sat
|
119
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
|
-
0.8.6.2 (ruby-
|
121
|
+
0.8.6.2 (ruby-2.0.0).
|
122
122
|
</div>
|
123
123
|
|
124
124
|
</body>
|
@@ -124,9 +124,9 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on Sat
|
127
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
|
-
0.8.6.2 (ruby-
|
129
|
+
0.8.6.2 (ruby-2.0.0).
|
130
130
|
</div>
|
131
131
|
|
132
132
|
</body>
|
@@ -124,9 +124,9 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on Sat
|
127
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
|
-
0.8.6.2 (ruby-
|
129
|
+
0.8.6.2 (ruby-2.0.0).
|
130
130
|
</div>
|
131
131
|
|
132
132
|
</body>
|
data/doc/Bovem/Logger.html
CHANGED
@@ -697,7 +697,7 @@
|
|
697
697
|
<span class='kw'>else</span> <span class='symbol'>:white</span>
|
698
698
|
<span class='kw'>end</span>
|
699
699
|
|
700
|
-
<span class='id identifier rubyid_header'>header</span> <span class='op'>=</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_replace_markers'>replace_markers</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>{mark=bright-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_color'>color</span><span class='
|
700
|
+
<span class='id identifier rubyid_header'>header</span> <span class='op'>=</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_replace_markers'>replace_markers</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>{mark=bright-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_color'>color</span><span class='embexpr_end'>}</span><span class='tstring_content'>}[%s T+%0.5f] %s:{/mark}</span><span class='tstring_end'>"</span></span> <span class='op'>%</span><span class='lbracket'>[</span><span class='id identifier rubyid_datetime'>datetime</span><span class='period'>.</span><span class='id identifier rubyid_strftime'>strftime</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y/%b/%d %H:%M:%S</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_datetime'>datetime</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span> <span class='op'>-</span> <span class='id identifier rubyid_start_time'>start_time</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span><span class='comma'>,</span> <span class='int'>0</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_max'>max</span><span class='comma'>,</span> <span class='id identifier rubyid_severity'>severity</span><span class='period'>.</span><span class='id identifier rubyid_rjust'>rjust</span><span class='lparen'>(</span><span class='int'>5</span><span class='rparen'>)</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
701
701
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%s %s\n</span><span class='tstring_end'>"</span></span> <span class='op'>%</span> <span class='lbracket'>[</span><span class='id identifier rubyid_header'>header</span><span class='comma'>,</span> <span class='id identifier rubyid_msg'>msg</span><span class='rbracket'>]</span>
|
702
702
|
<span class='rbrace'>}</span>
|
703
703
|
<span class='kw'>end</span>
|
@@ -975,7 +975,7 @@
|
|
975
975
|
<span class='kw'>else</span> <span class='symbol'>:white</span>
|
976
976
|
<span class='kw'>end</span>
|
977
977
|
|
978
|
-
<span class='id identifier rubyid_header'>header</span> <span class='op'>=</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_replace_markers'>replace_markers</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>{mark=bright-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_color'>color</span><span class='
|
978
|
+
<span class='id identifier rubyid_header'>header</span> <span class='op'>=</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_replace_markers'>replace_markers</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>{mark=bright-</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_color'>color</span><span class='embexpr_end'>}</span><span class='tstring_content'>}[%s T+%0.5f] %s:{/mark}</span><span class='tstring_end'>"</span></span> <span class='op'>%</span><span class='lbracket'>[</span><span class='id identifier rubyid_datetime'>datetime</span><span class='period'>.</span><span class='id identifier rubyid_strftime'>strftime</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%Y/%b/%d %H:%M:%S</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_datetime'>datetime</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span> <span class='op'>-</span> <span class='id identifier rubyid_start_time'>start_time</span><span class='period'>.</span><span class='id identifier rubyid_to_f'>to_f</span><span class='comma'>,</span> <span class='int'>0</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_max'>max</span><span class='comma'>,</span> <span class='id identifier rubyid_severity'>severity</span><span class='period'>.</span><span class='id identifier rubyid_rjust'>rjust</span><span class='lparen'>(</span><span class='int'>5</span><span class='rparen'>)</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
979
979
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>%s %s\n</span><span class='tstring_end'>"</span></span> <span class='op'>%</span> <span class='lbracket'>[</span><span class='id identifier rubyid_header'>header</span><span class='comma'>,</span> <span class='id identifier rubyid_msg'>msg</span><span class='rbracket'>]</span>
|
980
980
|
<span class='rbrace'>}</span>
|
981
981
|
<span class='kw'>end</span></pre>
|
@@ -1136,9 +1136,9 @@
|
|
1136
1136
|
</div>
|
1137
1137
|
|
1138
1138
|
<div id="footer">
|
1139
|
-
Generated on Sat
|
1139
|
+
Generated on Sat Aug 3 12:38:43 2013 by
|
1140
1140
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1141
|
-
0.8.6.2 (ruby-
|
1141
|
+
0.8.6.2 (ruby-2.0.0).
|
1142
1142
|
</div>
|
1143
1143
|
|
1144
1144
|
</body>
|
data/doc/Bovem/Shell.html
CHANGED
@@ -493,9 +493,9 @@
|
|
493
493
|
</div>
|
494
494
|
|
495
495
|
<div id="footer">
|
496
|
-
Generated on Sat
|
496
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
497
497
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
498
|
-
0.8.6.2 (ruby-
|
498
|
+
0.8.6.2 (ruby-2.0.0).
|
499
499
|
</div>
|
500
500
|
|
501
501
|
</body>
|
data/doc/Bovem/ShellMethods.html
CHANGED
@@ -116,9 +116,9 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on Sat
|
119
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
|
-
0.8.6.2 (ruby-
|
121
|
+
0.8.6.2 (ruby-2.0.0).
|
122
122
|
</div>
|
123
123
|
|
124
124
|
</body>
|
@@ -473,9 +473,9 @@
|
|
473
473
|
</div>
|
474
474
|
|
475
475
|
<div id="footer">
|
476
|
-
Generated on Sat
|
476
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
477
477
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
478
|
-
0.8.6.2 (ruby-
|
478
|
+
0.8.6.2 (ruby-2.0.0).
|
479
479
|
</div>
|
480
480
|
|
481
481
|
</body>
|
@@ -556,9 +556,9 @@
|
|
556
556
|
</div>
|
557
557
|
|
558
558
|
<div id="footer">
|
559
|
-
Generated on Sat
|
559
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
560
560
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
561
|
-
0.8.6.2 (ruby-
|
561
|
+
0.8.6.2 (ruby-2.0.0).
|
562
562
|
</div>
|
563
563
|
|
564
564
|
</body>
|
@@ -551,9 +551,9 @@
|
|
551
551
|
</div>
|
552
552
|
|
553
553
|
<div id="footer">
|
554
|
-
Generated on Sat
|
554
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
555
555
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
556
|
-
0.8.6.2 (ruby-
|
556
|
+
0.8.6.2 (ruby-2.0.0).
|
557
557
|
</div>
|
558
558
|
|
559
559
|
</body>
|
@@ -442,9 +442,9 @@
|
|
442
442
|
</div>
|
443
443
|
|
444
444
|
<div id="footer">
|
445
|
-
Generated on Sat
|
445
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
446
446
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
447
|
-
0.8.6.2 (ruby-
|
447
|
+
0.8.6.2 (ruby-2.0.0).
|
448
448
|
</div>
|
449
449
|
|
450
450
|
</body>
|
@@ -665,9 +665,9 @@
|
|
665
665
|
</div>
|
666
666
|
|
667
667
|
<div id="footer">
|
668
|
-
Generated on Sat
|
668
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
669
669
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
670
|
-
0.8.6.2 (ruby-
|
670
|
+
0.8.6.2 (ruby-2.0.0).
|
671
671
|
</div>
|
672
672
|
|
673
673
|
</body>
|
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,9 +180,9 @@
|
|
180
180
|
</div>
|
181
181
|
|
182
182
|
<div id="footer">
|
183
|
-
Generated on Sat
|
183
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
|
-
0.8.6.2 (ruby-
|
185
|
+
0.8.6.2 (ruby-2.0.0).
|
186
186
|
</div>
|
187
187
|
|
188
188
|
</body>
|
data/doc/_index.html
CHANGED
@@ -346,9 +346,9 @@
|
|
346
346
|
</div>
|
347
347
|
|
348
348
|
<div id="footer">
|
349
|
-
Generated on Sat
|
349
|
+
Generated on Sat Aug 3 12:38:41 2013 by
|
350
350
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
351
|
-
0.8.6.2 (ruby-
|
351
|
+
0.8.6.2 (ruby-2.0.0).
|
352
352
|
</div>
|
353
353
|
|
354
354
|
</body>
|
data/doc/file.README.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
@@ -84,12 +84,12 @@
|
|
84
84
|
<h2 id="contributing-to-bovem">Contributing to bovem</h2>
|
85
85
|
|
86
86
|
<ul>
|
87
|
-
<li>Check out the latest master to make sure the feature hasn
|
88
|
-
<li>Check out the issue tracker to make sure someone already hasn
|
87
|
+
<li>Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet.</li>
|
88
|
+
<li>Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it.</li>
|
89
89
|
<li>Fork the project.</li>
|
90
90
|
<li>Start a feature/bugfix branch.</li>
|
91
91
|
<li>Commit and push until you are happy with your contribution.</li>
|
92
|
-
<li>Make sure to add tests for it. This is important so I don
|
92
|
+
<li>Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.</li>
|
93
93
|
<li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li>
|
94
94
|
</ul>
|
95
95
|
|
@@ -101,9 +101,9 @@
|
|
101
101
|
</div></div>
|
102
102
|
|
103
103
|
<div id="footer">
|
104
|
-
Generated on Sat
|
104
|
+
Generated on Sat Aug 3 12:38:42 2013 by
|
105
105
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
106
|
-
0.8.6.2 (ruby-
|
106
|
+
0.8.6.2 (ruby-2.0.0).
|
107
107
|
</div>
|
108
108
|
|
109
109
|
</body>
|