bovem 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bovem.gemspec +1 -1
- data/doc/Bovem.html +1 -1
- data/doc/Bovem/Configuration.html +1 -1
- data/doc/Bovem/Console.html +4 -4
- data/doc/Bovem/ConsoleMethods.html +1 -1
- data/doc/Bovem/ConsoleMethods/Interactions.html +1 -1
- data/doc/Bovem/ConsoleMethods/Interactions/ClassMethods.html +1 -1
- data/doc/Bovem/ConsoleMethods/Logging.html +1 -1
- data/doc/Bovem/ConsoleMethods/Logging/ClassMethods.html +1 -1
- 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/InvalidConfiguration.html +1 -1
- data/doc/Bovem/Errors/InvalidLogger.html +1 -1
- data/doc/Bovem/Logger.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 +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/bovem/configuration.rb +1 -1
- data/lib/bovem/console.rb +1 -1
- data/lib/bovem/shell.rb +3 -3
- data/lib/bovem/version.rb +1 -1
- data/spec/bovem/shell_spec.rb +1 -1
- metadata +5 -5
data/bovem.gemspec
CHANGED
data/doc/Bovem.html
CHANGED
@@ -158,7 +158,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
158
158
|
</div>
|
159
159
|
|
160
160
|
<div id="footer">
|
161
|
-
Generated on
|
161
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
162
162
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
163
163
|
0.8.5.2 (ruby-1.9.3).
|
164
164
|
</div>
|
@@ -580,7 +580,7 @@ config.property = "VALUE"
|
|
580
580
|
</div>
|
581
581
|
|
582
582
|
<div id="footer">
|
583
|
-
Generated on
|
583
|
+
Generated on Sat Apr 13 12:04:09 2013 by
|
584
584
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
585
585
|
0.8.5.2 (ruby-1.9.3).
|
586
586
|
</div>
|
data/doc/Bovem/Console.html
CHANGED
@@ -483,7 +483,7 @@
|
|
483
483
|
<span class='kw'>begin</span>
|
484
484
|
<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'>if</span> <span class='op'>!</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>
|
485
485
|
<span class='gvar'>$stdin</span><span class='period'>.</span><span class='id identifier rubyid_winsize'>winsize</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span>
|
486
|
-
<span class='kw'>rescue</span>
|
486
|
+
<span class='kw'>rescue</span>
|
487
487
|
<span class='int'>80</span>
|
488
488
|
<span class='kw'>end</span>
|
489
489
|
<span class='kw'>end</span>
|
@@ -608,7 +608,7 @@
|
|
608
608
|
<span class='kw'>begin</span>
|
609
609
|
<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'>if</span> <span class='op'>!</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>
|
610
610
|
<span class='gvar'>$stdin</span><span class='period'>.</span><span class='id identifier rubyid_winsize'>winsize</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span>
|
611
|
-
<span class='kw'>rescue</span>
|
611
|
+
<span class='kw'>rescue</span>
|
612
612
|
<span class='int'>80</span>
|
613
613
|
<span class='kw'>end</span>
|
614
614
|
<span class='kw'>end</span>
|
@@ -746,7 +746,7 @@
|
|
746
746
|
<span class='kw'>begin</span>
|
747
747
|
<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'>if</span> <span class='op'>!</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>
|
748
748
|
<span class='gvar'>$stdin</span><span class='period'>.</span><span class='id identifier rubyid_winsize'>winsize</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span>
|
749
|
-
<span class='kw'>rescue</span>
|
749
|
+
<span class='kw'>rescue</span>
|
750
750
|
<span class='int'>80</span>
|
751
751
|
<span class='kw'>end</span>
|
752
752
|
<span class='kw'>end</span></pre>
|
@@ -760,7 +760,7 @@
|
|
760
760
|
</div>
|
761
761
|
|
762
762
|
<div id="footer">
|
763
|
-
Generated on
|
763
|
+
Generated on Sat Apr 13 12:04:09 2013 by
|
764
764
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
765
765
|
0.8.5.2 (ruby-1.9.3).
|
766
766
|
</div>
|
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.5.2 (ruby-1.9.3).
|
122
122
|
</div>
|
@@ -558,7 +558,7 @@
|
|
558
558
|
</div>
|
559
559
|
|
560
560
|
<div id="footer">
|
561
|
-
Generated on
|
561
|
+
Generated on Sat Apr 13 12:04:08 2013 by
|
562
562
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
563
563
|
0.8.5.2 (ruby-1.9.3).
|
564
564
|
</div>
|
@@ -222,7 +222,7 @@
|
|
222
222
|
</div>
|
223
223
|
|
224
224
|
<div id="footer">
|
225
|
-
Generated on
|
225
|
+
Generated on Sat Apr 13 12:04:08 2013 by
|
226
226
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
227
227
|
0.8.5.2 (ruby-1.9.3).
|
228
228
|
</div>
|
@@ -2209,7 +2209,7 @@
|
|
2209
2209
|
</div>
|
2210
2210
|
|
2211
2211
|
<div id="footer">
|
2212
|
-
Generated on
|
2212
|
+
Generated on Sat Apr 13 12:04:08 2013 by
|
2213
2213
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2214
2214
|
0.8.5.2 (ruby-1.9.3).
|
2215
2215
|
</div>
|
@@ -203,7 +203,7 @@
|
|
203
203
|
</div>
|
204
204
|
|
205
205
|
<div id="footer">
|
206
|
-
Generated on
|
206
|
+
Generated on Sat Apr 13 12:04:08 2013 by
|
207
207
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
208
208
|
0.8.5.2 (ruby-1.9.3).
|
209
209
|
</div>
|
@@ -1120,7 +1120,7 @@
|
|
1120
1120
|
</div>
|
1121
1121
|
|
1122
1122
|
<div id="footer">
|
1123
|
-
Generated on
|
1123
|
+
Generated on Sat Apr 13 12:04:08 2013 by
|
1124
1124
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1125
1125
|
0.8.5.2 (ruby-1.9.3).
|
1126
1126
|
</div>
|
@@ -265,7 +265,7 @@
|
|
265
265
|
</div>
|
266
266
|
|
267
267
|
<div id="footer">
|
268
|
-
Generated on
|
268
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
269
269
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
270
270
|
0.8.5.2 (ruby-1.9.3).
|
271
271
|
</div>
|
@@ -641,7 +641,7 @@ 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
|
644
|
+
Generated on Sat Apr 13 12:04:08 2013 by
|
645
645
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
646
646
|
0.8.5.2 (ruby-1.9.3).
|
647
647
|
</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 Sat Apr 13 12:04:07 2013 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.5.2 (ruby-1.9.3).
|
122
122
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Sat Apr 13 12:04:08 2013 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.8.5.2 (ruby-1.9.3).
|
130
130
|
</div>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Sat Apr 13 12:04:08 2013 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.8.5.2 (ruby-1.9.3).
|
130
130
|
</div>
|
data/doc/Bovem/Logger.html
CHANGED
@@ -1079,7 +1079,7 @@
|
|
1079
1079
|
</div>
|
1080
1080
|
|
1081
1081
|
<div id="footer">
|
1082
|
-
Generated on
|
1082
|
+
Generated on Sat Apr 13 12:04:08 2013 by
|
1083
1083
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1084
1084
|
0.8.5.2 (ruby-1.9.3).
|
1085
1085
|
</div>
|
data/doc/Bovem/Shell.html
CHANGED
@@ -493,7 +493,7 @@
|
|
493
493
|
</div>
|
494
494
|
|
495
495
|
<div id="footer">
|
496
|
-
Generated on
|
496
|
+
Generated on Sat Apr 13 12:04:08 2013 by
|
497
497
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
498
498
|
0.8.5.2 (ruby-1.9.3).
|
499
499
|
</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 Sat Apr 13 12:04:07 2013 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.8.5.2 (ruby-1.9.3).
|
122
122
|
</div>
|
@@ -475,7 +475,7 @@
|
|
475
475
|
</div>
|
476
476
|
|
477
477
|
<div id="footer">
|
478
|
-
Generated on
|
478
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
479
479
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
480
480
|
0.8.5.2 (ruby-1.9.3).
|
481
481
|
</div>
|
@@ -556,7 +556,7 @@
|
|
556
556
|
</div>
|
557
557
|
|
558
558
|
<div id="footer">
|
559
|
-
Generated on
|
559
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
560
560
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
561
561
|
0.8.5.2 (ruby-1.9.3).
|
562
562
|
</div>
|
@@ -551,7 +551,7 @@
|
|
551
551
|
</div>
|
552
552
|
|
553
553
|
<div id="footer">
|
554
|
-
Generated on
|
554
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
555
555
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
556
556
|
0.8.5.2 (ruby-1.9.3).
|
557
557
|
</div>
|
@@ -442,7 +442,7 @@
|
|
442
442
|
</div>
|
443
443
|
|
444
444
|
<div id="footer">
|
445
|
-
Generated on
|
445
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
446
446
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
447
447
|
0.8.5.2 (ruby-1.9.3).
|
448
448
|
</div>
|
@@ -665,7 +665,7 @@
|
|
665
665
|
</div>
|
666
666
|
|
667
667
|
<div id="footer">
|
668
|
-
Generated on
|
668
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
669
669
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
670
670
|
0.8.5.2 (ruby-1.9.3).
|
671
671
|
</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'>2</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 Sat Apr 13 12:04:08 2013 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
185
|
0.8.5.2 (ruby-1.9.3).
|
186
186
|
</div>
|
data/doc/_index.html
CHANGED
@@ -346,7 +346,7 @@
|
|
346
346
|
</div>
|
347
347
|
|
348
348
|
<div id="footer">
|
349
|
-
Generated on
|
349
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
350
350
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
351
351
|
0.8.5.2 (ruby-1.9.3).
|
352
352
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -100,7 +100,7 @@
|
|
100
100
|
</div></div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on
|
103
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
104
104
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
105
|
0.8.5.2 (ruby-1.9.3).
|
106
106
|
</div>
|
data/doc/index.html
CHANGED
@@ -100,7 +100,7 @@
|
|
100
100
|
</div></div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on
|
103
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
104
104
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
105
|
0.8.5.2 (ruby-1.9.3).
|
106
106
|
</div>
|
@@ -103,7 +103,7 @@
|
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div id="footer">
|
106
|
-
Generated on
|
106
|
+
Generated on Sat Apr 13 12:04:07 2013 by
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
108
|
0.8.5.2 (ruby-1.9.3).
|
109
109
|
</div>
|
data/lib/bovem/configuration.rb
CHANGED
@@ -95,7 +95,7 @@ module Bovem
|
|
95
95
|
path = file =~ /^#{File::SEPARATOR}/ ? file : ::Pathname.new(file).realpath.to_s
|
96
96
|
logger.info(self.i18n.configuration.using(path)) if logger
|
97
97
|
eval_file(path)
|
98
|
-
rescue
|
98
|
+
rescue Exception
|
99
99
|
raise Bovem::Errors::InvalidConfiguration.new(self.i18n.configuration.invalid(file))
|
100
100
|
end
|
101
101
|
end
|
data/lib/bovem/console.rb
CHANGED
data/lib/bovem/shell.rb
CHANGED
@@ -299,7 +299,7 @@ module Bovem
|
|
299
299
|
single_msg = locale.copy_move_dst_not_writable_single(operation_s, src, dst_dir)
|
300
300
|
multi_msg = locale.copy_move_dst_not_writable_single(operation_s, dst)
|
301
301
|
handle_copy_move_failure(single, src, show_errors, fatal, single_msg, multi_msg, nil)
|
302
|
-
rescue
|
302
|
+
rescue => e
|
303
303
|
single_msg = locale.copy_move_error_single(operation_s, src, dst_dir, e.class.to_s, e)
|
304
304
|
multi_msg = locale.copy_move_error_multi(operation_s, dst)
|
305
305
|
handle_copy_move_failure(single, src, show_errors, fatal, single_msg, multi_msg, locale.error(e.class.to_s, e))
|
@@ -483,7 +483,7 @@ module Bovem
|
|
483
483
|
@console.info(message) if show_message
|
484
484
|
Dir.chdir(directory)
|
485
485
|
true
|
486
|
-
rescue
|
486
|
+
rescue
|
487
487
|
false
|
488
488
|
end
|
489
489
|
end
|
@@ -535,7 +535,7 @@ module Bovem
|
|
535
535
|
begin # Create directory
|
536
536
|
FileUtils.mkdir_p(directory, {mode: mode, noop: false, verbose: false})
|
537
537
|
rv = true
|
538
|
-
rescue
|
538
|
+
rescue => e
|
539
539
|
handle_failure(e, :mkdir_denied, nil, :mkdir_error, directories, fatal, show_errors)
|
540
540
|
end
|
541
541
|
|
data/lib/bovem/version.rb
CHANGED
data/spec/bovem/shell_spec.rb
CHANGED
@@ -365,7 +365,7 @@ describe Bovem::Shell do
|
|
365
365
|
end
|
366
366
|
|
367
367
|
it "should show messages" do
|
368
|
-
shell.console.should_receive(:info).with(/Moving into directory \{mark=bright\}(.+)\{\/mark\}/)
|
368
|
+
shell.console.should_receive(:info).with(/Moving (.*)into directory \{mark=bright\}(.+)\{\/mark\}/).exactly(2)
|
369
369
|
shell.within_directory(target, true, true) { "OK" }
|
370
370
|
end
|
371
371
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bovem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: lazier
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.8.
|
21
|
+
version: 2.8.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.8.
|
29
|
+
version: 2.8.1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: open4
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
segments:
|
132
132
|
- 0
|
133
|
-
hash: -
|
133
|
+
hash: -4341278524255618315
|
134
134
|
requirements: []
|
135
135
|
rubyforge_project: bovem
|
136
136
|
rubygems_version: 1.8.25
|