bauxite 0.1.0
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.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/Rakefile +69 -0
- data/bin/bauxite +27 -0
- data/doc/Bauxite/Action.html +1463 -0
- data/doc/Bauxite/ActionModule.html +342 -0
- data/doc/Bauxite/Context.html +1439 -0
- data/doc/Bauxite/Errors/AssertionError.html +107 -0
- data/doc/Bauxite/Errors/FileNotFoundError.html +107 -0
- data/doc/Bauxite/Errors.html +100 -0
- data/doc/Bauxite/Loggers/CompositeLogger.html +325 -0
- data/doc/Bauxite/Loggers/EchoLogger.html +164 -0
- data/doc/Bauxite/Loggers/FileLogger.html +215 -0
- data/doc/Bauxite/Loggers/NullLogger.html +334 -0
- data/doc/Bauxite/Loggers/TerminalLogger.html +586 -0
- data/doc/Bauxite/Loggers/XtermLogger.html +287 -0
- data/doc/Bauxite/Loggers.html +103 -0
- data/doc/Bauxite/Selector.html +422 -0
- data/doc/Bauxite/SelectorModule.html +283 -0
- data/doc/Bauxite.html +98 -0
- data/doc/created.rid +37 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/fonts.css +167 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +111 -0
- data/doc/js/darkfish.js +140 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +580 -0
- data/doc/table_of_contents.html +510 -0
- data/lib/bauxite/actions/alias.rb +51 -0
- data/lib/bauxite/actions/assert.rb +49 -0
- data/lib/bauxite/actions/assertv.rb +40 -0
- data/lib/bauxite/actions/break.rb +39 -0
- data/lib/bauxite/actions/click.rb +35 -0
- data/lib/bauxite/actions/debug.rb +99 -0
- data/lib/bauxite/actions/echo.rb +36 -0
- data/lib/bauxite/actions/exec.rb +46 -0
- data/lib/bauxite/actions/js.rb +41 -0
- data/lib/bauxite/actions/load.rb +49 -0
- data/lib/bauxite/actions/open.rb +34 -0
- data/lib/bauxite/actions/params.rb +40 -0
- data/lib/bauxite/actions/replace.rb +37 -0
- data/lib/bauxite/actions/reset.rb +37 -0
- data/lib/bauxite/actions/return.rb +62 -0
- data/lib/bauxite/actions/ruby.rb +58 -0
- data/lib/bauxite/actions/set.rb +39 -0
- data/lib/bauxite/actions/source.rb +44 -0
- data/lib/bauxite/actions/store.rb +38 -0
- data/lib/bauxite/actions/test.rb +61 -0
- data/lib/bauxite/actions/tryload.rb +79 -0
- data/lib/bauxite/actions/wait.rb +38 -0
- data/lib/bauxite/actions/write.rb +40 -0
- data/lib/bauxite/application.rb +150 -0
- data/lib/bauxite/core/Action.rb +205 -0
- data/lib/bauxite/core/Context.rb +575 -0
- data/lib/bauxite/core/Errors.rb +36 -0
- data/lib/bauxite/core/Logger.rb +86 -0
- data/lib/bauxite/core/Selector.rb +156 -0
- data/lib/bauxite/loggers/composite.rb +70 -0
- data/lib/bauxite/loggers/echo.rb +36 -0
- data/lib/bauxite/loggers/file.rb +45 -0
- data/lib/bauxite/loggers/terminal.rb +130 -0
- data/lib/bauxite/loggers/xterm.rb +79 -0
- data/lib/bauxite/selectors/attr.rb +39 -0
- data/lib/bauxite/selectors/default.rb +38 -0
- data/lib/bauxite/selectors/frame.rb +60 -0
- data/lib/bauxite.rb +29 -0
- data/test/alias.bxt +6 -0
- data/test/assertv.bxt +2 -0
- data/test/delay/page.html +5 -0
- data/test/delay.bxt +2 -0
- data/test/exec.bxt +6 -0
- data/test/format/page.html +7 -0
- data/test/format.bxt +17 -0
- data/test/frame/child_frame.html +7 -0
- data/test/frame/grandchild_frame.html +5 -0
- data/test/frame/page.html +5 -0
- data/test/frame.bxt +6 -0
- data/test/js.bxt +5 -0
- data/test/load/child.bxt +13 -0
- data/test/load.bxt +17 -0
- data/test/ruby/custom.rb +5 -0
- data/test/ruby.bxt +2 -0
- data/test/selectors/page.html +7 -0
- data/test/selectors.bxt +7 -0
- data/test/stdin.bxt +1 -0
- data/test/test/test1.bxt +2 -0
- data/test/test/test2.bxt +3 -0
- data/test/test/test3.bxt +2 -0
- data/test/test.bxt.manual +4 -0
- metadata +194 -0
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
|
|
7
|
+
<title>module Bauxite::SelectorModule - 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="module">
|
|
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
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
<!-- Method Quickref -->
|
|
64
|
+
<div id="method-list-section" class="nav-section">
|
|
65
|
+
<h3>Methods</h3>
|
|
66
|
+
|
|
67
|
+
<ul class="link-list" role="directory">
|
|
68
|
+
|
|
69
|
+
<li ><a href="#method-c-new">::new</a>
|
|
70
|
+
|
|
71
|
+
<li ><a href="#method-i-find">#find</a>
|
|
72
|
+
|
|
73
|
+
<li ><a href="#method-i-selenium_find">#selenium_find</a>
|
|
74
|
+
|
|
75
|
+
</ul>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
</div>
|
|
79
|
+
</nav>
|
|
80
|
+
|
|
81
|
+
<main role="main" aria-labelledby="module-Bauxite::SelectorModule">
|
|
82
|
+
<h1 id="module-Bauxite::SelectorModule" class="module">
|
|
83
|
+
module Bauxite::SelectorModule
|
|
84
|
+
</h1>
|
|
85
|
+
|
|
86
|
+
<section class="description">
|
|
87
|
+
|
|
88
|
+
<p><a href="Selector.html">Selector</a> common state and behavior.</p>
|
|
89
|
+
|
|
90
|
+
</section>
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
106
|
+
<header>
|
|
107
|
+
<h3>Public Class Methods</h3>
|
|
108
|
+
</header>
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
<div id="method-c-new" class="method-detail ">
|
|
112
|
+
|
|
113
|
+
<div class="method-heading">
|
|
114
|
+
<span class="method-name">new</span><span
|
|
115
|
+
class="method-args">(ctx)</span>
|
|
116
|
+
|
|
117
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
118
|
+
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
<div class="method-description">
|
|
123
|
+
|
|
124
|
+
<p>Constructs a new test selector instance.</p>
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
<div class="method-source-code" id="new-source">
|
|
130
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/Selector.rb, line 28</span>
|
|
131
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">ctx</span>)
|
|
132
|
+
<span class="ruby-ivar">@ctx</span> = <span class="ruby-identifier">ctx</span>
|
|
133
|
+
<span class="ruby-keyword">end</span></pre>
|
|
134
|
+
</div>
|
|
135
|
+
|
|
136
|
+
</div>
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
</div>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
</section>
|
|
145
|
+
|
|
146
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
147
|
+
<header>
|
|
148
|
+
<h3>Public Instance Methods</h3>
|
|
149
|
+
</header>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
<div id="method-i-find" class="method-detail ">
|
|
153
|
+
|
|
154
|
+
<div class="method-heading">
|
|
155
|
+
<span class="method-name">find</span><span
|
|
156
|
+
class="method-args">(selector, &block)</span>
|
|
157
|
+
|
|
158
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
159
|
+
|
|
160
|
+
</div>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
<div class="method-description">
|
|
164
|
+
|
|
165
|
+
<p>Searches for elements using the specified selector string.</p>
|
|
166
|
+
|
|
167
|
+
<p>For more information see <a
|
|
168
|
+
href="Context.html#method-i-find">Bauxite::Context#find</a>.</p>
|
|
169
|
+
|
|
170
|
+
<p>Selectors calling this method should forward their block as well.</p>
|
|
171
|
+
|
|
172
|
+
<p>For example:</p>
|
|
173
|
+
|
|
174
|
+
<pre class="ruby"><span class="ruby-comment"># === selectors/example.rb ======= #</span>
|
|
175
|
+
<span class="ruby-keyword">class</span> <span class="ruby-constant">Selector</span>
|
|
176
|
+
<span class="ruby-comment"># :category: Selector Methods</span>
|
|
177
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">example</span>(<span class="ruby-identifier">arg</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
|
178
|
+
<span class="ruby-identifier">find</span>(<span class="ruby-identifier">arg</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
|
179
|
+
<span class="ruby-keyword">end</span>
|
|
180
|
+
<span class="ruby-keyword">end</span>
|
|
181
|
+
<span class="ruby-comment"># === end selectors/example.rb === #</span>
|
|
182
|
+
</pre>
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<div class="method-source-code" id="find-source">
|
|
188
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/Selector.rb, line 48</span>
|
|
189
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find</span>(<span class="ruby-identifier">selector</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
|
190
|
+
<span class="ruby-comment"># I know I should be using Class scope operators to refer to class</span>
|
|
191
|
+
<span class="ruby-comment"># methods (i.e. Context::selectors), but for some reason RDoc</span>
|
|
192
|
+
<span class="ruby-comment"># refuses to document the Selector class (below) if any such</span>
|
|
193
|
+
<span class="ruby-comment"># operators appear in this method (quite strange). So for now, I'll</span>
|
|
194
|
+
<span class="ruby-comment"># just settle for using the old and trusty "."</span>
|
|
195
|
+
|
|
196
|
+
<span class="ruby-identifier">data</span> = <span class="ruby-identifier">selector</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">'='</span>, <span class="ruby-value">2</span>)
|
|
197
|
+
<span class="ruby-identifier">type</span> = <span class="ruby-identifier">data</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">==</span> <span class="ruby-value">2</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">data</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">:</span> <span class="ruby-string">"default"</span>
|
|
198
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-node">"Invalid selector type '#{type}'"</span> <span class="ruby-keyword">unless</span> <span class="ruby-constant">Context</span>.<span class="ruby-identifier">selectors</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">type</span>
|
|
199
|
+
|
|
200
|
+
<span class="ruby-identifier">arg</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value">-1</span>]
|
|
201
|
+
<span class="ruby-identifier">custom_selectors</span> = <span class="ruby-constant">Context</span>.<span class="ruby-identifier">selectors</span>(<span class="ruby-keyword">false</span>)
|
|
202
|
+
<span class="ruby-keyword">return</span> <span class="ruby-identifier">send</span>(<span class="ruby-identifier">type</span> , <span class="ruby-identifier">arg</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">custom_selectors</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">type</span>
|
|
203
|
+
<span class="ruby-keyword">return</span> <span class="ruby-identifier">send</span>(<span class="ruby-identifier">type</span><span class="ruby-operator">+</span><span class="ruby-string">'_selector'</span>, <span class="ruby-identifier">arg</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">custom_selectors</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">type</span><span class="ruby-operator">+</span><span class="ruby-string">'_selector'</span>
|
|
204
|
+
<span class="ruby-identifier">selenium_find</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">arg</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
|
205
|
+
<span class="ruby-keyword">end</span></pre>
|
|
206
|
+
</div>
|
|
207
|
+
|
|
208
|
+
</div>
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
</div>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
</section>
|
|
217
|
+
|
|
218
|
+
<section id="protected-instance-5Buntitled-5D-method-details" class="method-section">
|
|
219
|
+
<header>
|
|
220
|
+
<h3>Protected Instance Methods</h3>
|
|
221
|
+
</header>
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
<div id="method-i-selenium_find" class="method-detail ">
|
|
225
|
+
|
|
226
|
+
<div class="method-heading">
|
|
227
|
+
<span class="method-name">selenium_find</span><span
|
|
228
|
+
class="method-args">(type, selector) { |element| ... }</span>
|
|
229
|
+
|
|
230
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
231
|
+
|
|
232
|
+
</div>
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
<div class="method-description">
|
|
236
|
+
|
|
237
|
+
<p>Searches for elements using standard Selenium selectors.</p>
|
|
238
|
+
|
|
239
|
+
<p>Selectors calling this method should forward their block as well.</p>
|
|
240
|
+
|
|
241
|
+
<pre class="ruby"><span class="ruby-comment"># === selectors/data.rb ======= #</span>
|
|
242
|
+
<span class="ruby-keyword">class</span> <span class="ruby-constant">Selector</span>
|
|
243
|
+
<span class="ruby-comment"># :category: Selector Methods</span>
|
|
244
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">data</span>(<span class="ruby-identifier">arg</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
|
245
|
+
<span class="ruby-comment"># selector code goes here, for example:</span>
|
|
246
|
+
<span class="ruby-identifier">selenium_find</span>(:<span class="ruby-identifier">css</span>, <span class="ruby-node">"[data='#{arg}']"</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
|
247
|
+
<span class="ruby-keyword">end</span>
|
|
248
|
+
<span class="ruby-keyword">end</span>
|
|
249
|
+
<span class="ruby-comment"># === end selectors/data.rb === #</span>
|
|
250
|
+
</pre>
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
<div class="method-source-code" id="selenium_find-source">
|
|
256
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/Selector.rb, line 81</span>
|
|
257
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">selenium_find</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">selector</span>)
|
|
258
|
+
<span class="ruby-identifier">element</span> = <span class="ruby-ivar">@ctx</span>.<span class="ruby-identifier">driver</span>.<span class="ruby-identifier">find_element</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">selector</span>)
|
|
259
|
+
<span class="ruby-keyword">yield</span> <span class="ruby-identifier">element</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">block_given?</span>
|
|
260
|
+
<span class="ruby-identifier">element</span>
|
|
261
|
+
<span class="ruby-keyword">end</span></pre>
|
|
262
|
+
</div>
|
|
263
|
+
|
|
264
|
+
</div>
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
</div>
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
</section>
|
|
273
|
+
|
|
274
|
+
</section>
|
|
275
|
+
</main>
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
<footer id="validator-badges" role="contentinfo">
|
|
279
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
280
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
|
|
281
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
282
|
+
</footer>
|
|
283
|
+
|
data/doc/Bauxite.html
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
|
|
7
|
+
<title>module Bauxite - 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="module">
|
|
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
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
</div>
|
|
65
|
+
</nav>
|
|
66
|
+
|
|
67
|
+
<main role="main" aria-labelledby="module-Bauxite">
|
|
68
|
+
<h1 id="module-Bauxite" class="module">
|
|
69
|
+
module Bauxite
|
|
70
|
+
</h1>
|
|
71
|
+
|
|
72
|
+
<section class="description">
|
|
73
|
+
|
|
74
|
+
</section>
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
</section>
|
|
90
|
+
</main>
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<footer id="validator-badges" role="contentinfo">
|
|
94
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
95
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
|
|
96
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
97
|
+
</footer>
|
|
98
|
+
|
data/doc/created.rid
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Sat, 25 Jan 2014 12:24:37 -0300
|
|
2
|
+
lib/bauxite/core/Action.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
3
|
+
lib/bauxite/core/Context.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
4
|
+
lib/bauxite/core/Errors.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
5
|
+
lib/bauxite/core/Logger.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
6
|
+
lib/bauxite/core/Selector.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
7
|
+
lib/bauxite/actions/alias.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
8
|
+
lib/bauxite/actions/assert.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
9
|
+
lib/bauxite/actions/assertv.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
10
|
+
lib/bauxite/actions/break.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
11
|
+
lib/bauxite/actions/click.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
12
|
+
lib/bauxite/actions/debug.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
13
|
+
lib/bauxite/actions/echo.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
14
|
+
lib/bauxite/actions/exec.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
15
|
+
lib/bauxite/actions/js.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
16
|
+
lib/bauxite/actions/load.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
17
|
+
lib/bauxite/actions/open.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
18
|
+
lib/bauxite/actions/params.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
19
|
+
lib/bauxite/actions/replace.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
20
|
+
lib/bauxite/actions/reset.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
21
|
+
lib/bauxite/actions/return.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
22
|
+
lib/bauxite/actions/ruby.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
23
|
+
lib/bauxite/actions/set.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
24
|
+
lib/bauxite/actions/source.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
25
|
+
lib/bauxite/actions/store.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
26
|
+
lib/bauxite/actions/test.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
27
|
+
lib/bauxite/actions/tryload.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
28
|
+
lib/bauxite/actions/wait.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
29
|
+
lib/bauxite/actions/write.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
30
|
+
lib/bauxite/selectors/attr.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
31
|
+
lib/bauxite/selectors/default.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
32
|
+
lib/bauxite/selectors/frame.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
33
|
+
lib/bauxite/loggers/composite.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
34
|
+
lib/bauxite/loggers/echo.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
35
|
+
lib/bauxite/loggers/file.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
36
|
+
lib/bauxite/loggers/terminal.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
37
|
+
lib/bauxite/loggers/xterm.rb Sat, 25 Jan 2014 12:19:06 -0300
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/doc/fonts.css
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
|
|
3
|
+
* with Reserved Font Name "Source". All Rights Reserved. Source is a
|
|
4
|
+
* trademark of Adobe Systems Incorporated in the United States and/or other
|
|
5
|
+
* countries.
|
|
6
|
+
*
|
|
7
|
+
* This Font Software is licensed under the SIL Open Font License, Version
|
|
8
|
+
* 1.1.
|
|
9
|
+
*
|
|
10
|
+
* This license is copied below, and is also available with a FAQ at:
|
|
11
|
+
* http://scripts.sil.org/OFL
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: "Source Code Pro";
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
src: local("Source Code Pro"),
|
|
19
|
+
local("SourceCodePro-Regular"),
|
|
20
|
+
url("fonts/SourceCodePro-Regular.ttf") format("truetype");
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: "Source Code Pro";
|
|
25
|
+
font-style: normal;
|
|
26
|
+
font-weight: 700;
|
|
27
|
+
src: local("Source Code Pro Bold"),
|
|
28
|
+
local("SourceCodePro-Bold"),
|
|
29
|
+
url("fonts/SourceCodePro-Bold.ttf") format("truetype");
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/*
|
|
33
|
+
* Copyright (c) 2010, Łukasz Dziedzic (dziedzic@typoland.com),
|
|
34
|
+
* with Reserved Font Name Lato.
|
|
35
|
+
*
|
|
36
|
+
* This Font Software is licensed under the SIL Open Font License, Version
|
|
37
|
+
* 1.1.
|
|
38
|
+
*
|
|
39
|
+
* This license is copied below, and is also available with a FAQ at:
|
|
40
|
+
* http://scripts.sil.org/OFL
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: "Lato";
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-weight: 300;
|
|
47
|
+
src: local("Lato Light"),
|
|
48
|
+
local("Lato-Light"),
|
|
49
|
+
url("fonts/Lato-Light.ttf") format("truetype");
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@font-face {
|
|
53
|
+
font-family: "Lato";
|
|
54
|
+
font-style: italic;
|
|
55
|
+
font-weight: 300;
|
|
56
|
+
src: local("Lato Light Italic"),
|
|
57
|
+
local("Lato-LightItalic"),
|
|
58
|
+
url("fonts/Lato-LightItalic.ttf") format("truetype");
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@font-face {
|
|
62
|
+
font-family: "Lato";
|
|
63
|
+
font-style: normal;
|
|
64
|
+
font-weight: 700;
|
|
65
|
+
src: local("Lato Regular"),
|
|
66
|
+
local("Lato-Regular"),
|
|
67
|
+
url("fonts/Lato-Regular.ttf") format("truetype");
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@font-face {
|
|
71
|
+
font-family: "Lato";
|
|
72
|
+
font-style: italic;
|
|
73
|
+
font-weight: 700;
|
|
74
|
+
src: local("Lato Italic"),
|
|
75
|
+
local("Lato-Italic"),
|
|
76
|
+
url("fonts/Lato-RegularItalic.ttf") format("truetype");
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/*
|
|
80
|
+
* -----------------------------------------------------------
|
|
81
|
+
* SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
82
|
+
* -----------------------------------------------------------
|
|
83
|
+
*
|
|
84
|
+
* PREAMBLE
|
|
85
|
+
* The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
86
|
+
* development of collaborative font projects, to support the font creation
|
|
87
|
+
* efforts of academic and linguistic communities, and to provide a free and
|
|
88
|
+
* open framework in which fonts may be shared and improved in partnership
|
|
89
|
+
* with others.
|
|
90
|
+
*
|
|
91
|
+
* The OFL allows the licensed fonts to be used, studied, modified and
|
|
92
|
+
* redistributed freely as long as they are not sold by themselves. The
|
|
93
|
+
* fonts, including any derivative works, can be bundled, embedded,
|
|
94
|
+
* redistributed and/or sold with any software provided that any reserved
|
|
95
|
+
* names are not used by derivative works. The fonts and derivatives,
|
|
96
|
+
* however, cannot be released under any other type of license. The
|
|
97
|
+
* requirement for fonts to remain under this license does not apply
|
|
98
|
+
* to any document created using the fonts or their derivatives.
|
|
99
|
+
*
|
|
100
|
+
* DEFINITIONS
|
|
101
|
+
* "Font Software" refers to the set of files released by the Copyright
|
|
102
|
+
* Holder(s) under this license and clearly marked as such. This may
|
|
103
|
+
* include source files, build scripts and documentation.
|
|
104
|
+
*
|
|
105
|
+
* "Reserved Font Name" refers to any names specified as such after the
|
|
106
|
+
* copyright statement(s).
|
|
107
|
+
*
|
|
108
|
+
* "Original Version" refers to the collection of Font Software components as
|
|
109
|
+
* distributed by the Copyright Holder(s).
|
|
110
|
+
*
|
|
111
|
+
* "Modified Version" refers to any derivative made by adding to, deleting,
|
|
112
|
+
* or substituting -- in part or in whole -- any of the components of the
|
|
113
|
+
* Original Version, by changing formats or by porting the Font Software to a
|
|
114
|
+
* new environment.
|
|
115
|
+
*
|
|
116
|
+
* "Author" refers to any designer, engineer, programmer, technical
|
|
117
|
+
* writer or other person who contributed to the Font Software.
|
|
118
|
+
*
|
|
119
|
+
* PERMISSION & CONDITIONS
|
|
120
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
|
121
|
+
* a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
122
|
+
* redistribute, and sell modified and unmodified copies of the Font
|
|
123
|
+
* Software, subject to the following conditions:
|
|
124
|
+
*
|
|
125
|
+
* 1) Neither the Font Software nor any of its individual components,
|
|
126
|
+
* in Original or Modified Versions, may be sold by itself.
|
|
127
|
+
*
|
|
128
|
+
* 2) Original or Modified Versions of the Font Software may be bundled,
|
|
129
|
+
* redistributed and/or sold with any software, provided that each copy
|
|
130
|
+
* contains the above copyright notice and this license. These can be
|
|
131
|
+
* included either as stand-alone text files, human-readable headers or
|
|
132
|
+
* in the appropriate machine-readable metadata fields within text or
|
|
133
|
+
* binary files as long as those fields can be easily viewed by the user.
|
|
134
|
+
*
|
|
135
|
+
* 3) No Modified Version of the Font Software may use the Reserved Font
|
|
136
|
+
* Name(s) unless explicit written permission is granted by the corresponding
|
|
137
|
+
* Copyright Holder. This restriction only applies to the primary font name as
|
|
138
|
+
* presented to the users.
|
|
139
|
+
*
|
|
140
|
+
* 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
141
|
+
* Software shall not be used to promote, endorse or advertise any
|
|
142
|
+
* Modified Version, except to acknowledge the contribution(s) of the
|
|
143
|
+
* Copyright Holder(s) and the Author(s) or with their explicit written
|
|
144
|
+
* permission.
|
|
145
|
+
*
|
|
146
|
+
* 5) The Font Software, modified or unmodified, in part or in whole,
|
|
147
|
+
* must be distributed entirely under this license, and must not be
|
|
148
|
+
* distributed under any other license. The requirement for fonts to
|
|
149
|
+
* remain under this license does not apply to any document created
|
|
150
|
+
* using the Font Software.
|
|
151
|
+
*
|
|
152
|
+
* TERMINATION
|
|
153
|
+
* This license becomes null and void if any of the above conditions are
|
|
154
|
+
* not met.
|
|
155
|
+
*
|
|
156
|
+
* DISCLAIMER
|
|
157
|
+
* THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
158
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
159
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
160
|
+
* OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
161
|
+
* COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
162
|
+
* INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
163
|
+
* DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
164
|
+
* FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
165
|
+
* OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
166
|
+
*/
|
|
167
|
+
|
data/doc/images/add.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/doc/images/bug.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/doc/images/date.png
ADDED
|
Binary file
|
|
Binary file
|
data/doc/images/find.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/doc/images/ruby.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|