schemacop 1.0.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/.rubocop.yml +59 -1
- data/CHANGELOG.md +10 -0
- data/README.md +389 -199
- data/Rakefile +2 -0
- data/VERSION +1 -1
- data/doc/Schemacop.html +41 -130
- data/doc/Schemacop/ArrayValidator.html +329 -0
- data/doc/Schemacop/BooleanValidator.html +145 -0
- data/doc/Schemacop/Collector.html +535 -0
- data/doc/Schemacop/Exceptions.html +39 -39
- data/doc/Schemacop/Exceptions/InvalidSchemaError.html +124 -0
- data/doc/Schemacop/Exceptions/ValidationError.html +124 -0
- data/doc/Schemacop/FieldNode.html +409 -0
- data/doc/Schemacop/FloatValidator.html +158 -0
- data/doc/Schemacop/HashValidator.html +263 -0
- data/doc/Schemacop/IntegerValidator.html +158 -0
- data/doc/Schemacop/NilValidator.html +145 -0
- data/doc/Schemacop/Node.html +1426 -0
- data/doc/Schemacop/NodeResolver.html +242 -0
- data/doc/Schemacop/NodeSupportingField.html +590 -0
- data/doc/Schemacop/NodeSupportingType.html +614 -0
- data/doc/Schemacop/NodeWithBlock.html +289 -0
- data/doc/Schemacop/NumberValidator.html +232 -0
- data/doc/Schemacop/ObjectValidator.html +288 -0
- data/doc/Schemacop/RootNode.html +171 -0
- data/doc/Schemacop/Schema.html +697 -0
- data/doc/Schemacop/StringValidator.html +295 -0
- data/doc/ScopedEnv.html +351 -0
- data/doc/_index.html +190 -47
- data/doc/class_list.html +24 -31
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +244 -91
- data/doc/file.README.html +428 -232
- data/doc/file_list.html +26 -30
- data/doc/frames.html +7 -16
- data/doc/index.html +428 -232
- data/doc/inheritance.graphml +524 -0
- data/doc/inheritance.pdf +825 -0
- data/doc/js/app.js +106 -77
- data/doc/js/full_list.js +170 -135
- data/doc/method_list.html +494 -38
- data/doc/top-level-namespace.html +36 -36
- data/lib/schemacop.rb +22 -7
- data/lib/schemacop/collector.rb +34 -0
- data/lib/schemacop/exceptions.rb +2 -8
- data/lib/schemacop/field_node.rb +26 -0
- data/lib/schemacop/node.rb +127 -0
- data/lib/schemacop/node_resolver.rb +14 -0
- data/lib/schemacop/node_supporting_field.rb +62 -0
- data/lib/schemacop/node_supporting_type.rb +112 -0
- data/lib/schemacop/node_with_block.rb +16 -0
- data/lib/schemacop/root_node.rb +4 -0
- data/lib/schemacop/schema.rb +61 -0
- data/lib/schemacop/scoped_env.rb +18 -0
- data/lib/schemacop/validator/array_validator.rb +30 -0
- data/lib/schemacop/validator/boolean_validator.rb +5 -0
- data/lib/schemacop/validator/float_validator.rb +5 -0
- data/lib/schemacop/validator/hash_validator.rb +18 -0
- data/lib/schemacop/validator/integer_validator.rb +5 -0
- data/lib/schemacop/validator/nil_validator.rb +5 -0
- data/lib/schemacop/validator/number_validator.rb +19 -0
- data/lib/schemacop/validator/object_validator.rb +21 -0
- data/lib/schemacop/validator/string_validator.rb +37 -0
- data/schemacop.gemspec +7 -5
- data/test/custom_check_test.rb +86 -0
- data/test/custom_if_test.rb +95 -0
- data/test/nil_dis_allow_test.rb +41 -0
- data/test/short_forms_test.rb +316 -0
- data/test/test_helper.rb +6 -0
- data/test/types_test.rb +83 -0
- data/test/validator_array_test.rb +97 -0
- data/test/validator_boolean_test.rb +15 -0
- data/test/validator_float_test.rb +57 -0
- data/test/validator_hash_test.rb +71 -0
- data/test/validator_integer_test.rb +46 -0
- data/test/validator_nil_test.rb +13 -0
- data/test/validator_number_test.rb +60 -0
- data/test/validator_object_test.rb +87 -0
- data/test/validator_string_test.rb +76 -0
- metadata +78 -14
- data/doc/Schemacop/Exceptions/Base.html +0 -127
- data/doc/Schemacop/Exceptions/InvalidSchema.html +0 -141
- data/doc/Schemacop/Exceptions/Validation.html +0 -142
- data/doc/Schemacop/MethodValidation.html +0 -120
- data/doc/Schemacop/MethodValidation/ClassMethods.html +0 -196
- data/doc/Schemacop/Validator.html +0 -254
- data/lib/schemacop/validator.rb +0 -145
- data/test/schemacop_validator_test.rb +0 -257
data/doc/_index.html
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
|
-
Documentation by YARD 0.
|
7
|
+
Documentation by YARD 0.9.9
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -13,9 +13,8 @@
|
|
13
13
|
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
14
14
|
|
15
15
|
<script type="text/javascript" charset="utf-8">
|
16
|
-
|
16
|
+
pathId = null;
|
17
17
|
relpath = '';
|
18
|
-
framesUrl = "frames.html#!_index.html";
|
19
18
|
</script>
|
20
19
|
|
21
20
|
|
@@ -26,37 +25,34 @@
|
|
26
25
|
|
27
26
|
</head>
|
28
27
|
<body>
|
29
|
-
<div
|
30
|
-
<
|
31
|
-
|
28
|
+
<div class="nav_wrap">
|
29
|
+
<iframe id="nav" src="class_list.html?1"></iframe>
|
30
|
+
<div id="resizer"></div>
|
31
|
+
</div>
|
32
32
|
|
33
|
-
|
33
|
+
<div id="main" tabindex="-1">
|
34
|
+
<div id="header">
|
35
|
+
<div id="menu">
|
36
|
+
|
34
37
|
</div>
|
35
38
|
|
36
|
-
|
39
|
+
<div id="search">
|
37
40
|
|
38
41
|
<a class="full_list_link" id="class_list_link"
|
39
42
|
href="class_list.html">
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
</a>
|
47
|
-
|
48
|
-
<a class="full_list_link" id="file_list_link"
|
49
|
-
href="file_list.html">
|
50
|
-
File List
|
43
|
+
|
44
|
+
<svg width="24" height="24">
|
45
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
46
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
47
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
48
|
+
</svg>
|
51
49
|
</a>
|
52
50
|
|
53
51
|
</div>
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
<iframe id="search_frame"></iframe>
|
52
|
+
<div class="clear"></div>
|
53
|
+
</div>
|
58
54
|
|
59
|
-
|
55
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.9</h1>
|
60
56
|
<div id="listing">
|
61
57
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
62
58
|
|
@@ -80,14 +76,29 @@
|
|
80
76
|
<td valign='top' width="33%">
|
81
77
|
|
82
78
|
|
79
|
+
<ul id="alpha_A" class="alpha">
|
80
|
+
<li class="letter">A</li>
|
81
|
+
<ul>
|
82
|
+
|
83
|
+
<li>
|
84
|
+
<span class='object_link'><a href="Schemacop/ArrayValidator.html" title="Schemacop::ArrayValidator (class)">ArrayValidator</a></span>
|
85
|
+
|
86
|
+
<small>(Schemacop)</small>
|
87
|
+
|
88
|
+
</li>
|
89
|
+
|
90
|
+
</ul>
|
91
|
+
</ul>
|
92
|
+
|
93
|
+
|
83
94
|
<ul id="alpha_B" class="alpha">
|
84
95
|
<li class="letter">B</li>
|
85
96
|
<ul>
|
86
97
|
|
87
98
|
<li>
|
88
|
-
<span class='object_link'><a href="Schemacop/
|
99
|
+
<span class='object_link'><a href="Schemacop/BooleanValidator.html" title="Schemacop::BooleanValidator (class)">BooleanValidator</a></span>
|
89
100
|
|
90
|
-
<small>(Schemacop
|
101
|
+
<small>(Schemacop)</small>
|
91
102
|
|
92
103
|
</li>
|
93
104
|
|
@@ -100,9 +111,9 @@
|
|
100
111
|
<ul>
|
101
112
|
|
102
113
|
<li>
|
103
|
-
<span class='object_link'><a href="Schemacop/
|
114
|
+
<span class='object_link'><a href="Schemacop/Collector.html" title="Schemacop::Collector (class)">Collector</a></span>
|
104
115
|
|
105
|
-
<small>(Schemacop
|
116
|
+
<small>(Schemacop)</small>
|
106
117
|
|
107
118
|
</li>
|
108
119
|
|
@@ -125,12 +136,56 @@
|
|
125
136
|
</ul>
|
126
137
|
|
127
138
|
|
139
|
+
<ul id="alpha_F" class="alpha">
|
140
|
+
<li class="letter">F</li>
|
141
|
+
<ul>
|
142
|
+
|
143
|
+
<li>
|
144
|
+
<span class='object_link'><a href="Schemacop/FieldNode.html" title="Schemacop::FieldNode (class)">FieldNode</a></span>
|
145
|
+
|
146
|
+
<small>(Schemacop)</small>
|
147
|
+
|
148
|
+
</li>
|
149
|
+
|
150
|
+
<li>
|
151
|
+
<span class='object_link'><a href="Schemacop/FloatValidator.html" title="Schemacop::FloatValidator (class)">FloatValidator</a></span>
|
152
|
+
|
153
|
+
<small>(Schemacop)</small>
|
154
|
+
|
155
|
+
</li>
|
156
|
+
|
157
|
+
</ul>
|
158
|
+
</ul>
|
159
|
+
|
160
|
+
|
161
|
+
<ul id="alpha_H" class="alpha">
|
162
|
+
<li class="letter">H</li>
|
163
|
+
<ul>
|
164
|
+
|
165
|
+
<li>
|
166
|
+
<span class='object_link'><a href="Schemacop/HashValidator.html" title="Schemacop::HashValidator (class)">HashValidator</a></span>
|
167
|
+
|
168
|
+
<small>(Schemacop)</small>
|
169
|
+
|
170
|
+
</li>
|
171
|
+
|
172
|
+
</ul>
|
173
|
+
</ul>
|
174
|
+
|
175
|
+
|
128
176
|
<ul id="alpha_I" class="alpha">
|
129
177
|
<li class="letter">I</li>
|
130
178
|
<ul>
|
131
179
|
|
132
180
|
<li>
|
133
|
-
<span class='object_link'><a href="Schemacop/
|
181
|
+
<span class='object_link'><a href="Schemacop/IntegerValidator.html" title="Schemacop::IntegerValidator (class)">IntegerValidator</a></span>
|
182
|
+
|
183
|
+
<small>(Schemacop)</small>
|
184
|
+
|
185
|
+
</li>
|
186
|
+
|
187
|
+
<li>
|
188
|
+
<span class='object_link'><a href="Schemacop/Exceptions/InvalidSchemaError.html" title="Schemacop::Exceptions::InvalidSchemaError (class)">InvalidSchemaError</a></span>
|
134
189
|
|
135
190
|
<small>(Schemacop::Exceptions)</small>
|
136
191
|
|
@@ -140,12 +195,57 @@
|
|
140
195
|
</ul>
|
141
196
|
|
142
197
|
|
143
|
-
|
144
|
-
|
198
|
+
</td><td valign='top' width="33%">
|
199
|
+
|
200
|
+
|
201
|
+
<ul id="alpha_N" class="alpha">
|
202
|
+
<li class="letter">N</li>
|
145
203
|
<ul>
|
146
204
|
|
147
205
|
<li>
|
148
|
-
<span class='object_link'><a href="Schemacop/
|
206
|
+
<span class='object_link'><a href="Schemacop/NilValidator.html" title="Schemacop::NilValidator (class)">NilValidator</a></span>
|
207
|
+
|
208
|
+
<small>(Schemacop)</small>
|
209
|
+
|
210
|
+
</li>
|
211
|
+
|
212
|
+
<li>
|
213
|
+
<span class='object_link'><a href="Schemacop/Node.html" title="Schemacop::Node (class)">Node</a></span>
|
214
|
+
|
215
|
+
<small>(Schemacop)</small>
|
216
|
+
|
217
|
+
</li>
|
218
|
+
|
219
|
+
<li>
|
220
|
+
<span class='object_link'><a href="Schemacop/NodeResolver.html" title="Schemacop::NodeResolver (class)">NodeResolver</a></span>
|
221
|
+
|
222
|
+
<small>(Schemacop)</small>
|
223
|
+
|
224
|
+
</li>
|
225
|
+
|
226
|
+
<li>
|
227
|
+
<span class='object_link'><a href="Schemacop/NodeSupportingField.html" title="Schemacop::NodeSupportingField (class)">NodeSupportingField</a></span>
|
228
|
+
|
229
|
+
<small>(Schemacop)</small>
|
230
|
+
|
231
|
+
</li>
|
232
|
+
|
233
|
+
<li>
|
234
|
+
<span class='object_link'><a href="Schemacop/NodeSupportingType.html" title="Schemacop::NodeSupportingType (class)">NodeSupportingType</a></span>
|
235
|
+
|
236
|
+
<small>(Schemacop)</small>
|
237
|
+
|
238
|
+
</li>
|
239
|
+
|
240
|
+
<li>
|
241
|
+
<span class='object_link'><a href="Schemacop/NodeWithBlock.html" title="Schemacop::NodeWithBlock (class)">NodeWithBlock</a></span>
|
242
|
+
|
243
|
+
<small>(Schemacop)</small>
|
244
|
+
|
245
|
+
</li>
|
246
|
+
|
247
|
+
<li>
|
248
|
+
<span class='object_link'><a href="Schemacop/NumberValidator.html" title="Schemacop::NumberValidator (class)">NumberValidator</a></span>
|
149
249
|
|
150
250
|
<small>(Schemacop)</small>
|
151
251
|
|
@@ -155,12 +255,14 @@
|
|
155
255
|
</ul>
|
156
256
|
|
157
257
|
|
158
|
-
<ul id="
|
159
|
-
<li class="letter">
|
258
|
+
<ul id="alpha_O" class="alpha">
|
259
|
+
<li class="letter">O</li>
|
160
260
|
<ul>
|
161
261
|
|
162
262
|
<li>
|
163
|
-
<span class='object_link'><a href="Schemacop.html" title="Schemacop (
|
263
|
+
<span class='object_link'><a href="Schemacop/ObjectValidator.html" title="Schemacop::ObjectValidator (class)">ObjectValidator</a></span>
|
264
|
+
|
265
|
+
<small>(Schemacop)</small>
|
164
266
|
|
165
267
|
</li>
|
166
268
|
|
@@ -168,19 +270,44 @@
|
|
168
270
|
</ul>
|
169
271
|
|
170
272
|
|
171
|
-
<ul id="
|
172
|
-
<li class="letter">
|
273
|
+
<ul id="alpha_R" class="alpha">
|
274
|
+
<li class="letter">R</li>
|
173
275
|
<ul>
|
174
276
|
|
175
277
|
<li>
|
176
|
-
<span class='object_link'><a href="Schemacop/
|
278
|
+
<span class='object_link'><a href="Schemacop/RootNode.html" title="Schemacop::RootNode (class)">RootNode</a></span>
|
177
279
|
|
178
|
-
<small>(Schemacop
|
280
|
+
<small>(Schemacop)</small>
|
281
|
+
|
282
|
+
</li>
|
283
|
+
|
284
|
+
</ul>
|
285
|
+
</ul>
|
286
|
+
|
287
|
+
|
288
|
+
<ul id="alpha_S" class="alpha">
|
289
|
+
<li class="letter">S</li>
|
290
|
+
<ul>
|
291
|
+
|
292
|
+
<li>
|
293
|
+
<span class='object_link'><a href="Schemacop/Schema.html" title="Schemacop::Schema (class)">Schema</a></span>
|
294
|
+
|
295
|
+
<small>(Schemacop)</small>
|
296
|
+
|
297
|
+
</li>
|
298
|
+
|
299
|
+
<li>
|
300
|
+
<span class='object_link'><a href="Schemacop.html" title="Schemacop (module)">Schemacop</a></span>
|
301
|
+
|
302
|
+
</li>
|
303
|
+
|
304
|
+
<li>
|
305
|
+
<span class='object_link'><a href="ScopedEnv.html" title="ScopedEnv (class)">ScopedEnv</a></span>
|
179
306
|
|
180
307
|
</li>
|
181
308
|
|
182
309
|
<li>
|
183
|
-
<span class='object_link'><a href="Schemacop/
|
310
|
+
<span class='object_link'><a href="Schemacop/StringValidator.html" title="Schemacop::StringValidator (class)">StringValidator</a></span>
|
184
311
|
|
185
312
|
<small>(Schemacop)</small>
|
186
313
|
|
@@ -189,6 +316,21 @@
|
|
189
316
|
</ul>
|
190
317
|
</ul>
|
191
318
|
|
319
|
+
|
320
|
+
<ul id="alpha_V" class="alpha">
|
321
|
+
<li class="letter">V</li>
|
322
|
+
<ul>
|
323
|
+
|
324
|
+
<li>
|
325
|
+
<span class='object_link'><a href="Schemacop/Exceptions/ValidationError.html" title="Schemacop::Exceptions::ValidationError (class)">ValidationError</a></span>
|
326
|
+
|
327
|
+
<small>(Schemacop::Exceptions)</small>
|
328
|
+
|
329
|
+
</li>
|
330
|
+
|
331
|
+
</ul>
|
332
|
+
</ul>
|
333
|
+
|
192
334
|
</td>
|
193
335
|
</tr>
|
194
336
|
</table>
|
@@ -197,11 +339,12 @@
|
|
197
339
|
|
198
340
|
</div>
|
199
341
|
|
200
|
-
|
201
|
-
Generated on
|
342
|
+
<div id="footer">
|
343
|
+
Generated on Mon May 15 17:46:05 2017 by
|
202
344
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
203
|
-
0.
|
345
|
+
0.9.9 (ruby-2.3.1).
|
204
346
|
</div>
|
205
347
|
|
348
|
+
</div>
|
206
349
|
</body>
|
207
350
|
</html>
|
data/doc/class_list.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
1
|
+
<!DOCTYPE html>
|
3
2
|
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5
|
+
<meta charset="utf-8" />
|
6
6
|
|
7
7
|
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
|
8
8
|
|
@@ -19,38 +19,31 @@
|
|
19
19
|
<base id="base_target" target="_parent" />
|
20
20
|
</head>
|
21
21
|
<body>
|
22
|
-
<script type="text/javascript" charset="utf-8">
|
23
|
-
var hasFrames = false;
|
24
|
-
try {
|
25
|
-
hasFrames = window.top.frames.main ? true : false;
|
26
|
-
} catch (e) { }
|
27
|
-
if (hasFrames) {
|
28
|
-
document.getElementById('base_target').target = 'main';
|
29
|
-
document.body.className = 'frames';
|
30
|
-
}
|
31
|
-
</script>
|
32
22
|
<div id="content">
|
33
|
-
<
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
23
|
+
<div class="fixed_header">
|
24
|
+
<h1 id="full_list_header">Class List</h1>
|
25
|
+
<div id="full_list_nav">
|
26
|
+
|
27
|
+
<span><a target="_self" href="class_list.html">
|
28
|
+
Classes
|
29
|
+
</a></span>
|
30
|
+
|
31
|
+
<span><a target="_self" href="method_list.html">
|
32
|
+
Methods
|
33
|
+
</a></span>
|
34
|
+
|
35
|
+
<span><a target="_self" href="file_list.html">
|
36
|
+
Files
|
37
|
+
</a></span>
|
38
|
+
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div id="search">Search: <input type="text" /></div>
|
48
42
|
</div>
|
49
|
-
<div id="search">Search: <input type="text" /></div>
|
50
43
|
|
51
44
|
<ul id="full_list" class="class">
|
52
|
-
<li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
|
53
|
-
<li><a class='toggle'></a> <span class='object_link'><a href="Schemacop.html" title="Schemacop (module)">Schemacop</a></span><small class='search_info'>Top Level Namespace</small></
|
45
|
+
<li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
|
46
|
+
<li id='object_Schemacop' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Schemacop.html" title="Schemacop (module)">Schemacop</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Schemacop::ArrayValidator' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/ArrayValidator.html" title="Schemacop::ArrayValidator (class)">ArrayValidator</a></span> < NodeSupportingType<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::BooleanValidator' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/BooleanValidator.html" title="Schemacop::BooleanValidator (class)">BooleanValidator</a></span> < Node<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::Collector' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/Collector.html" title="Schemacop::Collector (class)">Collector</a></span> < Object<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::Exceptions' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Schemacop/Exceptions.html" title="Schemacop::Exceptions (module)">Exceptions</a></span><small class='search_info'>Schemacop</small></div><ul><li id='object_Schemacop::Exceptions::InvalidSchemaError' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Schemacop/Exceptions/InvalidSchemaError.html" title="Schemacop::Exceptions::InvalidSchemaError (class)">InvalidSchemaError</a></span> < RuntimeError<small class='search_info'>Schemacop::Exceptions</small></div></li><li id='object_Schemacop::Exceptions::ValidationError' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Schemacop/Exceptions/ValidationError.html" title="Schemacop::Exceptions::ValidationError (class)">ValidationError</a></span> < RuntimeError<small class='search_info'>Schemacop::Exceptions</small></div></li></ul></li><li id='object_Schemacop::FieldNode' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/FieldNode.html" title="Schemacop::FieldNode (class)">FieldNode</a></span> < NodeSupportingType<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::FloatValidator' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/FloatValidator.html" title="Schemacop::FloatValidator (class)">FloatValidator</a></span> < NumberValidator<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::HashValidator' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/HashValidator.html" title="Schemacop::HashValidator (class)">HashValidator</a></span> < NodeSupportingField<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::IntegerValidator' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/IntegerValidator.html" title="Schemacop::IntegerValidator (class)">IntegerValidator</a></span> < NumberValidator<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NilValidator' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NilValidator.html" title="Schemacop::NilValidator (class)">NilValidator</a></span> < Node<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::Node' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/Node.html" title="Schemacop::Node (class)">Node</a></span> < Object<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NodeResolver' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NodeResolver.html" title="Schemacop::NodeResolver (class)">NodeResolver</a></span> < Object<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NodeSupportingField' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NodeSupportingField.html" title="Schemacop::NodeSupportingField (class)">NodeSupportingField</a></span> < NodeWithBlock<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NodeSupportingType' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NodeSupportingType.html" title="Schemacop::NodeSupportingType (class)">NodeSupportingType</a></span> < NodeWithBlock<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NodeWithBlock' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NodeWithBlock.html" title="Schemacop::NodeWithBlock (class)">NodeWithBlock</a></span> < Node<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NumberValidator' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NumberValidator.html" title="Schemacop::NumberValidator (class)">NumberValidator</a></span> < Node<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::ObjectValidator' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/ObjectValidator.html" title="Schemacop::ObjectValidator (class)">ObjectValidator</a></span> < Node<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::RootNode' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/RootNode.html" title="Schemacop::RootNode (class)">RootNode</a></span> < NodeSupportingType<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::Schema' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/Schema.html" title="Schemacop::Schema (class)">Schema</a></span> < Object<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::StringValidator' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/StringValidator.html" title="Schemacop::StringValidator (class)">StringValidator</a></span> < Node<small class='search_info'>Schemacop</small></div></li></ul></li><li id='object_ScopedEnv' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="ScopedEnv.html" title="ScopedEnv (class)">ScopedEnv</a></span> < Object<small class='search_info'>Top Level Namespace</small></div></li>
|
54
47
|
|
55
48
|
</ul>
|
56
49
|
</div>
|
data/doc/css/full_list.css
CHANGED
@@ -4,54 +4,55 @@ body {
|
|
4
4
|
font-size: 13px;
|
5
5
|
height: 101%;
|
6
6
|
overflow-x: hidden;
|
7
|
+
background: #fafafa;
|
7
8
|
}
|
8
9
|
|
9
10
|
h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
|
10
11
|
.clear { clear: both; }
|
12
|
+
.fixed_header { position: fixed; background: #fff; width: 100%; padding-bottom: 10px; margin-top: 0; top: 0; z-index: 9999; height: 70px; }
|
11
13
|
#search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
|
12
14
|
#content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUVAoKCggICLCwsOTk5ExMTPb29ra2tmZmZmhoaNzc3KCgoBISEiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCAAAACwAAAAAEAAQAAAHaIAAgoMgIiYlg4kACxIaACEJCSiKggYMCRselwkpghGJBJEcFgsjJyoAGBmfggcNEx0flBiKDhQFlIoCCA+5lAORFb4AJIihCRbDxQAFChAXw9HSqb60iREZ1omqrIPdJCTe0SWI09GBACH5BAkIAAAALAAAAAAQABAAAAdrgACCgwc0NTeDiYozCQkvOTo9GTmDKy8aFy+NOBA7CTswgywJDTIuEjYFIY0JNYMtKTEFiRU8Pjwygy4ws4owPyCKwsMAJSTEgiQlgsbIAMrO0dKDGMTViREZ14kYGRGK38nHguHEJcvTyIEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDAggPg4iJAAMJCRUAJRIqiRGCBI0WQEEJJkWDERkYAAUKEBc4Po1GiKKJHkJDNEeKig4URLS0ICImJZAkuQAhjSi/wQyNKcGDCyMnk8u5rYrTgqDVghgZlYjcACTA1sslvtHRgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCQARAtOUoQRGRiFD0kJUYWZhUhKT1OLhR8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; }
|
13
|
-
#full_list { padding: 0; list-style: none; margin-left: 0; }
|
15
|
+
#full_list { padding: 0; list-style: none; margin-left: 0; margin-top: 80px; font-size: 1.1em; }
|
14
16
|
#full_list ul { padding: 0; }
|
15
|
-
#full_list li { padding:
|
16
|
-
#
|
17
|
+
#full_list li { padding: 0; margin: 0; list-style: none; }
|
18
|
+
#full_list li .item { padding: 5px 5px 5px 12px; }
|
19
|
+
#noresults { padding: 7px 12px; background: #fff; }
|
17
20
|
#content.insearch #noresults { margin-left: 7px; }
|
18
|
-
|
19
|
-
ul.collapsed.search_uncollapsed { display: block; }
|
20
|
-
ul.collapsed.search_uncollapsed li { display: list-item; }
|
21
|
+
li.collapsed ul { display: none; }
|
21
22
|
li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
|
22
23
|
li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
|
23
24
|
li { color: #888; cursor: pointer; }
|
24
25
|
li.deprecated { text-decoration: line-through; font-style: italic; }
|
25
|
-
li.
|
26
|
-
li.
|
27
|
-
|
26
|
+
li.odd { background: #f0f0f0; }
|
27
|
+
li.even { background: #fafafa; }
|
28
|
+
.item:hover { background: #ddd; }
|
28
29
|
li small:before { content: "("; }
|
29
30
|
li small:after { content: ")"; }
|
30
31
|
li small.search_info { display: none; }
|
31
|
-
a
|
32
|
-
li.clicked { background: #05a; color: #ccc; }
|
33
|
-
li.clicked a
|
34
|
-
li.clicked a.toggle { opacity: 0.5; background-position: bottom right; }
|
32
|
+
a, a:visited { text-decoration: none; color: #05a; }
|
33
|
+
li.clicked > .item { background: #05a; color: #ccc; }
|
34
|
+
li.clicked > .item a, li.clicked > .item a:visited { color: #eee; }
|
35
|
+
li.clicked > .item a.toggle { opacity: 0.5; background-position: bottom right; }
|
35
36
|
li.collapsed.clicked a.toggle { background-position: top right; }
|
36
|
-
#search input { border: 1px solid #bbb;
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
|
41
|
-
|
37
|
+
#search input { border: 1px solid #bbb; border-radius: 3px; }
|
38
|
+
#full_list_nav { margin-left: 10px; font-size: 0.9em; display: block; color: #aaa; }
|
39
|
+
#full_list_nav a, #nav a:visited { color: #358; }
|
40
|
+
#full_list_nav a:hover { background: transparent; color: #5af; }
|
41
|
+
#full_list_nav span:after { content: ' | '; }
|
42
|
+
#full_list_nav span:last-child:after { content: ''; }
|
42
43
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
.frames #nav { display: block; }
|
44
|
+
#content h1 { margin-top: 0; }
|
45
|
+
li { white-space: nowrap; cursor: normal; }
|
46
|
+
li small { display: block; font-size: 0.8em; }
|
47
|
+
li small:before { content: ""; }
|
48
|
+
li small:after { content: ""; }
|
49
|
+
li small.search_info { display: none; }
|
50
|
+
#search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
|
51
|
+
#content.insearch #search { background-position: center right; }
|
52
|
+
#search input { width: 110px; }
|
53
53
|
|
54
|
-
#full_list.insearch
|
55
|
-
#full_list.insearch
|
54
|
+
#full_list.insearch ul { display: block; }
|
55
|
+
#full_list.insearch .item { display: none; }
|
56
|
+
#full_list.insearch .found { display: block; padding-left: 11px !important; }
|
56
57
|
#full_list.insearch li a.toggle { display: none; }
|
57
58
|
#full_list.insearch li small.search_info { display: block; }
|