schemacop 2.4.2 → 2.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -0
  3. data/LICENSE +1 -1
  4. data/README.md +18 -2
  5. data/VERSION +1 -1
  6. data/doc/Schemacop.html +5 -5
  7. data/doc/Schemacop/ArrayValidator.html +1 -1
  8. data/doc/Schemacop/BooleanValidator.html +1 -1
  9. data/doc/Schemacop/Caster.html +1 -1
  10. data/doc/Schemacop/Collector.html +1 -1
  11. data/doc/Schemacop/Dupper.html +214 -0
  12. data/doc/Schemacop/Exceptions.html +1 -1
  13. data/doc/Schemacop/Exceptions/InvalidSchemaError.html +1 -1
  14. data/doc/Schemacop/Exceptions/ValidationError.html +1 -1
  15. data/doc/Schemacop/FieldNode.html +1 -1
  16. data/doc/Schemacop/FloatValidator.html +1 -1
  17. data/doc/Schemacop/HashValidator.html +10 -6
  18. data/doc/Schemacop/IntegerValidator.html +1 -1
  19. data/doc/Schemacop/NilValidator.html +1 -1
  20. data/doc/Schemacop/Node.html +1 -1
  21. data/doc/Schemacop/NodeResolver.html +1 -1
  22. data/doc/Schemacop/NodeSupportingField.html +1 -1
  23. data/doc/Schemacop/NodeSupportingType.html +1 -1
  24. data/doc/Schemacop/NodeWithBlock.html +1 -1
  25. data/doc/Schemacop/NumberValidator.html +1 -1
  26. data/doc/Schemacop/ObjectValidator.html +1 -1
  27. data/doc/Schemacop/RootNode.html +1 -1
  28. data/doc/Schemacop/Schema.html +8 -6
  29. data/doc/Schemacop/StringValidator.html +1 -1
  30. data/doc/Schemacop/SymbolValidator.html +1 -1
  31. data/doc/ScopedEnv.html +1 -1
  32. data/doc/_index.html +19 -4
  33. data/doc/class_list.html +1 -1
  34. data/doc/file.README.html +19 -4
  35. data/doc/index.html +19 -4
  36. data/doc/method_list.html +93 -85
  37. data/doc/top-level-namespace.html +1 -1
  38. data/lib/schemacop.rb +4 -3
  39. data/lib/schemacop/dupper.rb +19 -0
  40. data/lib/schemacop/field_node.rb +1 -0
  41. data/lib/schemacop/node_supporting_type.rb +6 -6
  42. data/lib/schemacop/schema.rb +2 -1
  43. data/lib/schemacop/validator/hash_validator.rb +5 -1
  44. data/schemacop.gemspec +5 -5
  45. data/test/casting_test.rb +28 -0
  46. data/test/defaults_test.rb +22 -0
  47. data/test/empty_test.rb +14 -0
  48. data/test/validator_hash_test.rb +22 -0
  49. metadata +7 -3
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Tue Nov 5 11:16:28 2019 by
151
+ Generated on Thu Jul 2 11:30:34 2020 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.9.20 (ruby-2.6.2).
154
154
  </div>
@@ -135,7 +135,7 @@
135
135
  </div>
136
136
 
137
137
  <div id="footer">
138
- Generated on Tue Nov 5 11:16:28 2019 by
138
+ Generated on Thu Jul 2 11:30:34 2020 by
139
139
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
140
140
  0.9.20 (ruby-2.6.2).
141
141
  </div>
@@ -1428,7 +1428,7 @@
1428
1428
  </div>
1429
1429
 
1430
1430
  <div id="footer">
1431
- Generated on Tue Nov 5 11:16:27 2019 by
1431
+ Generated on Thu Jul 2 11:30:34 2020 by
1432
1432
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1433
1433
  0.9.20 (ruby-2.6.2).
1434
1434
  </div>
@@ -248,7 +248,7 @@
248
248
  </div>
249
249
 
250
250
  <div id="footer">
251
- Generated on Tue Nov 5 11:16:28 2019 by
251
+ Generated on Thu Jul 2 11:30:34 2020 by
252
252
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
253
253
  0.9.20 (ruby-2.6.2).
254
254
  </div>
@@ -580,7 +580,7 @@
580
580
  </div>
581
581
 
582
582
  <div id="footer">
583
- Generated on Tue Nov 5 11:16:28 2019 by
583
+ Generated on Thu Jul 2 11:30:34 2020 by
584
584
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
585
585
  0.9.20 (ruby-2.6.2).
586
586
  </div>
@@ -602,7 +602,7 @@ as it formerly was the case in the constructor.

602
602
  </div>
603
603
 
604
604
  <div id="footer">
605
- Generated on Tue Nov 5 11:16:28 2019 by
605
+ Generated on Thu Jul 2 11:30:34 2020 by
606
606
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
607
607
  0.9.20 (ruby-2.6.2).
608
608
  </div>
@@ -279,7 +279,7 @@
279
279
  </div>
280
280
 
281
281
  <div id="footer">
282
- Generated on Tue Nov 5 11:16:28 2019 by
282
+ Generated on Thu Jul 2 11:30:34 2020 by
283
283
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
284
284
  0.9.20 (ruby-2.6.2).
285
285
  </div>
@@ -222,7 +222,7 @@
222
222
  </div>
223
223
 
224
224
  <div id="footer">
225
- Generated on Tue Nov 5 11:16:28 2019 by
225
+ Generated on Thu Jul 2 11:30:34 2020 by
226
226
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
227
227
  0.9.20 (ruby-2.6.2).
228
228
  </div>
@@ -288,7 +288,7 @@
288
288
  </div>
289
289
 
290
290
  <div id="footer">
291
- Generated on Tue Nov 5 11:16:28 2019 by
291
+ Generated on Thu Jul 2 11:30:34 2020 by
292
292
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
293
293
  0.9.20 (ruby-2.6.2).
294
294
  </div>
@@ -161,7 +161,7 @@
161
161
  </div>
162
162
 
163
163
  <div id="footer">
164
- Generated on Tue Nov 5 11:16:28 2019 by
164
+ Generated on Thu Jul 2 11:30:34 2020 by
165
165
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
166
166
  0.9.20 (ruby-2.6.2).
167
167
  </div>
@@ -561,13 +561,15 @@ throughout the validation.

561
561
  40
562
562
  41
563
563
  42
564
- 43</pre>
564
+ 43
565
+ 44</pre>
565
566
  </td>
566
567
  <td>
567
568
  <pre class="code"><span class="info file"># File 'lib/schemacop/schema.rb', line 39</span>
568
569
 
569
570
  <span class='kw'>def</span> <span class='id identifier rubyid_validate'>validate</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
570
- <span class='id identifier rubyid_collector'>collector</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Collector.html" title="Schemacop::Collector (class)">Collector</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Collector.html#initialize-instance_method" title="Schemacop::Collector#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_deep_dup'>deep_dup</span><span class='rparen'>)</span>
571
+ <span class='id identifier rubyid_dupped_data'>dupped_data</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Schemacop.html" title="Schemacop (module)">Schemacop</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Dupper.html" title="Schemacop::Dupper (class)">Dupper</a></span></span><span class='period'>.</span><span class='id identifier rubyid_dup_data'><span class='object_link'><a href="Dupper.html#dup_data-class_method" title="Schemacop::Dupper.dup_data (method)">dup_data</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
572
+ <span class='id identifier rubyid_collector'>collector</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Collector.html" title="Schemacop::Collector (class)">Collector</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Collector.html#initialize-instance_method" title="Schemacop::Collector#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_dupped_data'>dupped_data</span><span class='rparen'>)</span>
571
573
  <span class='ivar'>@root</span><span class='period'>.</span><span class='id identifier rubyid_fields'>fields</span><span class='lbracket'>[</span><span class='symbol'>:root</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_validate'>validate</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>root:</span> <span class='id identifier rubyid_data'>data</span> <span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_collector'>collector</span><span class='period'>.</span><span class='id identifier rubyid_ignore_next_segment'>ignore_next_segment</span><span class='rparen'>)</span>
572
574
  <span class='kw'>return</span> <span class='id identifier rubyid_collector'>collector</span>
573
575
  <span class='kw'>end</span></pre>
@@ -655,7 +657,6 @@ this exception is thrown.

655
657
  <pre class="lines">
656
658
 
657
659
 
658
- 51
659
660
  52
660
661
  53
661
662
  54
@@ -663,10 +664,11 @@ this exception is thrown.

663
664
  56
664
665
  57
665
666
  58
666
- 59</pre>
667
+ 59
668
+ 60</pre>
667
669
  </td>
668
670
  <td>
669
- <pre class="code"><span class="info file"># File 'lib/schemacop/schema.rb', line 51</span>
671
+ <pre class="code"><span class="info file"># File 'lib/schemacop/schema.rb', line 52</span>
670
672
 
671
673
  <span class='kw'>def</span> <span class='id identifier rubyid_validate!'>validate!</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
672
674
  <span class='id identifier rubyid_collector'>collector</span> <span class='op'>=</span> <span class='id identifier rubyid_validate'>validate</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
@@ -687,7 +689,7 @@ this exception is thrown.

687
689
  </div>
688
690
 
689
691
  <div id="footer">
690
- Generated on Tue Nov 5 11:16:28 2019 by
692
+ Generated on Thu Jul 2 11:30:34 2020 by
691
693
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
692
694
  0.9.20 (ruby-2.6.2).
693
695
  </div>
@@ -285,7 +285,7 @@
285
285
  </div>
286
286
 
287
287
  <div id="footer">
288
- Generated on Tue Nov 5 11:16:28 2019 by
288
+ Generated on Thu Jul 2 11:30:34 2020 by
289
289
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
290
290
  0.9.20 (ruby-2.6.2).
291
291
  </div>
@@ -135,7 +135,7 @@
135
135
  </div>
136
136
 
137
137
  <div id="footer">
138
- Generated on Tue Nov 5 11:16:28 2019 by
138
+ Generated on Thu Jul 2 11:30:34 2020 by
139
139
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
140
140
  0.9.20 (ruby-2.6.2).
141
141
  </div>
@@ -341,7 +341,7 @@
341
341
  </div>
342
342
 
343
343
  <div id="footer">
344
- Generated on Tue Nov 5 11:16:28 2019 by
344
+ Generated on Thu Jul 2 11:30:34 2020 by
345
345
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
346
346
  0.9.20 (ruby-2.6.2).
347
347
  </div>
@@ -128,6 +128,21 @@
128
128
  </ul>
129
129
 
130
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
+
131
146
  <ul id="alpha_E" class="alpha">
132
147
  <li class="letter">E</li>
133
148
  <ul>
@@ -180,6 +195,9 @@
180
195
  </ul>
181
196
 
182
197
 
198
+ </td><td valign='top' width="33%">
199
+
200
+
183
201
  <ul id="alpha_I" class="alpha">
184
202
  <li class="letter">I</li>
185
203
  <ul>
@@ -202,9 +220,6 @@
202
220
  </ul>
203
221
 
204
222
 
205
- </td><td valign='top' width="33%">
206
-
207
-
208
223
  <ul id="alpha_N" class="alpha">
209
224
  <li class="letter">N</li>
210
225
  <ul>
@@ -354,7 +369,7 @@
354
369
  </div>
355
370
 
356
371
  <div id="footer">
357
- Generated on Tue Nov 5 11:16:27 2019 by
372
+ Generated on Thu Jul 2 11:30:33 2020 by
358
373
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
359
374
  0.9.20 (ruby-2.6.2).
360
375
  </div>
@@ -43,7 +43,7 @@
43
43
 
44
44
  <ul id="full_list" class="class">
45
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> &lt; 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> &lt; 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> &lt; 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> &lt; Object<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::Exceptions' class='collapsed odd'><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> &lt; 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> &lt; RuntimeError<small class='search_info'>Schemacop::Exceptions</small></div></li></ul></li><li id='object_Schemacop::FieldNode' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/FieldNode.html" title="Schemacop::FieldNode (class)">FieldNode</a></span> &lt; NodeSupportingType<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::FloatValidator' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/FloatValidator.html" title="Schemacop::FloatValidator (class)">FloatValidator</a></span> &lt; NumberValidator<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::HashValidator' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/HashValidator.html" title="Schemacop::HashValidator (class)">HashValidator</a></span> &lt; NodeSupportingField<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::IntegerValidator' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/IntegerValidator.html" title="Schemacop::IntegerValidator (class)">IntegerValidator</a></span> &lt; NumberValidator<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NilValidator' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NilValidator.html" title="Schemacop::NilValidator (class)">NilValidator</a></span> &lt; Node<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::Node' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/Node.html" title="Schemacop::Node (class)">Node</a></span> &lt; Object<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NodeResolver' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NodeResolver.html" title="Schemacop::NodeResolver (class)">NodeResolver</a></span> &lt; Object<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NodeSupportingField' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NodeSupportingField.html" title="Schemacop::NodeSupportingField (class)">NodeSupportingField</a></span> &lt; NodeWithBlock<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NodeSupportingType' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NodeSupportingType.html" title="Schemacop::NodeSupportingType (class)">NodeSupportingType</a></span> &lt; NodeWithBlock<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NodeWithBlock' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NodeWithBlock.html" title="Schemacop::NodeWithBlock (class)">NodeWithBlock</a></span> &lt; Node<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::NumberValidator' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/NumberValidator.html" title="Schemacop::NumberValidator (class)">NumberValidator</a></span> &lt; Node<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::ObjectValidator' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/ObjectValidator.html" title="Schemacop::ObjectValidator (class)">ObjectValidator</a></span> &lt; Node<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::RootNode' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/RootNode.html" title="Schemacop::RootNode (class)">RootNode</a></span> &lt; NodeSupportingType<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::Schema' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/Schema.html" title="Schemacop::Schema (class)">Schema</a></span> &lt; Object<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::StringValidator' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/StringValidator.html" title="Schemacop::StringValidator (class)">StringValidator</a></span> &lt; Node<small class='search_info'>Schemacop</small></div></li><li id='object_Schemacop::SymbolValidator' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Schemacop/SymbolValidator.html" title="Schemacop::SymbolValidator (class)">SymbolValidator</a></span> &lt; 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> &lt; Object<small class='search_info'>Top Level Namespace</small></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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; 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> &lt; Object<small class='search_info'>Top Level Namespace</small></div></li>
47
47
 
48
48
  </ul>
49
49
  </div>
@@ -446,7 +446,10 @@ validator_array_test#test_multiple_arrays

446
446
  <ul>
447
447
  <li><code>:hash</code> accepts a Ruby Hash or an <code>ActiveSupport::HashWithIndifferentAccess</code>.</li>
448
448
  </ul></li>
449
- <li><p>accepts a block with an arbitrary number of Field Lines.</p>
449
+ <li><p>accepts a block with an arbitrary number of Field Lines.</p></li>
450
+ <li><p><code>allow_obsolete_keys</code>: If enabled (default <code>false</code>), this allows arbitrary
451
+ keys within your hash. Keys not specified in your schema will not be
452
+ validated further, but keys specified explicitly are still validated.</p>
450
453
 
451
454
  <ul>
452
455
  <li><code>:nil</code>: accepts a Ruby NilClass instance. If you want to allow <code>nil</code> as a
@@ -667,6 +670,18 @@ Make sure your default values always match the underlying schema.

667
670
  <span class='id identifier rubyid_req'>req</span> <span class='symbol'>:foo</span>
668
671
  <span class='kw'>end</span>
669
672
  <span class='kw'>end</span>
673
+
674
+ <span class='comment'># You can also specify blocks (without params) as defaults that will be
675
+ </span><span class='comment'># evaluated at time of validation.
676
+ </span><span class='const'>Schema</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>do</span>
677
+ <span class='id identifier rubyid_opt'>opt</span> <span class='symbol'>:year</span><span class='comma'>,</span> <span class='symbol'>:integer</span><span class='comma'>,</span> <span class='label'>default:</span> <span class='tlambda'>-&gt;</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='tlambeg'>{</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span><span class='period'>.</span><span class='id identifier rubyid_year'>year</span> <span class='rbrace'>}</span>
678
+ <span class='kw'>end</span>
679
+
680
+ <span class='comment'># If, for some very specific reason, you *need* the default to be an actual
681
+ </span><span class='comment'># proc, wrap it inside another proc.
682
+ </span><span class='const'>Schema</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>do</span>
683
+ <span class='id identifier rubyid_opt'>opt</span> <span class='symbol'>:myproc</span><span class='comma'>,</span> <span class='const'>Proc</span><span class='comma'>,</span> <span class='label'>default:</span> <span class='tlambda'>-&gt;</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='tlambeg'>{</span> <span class='tlambda'>-&gt;</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='tlambeg'>{</span> <span class='int'>42</span> <span class='rbrace'>}</span> <span class='rbrace'>}</span>
684
+ <span class='kw'>end</span>
670
685
  </code></pre>
671
686
 
672
687
  <h3>Required data points</h3>
@@ -710,7 +725,7 @@ collected validation errors.

710
725
  <pre class="code ruby"><code class="ruby">Schema.new do
711
726
  # Pass array to `cast`. This enables casting from String or Float to Integer
712
727
  # using the built-in casters.
713
- req: id_1, :integer, cast: [String, Float]
728
+ req :id_1, :integer, cast: [String, Float]
714
729
 
715
730
  # Pass hash to `cast`. This enables casting from Float to Integer using the
716
731
  # built-in caster and from String to Integer using a custom callback.
@@ -804,11 +819,11 @@ file

804
819
 
805
820
  <h2>Copyright</h2>
806
821
 
807
- <p>Copyright (c) 2019 Sitrox. See <code>LICENSE</code> for further details.</p>
822
+ <p>Copyright (c) 2020 Sitrox. See <code>LICENSE</code> for further details.</p>
808
823
  </div></div>
809
824
 
810
825
  <div id="footer">
811
- Generated on Tue Nov 5 11:16:27 2019 by
826
+ Generated on Thu Jul 2 11:30:34 2020 by
812
827
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
813
828
  0.9.20 (ruby-2.6.2).
814
829
  </div>
@@ -446,7 +446,10 @@ validator_array_test#test_multiple_arrays

446
446
  <ul>
447
447
  <li><code>:hash</code> accepts a Ruby Hash or an <code>ActiveSupport::HashWithIndifferentAccess</code>.</li>
448
448
  </ul></li>
449
- <li><p>accepts a block with an arbitrary number of Field Lines.</p>
449
+ <li><p>accepts a block with an arbitrary number of Field Lines.</p></li>
450
+ <li><p><code>allow_obsolete_keys</code>: If enabled (default <code>false</code>), this allows arbitrary
451
+ keys within your hash. Keys not specified in your schema will not be
452
+ validated further, but keys specified explicitly are still validated.</p>
450
453
 
451
454
  <ul>
452
455
  <li><code>:nil</code>: accepts a Ruby NilClass instance. If you want to allow <code>nil</code> as a
@@ -667,6 +670,18 @@ Make sure your default values always match the underlying schema.

667
670
  <span class='id identifier rubyid_req'>req</span> <span class='symbol'>:foo</span>
668
671
  <span class='kw'>end</span>
669
672
  <span class='kw'>end</span>
673
+
674
+ <span class='comment'># You can also specify blocks (without params) as defaults that will be
675
+ </span><span class='comment'># evaluated at time of validation.
676
+ </span><span class='const'>Schema</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>do</span>
677
+ <span class='id identifier rubyid_opt'>opt</span> <span class='symbol'>:year</span><span class='comma'>,</span> <span class='symbol'>:integer</span><span class='comma'>,</span> <span class='label'>default:</span> <span class='tlambda'>-&gt;</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='tlambeg'>{</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span><span class='period'>.</span><span class='id identifier rubyid_year'>year</span> <span class='rbrace'>}</span>
678
+ <span class='kw'>end</span>
679
+
680
+ <span class='comment'># If, for some very specific reason, you *need* the default to be an actual
681
+ </span><span class='comment'># proc, wrap it inside another proc.
682
+ </span><span class='const'>Schema</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>do</span>
683
+ <span class='id identifier rubyid_opt'>opt</span> <span class='symbol'>:myproc</span><span class='comma'>,</span> <span class='const'>Proc</span><span class='comma'>,</span> <span class='label'>default:</span> <span class='tlambda'>-&gt;</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='tlambeg'>{</span> <span class='tlambda'>-&gt;</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='tlambeg'>{</span> <span class='int'>42</span> <span class='rbrace'>}</span> <span class='rbrace'>}</span>
684
+ <span class='kw'>end</span>
670
685
  </code></pre>
671
686
 
672
687
  <h3>Required data points</h3>
@@ -710,7 +725,7 @@ collected validation errors.

710
725
  <pre class="code ruby"><code class="ruby">Schema.new do
711
726
  # Pass array to `cast`. This enables casting from String or Float to Integer
712
727
  # using the built-in casters.
713
- req: id_1, :integer, cast: [String, Float]
728
+ req :id_1, :integer, cast: [String, Float]
714
729
 
715
730
  # Pass hash to `cast`. This enables casting from Float to Integer using the
716
731
  # built-in caster and from String to Integer using a custom callback.
@@ -804,11 +819,11 @@ file

804
819
 
805
820
  <h2>Copyright</h2>
806
821
 
807
- <p>Copyright (c) 2019 Sitrox. See <code>LICENSE</code> for further details.</p>
822
+ <p>Copyright (c) 2020 Sitrox. See <code>LICENSE</code> for further details.</p>
808
823
  </div></div>
809
824
 
810
825
  <div id="footer">
811
- Generated on Tue Nov 5 11:16:27 2019 by
826
+ Generated on Thu Jul 2 11:30:33 2020 by
812
827
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
813
828
  0.9.20 (ruby-2.6.2).
814
829
  </div>
@@ -54,16 +54,16 @@
54
54
 
55
55
  <li class="even ">
56
56
  <div class="item">
57
- <span class='object_link'><a href="Schemacop/Node.html#build-class_method" title="Schemacop::Node.build (method)">build</a></span>
58
- <small>Schemacop::Node</small>
57
+ <span class='object_link'><a href="Schemacop/NodeSupportingType.html#build-class_method" title="Schemacop::NodeSupportingType.build (method)">build</a></span>
58
+ <small>Schemacop::NodeSupportingType</small>
59
59
  </div>
60
60
  </li>
61
61
 
62
62
 
63
63
  <li class="odd ">
64
64
  <div class="item">
65
- <span class='object_link'><a href="Schemacop/NodeSupportingType.html#build-class_method" title="Schemacop::NodeSupportingType.build (method)">build</a></span>
66
- <small>Schemacop::NodeSupportingType</small>
65
+ <span class='object_link'><a href="Schemacop/Node.html#build-class_method" title="Schemacop::Node.build (method)">build</a></span>
66
+ <small>Schemacop::Node</small>
67
67
  </div>
68
68
  </li>
69
69
 
@@ -117,6 +117,14 @@
117
117
 
118
118
 
119
119
  <li class="even ">
120
+ <div class="item">
121
+ <span class='object_link'><a href="Schemacop/Dupper.html#dup_data-class_method" title="Schemacop::Dupper.dup_data (method)">dup_data</a></span>
122
+ <small>Schemacop::Dupper</small>
123
+ </div>
124
+ </li>
125
+
126
+
127
+ <li class="odd ">
120
128
  <div class="item">
121
129
  <span class='object_link'><a href="Schemacop/Collector.html#error-instance_method" title="Schemacop::Collector#error (method)">#error</a></span>
122
130
  <small>Schemacop::Collector</small>
@@ -124,7 +132,7 @@
124
132
  </li>
125
133
 
126
134
 
127
- <li class="odd ">
135
+ <li class="even ">
128
136
  <div class="item">
129
137
  <span class='object_link'><a href="Schemacop/Collector.html#exception_message-instance_method" title="Schemacop::Collector#exception_message (method)">#exception_message</a></span>
130
138
  <small>Schemacop::Collector</small>
@@ -132,7 +140,7 @@
132
140
  </li>
133
141
 
134
142
 
135
- <li class="even ">
143
+ <li class="odd ">
136
144
  <div class="item">
137
145
  <span class='object_link'><a href="Schemacop/Collector.html#exceptions-instance_method" title="Schemacop::Collector#exceptions (method)">#exceptions</a></span>
138
146
  <small>Schemacop::Collector</small>
@@ -140,7 +148,7 @@
140
148
  </li>
141
149
 
142
150
 
143
- <li class="odd ">
151
+ <li class="even ">
144
152
  <div class="item">
145
153
  <span class='object_link'><a href="Schemacop/NodeSupportingType.html#exec_block-instance_method" title="Schemacop::NodeSupportingType#exec_block (method)">#exec_block</a></span>
146
154
  <small>Schemacop::NodeSupportingType</small>
@@ -148,7 +156,7 @@
148
156
  </li>
149
157
 
150
158
 
151
- <li class="even ">
159
+ <li class="odd ">
152
160
  <div class="item">
153
161
  <span class='object_link'><a href="Schemacop/NodeWithBlock.html#exec_block-instance_method" title="Schemacop::NodeWithBlock#exec_block (method)">#exec_block</a></span>
154
162
  <small>Schemacop::NodeWithBlock</small>
@@ -156,7 +164,7 @@
156
164
  </li>
157
165
 
158
166
 
159
- <li class="odd ">
167
+ <li class="even ">
160
168
  <div class="item">
161
169
  <span class='object_link'><a href="Schemacop/Node.html#exec_block-instance_method" title="Schemacop::Node#exec_block (method)">#exec_block</a></span>
162
170
  <small>Schemacop::Node</small>
@@ -164,7 +172,7 @@
164
172
  </li>
165
173
 
166
174
 
167
- <li class="even ">
175
+ <li class="odd ">
168
176
  <div class="item">
169
177
  <span class='object_link'><a href="Schemacop/NodeSupportingField.html#fields-instance_method" title="Schemacop::NodeSupportingField#fields (method)">#fields</a></span>
170
178
  <small>Schemacop::NodeSupportingField</small>
@@ -172,7 +180,7 @@
172
180
  </li>
173
181
 
174
182
 
175
- <li class="odd ">
183
+ <li class="even ">
176
184
  <div class="item">
177
185
  <span class='object_link'><a href="Schemacop/Collector.html#ignore_next_segment-instance_method" title="Schemacop::Collector#ignore_next_segment (method)">#ignore_next_segment</a></span>
178
186
  <small>Schemacop::Collector</small>
@@ -180,42 +188,50 @@
180
188
  </li>
181
189
 
182
190
 
191
+ <li class="odd ">
192
+ <div class="item">
193
+ <span class='object_link'><a href="Schemacop/FieldNode.html#initialize-instance_method" title="Schemacop::FieldNode#initialize (method)">#initialize</a></span>
194
+ <small>Schemacop::FieldNode</small>
195
+ </div>
196
+ </li>
197
+
198
+
183
199
  <li class="even ">
184
200
  <div class="item">
185
- <span class='object_link'><a href="Schemacop/Schema.html#initialize-instance_method" title="Schemacop::Schema#initialize (method)">#initialize</a></span>
186
- <small>Schemacop::Schema</small>
201
+ <span class='object_link'><a href="Schemacop/StringValidator.html#initialize-instance_method" title="Schemacop::StringValidator#initialize (method)">#initialize</a></span>
202
+ <small>Schemacop::StringValidator</small>
187
203
  </div>
188
204
  </li>
189
205
 
190
206
 
191
207
  <li class="odd ">
192
208
  <div class="item">
193
- <span class='object_link'><a href="Schemacop/NodeSupportingType.html#initialize-instance_method" title="Schemacop::NodeSupportingType#initialize (method)">#initialize</a></span>
194
- <small>Schemacop::NodeSupportingType</small>
209
+ <span class='object_link'><a href="Schemacop/ArrayValidator.html#initialize-instance_method" title="Schemacop::ArrayValidator#initialize (method)">#initialize</a></span>
210
+ <small>Schemacop::ArrayValidator</small>
195
211
  </div>
196
212
  </li>
197
213
 
198
214
 
199
215
  <li class="even ">
200
216
  <div class="item">
201
- <span class='object_link'><a href="Schemacop/Node.html#initialize-instance_method" title="Schemacop::Node#initialize (method)">#initialize</a></span>
202
- <small>Schemacop::Node</small>
217
+ <span class='object_link'><a href="Schemacop/NodeSupportingField.html#initialize-instance_method" title="Schemacop::NodeSupportingField#initialize (method)">#initialize</a></span>
218
+ <small>Schemacop::NodeSupportingField</small>
203
219
  </div>
204
220
  </li>
205
221
 
206
222
 
207
223
  <li class="odd ">
208
224
  <div class="item">
209
- <span class='object_link'><a href="ScopedEnv.html#initialize-instance_method" title="ScopedEnv#initialize (method)">#initialize</a></span>
210
- <small>ScopedEnv</small>
225
+ <span class='object_link'><a href="Schemacop/Node.html#initialize-instance_method" title="Schemacop::Node#initialize (method)">#initialize</a></span>
226
+ <small>Schemacop::Node</small>
211
227
  </div>
212
228
  </li>
213
229
 
214
230
 
215
231
  <li class="even ">
216
232
  <div class="item">
217
- <span class='object_link'><a href="Schemacop/FieldNode.html#initialize-instance_method" title="Schemacop::FieldNode#initialize (method)">#initialize</a></span>
218
- <small>Schemacop::FieldNode</small>
233
+ <span class='object_link'><a href="Schemacop/NodeSupportingType.html#initialize-instance_method" title="Schemacop::NodeSupportingType#initialize (method)">#initialize</a></span>
234
+ <small>Schemacop::NodeSupportingType</small>
219
235
  </div>
220
236
  </li>
221
237
 
@@ -230,21 +246,13 @@
230
246
 
231
247
  <li class="even ">
232
248
  <div class="item">
233
- <span class='object_link'><a href="Schemacop/NodeSupportingField.html#initialize-instance_method" title="Schemacop::NodeSupportingField#initialize (method)">#initialize</a></span>
234
- <small>Schemacop::NodeSupportingField</small>
249
+ <span class='object_link'><a href="Schemacop/Schema.html#initialize-instance_method" title="Schemacop::Schema#initialize (method)">#initialize</a></span>
250
+ <small>Schemacop::Schema</small>
235
251
  </div>
236
252
  </li>
237
253
 
238
254
 
239
255
  <li class="odd ">
240
- <div class="item">
241
- <span class='object_link'><a href="Schemacop/ArrayValidator.html#initialize-instance_method" title="Schemacop::ArrayValidator#initialize (method)">#initialize</a></span>
242
- <small>Schemacop::ArrayValidator</small>
243
- </div>
244
- </li>
245
-
246
-
247
- <li class="even ">
248
256
  <div class="item">
249
257
  <span class='object_link'><a href="Schemacop/Collector.html#initialize-instance_method" title="Schemacop::Collector#initialize (method)">#initialize</a></span>
250
258
  <small>Schemacop::Collector</small>
@@ -252,15 +260,15 @@
252
260
  </li>
253
261
 
254
262
 
255
- <li class="odd ">
263
+ <li class="even ">
256
264
  <div class="item">
257
- <span class='object_link'><a href="Schemacop/StringValidator.html#initialize-instance_method" title="Schemacop::StringValidator#initialize (method)">#initialize</a></span>
258
- <small>Schemacop::StringValidator</small>
265
+ <span class='object_link'><a href="ScopedEnv.html#initialize-instance_method" title="ScopedEnv#initialize (method)">#initialize</a></span>
266
+ <small>ScopedEnv</small>
259
267
  </div>
260
268
  </li>
261
269
 
262
270
 
263
- <li class="even ">
271
+ <li class="odd ">
264
272
  <div class="item">
265
273
  <span class='object_link'><a href="Schemacop/Schema.html#invalid%3F-instance_method" title="Schemacop::Schema#invalid? (method)">#invalid?</a></span>
266
274
  <small>Schemacop::Schema</small>
@@ -268,7 +276,7 @@
268
276
  </li>
269
277
 
270
278
 
271
- <li class="odd ">
279
+ <li class="even ">
272
280
  <div class="item">
273
281
  <span class='object_link'><a href="Schemacop/Node.html#klass-class_method" title="Schemacop::Node.klass (method)">klass</a></span>
274
282
  <small>Schemacop::Node</small>
@@ -276,7 +284,7 @@
276
284
  </li>
277
285
 
278
286
 
279
- <li class="even ">
287
+ <li class="odd ">
280
288
  <div class="item">
281
289
  <span class='object_link'><a href="ScopedEnv.html#method_missing-instance_method" title="ScopedEnv#method_missing (method)">#method_missing</a></span>
282
290
  <small>ScopedEnv</small>
@@ -284,7 +292,7 @@
284
292
  </li>
285
293
 
286
294
 
287
- <li class="odd ">
295
+ <li class="even ">
288
296
  <div class="item">
289
297
  <span class='object_link'><a href="Schemacop/FieldNode.html#name-instance_method" title="Schemacop::FieldNode#name (method)">#name</a></span>
290
298
  <small>Schemacop::FieldNode</small>
@@ -292,7 +300,7 @@
292
300
  </li>
293
301
 
294
302
 
295
- <li class="even ">
303
+ <li class="odd ">
296
304
  <div class="item">
297
305
  <span class='object_link'><a href="Schemacop/NodeSupportingField.html#opt!-instance_method" title="Schemacop::NodeSupportingField#opt! (method)">#opt!</a></span>
298
306
  <small>Schemacop::NodeSupportingField</small>
@@ -300,7 +308,7 @@
300
308
  </li>
301
309
 
302
310
 
303
- <li class="odd ">
311
+ <li class="even ">
304
312
  <div class="item">
305
313
  <span class='object_link'><a href="Schemacop/NodeSupportingField.html#opt%3F-instance_method" title="Schemacop::NodeSupportingField#opt? (method)">#opt?</a></span>
306
314
  <small>Schemacop::NodeSupportingField</small>
@@ -308,7 +316,7 @@
308
316
  </li>
309
317
 
310
318
 
311
- <li class="even ">
319
+ <li class="odd ">
312
320
  <div class="item">
313
321
  <span class='object_link'><a href="Schemacop/Node.html#option-class_method" title="Schemacop::Node.option (method)">option</a></span>
314
322
  <small>Schemacop::Node</small>
@@ -316,7 +324,7 @@
316
324
  </li>
317
325
 
318
326
 
319
- <li class="odd ">
327
+ <li class="even ">
320
328
  <div class="item">
321
329
  <span class='object_link'><a href="Schemacop/Node.html#option-instance_method" title="Schemacop::Node#option (method)">#option</a></span>
322
330
  <small>Schemacop::Node</small>
@@ -324,7 +332,7 @@
324
332
  </li>
325
333
 
326
334
 
327
- <li class="even ">
335
+ <li class="odd ">
328
336
  <div class="item">
329
337
  <span class='object_link'><a href="Schemacop/Node.html#option%3F-instance_method" title="Schemacop::Node#option? (method)">#option?</a></span>
330
338
  <small>Schemacop::Node</small>
@@ -332,7 +340,7 @@
332
340
  </li>
333
341
 
334
342
 
335
- <li class="odd ">
343
+ <li class="even ">
336
344
  <div class="item">
337
345
  <span class='object_link'><a href="Schemacop/Node.html#options-instance_method" title="Schemacop::Node#options (method)">#options</a></span>
338
346
  <small>Schemacop::Node</small>
@@ -340,7 +348,7 @@
340
348
  </li>
341
349
 
342
350
 
343
- <li class="even ">
351
+ <li class="odd ">
344
352
  <div class="item">
345
353
  <span class='object_link'><a href="Schemacop/Collector.html#override_value-instance_method" title="Schemacop::Collector#override_value (method)">#override_value</a></span>
346
354
  <small>Schemacop::Collector</small>
@@ -348,7 +356,7 @@
348
356
  </li>
349
357
 
350
358
 
351
- <li class="odd ">
359
+ <li class="even ">
352
360
  <div class="item">
353
361
  <span class='object_link'><a href="Schemacop/Collector.html#path-instance_method" title="Schemacop::Collector#path (method)">#path</a></span>
354
362
  <small>Schemacop::Collector</small>
@@ -356,7 +364,7 @@
356
364
  </li>
357
365
 
358
366
 
359
- <li class="even ">
367
+ <li class="odd ">
360
368
  <div class="item">
361
369
  <span class='object_link'><a href="Schemacop/NodeResolver.html#register-class_method" title="Schemacop::NodeResolver.register (method)">register</a></span>
362
370
  <small>Schemacop::NodeResolver</small>
@@ -364,7 +372,7 @@
364
372
  </li>
365
373
 
366
374
 
367
- <li class="odd ">
375
+ <li class="even ">
368
376
  <div class="item">
369
377
  <span class='object_link'><a href="Schemacop/Node.html#register-class_method" title="Schemacop::Node.register (method)">register</a></span>
370
378
  <small>Schemacop::Node</small>
@@ -372,7 +380,7 @@
372
380
  </li>
373
381
 
374
382
 
375
- <li class="even ">
383
+ <li class="odd ">
376
384
  <div class="item">
377
385
  <span class='object_link'><a href="Schemacop/NodeSupportingField.html#req!-instance_method" title="Schemacop::NodeSupportingField#req! (method)">#req!</a></span>
378
386
  <small>Schemacop::NodeSupportingField</small>
@@ -380,7 +388,7 @@
380
388
  </li>
381
389
 
382
390
 
383
- <li class="odd ">
391
+ <li class="even ">
384
392
  <div class="item">
385
393
  <span class='object_link'><a href="Schemacop/NodeSupportingField.html#req%3F-instance_method" title="Schemacop::NodeSupportingField#req? (method)">#req?</a></span>
386
394
  <small>Schemacop::NodeSupportingField</small>
@@ -388,7 +396,7 @@
388
396
  </li>
389
397
 
390
398
 
391
- <li class="even ">
399
+ <li class="odd ">
392
400
  <div class="item">
393
401
  <span class='object_link'><a href="Schemacop/NodeResolver.html#resolve-class_method" title="Schemacop::NodeResolver.resolve (method)">resolve</a></span>
394
402
  <small>Schemacop::NodeResolver</small>
@@ -396,7 +404,7 @@
396
404
  </li>
397
405
 
398
406
 
399
- <li class="odd ">
407
+ <li class="even ">
400
408
  <div class="item">
401
409
  <span class='object_link'><a href="Schemacop/Node.html#resolve_type_klass-instance_method" title="Schemacop::Node#resolve_type_klass (method)">#resolve_type_klass</a></span>
402
410
  <small>Schemacop::Node</small>
@@ -404,7 +412,7 @@
404
412
  </li>
405
413
 
406
414
 
407
- <li class="even ">
415
+ <li class="odd ">
408
416
  <div class="item">
409
417
  <span class='object_link'><a href="ScopedEnv.html#respond_to_missing%3F-instance_method" title="ScopedEnv#respond_to_missing? (method)">#respond_to_missing?</a></span>
410
418
  <small>ScopedEnv</small>
@@ -412,7 +420,7 @@
412
420
  </li>
413
421
 
414
422
 
415
- <li class="odd ">
423
+ <li class="even ">
416
424
  <div class="item">
417
425
  <span class='object_link'><a href="Schemacop/Node.html#symbol-class_method" title="Schemacop::Node.symbol (method)">symbol</a></span>
418
426
  <small>Schemacop::Node</small>
@@ -420,7 +428,7 @@
420
428
  </li>
421
429
 
422
430
 
423
- <li class="even ">
431
+ <li class="odd ">
424
432
  <div class="item">
425
433
  <span class='object_link'><a href="Schemacop/Node.html#symbol_matches%3F-class_method" title="Schemacop::Node.symbol_matches? (method)">symbol_matches?</a></span>
426
434
  <small>Schemacop::Node</small>
@@ -428,7 +436,7 @@
428
436
  </li>
429
437
 
430
438
 
431
- <li class="odd ">
439
+ <li class="even ">
432
440
  <div class="item">
433
441
  <span class='object_link'><a href="Schemacop/NodeSupportingType.html#type-instance_method" title="Schemacop::NodeSupportingType#type (method)">#type</a></span>
434
442
  <small>Schemacop::NodeSupportingType</small>
@@ -436,17 +444,9 @@
436
444
  </li>
437
445
 
438
446
 
439
- <li class="even ">
440
- <div class="item">
441
- <span class='object_link'><a href="Schemacop/Node.html#type_filter_matches%3F-instance_method" title="Schemacop::Node#type_filter_matches? (method)">#type_filter_matches?</a></span>
442
- <small>Schemacop::Node</small>
443
- </div>
444
- </li>
445
-
446
-
447
447
  <li class="odd ">
448
448
  <div class="item">
449
- <span class='object_link'><a href="Schemacop/Node.html#type_label-instance_method" title="Schemacop::Node#type_label (method)">#type_label</a></span>
449
+ <span class='object_link'><a href="Schemacop/Node.html#type_filter_matches%3F-instance_method" title="Schemacop::Node#type_filter_matches? (method)">#type_filter_matches?</a></span>
450
450
  <small>Schemacop::Node</small>
451
451
  </div>
452
452
  </li>
@@ -462,7 +462,7 @@
462
462
 
463
463
  <li class="odd ">
464
464
  <div class="item">
465
- <span class='object_link'><a href="Schemacop/Node.html#type_matches%3F-class_method" title="Schemacop::Node.type_matches? (method)">type_matches?</a></span>
465
+ <span class='object_link'><a href="Schemacop/Node.html#type_label-instance_method" title="Schemacop::Node#type_label (method)">#type_label</a></span>
466
466
  <small>Schemacop::Node</small>
467
467
  </div>
468
468
  </li>
@@ -470,7 +470,7 @@
470
470
 
471
471
  <li class="even ">
472
472
  <div class="item">
473
- <span class='object_link'><a href="Schemacop/Node.html#type_matches%3F-instance_method" title="Schemacop::Node#type_matches? (method)">#type_matches?</a></span>
473
+ <span class='object_link'><a href="Schemacop/Node.html#type_matches%3F-class_method" title="Schemacop::Node.type_matches? (method)">type_matches?</a></span>
474
474
  <small>Schemacop::Node</small>
475
475
  </div>
476
476
  </li>
@@ -486,8 +486,8 @@
486
486
 
487
487
  <li class="even ">
488
488
  <div class="item">
489
- <span class='object_link'><a href="Schemacop/Collector.html#valid%3F-instance_method" title="Schemacop::Collector#valid? (method)">#valid?</a></span>
490
- <small>Schemacop::Collector</small>
489
+ <span class='object_link'><a href="Schemacop/Node.html#type_matches%3F-instance_method" title="Schemacop::Node#type_matches? (method)">#type_matches?</a></span>
490
+ <small>Schemacop::Node</small>
491
491
  </div>
492
492
  </li>
493
493
 
@@ -502,69 +502,77 @@
502
502
 
503
503
  <li class="even ">
504
504
  <div class="item">
505
- <span class='object_link'><a href="Schemacop/HashValidator.html#validate-instance_method" title="Schemacop::HashValidator#validate (method)">#validate</a></span>
506
- <small>Schemacop::HashValidator</small>
505
+ <span class='object_link'><a href="Schemacop/Collector.html#valid%3F-instance_method" title="Schemacop::Collector#valid? (method)">#valid?</a></span>
506
+ <small>Schemacop::Collector</small>
507
507
  </div>
508
508
  </li>
509
509
 
510
510
 
511
511
  <li class="odd ">
512
512
  <div class="item">
513
- <span class='object_link'><a href="Schemacop/Schema.html#validate-instance_method" title="Schemacop::Schema#validate (method)">#validate</a></span>
514
- <small>Schemacop::Schema</small>
513
+ <span class='object_link'><a href="Schemacop/StringValidator.html#validate-instance_method" title="Schemacop::StringValidator#validate (method)">#validate</a></span>
514
+ <small>Schemacop::StringValidator</small>
515
515
  </div>
516
516
  </li>
517
517
 
518
518
 
519
519
  <li class="even ">
520
520
  <div class="item">
521
- <span class='object_link'><a href="Schemacop/ArrayValidator.html#validate-instance_method" title="Schemacop::ArrayValidator#validate (method)">#validate</a></span>
522
- <small>Schemacop::ArrayValidator</small>
521
+ <span class='object_link'><a href="Schemacop/Schema.html#validate-instance_method" title="Schemacop::Schema#validate (method)">#validate</a></span>
522
+ <small>Schemacop::Schema</small>
523
523
  </div>
524
524
  </li>
525
525
 
526
526
 
527
527
  <li class="odd ">
528
528
  <div class="item">
529
- <span class='object_link'><a href="Schemacop/NumberValidator.html#validate-instance_method" title="Schemacop::NumberValidator#validate (method)">#validate</a></span>
530
- <small>Schemacop::NumberValidator</small>
529
+ <span class='object_link'><a href="Schemacop/Node.html#validate-instance_method" title="Schemacop::Node#validate (method)">#validate</a></span>
530
+ <small>Schemacop::Node</small>
531
531
  </div>
532
532
  </li>
533
533
 
534
534
 
535
535
  <li class="even ">
536
536
  <div class="item">
537
- <span class='object_link'><a href="Schemacop/StringValidator.html#validate-instance_method" title="Schemacop::StringValidator#validate (method)">#validate</a></span>
538
- <small>Schemacop::StringValidator</small>
537
+ <span class='object_link'><a href="Schemacop/NodeSupportingType.html#validate-instance_method" title="Schemacop::NodeSupportingType#validate (method)">#validate</a></span>
538
+ <small>Schemacop::NodeSupportingType</small>
539
539
  </div>
540
540
  </li>
541
541
 
542
542
 
543
543
  <li class="odd ">
544
544
  <div class="item">
545
- <span class='object_link'><a href="Schemacop/NodeSupportingType.html#validate-instance_method" title="Schemacop::NodeSupportingType#validate (method)">#validate</a></span>
546
- <small>Schemacop::NodeSupportingType</small>
545
+ <span class='object_link'><a href="Schemacop/HashValidator.html#validate-instance_method" title="Schemacop::HashValidator#validate (method)">#validate</a></span>
546
+ <small>Schemacop::HashValidator</small>
547
547
  </div>
548
548
  </li>
549
549
 
550
550
 
551
551
  <li class="even ">
552
552
  <div class="item">
553
- <span class='object_link'><a href="Schemacop/FieldNode.html#validate-instance_method" title="Schemacop::FieldNode#validate (method)">#validate</a></span>
554
- <small>Schemacop::FieldNode</small>
553
+ <span class='object_link'><a href="Schemacop/ArrayValidator.html#validate-instance_method" title="Schemacop::ArrayValidator#validate (method)">#validate</a></span>
554
+ <small>Schemacop::ArrayValidator</small>
555
555
  </div>
556
556
  </li>
557
557
 
558
558
 
559
559
  <li class="odd ">
560
560
  <div class="item">
561
- <span class='object_link'><a href="Schemacop/Node.html#validate-instance_method" title="Schemacop::Node#validate (method)">#validate</a></span>
562
- <small>Schemacop::Node</small>
561
+ <span class='object_link'><a href="Schemacop/NumberValidator.html#validate-instance_method" title="Schemacop::NumberValidator#validate (method)">#validate</a></span>
562
+ <small>Schemacop::NumberValidator</small>
563
563
  </div>
564
564
  </li>
565
565
 
566
566
 
567
567
  <li class="even ">
568
+ <div class="item">
569
+ <span class='object_link'><a href="Schemacop/FieldNode.html#validate-instance_method" title="Schemacop::FieldNode#validate (method)">#validate</a></span>
570
+ <small>Schemacop::FieldNode</small>
571
+ </div>
572
+ </li>
573
+
574
+
575
+ <li class="odd ">
568
576
  <div class="item">
569
577
  <span class='object_link'><a href="Schemacop/Schema.html#validate!-instance_method" title="Schemacop::Schema#validate! (method)">#validate!</a></span>
570
578
  <small>Schemacop::Schema</small>