schemacop 2.4.5 → 3.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/.rubocop.yml +25 -1
- data/.travis.yml +3 -1
- data/CHANGELOG.md +32 -1
- data/README.md +53 -710
- data/README_V2.md +775 -0
- data/README_V3.md +1195 -0
- data/Rakefile +8 -12
- data/VERSION +1 -1
- data/lib/schemacop.rb +35 -36
- data/lib/schemacop/base_schema.rb +37 -0
- data/lib/schemacop/railtie.rb +10 -0
- data/lib/schemacop/schema.rb +1 -60
- data/lib/schemacop/schema2.rb +22 -0
- data/lib/schemacop/schema3.rb +21 -0
- data/lib/schemacop/scoped_env.rb +25 -13
- data/lib/schemacop/v2.rb +26 -0
- data/lib/schemacop/{caster.rb → v2/caster.rb} +16 -2
- data/lib/schemacop/{collector.rb → v2/collector.rb} +5 -2
- data/lib/schemacop/{dupper.rb → v2/dupper.rb} +1 -1
- data/lib/schemacop/{field_node.rb → v2/field_node.rb} +4 -3
- data/lib/schemacop/v2/node.rb +142 -0
- data/lib/schemacop/{node_resolver.rb → v2/node_resolver.rb} +1 -1
- data/lib/schemacop/v2/node_supporting_field.rb +70 -0
- data/lib/schemacop/{node_supporting_type.rb → v2/node_supporting_type.rb} +14 -11
- data/lib/schemacop/{node_with_block.rb → v2/node_with_block.rb} +3 -2
- data/lib/schemacop/v2/root_node.rb +6 -0
- data/lib/schemacop/v2/validator/array_validator.rb +32 -0
- data/lib/schemacop/{validator → v2/validator}/boolean_validator.rb +1 -1
- data/lib/schemacop/v2/validator/float_validator.rb +7 -0
- data/lib/schemacop/v2/validator/hash_validator.rb +37 -0
- data/lib/schemacop/v2/validator/integer_validator.rb +7 -0
- data/lib/schemacop/{validator → v2/validator}/nil_validator.rb +1 -1
- data/lib/schemacop/v2/validator/number_validator.rb +21 -0
- data/lib/schemacop/v2/validator/object_validator.rb +29 -0
- data/lib/schemacop/v2/validator/string_validator.rb +39 -0
- data/lib/schemacop/{validator → v2/validator}/symbol_validator.rb +1 -1
- data/lib/schemacop/v3.rb +45 -0
- data/lib/schemacop/v3/all_of_node.rb +27 -0
- data/lib/schemacop/v3/any_of_node.rb +28 -0
- data/lib/schemacop/v3/array_node.rb +218 -0
- data/lib/schemacop/v3/boolean_node.rb +16 -0
- data/lib/schemacop/v3/combination_node.rb +45 -0
- data/lib/schemacop/v3/context.rb +17 -0
- data/lib/schemacop/v3/dsl_scope.rb +46 -0
- data/lib/schemacop/v3/global_context.rb +114 -0
- data/lib/schemacop/v3/hash_node.rb +256 -0
- data/lib/schemacop/v3/integer_node.rb +13 -0
- data/lib/schemacop/v3/is_not_node.rb +32 -0
- data/lib/schemacop/v3/node.rb +215 -0
- data/lib/schemacop/v3/node_registry.rb +49 -0
- data/lib/schemacop/v3/number_node.rb +18 -0
- data/lib/schemacop/v3/numeric_node.rb +76 -0
- data/lib/schemacop/v3/object_node.rb +40 -0
- data/lib/schemacop/v3/one_of_node.rb +28 -0
- data/lib/schemacop/v3/reference_node.rb +49 -0
- data/lib/schemacop/v3/result.rb +58 -0
- data/lib/schemacop/v3/string_node.rb +124 -0
- data/lib/schemacop/v3/symbol_node.rb +13 -0
- data/schemacop.gemspec +24 -27
- data/test/lib/test_helper.rb +152 -0
- data/test/schemas/nested/group.rb +6 -0
- data/test/schemas/user.rb +7 -0
- data/test/unit/schemacop/v2/casting_test.rb +120 -0
- data/test/unit/schemacop/v2/collector_test.rb +47 -0
- data/test/unit/schemacop/v2/custom_check_test.rb +95 -0
- data/test/unit/schemacop/v2/custom_if_test.rb +97 -0
- data/test/unit/schemacop/v2/defaults_test.rb +95 -0
- data/test/unit/schemacop/v2/empty_test.rb +16 -0
- data/test/unit/schemacop/v2/nil_dis_allow_test.rb +43 -0
- data/test/unit/schemacop/v2/node_resolver_test.rb +28 -0
- data/test/unit/schemacop/v2/short_forms_test.rb +351 -0
- data/test/unit/schemacop/v2/types_test.rb +88 -0
- data/test/unit/schemacop/v2/validator_array_test.rb +99 -0
- data/test/unit/schemacop/v2/validator_boolean_test.rb +17 -0
- data/test/unit/schemacop/v2/validator_float_test.rb +59 -0
- data/test/unit/schemacop/v2/validator_hash_test.rb +95 -0
- data/test/unit/schemacop/v2/validator_integer_test.rb +48 -0
- data/test/unit/schemacop/v2/validator_nil_test.rb +15 -0
- data/test/unit/schemacop/v2/validator_number_test.rb +62 -0
- data/test/unit/schemacop/v2/validator_object_test.rb +141 -0
- data/test/unit/schemacop/v2/validator_string_test.rb +78 -0
- data/test/unit/schemacop/v2/validator_symbol_test.rb +18 -0
- data/test/unit/schemacop/v3/all_of_node_test.rb +198 -0
- data/test/unit/schemacop/v3/any_of_node_test.rb +218 -0
- data/test/unit/schemacop/v3/array_node_test.rb +815 -0
- data/test/unit/schemacop/v3/boolean_node_test.rb +126 -0
- data/test/unit/schemacop/v3/global_context_test.rb +164 -0
- data/test/unit/schemacop/v3/hash_node_test.rb +884 -0
- data/test/unit/schemacop/v3/integer_node_test.rb +323 -0
- data/test/unit/schemacop/v3/is_not_node_test.rb +173 -0
- data/test/unit/schemacop/v3/node_test.rb +148 -0
- data/test/unit/schemacop/v3/number_node_test.rb +292 -0
- data/test/unit/schemacop/v3/object_node_test.rb +170 -0
- data/test/unit/schemacop/v3/one_of_node_test.rb +187 -0
- data/test/unit/schemacop/v3/reference_node_test.rb +351 -0
- data/test/unit/schemacop/v3/string_node_test.rb +334 -0
- data/test/unit/schemacop/v3/symbol_node_test.rb +75 -0
- metadata +152 -145
- data/doc/Schemacop.html +0 -146
- data/doc/Schemacop/ArrayValidator.html +0 -329
- data/doc/Schemacop/BooleanValidator.html +0 -145
- data/doc/Schemacop/Caster.html +0 -379
- data/doc/Schemacop/Collector.html +0 -787
- data/doc/Schemacop/Dupper.html +0 -214
- data/doc/Schemacop/Exceptions.html +0 -115
- data/doc/Schemacop/Exceptions/InvalidSchemaError.html +0 -124
- data/doc/Schemacop/Exceptions/ValidationError.html +0 -124
- data/doc/Schemacop/FieldNode.html +0 -421
- data/doc/Schemacop/FloatValidator.html +0 -158
- data/doc/Schemacop/HashValidator.html +0 -293
- data/doc/Schemacop/IntegerValidator.html +0 -158
- data/doc/Schemacop/NilValidator.html +0 -145
- data/doc/Schemacop/Node.html +0 -1438
- data/doc/Schemacop/NodeResolver.html +0 -258
- data/doc/Schemacop/NodeSupportingField.html +0 -590
- data/doc/Schemacop/NodeSupportingType.html +0 -612
- data/doc/Schemacop/NodeWithBlock.html +0 -289
- data/doc/Schemacop/NumberValidator.html +0 -232
- data/doc/Schemacop/ObjectValidator.html +0 -298
- data/doc/Schemacop/RootNode.html +0 -171
- data/doc/Schemacop/Schema.html +0 -699
- data/doc/Schemacop/StringValidator.html +0 -295
- data/doc/Schemacop/SymbolValidator.html +0 -145
- data/doc/ScopedEnv.html +0 -351
- data/doc/_index.html +0 -379
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -496
- data/doc/file.README.html +0 -833
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -833
- data/doc/inheritance.graphml +0 -524
- data/doc/inheritance.pdf +0 -825
- data/doc/js/app.js +0 -303
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -587
- data/doc/top-level-namespace.html +0 -112
- data/lib/schemacop/node.rb +0 -139
- data/lib/schemacop/node_supporting_field.rb +0 -58
- data/lib/schemacop/root_node.rb +0 -4
- data/lib/schemacop/validator/array_validator.rb +0 -30
- data/lib/schemacop/validator/float_validator.rb +0 -5
- data/lib/schemacop/validator/hash_validator.rb +0 -35
- data/lib/schemacop/validator/integer_validator.rb +0 -5
- data/lib/schemacop/validator/number_validator.rb +0 -19
- data/lib/schemacop/validator/object_validator.rb +0 -27
- data/lib/schemacop/validator/string_validator.rb +0 -37
- data/test/casting_test.rb +0 -90
- data/test/collector_test.rb +0 -45
- data/test/custom_check_test.rb +0 -93
- data/test/custom_if_test.rb +0 -95
- data/test/defaults_test.rb +0 -93
- data/test/empty_test.rb +0 -14
- data/test/nil_dis_allow_test.rb +0 -41
- data/test/node_resolver_test.rb +0 -26
- data/test/short_forms_test.rb +0 -349
- data/test/test_helper.rb +0 -13
- data/test/types_test.rb +0 -84
- data/test/validator_array_test.rb +0 -97
- data/test/validator_boolean_test.rb +0 -15
- data/test/validator_float_test.rb +0 -57
- data/test/validator_hash_test.rb +0 -93
- data/test/validator_integer_test.rb +0 -46
- data/test/validator_nil_test.rb +0 -13
- data/test/validator_number_test.rb +0 -60
- data/test/validator_object_test.rb +0 -139
- data/test/validator_string_test.rb +0 -76
- data/test/validator_symbol_test.rb +0 -16
data/doc/_index.html
DELETED
@@ -1,379 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Documentation by YARD 0.9.20
|
8
|
-
|
9
|
-
</title>
|
10
|
-
|
11
|
-
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8">
|
16
|
-
pathId = null;
|
17
|
-
relpath = '';
|
18
|
-
</script>
|
19
|
-
|
20
|
-
|
21
|
-
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
24
|
-
|
25
|
-
|
26
|
-
</head>
|
27
|
-
<body>
|
28
|
-
<div class="nav_wrap">
|
29
|
-
<iframe id="nav" src="class_list.html?1"></iframe>
|
30
|
-
<div id="resizer"></div>
|
31
|
-
</div>
|
32
|
-
|
33
|
-
<div id="main" tabindex="-1">
|
34
|
-
<div id="header">
|
35
|
-
<div id="menu">
|
36
|
-
|
37
|
-
</div>
|
38
|
-
|
39
|
-
<div id="search">
|
40
|
-
|
41
|
-
<a class="full_list_link" id="class_list_link"
|
42
|
-
href="class_list.html">
|
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>
|
49
|
-
</a>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
<div class="clear"></div>
|
53
|
-
</div>
|
54
|
-
|
55
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.20</h1>
|
56
|
-
<div id="listing">
|
57
|
-
<h1 class="alphaindex">Alphabetic Index</h1>
|
58
|
-
|
59
|
-
<h2>File Listing</h2>
|
60
|
-
<ul id="files" class="index_inline_list">
|
61
|
-
|
62
|
-
|
63
|
-
<li class="r1"><a href="index.html" title="README">README</a></li>
|
64
|
-
|
65
|
-
|
66
|
-
</ul>
|
67
|
-
|
68
|
-
<div class="clear"></div>
|
69
|
-
<h2>Namespace Listing A-Z</h2>
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
<table>
|
75
|
-
<tr>
|
76
|
-
<td valign='top' width="33%">
|
77
|
-
|
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
|
-
|
94
|
-
<ul id="alpha_B" class="alpha">
|
95
|
-
<li class="letter">B</li>
|
96
|
-
<ul>
|
97
|
-
|
98
|
-
<li>
|
99
|
-
<span class='object_link'><a href="Schemacop/BooleanValidator.html" title="Schemacop::BooleanValidator (class)">BooleanValidator</a></span>
|
100
|
-
|
101
|
-
<small>(Schemacop)</small>
|
102
|
-
|
103
|
-
</li>
|
104
|
-
|
105
|
-
</ul>
|
106
|
-
</ul>
|
107
|
-
|
108
|
-
|
109
|
-
<ul id="alpha_C" class="alpha">
|
110
|
-
<li class="letter">C</li>
|
111
|
-
<ul>
|
112
|
-
|
113
|
-
<li>
|
114
|
-
<span class='object_link'><a href="Schemacop/Caster.html" title="Schemacop::Caster (class)">Caster</a></span>
|
115
|
-
|
116
|
-
<small>(Schemacop)</small>
|
117
|
-
|
118
|
-
</li>
|
119
|
-
|
120
|
-
<li>
|
121
|
-
<span class='object_link'><a href="Schemacop/Collector.html" title="Schemacop::Collector (class)">Collector</a></span>
|
122
|
-
|
123
|
-
<small>(Schemacop)</small>
|
124
|
-
|
125
|
-
</li>
|
126
|
-
|
127
|
-
</ul>
|
128
|
-
</ul>
|
129
|
-
|
130
|
-
|
131
|
-
<ul id="alpha_D" class="alpha">
|
132
|
-
<li class="letter">D</li>
|
133
|
-
<ul>
|
134
|
-
|
135
|
-
<li>
|
136
|
-
<span class='object_link'><a href="Schemacop/Dupper.html" title="Schemacop::Dupper (class)">Dupper</a></span>
|
137
|
-
|
138
|
-
<small>(Schemacop)</small>
|
139
|
-
|
140
|
-
</li>
|
141
|
-
|
142
|
-
</ul>
|
143
|
-
</ul>
|
144
|
-
|
145
|
-
|
146
|
-
<ul id="alpha_E" class="alpha">
|
147
|
-
<li class="letter">E</li>
|
148
|
-
<ul>
|
149
|
-
|
150
|
-
<li>
|
151
|
-
<span class='object_link'><a href="Schemacop/Exceptions.html" title="Schemacop::Exceptions (module)">Exceptions</a></span>
|
152
|
-
|
153
|
-
<small>(Schemacop)</small>
|
154
|
-
|
155
|
-
</li>
|
156
|
-
|
157
|
-
</ul>
|
158
|
-
</ul>
|
159
|
-
|
160
|
-
|
161
|
-
<ul id="alpha_F" class="alpha">
|
162
|
-
<li class="letter">F</li>
|
163
|
-
<ul>
|
164
|
-
|
165
|
-
<li>
|
166
|
-
<span class='object_link'><a href="Schemacop/FieldNode.html" title="Schemacop::FieldNode (class)">FieldNode</a></span>
|
167
|
-
|
168
|
-
<small>(Schemacop)</small>
|
169
|
-
|
170
|
-
</li>
|
171
|
-
|
172
|
-
<li>
|
173
|
-
<span class='object_link'><a href="Schemacop/FloatValidator.html" title="Schemacop::FloatValidator (class)">FloatValidator</a></span>
|
174
|
-
|
175
|
-
<small>(Schemacop)</small>
|
176
|
-
|
177
|
-
</li>
|
178
|
-
|
179
|
-
</ul>
|
180
|
-
</ul>
|
181
|
-
|
182
|
-
|
183
|
-
<ul id="alpha_H" class="alpha">
|
184
|
-
<li class="letter">H</li>
|
185
|
-
<ul>
|
186
|
-
|
187
|
-
<li>
|
188
|
-
<span class='object_link'><a href="Schemacop/HashValidator.html" title="Schemacop::HashValidator (class)">HashValidator</a></span>
|
189
|
-
|
190
|
-
<small>(Schemacop)</small>
|
191
|
-
|
192
|
-
</li>
|
193
|
-
|
194
|
-
</ul>
|
195
|
-
</ul>
|
196
|
-
|
197
|
-
|
198
|
-
</td><td valign='top' width="33%">
|
199
|
-
|
200
|
-
|
201
|
-
<ul id="alpha_I" class="alpha">
|
202
|
-
<li class="letter">I</li>
|
203
|
-
<ul>
|
204
|
-
|
205
|
-
<li>
|
206
|
-
<span class='object_link'><a href="Schemacop/IntegerValidator.html" title="Schemacop::IntegerValidator (class)">IntegerValidator</a></span>
|
207
|
-
|
208
|
-
<small>(Schemacop)</small>
|
209
|
-
|
210
|
-
</li>
|
211
|
-
|
212
|
-
<li>
|
213
|
-
<span class='object_link'><a href="Schemacop/Exceptions/InvalidSchemaError.html" title="Schemacop::Exceptions::InvalidSchemaError (class)">InvalidSchemaError</a></span>
|
214
|
-
|
215
|
-
<small>(Schemacop::Exceptions)</small>
|
216
|
-
|
217
|
-
</li>
|
218
|
-
|
219
|
-
</ul>
|
220
|
-
</ul>
|
221
|
-
|
222
|
-
|
223
|
-
<ul id="alpha_N" class="alpha">
|
224
|
-
<li class="letter">N</li>
|
225
|
-
<ul>
|
226
|
-
|
227
|
-
<li>
|
228
|
-
<span class='object_link'><a href="Schemacop/NilValidator.html" title="Schemacop::NilValidator (class)">NilValidator</a></span>
|
229
|
-
|
230
|
-
<small>(Schemacop)</small>
|
231
|
-
|
232
|
-
</li>
|
233
|
-
|
234
|
-
<li>
|
235
|
-
<span class='object_link'><a href="Schemacop/Node.html" title="Schemacop::Node (class)">Node</a></span>
|
236
|
-
|
237
|
-
<small>(Schemacop)</small>
|
238
|
-
|
239
|
-
</li>
|
240
|
-
|
241
|
-
<li>
|
242
|
-
<span class='object_link'><a href="Schemacop/NodeResolver.html" title="Schemacop::NodeResolver (class)">NodeResolver</a></span>
|
243
|
-
|
244
|
-
<small>(Schemacop)</small>
|
245
|
-
|
246
|
-
</li>
|
247
|
-
|
248
|
-
<li>
|
249
|
-
<span class='object_link'><a href="Schemacop/NodeSupportingField.html" title="Schemacop::NodeSupportingField (class)">NodeSupportingField</a></span>
|
250
|
-
|
251
|
-
<small>(Schemacop)</small>
|
252
|
-
|
253
|
-
</li>
|
254
|
-
|
255
|
-
<li>
|
256
|
-
<span class='object_link'><a href="Schemacop/NodeSupportingType.html" title="Schemacop::NodeSupportingType (class)">NodeSupportingType</a></span>
|
257
|
-
|
258
|
-
<small>(Schemacop)</small>
|
259
|
-
|
260
|
-
</li>
|
261
|
-
|
262
|
-
<li>
|
263
|
-
<span class='object_link'><a href="Schemacop/NodeWithBlock.html" title="Schemacop::NodeWithBlock (class)">NodeWithBlock</a></span>
|
264
|
-
|
265
|
-
<small>(Schemacop)</small>
|
266
|
-
|
267
|
-
</li>
|
268
|
-
|
269
|
-
<li>
|
270
|
-
<span class='object_link'><a href="Schemacop/NumberValidator.html" title="Schemacop::NumberValidator (class)">NumberValidator</a></span>
|
271
|
-
|
272
|
-
<small>(Schemacop)</small>
|
273
|
-
|
274
|
-
</li>
|
275
|
-
|
276
|
-
</ul>
|
277
|
-
</ul>
|
278
|
-
|
279
|
-
|
280
|
-
<ul id="alpha_O" class="alpha">
|
281
|
-
<li class="letter">O</li>
|
282
|
-
<ul>
|
283
|
-
|
284
|
-
<li>
|
285
|
-
<span class='object_link'><a href="Schemacop/ObjectValidator.html" title="Schemacop::ObjectValidator (class)">ObjectValidator</a></span>
|
286
|
-
|
287
|
-
<small>(Schemacop)</small>
|
288
|
-
|
289
|
-
</li>
|
290
|
-
|
291
|
-
</ul>
|
292
|
-
</ul>
|
293
|
-
|
294
|
-
|
295
|
-
<ul id="alpha_R" class="alpha">
|
296
|
-
<li class="letter">R</li>
|
297
|
-
<ul>
|
298
|
-
|
299
|
-
<li>
|
300
|
-
<span class='object_link'><a href="Schemacop/RootNode.html" title="Schemacop::RootNode (class)">RootNode</a></span>
|
301
|
-
|
302
|
-
<small>(Schemacop)</small>
|
303
|
-
|
304
|
-
</li>
|
305
|
-
|
306
|
-
</ul>
|
307
|
-
</ul>
|
308
|
-
|
309
|
-
|
310
|
-
<ul id="alpha_S" class="alpha">
|
311
|
-
<li class="letter">S</li>
|
312
|
-
<ul>
|
313
|
-
|
314
|
-
<li>
|
315
|
-
<span class='object_link'><a href="Schemacop/Schema.html" title="Schemacop::Schema (class)">Schema</a></span>
|
316
|
-
|
317
|
-
<small>(Schemacop)</small>
|
318
|
-
|
319
|
-
</li>
|
320
|
-
|
321
|
-
<li>
|
322
|
-
<span class='object_link'><a href="Schemacop.html" title="Schemacop (module)">Schemacop</a></span>
|
323
|
-
|
324
|
-
</li>
|
325
|
-
|
326
|
-
<li>
|
327
|
-
<span class='object_link'><a href="ScopedEnv.html" title="ScopedEnv (class)">ScopedEnv</a></span>
|
328
|
-
|
329
|
-
</li>
|
330
|
-
|
331
|
-
<li>
|
332
|
-
<span class='object_link'><a href="Schemacop/StringValidator.html" title="Schemacop::StringValidator (class)">StringValidator</a></span>
|
333
|
-
|
334
|
-
<small>(Schemacop)</small>
|
335
|
-
|
336
|
-
</li>
|
337
|
-
|
338
|
-
<li>
|
339
|
-
<span class='object_link'><a href="Schemacop/SymbolValidator.html" title="Schemacop::SymbolValidator (class)">SymbolValidator</a></span>
|
340
|
-
|
341
|
-
<small>(Schemacop)</small>
|
342
|
-
|
343
|
-
</li>
|
344
|
-
|
345
|
-
</ul>
|
346
|
-
</ul>
|
347
|
-
|
348
|
-
|
349
|
-
<ul id="alpha_V" class="alpha">
|
350
|
-
<li class="letter">V</li>
|
351
|
-
<ul>
|
352
|
-
|
353
|
-
<li>
|
354
|
-
<span class='object_link'><a href="Schemacop/Exceptions/ValidationError.html" title="Schemacop::Exceptions::ValidationError (class)">ValidationError</a></span>
|
355
|
-
|
356
|
-
<small>(Schemacop::Exceptions)</small>
|
357
|
-
|
358
|
-
</li>
|
359
|
-
|
360
|
-
</ul>
|
361
|
-
</ul>
|
362
|
-
|
363
|
-
</td>
|
364
|
-
</tr>
|
365
|
-
</table>
|
366
|
-
|
367
|
-
</div>
|
368
|
-
|
369
|
-
</div>
|
370
|
-
|
371
|
-
<div id="footer">
|
372
|
-
Generated on Wed May 13 10:52:04 2020 by
|
373
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
374
|
-
0.9.20 (ruby-2.6.2).
|
375
|
-
</div>
|
376
|
-
|
377
|
-
</div>
|
378
|
-
</body>
|
379
|
-
</html>
|
data/doc/class_list.html
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5
|
-
<meta charset="utf-8" />
|
6
|
-
|
7
|
-
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
|
9
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
|
16
|
-
|
17
|
-
|
18
|
-
<title>Class List</title>
|
19
|
-
<base id="base_target" target="_parent" />
|
20
|
-
</head>
|
21
|
-
<body>
|
22
|
-
<div id="content">
|
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>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<ul id="full_list" class="class">
|
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::Caster' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/Caster.html" title="Schemacop::Caster (class)">Caster</a></span> < Object<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::Collector' class='collapsed even'><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::Dupper' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/Dupper.html" title="Schemacop::Dupper (class)">Dupper</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><li id='object_Schemacop::SymbolValidator' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/SymbolValidator.html" title="Schemacop::SymbolValidator (class)">SymbolValidator</a></span> < Node<small class='search_info'>Schemacop</small></div></li></ul></li><li id='object_ScopedEnv' class='odd'><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>
|
47
|
-
|
48
|
-
</ul>
|
49
|
-
</div>
|
50
|
-
</body>
|
51
|
-
</html>
|
data/doc/css/common.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
/* Override this file with custom rules */
|
data/doc/css/full_list.css
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
margin: 0;
|
3
|
-
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
4
|
-
font-size: 13px;
|
5
|
-
height: 101%;
|
6
|
-
overflow-x: hidden;
|
7
|
-
background: #fafafa;
|
8
|
-
}
|
9
|
-
|
10
|
-
h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
|
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; }
|
13
|
-
#search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
|
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; }
|
15
|
-
#full_list { padding: 0; list-style: none; margin-left: 0; margin-top: 80px; font-size: 1.1em; }
|
16
|
-
#full_list ul { padding: 0; }
|
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; }
|
20
|
-
#content.insearch #noresults { margin-left: 7px; }
|
21
|
-
li.collapsed ul { display: none; }
|
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; }
|
23
|
-
li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
|
24
|
-
li { color: #888; cursor: pointer; }
|
25
|
-
li.deprecated { text-decoration: line-through; font-style: italic; }
|
26
|
-
li.odd { background: #f0f0f0; }
|
27
|
-
li.even { background: #fafafa; }
|
28
|
-
.item:hover { background: #ddd; }
|
29
|
-
li small:before { content: "("; }
|
30
|
-
li small:after { content: ")"; }
|
31
|
-
li small.search_info { display: none; }
|
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; }
|
36
|
-
li.collapsed.clicked a.toggle { background-position: top right; }
|
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: ''; }
|
43
|
-
|
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
|
-
|
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; }
|
57
|
-
#full_list.insearch li a.toggle { display: none; }
|
58
|
-
#full_list.insearch li small.search_info { display: block; }
|