rbatch 1.4.0 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. data/LICENSE +0 -0
  2. data/README.ja.md +1 -13
  3. data/README.md +2 -13
  4. data/Rakefile +1 -24
  5. metadata +12 -123
  6. data/CHANGELOG +0 -25
  7. data/VERSION +0 -1
  8. data/doc/rdoc/CHANGELOG.html +0 -160
  9. data/doc/rdoc/LICENSE.html +0 -94
  10. data/doc/rdoc/RBatch/Cmd.html +0 -329
  11. data/doc/rdoc/RBatch/CmdException.html +0 -154
  12. data/doc/rdoc/RBatch/CmdResult.html +0 -492
  13. data/doc/rdoc/RBatch/Log.html +0 -739
  14. data/doc/rdoc/RBatch.html +0 -476
  15. data/doc/rdoc/created.rid +0 -8
  16. data/doc/rdoc/images/brick.png +0 -0
  17. data/doc/rdoc/images/brick_link.png +0 -0
  18. data/doc/rdoc/images/bug.png +0 -0
  19. data/doc/rdoc/images/bullet_black.png +0 -0
  20. data/doc/rdoc/images/bullet_toggle_minus.png +0 -0
  21. data/doc/rdoc/images/bullet_toggle_plus.png +0 -0
  22. data/doc/rdoc/images/date.png +0 -0
  23. data/doc/rdoc/images/find.png +0 -0
  24. data/doc/rdoc/images/loadingAnimation.gif +0 -0
  25. data/doc/rdoc/images/macFFBgHack.png +0 -0
  26. data/doc/rdoc/images/package.png +0 -0
  27. data/doc/rdoc/images/page_green.png +0 -0
  28. data/doc/rdoc/images/page_white_text.png +0 -0
  29. data/doc/rdoc/images/page_white_width.png +0 -0
  30. data/doc/rdoc/images/plugin.png +0 -0
  31. data/doc/rdoc/images/ruby.png +0 -0
  32. data/doc/rdoc/images/tag_green.png +0 -0
  33. data/doc/rdoc/images/wrench.png +0 -0
  34. data/doc/rdoc/images/wrench_orange.png +0 -0
  35. data/doc/rdoc/images/zoom.png +0 -0
  36. data/doc/rdoc/index.html +0 -124
  37. data/doc/rdoc/js/darkfish.js +0 -116
  38. data/doc/rdoc/js/jquery.js +0 -32
  39. data/doc/rdoc/js/quicksearch.js +0 -114
  40. data/doc/rdoc/js/thickbox-compressed.js +0 -10
  41. data/doc/rdoc/lib/rbatch/cmd_rb.html +0 -56
  42. data/doc/rdoc/lib/rbatch/config_rb.html +0 -56
  43. data/doc/rdoc/lib/rbatch/log_rb.html +0 -58
  44. data/doc/rdoc/lib/rbatch_rb.html +0 -58
  45. data/doc/rdoc/rdoc.css +0 -706
  46. data/sample/bin/file_batch_copy.rb +0 -9
  47. data/sample/bin/openldap_backup.rb +0 -7
  48. data/sample/bin/test.rb +0 -12
  49. data/sample/config/file_batch_copy.yaml +0 -5
  50. data/sample/config/openldap_backup.yaml +0 -2
  51. data/sample/config/rbatch.yaml +0 -68
  52. data/sample/log/empty +0 -0
  53. data/test/cases/test_cmd.rb +0 -120
  54. data/test/cases/test_config.rb +0 -34
  55. data/test/cases/test_log.rb +0 -594
  56. data/test/config/rbatch.yaml +0 -0
  57. data/test/mocks/PrintArgs.exe +0 -0
  58. data/test/mocks/win_cmd.exe +0 -0
@@ -1,492 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
-
8
- <title>Class: RBatch::CmdResult</title>
9
-
10
- <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
11
-
12
- <script src="../js/jquery.js" type="text/javascript"
13
- charset="utf-8"></script>
14
- <script src="../js/thickbox-compressed.js" type="text/javascript"
15
- charset="utf-8"></script>
16
- <script src="../js/quicksearch.js" type="text/javascript"
17
- charset="utf-8"></script>
18
- <script src="../js/darkfish.js" type="text/javascript"
19
- charset="utf-8"></script>
20
-
21
- </head>
22
- <body class="class">
23
-
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="../index.html">Home</a>
29
- <a href="../index.html#classes">Classes</a>
30
- <a href="../index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="file-metadata">
36
- <div id="file-list-section" class="section">
37
- <h3 class="section-header">In Files</h3>
38
- <div class="section-body">
39
- <ul>
40
-
41
- <li><a href="../lib/rbatch/cmd_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
- class="thickbox" title="lib/rbatch/cmd.rb">lib/rbatch/cmd.rb</a></li>
43
-
44
- </ul>
45
- </div>
46
- </div>
47
-
48
-
49
- </div>
50
-
51
- <div id="class-metadata">
52
-
53
- <!-- Parent Class -->
54
-
55
- <div id="parent-class-section" class="section">
56
- <h3 class="section-header">Parent</h3>
57
-
58
- <p class="link">Object</p>
59
-
60
- </div>
61
-
62
-
63
- <!-- Namespace Contents -->
64
-
65
-
66
- <!-- Method Quickref -->
67
-
68
- <div id="method-list-section" class="section">
69
- <h3 class="section-header">Methods</h3>
70
- <ul class="link-list">
71
-
72
- <li><a href="#method-c-new">::new</a></li>
73
-
74
- <li><a href="#method-i-cmd_str">#cmd_str</a></li>
75
-
76
- <li><a href="#method-i-status">#status</a></li>
77
-
78
- <li><a href="#method-i-stderr">#stderr</a></li>
79
-
80
- <li><a href="#method-i-stderr_file">#stderr_file</a></li>
81
-
82
- <li><a href="#method-i-stdout">#stdout</a></li>
83
-
84
- <li><a href="#method-i-stdout_file">#stdout_file</a></li>
85
-
86
- <li><a href="#method-i-to_h">#to_h</a></li>
87
-
88
- <li><a href="#method-i-to_s">#to_s</a></li>
89
-
90
- </ul>
91
- </div>
92
-
93
-
94
- <!-- Included Modules -->
95
-
96
- </div>
97
-
98
- <div id="project-metadata">
99
-
100
-
101
- <div id="fileindex-section" class="section project-section">
102
- <h3 class="section-header">Files</h3>
103
- <ul>
104
-
105
- <li class="file"><a href="../CHANGELOG.html">CHANGELOG</a></li>
106
-
107
- <li class="file"><a href="../LICENSE.html">LICENSE</a></li>
108
-
109
- </ul>
110
- </div>
111
-
112
-
113
- <div id="classindex-section" class="section project-section">
114
- <h3 class="section-header">Class Index
115
- <span class="search-toggle"><img src="../images/find.png"
116
- height="16" width="16" alt="[+]"
117
- title="show/hide quicksearch" /></span></h3>
118
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
119
- <fieldset>
120
- <legend>Quicksearch</legend>
121
- <input type="text" name="quicksearch" value=""
122
- class="quicksearch-field" />
123
- </fieldset>
124
- </form>
125
-
126
- <ul class="link-list">
127
-
128
- <li><a href="../RBatch.html">RBatch</a></li>
129
-
130
- <li><a href="../RBatch/Cmd.html">RBatch::Cmd</a></li>
131
-
132
- <li><a href="../RBatch/CmdException.html">RBatch::CmdException</a></li>
133
-
134
- <li><a href="../RBatch/CmdResult.html">RBatch::CmdResult</a></li>
135
-
136
- <li><a href="../RBatch/Log.html">RBatch::Log</a></li>
137
-
138
- </ul>
139
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
140
- </div>
141
-
142
-
143
- </div>
144
- </div>
145
-
146
- <div id="documentation">
147
- <h1 class="class">RBatch::CmdResult</h1>
148
-
149
- <div id="description">
150
-
151
- </div>
152
-
153
- <!-- Constants -->
154
-
155
-
156
- <!-- Attributes -->
157
-
158
-
159
- <!-- Methods -->
160
-
161
- <div id="public-class-method-details" class="method-section section">
162
- <h3 class="section-header">Public Class Methods</h3>
163
-
164
-
165
- <div id="new-method" class="method-detail ">
166
- <a name="method-c-new"></a>
167
-
168
- <div class="method-heading">
169
-
170
- <span class="method-name">new</span><span
171
- class="method-args">(stdout_file, stderr_file, status, cmd_str)</span>
172
- <span class="method-click-advice">click to toggle source</span>
173
-
174
- </div>
175
-
176
- <div class="method-description">
177
-
178
-
179
-
180
-
181
-
182
- <div class="method-source-code"
183
- id="new-source">
184
- <pre>
185
- <span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 85</span>
186
- 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">stdout_file</span>, <span class="ruby-identifier">stderr_file</span>, <span class="ruby-identifier">status</span>, <span class="ruby-identifier">cmd_str</span>)
187
- 86: <span class="ruby-ivar">@stdout_file</span> = <span class="ruby-identifier">stdout_file</span>
188
- 87: <span class="ruby-ivar">@stderr_file</span> = <span class="ruby-identifier">stderr_file</span>
189
- 88: <span class="ruby-ivar">@status</span> = <span class="ruby-identifier">status</span>
190
- 89: <span class="ruby-ivar">@cmd_str</span> = <span class="ruby-identifier">cmd_str</span>
191
- 90: <span class="ruby-keyword kw">end</span></pre>
192
- </div>
193
-
194
- </div>
195
-
196
-
197
-
198
-
199
- </div>
200
-
201
-
202
- </div>
203
-
204
- <div id="public-instance-method-details" class="method-section section">
205
- <h3 class="section-header">Public Instance Methods</h3>
206
-
207
-
208
- <div id="cmd-str-method" class="method-detail ">
209
- <a name="method-i-cmd_str"></a>
210
-
211
- <div class="method-heading">
212
-
213
- <span class="method-name">cmd_str</span><span
214
- class="method-args">()</span>
215
- <span class="method-click-advice">click to toggle source</span>
216
-
217
- </div>
218
-
219
- <div class="method-description">
220
-
221
-
222
-
223
-
224
-
225
- <div class="method-source-code"
226
- id="cmd-str-source">
227
- <pre>
228
- <span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 94</span>
229
- 94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cmd_str</span> ; <span class="ruby-ivar">@cmd_str</span> ; <span class="ruby-keyword kw">end</span></pre>
230
- </div>
231
-
232
- </div>
233
-
234
-
235
-
236
-
237
- </div>
238
-
239
-
240
- <div id="status-method" class="method-detail ">
241
- <a name="method-i-status"></a>
242
-
243
- <div class="method-heading">
244
-
245
- <span class="method-name">status</span><span
246
- class="method-args">()</span>
247
- <span class="method-click-advice">click to toggle source</span>
248
-
249
- </div>
250
-
251
- <div class="method-description">
252
-
253
-
254
-
255
-
256
-
257
- <div class="method-source-code"
258
- id="status-source">
259
- <pre>
260
- <span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 93</span>
261
- 93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">status</span> ; <span class="ruby-ivar">@status</span> ; <span class="ruby-keyword kw">end</span></pre>
262
- </div>
263
-
264
- </div>
265
-
266
-
267
-
268
-
269
- </div>
270
-
271
-
272
- <div id="stderr-method" class="method-detail ">
273
- <a name="method-i-stderr"></a>
274
-
275
- <div class="method-heading">
276
-
277
- <span class="method-name">stderr</span><span
278
- class="method-args">()</span>
279
- <span class="method-click-advice">click to toggle source</span>
280
-
281
- </div>
282
-
283
- <div class="method-description">
284
-
285
-
286
-
287
-
288
-
289
- <div class="method-source-code"
290
- id="stderr-source">
291
- <pre>
292
- <span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 98</span>
293
- 98: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stderr</span>
294
- 99: <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-ivar">@stderr_file</span>)
295
- 100: <span class="ruby-keyword kw">end</span></pre>
296
- </div>
297
-
298
- </div>
299
-
300
-
301
-
302
-
303
- </div>
304
-
305
-
306
- <div id="stderr-file-method" class="method-detail ">
307
- <a name="method-i-stderr_file"></a>
308
-
309
- <div class="method-heading">
310
-
311
- <span class="method-name">stderr_file</span><span
312
- class="method-args">()</span>
313
- <span class="method-click-advice">click to toggle source</span>
314
-
315
- </div>
316
-
317
- <div class="method-description">
318
-
319
-
320
-
321
-
322
-
323
- <div class="method-source-code"
324
- id="stderr-file-source">
325
- <pre>
326
- <span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 92</span>
327
- 92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stderr_file</span> ; <span class="ruby-ivar">@stderr_file</span> ; <span class="ruby-keyword kw">end</span></pre>
328
- </div>
329
-
330
- </div>
331
-
332
-
333
-
334
-
335
- </div>
336
-
337
-
338
- <div id="stdout-method" class="method-detail ">
339
- <a name="method-i-stdout"></a>
340
-
341
- <div class="method-heading">
342
-
343
- <span class="method-name">stdout</span><span
344
- class="method-args">()</span>
345
- <span class="method-click-advice">click to toggle source</span>
346
-
347
- </div>
348
-
349
- <div class="method-description">
350
-
351
-
352
-
353
-
354
-
355
- <div class="method-source-code"
356
- id="stdout-source">
357
- <pre>
358
- <span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 95</span>
359
- 95: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stdout</span>
360
- 96: <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-ivar">@stdout_file</span>)
361
- 97: <span class="ruby-keyword kw">end</span></pre>
362
- </div>
363
-
364
- </div>
365
-
366
-
367
-
368
-
369
- </div>
370
-
371
-
372
- <div id="stdout-file-method" class="method-detail ">
373
- <a name="method-i-stdout_file"></a>
374
-
375
- <div class="method-heading">
376
-
377
- <span class="method-name">stdout_file</span><span
378
- class="method-args">()</span>
379
- <span class="method-click-advice">click to toggle source</span>
380
-
381
- </div>
382
-
383
- <div class="method-description">
384
-
385
-
386
-
387
-
388
-
389
- <div class="method-source-code"
390
- id="stdout-file-source">
391
- <pre>
392
- <span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 91</span>
393
- 91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stdout_file</span> ; <span class="ruby-ivar">@stdout_file</span> ; <span class="ruby-keyword kw">end</span></pre>
394
- </div>
395
-
396
- </div>
397
-
398
-
399
-
400
-
401
- </div>
402
-
403
-
404
- <div id="to-h-method" class="method-detail ">
405
- <a name="method-i-to_h"></a>
406
-
407
- <div class="method-heading">
408
-
409
- <span class="method-name">to_h</span><span
410
- class="method-args">()</span>
411
- <span class="method-click-advice">click to toggle source</span>
412
-
413
- </div>
414
-
415
- <div class="method-description">
416
-
417
-
418
-
419
-
420
-
421
- <div class="method-source-code"
422
- id="to-h-source">
423
- <pre>
424
- <span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 101</span>
425
- 101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_h</span>
426
- 102: {<span class="ruby-value">:cmd_str</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@cmd_str</span>,<span class="ruby-value">:stdout</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">stdout</span>, <span class="ruby-value">:stderr</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">stderr</span>, <span class="ruby-value">:status</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">status</span>}
427
- 103: <span class="ruby-keyword kw">end</span></pre>
428
- </div>
429
-
430
- </div>
431
-
432
-
433
-
434
-
435
- </div>
436
-
437
-
438
- <div id="to-s-method" class="method-detail ">
439
- <a name="method-i-to_s"></a>
440
-
441
- <div class="method-heading">
442
-
443
- <span class="method-name">to_s</span><span
444
- class="method-args">()</span>
445
- <span class="method-click-advice">click to toggle source</span>
446
-
447
- </div>
448
-
449
- <div class="method-description">
450
-
451
-
452
-
453
-
454
-
455
- <div class="method-source-code"
456
- id="to-s-source">
457
- <pre>
458
- <span class="ruby-comment cmt"># File lib/rbatch/cmd.rb, line 104</span>
459
- 104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
460
- 105: <span class="ruby-identifier">to_h</span>.<span class="ruby-identifier">to_s</span>
461
- 106: <span class="ruby-keyword kw">end</span></pre>
462
- </div>
463
-
464
- </div>
465
-
466
-
467
-
468
-
469
- </div>
470
-
471
-
472
- </div>
473
-
474
-
475
- </div>
476
-
477
-
478
- <div id="rdoc-debugging-section-dump" class="debugging-section">
479
-
480
- <p>Disabled; run with --debug to generate this.</p>
481
-
482
- </div>
483
-
484
- <div id="validator-badges">
485
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
486
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
487
- Rdoc Generator</a> 1.1.6</small>.</p>
488
- </div>
489
-
490
- </body>
491
- </html>
492
-