bauxite 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,392 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Bauxite::Loggers::HtmlLogger - RDoc Documentation</title>
8
+
9
+ <link href="../../fonts.css" rel="stylesheet">
10
+ <link href="../../rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "../../";
14
+ </script>
15
+
16
+ <script src="../../js/jquery.js"></script>
17
+ <script src="../../js/navigation.js"></script>
18
+ <script src="../../js/search_index.js"></script>
19
+ <script src="../../js/search.js"></script>
20
+ <script src="../../js/searcher.js"></script>
21
+ <script src="../../js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../../table_of_contents.html#pages">Pages</a>
34
+ <a href="../../table_of_contents.html#classes">Classes</a>
35
+ <a href="../../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+ <div id="parent-class-section" class="nav-section">
61
+ <h3>Parent</h3>
62
+
63
+
64
+ <p class="link"><a href="NullLogger.html">Bauxite::Loggers::NullLogger</a>
65
+
66
+ </div>
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <div id="method-list-section" class="nav-section">
72
+ <h3>Methods</h3>
73
+
74
+ <ul class="link-list" role="directory">
75
+
76
+ <li class="calls-super" ><a href="#method-c-new">::new</a>
77
+
78
+ <li ><a href="#method-i-finalize">#finalize</a>
79
+
80
+ <li ><a href="#method-i-log">#log</a>
81
+
82
+ <li ><a href="#method-i-log_cmd">#log_cmd</a>
83
+
84
+ </ul>
85
+ </div>
86
+
87
+ </div>
88
+ </nav>
89
+
90
+ <main role="main" aria-labelledby="class-Bauxite::Loggers::HtmlLogger">
91
+ <h1 id="class-Bauxite::Loggers::HtmlLogger" class="class">
92
+ class Bauxite::Loggers::HtmlLogger
93
+ </h1>
94
+
95
+ <section class="description">
96
+
97
+ <p>Echo logger.</p>
98
+
99
+ <p>This logger outputs the raw action text for every action executed.</p>
100
+
101
+ <p>Note that this logger does not include execution status information (i.e.
102
+ action succeeded, failed or was skipped).</p>
103
+
104
+ </section>
105
+
106
+
107
+
108
+
109
+ <section id="5Buntitled-5D" class="documentation-section">
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
120
+ <header>
121
+ <h3>Public Class Methods</h3>
122
+ </header>
123
+
124
+
125
+ <div id="method-c-new" class="method-detail ">
126
+
127
+ <div class="method-heading">
128
+ <span class="method-name">new</span><span
129
+ class="method-args">(options)</span>
130
+
131
+ <span class="method-click-advice">click to toggle source</span>
132
+
133
+ </div>
134
+
135
+
136
+ <div class="method-description">
137
+
138
+ <p>Constructs a new null logger instance.</p>
139
+
140
+
141
+ <div class="method-calls-super">
142
+ Calls superclass method
143
+ <a href="NullLogger.html#method-c-new">Bauxite::Loggers::NullLogger.new</a>
144
+ </div>
145
+
146
+
147
+
148
+ <div class="method-source-code" id="new-source">
149
+ <pre><span class="ruby-comment"># File lib/bauxite/loggers/html.rb, line 34</span>
150
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span>)
151
+ <span class="ruby-keyword">super</span>(<span class="ruby-identifier">options</span>)
152
+ <span class="ruby-ivar">@data</span> = []
153
+ <span class="ruby-ivar">@file</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:html</span>] <span class="ruby-operator">||</span> <span class="ruby-string">&#39;test.html&#39;</span>
154
+ <span class="ruby-keyword">end</span></pre>
155
+ </div>
156
+
157
+ </div>
158
+
159
+
160
+
161
+
162
+ </div>
163
+
164
+
165
+ </section>
166
+
167
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
168
+ <header>
169
+ <h3>Public Instance Methods</h3>
170
+ </header>
171
+
172
+
173
+ <div id="method-i-finalize" class="method-detail ">
174
+
175
+ <div class="method-heading">
176
+ <span class="method-name">finalize</span><span
177
+ class="method-args">(ctx)</span>
178
+
179
+ <span class="method-click-advice">click to toggle source</span>
180
+
181
+ </div>
182
+
183
+
184
+ <div class="method-description">
185
+
186
+ <p>Completes the log execution.</p>
187
+
188
+
189
+
190
+
191
+ <div class="method-source-code" id="finalize-source">
192
+ <pre><span class="ruby-comment"># File lib/bauxite/loggers/html.rb, line 81</span>
193
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">finalize</span>(<span class="ruby-identifier">ctx</span>)
194
+ <span class="ruby-identifier">output</span> = <span class="ruby-identifier">ctx</span>.<span class="ruby-identifier">variables</span>[<span class="ruby-string">&#39;__OUTPUT__&#39;</span>] <span class="ruby-operator">||</span> <span class="ruby-string">&#39;&#39;</span>
195
+
196
+ <span class="ruby-identifier">html</span> = <span class="ruby-node">&quot;&lt;!DOCTYPE html&gt;
197
+ &lt;html&gt;
198
+ &lt;head&gt;
199
+ &lt;style type=&#39;text/css&#39;&gt;
200
+ body { font: 10pt sans-serif; }
201
+ .action div { display: inline-block; }
202
+ .cmd { width: 100px }
203
+ .status { width: 100px; float: right; text-align: center; font-weight: bold }
204
+ .test { background-color: #DFDFFF; margin-top: 20px }
205
+ .ok .status { background-color: #DFFFDF }
206
+ .error .status { background-color: #FFDFDF }
207
+ .skip .status { background-color: #FFDFFF }
208
+ .capture { border: 1px solid black }
209
+ .capture img { max-width: 100% }
210
+ .odd { background-color: #EEEEEE }
211
+ .summary th { background-color: #DFDFFF; text-align: left }
212
+ .summary td { cursor: pointer; }
213
+
214
+ &lt;/style&gt;
215
+ &lt;script type=&#39;text/javascript&#39;&gt;
216
+ function show(target) {
217
+ var e = document.getElementById(target+&#39;_content&#39;);
218
+ window.location.href = &#39;#&#39;+target;
219
+ }
220
+ &lt;/script&gt;
221
+ &lt;/head&gt;
222
+ &lt;body&gt;&quot;</span>
223
+
224
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">ctx</span>.<span class="ruby-identifier">tests</span>.<span class="ruby-identifier">any?</span>
225
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">2</span>, <span class="ruby-string">&quot;&lt;h1&gt;Test Summary&lt;/h1&gt;&quot;</span>)
226
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">2</span>, <span class="ruby-string">&quot;&lt;table class=&#39;summary&#39;&gt;&quot;</span>)
227
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">3</span>, <span class="ruby-string">&quot;&lt;tr&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Time&lt;/th&gt;&lt;th&gt;Status&lt;/th&gt;&lt;th&gt;Error&lt;/th&gt;&lt;/tr&gt;&quot;</span>)
228
+
229
+ <span class="ruby-identifier">ctx</span>.<span class="ruby-identifier">tests</span>.<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">t</span>,<span class="ruby-identifier">idx</span><span class="ruby-operator">|</span>
230
+ <span class="ruby-identifier">error</span> = <span class="ruby-identifier">t</span>[<span class="ruby-value">:error</span>]
231
+ <span class="ruby-identifier">error</span> = <span class="ruby-identifier">error</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">error</span>.<span class="ruby-identifier">message</span> <span class="ruby-operator">:</span> <span class="ruby-string">&#39;&#39;</span>
232
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">3</span>, <span class="ruby-node">&quot;&lt;tr class=&#39;#{t[:status].downcase} #{(idx % 2) == 1 ? &#39;odd&#39; : &#39;even&#39;}&#39; onclick=&#39;show(\&quot;#{t[:name]}\&quot;)&#39;&gt;&quot;</span>)
233
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">4</span>, <span class="ruby-node">&quot;&lt;td&gt;#{t[:name]}&lt;/td&gt;&lt;td&gt;#{t[:time].round(2)}&lt;/td&gt;&lt;td class=&#39;status&#39;&gt;#{t[:status]}&lt;/td&gt;&lt;td&gt;#{error}&lt;/td&gt;&quot;</span>)
234
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">3</span>, <span class="ruby-string">&quot;&lt;/tr&gt;&quot;</span>)
235
+ <span class="ruby-keyword">end</span>
236
+
237
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">2</span>, <span class="ruby-string">&quot;&lt;/table&gt;&quot;</span>)
238
+ <span class="ruby-keyword">end</span>
239
+
240
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">2</span>, <span class="ruby-string">&quot;&lt;h1&gt;Test Details&lt;/h1&gt;&quot;</span>)
241
+ <span class="ruby-ivar">@data</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">test</span><span class="ruby-operator">|</span>
242
+ <span class="ruby-identifier">name</span> = <span class="ruby-identifier">test</span>[<span class="ruby-value">:name</span>]
243
+ <span class="ruby-identifier">status</span> = <span class="ruby-identifier">test</span>[<span class="ruby-value">:actions</span>].<span class="ruby-identifier">find</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>[<span class="ruby-value">:status</span>] <span class="ruby-operator">==</span> <span class="ruby-value">:error</span> } <span class="ruby-operator">?</span> <span class="ruby-value">:error</span> <span class="ruby-operator">:</span> <span class="ruby-value">:ok</span>
244
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">2</span>, <span class="ruby-node">&quot;&lt;a name=&#39;#{name}&#39;&gt;&lt;/a&gt;&quot;</span>)
245
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">2</span>, <span class="ruby-node">&quot;&lt;div class=&#39;test #{status}&#39;&gt;#{name}&lt;div class=&#39;status&#39;&gt;#{status.upcase}&lt;/div&gt;&lt;/div&gt;&quot;</span>)
246
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">2</span>, <span class="ruby-node">&quot;&lt;div id=&#39;#{name}_content&#39; class=&#39;test-content&#39;&gt;&quot;</span>)
247
+
248
+ <span class="ruby-identifier">test</span>[<span class="ruby-value">:actions</span>].<span class="ruby-identifier">each_with_index</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">action</span>,<span class="ruby-identifier">idx</span><span class="ruby-operator">|</span>
249
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">3</span>, <span class="ruby-node">&quot;&lt;div class=&#39;action #{action[:status]} #{(idx % 2) == 1 ? &#39;odd&#39; : &#39;even&#39;}&#39;&gt;&quot;</span>)
250
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">4</span>, <span class="ruby-node">&quot;&lt;div class=&#39;cmd&#39;&gt;#{action[:cmd]}&lt;/div&gt;&quot;</span>)
251
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">4</span>, <span class="ruby-node">&quot;&lt;div class=&#39;args&#39;&gt;#{action[:args].join(&#39; &#39;)}&lt;/div&gt;&quot;</span>)
252
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">4</span>, <span class="ruby-node">&quot;&lt;div class=&#39;status&#39;&gt;#{action[:status].upcase}&lt;/div&gt;&quot;</span>)
253
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">3</span>, <span class="ruby-string">&quot;&lt;/div&gt;&quot;</span>)
254
+ <span class="ruby-identifier">capture</span> = <span class="ruby-identifier">action</span>[<span class="ruby-value">:capture</span>]
255
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">capture</span>
256
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">3</span>, <span class="ruby-node">&quot;&lt;div class=&#39;capture&#39;&gt;#{_img(output, capture)}&lt;/div&gt;&quot;</span>)
257
+ <span class="ruby-keyword">end</span>
258
+ <span class="ruby-keyword">end</span>
259
+
260
+ <span class="ruby-identifier">item</span> = <span class="ruby-identifier">ctx</span>.<span class="ruby-identifier">tests</span>.<span class="ruby-identifier">find</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-identifier">t</span>[<span class="ruby-value">:name</span>] <span class="ruby-operator">==</span> <span class="ruby-identifier">name</span> }
261
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">item</span> <span class="ruby-keyword">and</span> <span class="ruby-identifier">item</span>[<span class="ruby-value">:error</span>]
262
+ <span class="ruby-identifier">capture</span> = <span class="ruby-identifier">item</span>[<span class="ruby-value">:error</span>].<span class="ruby-identifier">variables</span>[<span class="ruby-string">&#39;__CAPTURE__&#39;</span>]
263
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">capture</span>
264
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">3</span>, <span class="ruby-node">&quot;&lt;div class=&#39;capture&#39;&gt;#{_img(output, capture)}&lt;/div&gt;&quot;</span>)
265
+ <span class="ruby-keyword">end</span>
266
+ <span class="ruby-keyword">end</span>
267
+
268
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">_d</span>(<span class="ruby-value">2</span>, <span class="ruby-string">&quot;&lt;/div&gt;&quot;</span>)
269
+ <span class="ruby-keyword">end</span>
270
+ <span class="ruby-identifier">html</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">&quot;
271
+ &lt;/body&gt;
272
+ &lt;/html&gt;&quot;</span>
273
+ <span class="ruby-identifier">file</span> = <span class="ruby-ivar">@file</span>
274
+ <span class="ruby-identifier">file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">output</span>, <span class="ruby-identifier">file</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">output</span> <span class="ruby-operator">!=</span> <span class="ruby-string">&#39;&#39;</span>
275
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">file</span>, <span class="ruby-string">&#39;w&#39;</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">write</span> <span class="ruby-identifier">html</span> }
276
+ <span class="ruby-keyword">end</span></pre>
277
+ </div>
278
+
279
+ </div>
280
+
281
+
282
+
283
+
284
+ </div>
285
+
286
+
287
+ <div id="method-i-log" class="method-detail ">
288
+
289
+ <div class="method-heading">
290
+ <span class="method-name">log</span><span
291
+ class="method-args">(s, type = :info)</span>
292
+
293
+ <span class="method-click-advice">click to toggle source</span>
294
+
295
+ </div>
296
+
297
+
298
+ <div class="method-description">
299
+
300
+ <p>Logs the specified string.</p>
301
+
302
+ <p><code>type</code>, if specified, should be one of <code>:error</code>,
303
+ <code>:warning</code>, <code>:info</code> (default), <code>:debug</code>.</p>
304
+
305
+
306
+
307
+
308
+ <div class="method-source-code" id="log-source">
309
+ <pre><span class="ruby-comment"># File lib/bauxite/loggers/html.rb, line 45</span>
310
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">log</span>(<span class="ruby-identifier">s</span>, <span class="ruby-identifier">type</span> = <span class="ruby-value">:info</span>)
311
+ <span class="ruby-keyword">end</span></pre>
312
+ </div>
313
+
314
+ </div>
315
+
316
+
317
+
318
+
319
+ </div>
320
+
321
+
322
+ <div id="method-i-log_cmd" class="method-detail ">
323
+
324
+ <div class="method-heading">
325
+ <span class="method-name">log_cmd</span><span
326
+ class="method-args">(action) { || ... }</span>
327
+
328
+ <span class="method-click-advice">click to toggle source</span>
329
+
330
+ </div>
331
+
332
+
333
+ <div class="method-description">
334
+
335
+ <p>Echoes the raw action text.</p>
336
+
337
+
338
+
339
+
340
+ <div class="method-source-code" id="log_cmd-source">
341
+ <pre><span class="ruby-comment"># File lib/bauxite/loggers/html.rb, line 49</span>
342
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">log_cmd</span>(<span class="ruby-identifier">action</span>)
343
+ <span class="ruby-identifier">ret</span> = <span class="ruby-keyword">yield</span>
344
+ <span class="ruby-keyword">ensure</span>
345
+ <span class="ruby-identifier">status</span> = <span class="ruby-keyword">case</span> <span class="ruby-identifier">ret</span>; <span class="ruby-keyword">when</span> <span class="ruby-keyword">nil</span>; <span class="ruby-value">:error</span>; <span class="ruby-keyword">when</span> <span class="ruby-keyword">false</span>; <span class="ruby-value">:skip</span>; <span class="ruby-keyword">else</span> <span class="ruby-value">:ok</span>; <span class="ruby-keyword">end</span>
346
+
347
+ <span class="ruby-identifier">test_name</span> = <span class="ruby-identifier">action</span>.<span class="ruby-identifier">ctx</span>.<span class="ruby-identifier">variables</span>[<span class="ruby-string">&#39;__TEST__&#39;</span>] <span class="ruby-operator">||</span> <span class="ruby-string">&#39;Main&#39;</span>
348
+ <span class="ruby-identifier">test</span> = <span class="ruby-ivar">@data</span>.<span class="ruby-identifier">find</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-identifier">t</span>[<span class="ruby-value">:name</span>] <span class="ruby-operator">==</span> <span class="ruby-identifier">test_name</span> }
349
+ <span class="ruby-keyword">unless</span> <span class="ruby-identifier">test</span>
350
+ <span class="ruby-identifier">test</span> = { <span class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">test_name</span>, <span class="ruby-value">:actions</span> =<span class="ruby-operator">&gt;</span> [] }
351
+ <span class="ruby-ivar">@data</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">test</span>
352
+ <span class="ruby-keyword">end</span>
353
+
354
+ <span class="ruby-identifier">capture</span> = <span class="ruby-identifier">action</span>.<span class="ruby-identifier">ctx</span>.<span class="ruby-identifier">variables</span>[<span class="ruby-string">&#39;__CAPTURE__&#39;</span>]
355
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">capture</span> <span class="ruby-operator">==</span> <span class="ruby-ivar">@last_capture</span>
356
+ <span class="ruby-identifier">capture</span> = <span class="ruby-keyword">nil</span>
357
+ <span class="ruby-keyword">else</span>
358
+ <span class="ruby-ivar">@last_capture</span> = <span class="ruby-identifier">capture</span>
359
+ <span class="ruby-keyword">end</span>
360
+
361
+ <span class="ruby-identifier">test</span>[<span class="ruby-value">:actions</span>] <span class="ruby-operator">&lt;&lt;</span> {
362
+ <span class="ruby-value">:cmd</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">action</span>.<span class="ruby-identifier">cmd</span>,
363
+ <span class="ruby-value">:args</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">action</span>.<span class="ruby-identifier">args</span>(<span class="ruby-keyword">true</span>),
364
+ <span class="ruby-value">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">action</span>,
365
+ <span class="ruby-value">:status</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">status</span>,
366
+ <span class="ruby-value">:capture</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">capture</span>
367
+ }
368
+
369
+ <span class="ruby-identifier">ret</span>
370
+ <span class="ruby-keyword">end</span></pre>
371
+ </div>
372
+
373
+ </div>
374
+
375
+
376
+
377
+
378
+ </div>
379
+
380
+
381
+ </section>
382
+
383
+ </section>
384
+ </main>
385
+
386
+
387
+ <footer id="validator-badges" role="contentinfo">
388
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
389
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
390
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
391
+ </footer>
392
+
@@ -77,6 +77,8 @@
77
77
 
78
78
  <li ><a href="#method-i-debug_prompt">#debug_prompt</a>
79
79
 
80
+ <li ><a href="#method-i-finalize">#finalize</a>
81
+
80
82
  <li ><a href="#method-i-log">#log</a>
81
83
 
82
84
  <li ><a href="#method-i-log_cmd">#log_cmd</a>
@@ -206,6 +208,38 @@ href="../Context.html#method-i-debug">Bauxite::Context#debug</a>).</p>
206
208
 
207
209
 
208
210
 
211
+ </div>
212
+
213
+
214
+ <div id="method-i-finalize" class="method-detail ">
215
+
216
+ <div class="method-heading">
217
+ <span class="method-name">finalize</span><span
218
+ class="method-args">(ctx)</span>
219
+
220
+ <span class="method-click-advice">click to toggle source</span>
221
+
222
+ </div>
223
+
224
+
225
+ <div class="method-description">
226
+
227
+ <p>Completes the log execution.</p>
228
+
229
+
230
+
231
+
232
+ <div class="method-source-code" id="finalize-source">
233
+ <pre><span class="ruby-comment"># File lib/bauxite/core/logger.rb, line 87</span>
234
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">finalize</span>(<span class="ruby-identifier">ctx</span>)
235
+ <span class="ruby-keyword">end</span></pre>
236
+ </div>
237
+
238
+ </div>
239
+
240
+
241
+
242
+
209
243
  </div>
210
244
 
211
245
 
@@ -328,7 +362,7 @@ href="../Context.html#method-i-debug">Bauxite::Context#debug</a>).</p>
328
362
 
329
363
  <footer id="validator-badges" role="contentinfo">
330
364
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
331
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
365
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
332
366
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
333
367
  </footer>
334
368
 
@@ -585,7 +585,7 @@
585
585
 
586
586
  <footer id="validator-badges" role="contentinfo">
587
587
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
588
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
588
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
589
589
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
590
590
  </footer>
591
591
 
@@ -283,7 +283,7 @@
283
283
 
284
284
  <footer id="validator-badges" role="contentinfo">
285
285
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
286
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
286
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
287
287
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
288
288
  </footer>
289
289
 
@@ -97,7 +97,7 @@ module.</p>
97
97
 
98
98
  <footer id="validator-badges" role="contentinfo">
99
99
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
100
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
100
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
101
101
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
102
102
  </footer>
103
103
 
@@ -371,7 +371,7 @@ parser can&#39;t handle the file.</p>
371
371
 
372
372
  <footer id="validator-badges" role="contentinfo">
373
373
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
374
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
374
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
375
375
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
376
376
  </footer>
377
377
 
@@ -197,7 +197,7 @@
197
197
 
198
198
  <footer id="validator-badges" role="contentinfo">
199
199
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
200
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
200
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
201
201
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
202
202
  </footer>
203
203
 
@@ -509,7 +509,7 @@ child control element, including input, select, textarea and button).</p>
509
509
 
510
510
  <footer id="validator-badges" role="contentinfo">
511
511
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
512
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
512
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
513
513
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
514
514
  </footer>
515
515
 
@@ -276,7 +276,7 @@ href="Context.html#method-i-find">Bauxite::Context#find</a>.</p>
276
276
 
277
277
  <footer id="validator-badges" role="contentinfo">
278
278
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
279
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
279
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
280
280
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
281
281
  </footer>
282
282
 
data/doc/Bauxite.html CHANGED
@@ -94,7 +94,7 @@
94
94
 
95
95
  <footer id="validator-badges" role="contentinfo">
96
96
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
97
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
97
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
98
98
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
99
99
  </footer>
100
100
 
data/doc/README_md.html CHANGED
@@ -532,7 +532,7 @@ href="Bauxite.html">Bauxite</a> test results:</p>
532
532
 
533
533
  <footer id="validator-badges" role="contentinfo">
534
534
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
535
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
535
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
536
536
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
537
537
  </footer>
538
538