schemacop 2.3.2 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -0
  3. data/README.md +190 -2
  4. data/RUBY_VERSION +1 -1
  5. data/Rakefile +6 -5
  6. data/VERSION +1 -1
  7. data/doc/Schemacop.html +30 -3
  8. data/doc/Schemacop/ArrayValidator.html +2 -2
  9. data/doc/Schemacop/BooleanValidator.html +1 -1
  10. data/doc/Schemacop/Caster.html +379 -0
  11. data/doc/Schemacop/Collector.html +178 -102
  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 +17 -5
  16. data/doc/Schemacop/FloatValidator.html +1 -1
  17. data/doc/Schemacop/HashValidator.html +1 -1
  18. data/doc/Schemacop/IntegerValidator.html +1 -1
  19. data/doc/Schemacop/NilValidator.html +1 -1
  20. data/doc/Schemacop/Node.html +95 -83
  21. data/doc/Schemacop/NodeResolver.html +26 -10
  22. data/doc/Schemacop/NodeSupportingField.html +1 -1
  23. data/doc/Schemacop/NodeSupportingType.html +2 -4
  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 +3 -3
  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 +8 -1
  33. data/doc/class_list.html +1 -1
  34. data/doc/file.README.html +184 -3
  35. data/doc/index.html +184 -3
  36. data/doc/method_list.html +93 -61
  37. data/doc/top-level-namespace.html +1 -1
  38. data/lib/schemacop.rb +14 -0
  39. data/lib/schemacop/caster.rb +38 -0
  40. data/lib/schemacop/collector.rb +34 -6
  41. data/lib/schemacop/field_node.rb +25 -3
  42. data/lib/schemacop/node.rb +10 -2
  43. data/lib/schemacop/node_resolver.rb +10 -2
  44. data/lib/schemacop/node_supporting_type.rb +21 -1
  45. data/lib/schemacop/schema.rb +2 -2
  46. data/lib/schemacop/validator/array_validator.rb +1 -1
  47. data/lib/schemacop/validator/float_validator.rb +1 -1
  48. data/lib/schemacop/validator/integer_validator.rb +1 -1
  49. data/schemacop.gemspec +14 -8
  50. data/test/casting_test.rb +90 -0
  51. data/test/custom_check_test.rb +14 -14
  52. data/test/custom_if_test.rb +12 -12
  53. data/test/defaults_test.rb +71 -0
  54. data/test/nil_dis_allow_test.rb +6 -6
  55. data/test/node_resolver_test.rb +26 -0
  56. data/test/short_forms_test.rb +73 -66
  57. data/test/test_helper.rb +7 -0
  58. data/test/types_test.rb +5 -5
  59. data/test/validator_array_test.rb +16 -16
  60. data/test/validator_boolean_test.rb +2 -2
  61. data/test/validator_float_test.rb +15 -15
  62. data/test/validator_hash_test.rb +5 -5
  63. data/test/validator_integer_test.rb +9 -9
  64. data/test/validator_nil_test.rb +1 -1
  65. data/test/validator_number_test.rb +19 -19
  66. data/test/validator_object_test.rb +18 -18
  67. data/test/validator_string_test.rb +12 -12
  68. data/test/validator_symbol_test.rb +2 -2
  69. metadata +42 -6
@@ -109,7 +109,7 @@
109
109
  <li class="public ">
110
110
  <span class="summary_signature">
111
111
 
112
- <a href="#current_path-instance_method" title="#current_path (instance method)">#<strong>current_path</strong> &#x21d2; Object </a>
112
+ <a href="#exceptions-instance_method" title="#exceptions (instance method)">#<strong>exceptions</strong> &#x21d2; Object </a>
113
113
 
114
114
 
115
115
 
@@ -128,16 +128,29 @@
128
128
 
129
129
 
130
130
 
131
- <span class="summary_desc"><div class='inline'><p>Returns the value of attribute current_path.</p>
131
+ <span class="summary_desc"><div class='inline'><p>Returns the value of attribute exceptions.</p>
132
132
  </div></span>
133
133
 
134
134
  </li>
135
135
 
136
136
 
137
- <li class="public ">
137
+ </ul>
138
+
139
+
140
+
141
+
142
+
143
+ <h2>
144
+ Instance Method Summary
145
+ <small><a href="#" class="summary_toggle">collapse</a></small>
146
+ </h2>
147
+
148
+ <ul class="summary">
149
+
150
+ <li class="public ">
138
151
  <span class="summary_signature">
139
152
 
140
- <a href="#exceptions-instance_method" title="#exceptions (instance method)">#<strong>exceptions</strong> &#x21d2; Object </a>
153
+ <a href="#data-instance_method" title="#data (instance method)">#<strong>data</strong> &#x21d2; Object </a>
141
154
 
142
155
 
143
156
 
@@ -145,35 +158,16 @@
145
158
 
146
159
 
147
160
 
148
-
149
- <span class="note title readonly">readonly</span>
150
-
151
-
152
-
153
161
 
154
162
 
155
163
 
156
164
 
157
165
 
158
166
 
159
- <span class="summary_desc"><div class='inline'><p>Returns the value of attribute exceptions.</p>
160
- </div></span>
167
+ <span class="summary_desc"><div class='inline'></div></span>
161
168
 
162
169
  </li>
163
170
 
164
-
165
- </ul>
166
-
167
-
168
-
169
-
170
-
171
- <h2>
172
- Instance Method Summary
173
- <small><a href="#" class="summary_toggle">collapse</a></small>
174
- </h2>
175
-
176
- <ul class="summary">
177
171
 
178
172
  <li class="public ">
179
173
  <span class="summary_signature">
@@ -245,7 +239,7 @@
245
239
  <li class="public ">
246
240
  <span class="summary_signature">
247
241
 
248
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> &#x21d2; Collector </a>
242
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(data) &#x21d2; Collector </a>
249
243
 
250
244
 
251
245
 
@@ -270,7 +264,29 @@
270
264
  <li class="public ">
271
265
  <span class="summary_signature">
272
266
 
273
- <a href="#path-instance_method" title="#path (instance method)">#<strong>path</strong>(segment) &#x21d2; Object </a>
267
+ <a href="#override_value-instance_method" title="#override_value (instance method)">#<strong>override_value</strong>(value) &#x21d2; Object </a>
268
+
269
+
270
+
271
+ </span>
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+ <span class="summary_desc"><div class='inline'></div></span>
282
+
283
+ </li>
284
+
285
+
286
+ <li class="public ">
287
+ <span class="summary_signature">
288
+
289
+ <a href="#path-instance_method" title="#path (instance method)">#<strong>path</strong>(segment, index, type) &#x21d2; Object </a>
274
290
 
275
291
 
276
292
 
@@ -321,7 +337,7 @@
321
337
  <div class="method_details first">
322
338
  <h3 class="signature first" id="initialize-instance_method">
323
339
 
324
- #<strong>initialize</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Schemacop::Collector (class)">Collector</a></span></tt>
340
+ #<strong>initialize</strong>(data) &#x21d2; <tt><span class='object_link'><a href="" title="Schemacop::Collector (class)">Collector</a></span></tt>
325
341
 
326
342
 
327
343
 
@@ -343,19 +359,23 @@
343
359
  <pre class="lines">
344
360
 
345
361
 
362
+ 5
346
363
  6
347
364
  7
348
365
  8
349
366
  9
350
- 10</pre>
367
+ 10
368
+ 11</pre>
351
369
  </td>
352
370
  <td>
353
- <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 6</span>
371
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 5</span>
354
372
 
355
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
373
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
356
374
  <span class='ivar'>@exceptions</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
357
375
  <span class='ivar'>@current_path</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
358
376
  <span class='ivar'>@ignore_next_segment</span> <span class='op'>=</span> <span class='kw'>false</span>
377
+ <span class='ivar'>@current_datappoint_path</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_data'>data</span><span class='rbracket'>]</span>
378
+ <span class='ivar'>@current_index</span> <span class='op'>=</span> <span class='kw'>nil</span>
359
379
  <span class='kw'>end</span></pre>
360
380
  </td>
361
381
  </tr>
@@ -370,9 +390,9 @@
370
390
 
371
391
  <span id=""></span>
372
392
  <div class="method_details first">
373
- <h3 class="signature first" id="current_path-instance_method">
393
+ <h3 class="signature first" id="exceptions-instance_method">
374
394
 
375
- #<strong>current_path</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
395
+ #<strong>exceptions</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
376
396
 
377
397
 
378
398
 
@@ -380,7 +400,7 @@
380
400
 
381
401
  </h3><div class="docstring">
382
402
  <div class="discussion">
383
- <p>Returns the value of attribute current_path</p>
403
+ <p>Returns the value of attribute exceptions</p>
384
404
 
385
405
 
386
406
  </div>
@@ -401,65 +421,55 @@
401
421
  <td>
402
422
  <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 3</span>
403
423
 
404
- <span class='kw'>def</span> <span class='id identifier rubyid_current_path'>current_path</span>
405
- <span class='ivar'>@current_path</span>
424
+ <span class='kw'>def</span> <span class='id identifier rubyid_exceptions'>exceptions</span>
425
+ <span class='ivar'>@exceptions</span>
406
426
  <span class='kw'>end</span></pre>
407
427
  </td>
408
428
  </tr>
409
429
  </table>
410
430
  </div>
411
431
 
412
-
413
- <span id=""></span>
414
- <div class="method_details ">
415
- <h3 class="signature " id="exceptions-instance_method">
416
-
417
- #<strong>exceptions</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
418
-
432
+ </div>
419
433
 
420
-
421
434
 
422
-
423
- </h3><div class="docstring">
424
- <div class="discussion">
425
- <p>Returns the value of attribute exceptions</p>
435
+ <div id="instance_method_details" class="method_details_list">
436
+ <h2>Instance Method Details</h2>
426
437
 
438
+
439
+ <div class="method_details first">
440
+ <h3 class="signature first" id="data-instance_method">
441
+
442
+ #<strong>data</strong> &#x21d2; <tt>Object</tt>
443
+
427
444
 
428
- </div>
429
- </div>
430
- <div class="tags">
431
445
 
432
446
 
433
- </div><table class="source_code">
447
+
448
+ </h3><table class="source_code">
434
449
  <tr>
435
450
  <td>
436
451
  <pre class="lines">
437
452
 
438
453
 
439
- 4
440
- 5
441
- 6</pre>
454
+ 13
455
+ 14
456
+ 15
457
+ 16</pre>
442
458
  </td>
443
459
  <td>
444
- <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 4</span>
460
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 13</span>
445
461
 
446
- <span class='kw'>def</span> <span class='id identifier rubyid_exceptions'>exceptions</span>
447
- <span class='ivar'>@exceptions</span>
462
+ <span class='kw'>def</span> <span class='id identifier rubyid_data'>data</span>
463
+ <span class='kw'>return</span> <span class='kw'>nil</span> <span class='kw'>unless</span> <span class='id identifier rubyid_valid?'>valid?</span>
464
+ <span class='ivar'>@current_datappoint_path</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
448
465
  <span class='kw'>end</span></pre>
449
466
  </td>
450
467
  </tr>
451
468
  </table>
452
469
  </div>
453
470
 
454
- </div>
455
-
456
-
457
- <div id="instance_method_details" class="method_details_list">
458
- <h2>Instance Method Details</h2>
459
-
460
-
461
- <div class="method_details first">
462
- <h3 class="signature first" id="error-instance_method">
471
+ <div class="method_details ">
472
+ <h3 class="signature " id="error-instance_method">
463
473
 
464
474
  #<strong>error</strong>(error_msg) &#x21d2; <tt>Object</tt>
465
475
 
@@ -473,19 +483,19 @@
473
483
  <pre class="lines">
474
484
 
475
485
 
476
- 37
477
- 38
478
- 39
479
- 40
480
- 41
481
- 42</pre>
486
+ 65
487
+ 66
488
+ 67
489
+ 68
490
+ 69
491
+ 70</pre>
482
492
  </td>
483
493
  <td>
484
- <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 37</span>
494
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 65</span>
485
495
 
486
496
  <span class='kw'>def</span> <span class='id identifier rubyid_error'>error</span><span class='lparen'>(</span><span class='id identifier rubyid_error_msg'>error_msg</span><span class='rparen'>)</span>
487
497
  <span class='ivar'>@exceptions</span> <span class='op'>&lt;&lt;</span> <span class='lbrace'>{</span>
488
- <span class='label'>path:</span> <span class='id identifier rubyid_current_path'>current_path</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span><span class='comma'>,</span>
498
+ <span class='label'>path:</span> <span class='ivar'>@current_path</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span><span class='comma'>,</span>
489
499
  <span class='label'>message:</span> <span class='id identifier rubyid_error_msg'>error_msg</span>
490
500
  <span class='rbrace'>}</span>
491
501
  <span class='kw'>end</span></pre>
@@ -509,14 +519,14 @@
509
519
  <pre class="lines">
510
520
 
511
521
 
512
- 31
513
- 32
514
- 33
515
- 34
516
- 35</pre>
522
+ 59
523
+ 60
524
+ 61
525
+ 62
526
+ 63</pre>
517
527
  </td>
518
528
  <td>
519
- <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 31</span>
529
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 59</span>
520
530
 
521
531
  <span class='kw'>def</span> <span class='id identifier rubyid_exception_message'>exception_message</span>
522
532
  <span class='kw'>return</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Schemacop validation failed:\n</span><span class='tstring_end'>&quot;</span></span> <span class='op'>+</span> <span class='ivar'>@exceptions</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span>
@@ -567,13 +577,13 @@ called.</p>
567
577
  <pre class="lines">
568
578
 
569
579
 
570
- 48
571
- 49
572
- 50
573
- 51</pre>
580
+ 76
581
+ 77
582
+ 78
583
+ 79</pre>
574
584
  </td>
575
585
  <td>
576
- <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 48</span>
586
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 76</span>
577
587
 
578
588
  <span class='kw'>def</span> <span class='id identifier rubyid_ignore_next_segment'>ignore_next_segment</span>
579
589
  <span class='ivar'>@ignore_next_segment</span> <span class='op'>=</span> <span class='kw'>true</span>
@@ -582,12 +592,50 @@ called.</p>
582
592
  </td>
583
593
  </tr>
584
594
  </table>
595
+ </div>
596
+
597
+ <div class="method_details ">
598
+ <h3 class="signature " id="override_value-instance_method">
599
+
600
+ #<strong>override_value</strong>(value) &#x21d2; <tt>Object</tt>
601
+
602
+
603
+
604
+
605
+
606
+ </h3><table class="source_code">
607
+ <tr>
608
+ <td>
609
+ <pre class="lines">
610
+
611
+
612
+ 51
613
+ 52
614
+ 53
615
+ 54
616
+ 55
617
+ 56
618
+ 57</pre>
619
+ </td>
620
+ <td>
621
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 51</span>
622
+
623
+ <span class='kw'>def</span> <span class='id identifier rubyid_override_value'>override_value</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
624
+ <span class='kw'>if</span> <span class='ivar'>@current_datappoint_path</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>1</span>
625
+ <span class='ivar'>@current_datappoint_path</span><span class='lbracket'>[</span><span class='op'>-</span><span class='int'>2</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='ivar'>@current_index</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
626
+ <span class='kw'>else</span>
627
+ <span class='ivar'>@current_datappoint_path</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
628
+ <span class='kw'>end</span>
629
+ <span class='kw'>end</span></pre>
630
+ </td>
631
+ </tr>
632
+ </table>
585
633
  </div>
586
634
 
587
635
  <div class="method_details ">
588
636
  <h3 class="signature " id="path-instance_method">
589
637
 
590
- #<strong>path</strong>(segment) &#x21d2; <tt>Object</tt>
638
+ #<strong>path</strong>(segment, index, type) &#x21d2; <tt>Object</tt>
591
639
 
592
640
 
593
641
 
@@ -609,34 +657,62 @@ called.</p>
609
657
  <pre class="lines">
610
658
 
611
659
 
612
- 17
613
- 18
614
- 19
615
- 20
616
- 21
617
- 22
618
660
  23
619
661
  24
620
662
  25
621
663
  26
622
664
  27
623
665
  28
624
- 29</pre>
666
+ 29
667
+ 30
668
+ 31
669
+ 32
670
+ 33
671
+ 34
672
+ 35
673
+ 36
674
+ 37
675
+ 38
676
+ 39
677
+ 40
678
+ 41
679
+ 42
680
+ 43
681
+ 44
682
+ 45
683
+ 46
684
+ 47
685
+ 48
686
+ 49</pre>
625
687
  </td>
626
688
  <td>
627
- <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 17</span>
689
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 23</span>
628
690
 
629
- <span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span><span class='lparen'>(</span><span class='id identifier rubyid_segment'>segment</span><span class='rparen'>)</span>
691
+ <span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span><span class='lparen'>(</span><span class='id identifier rubyid_segment'>segment</span><span class='comma'>,</span> <span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span>
630
692
  <span class='id identifier rubyid_ignore_this_segment'>ignore_this_segment</span> <span class='op'>=</span> <span class='kw'>false</span>
693
+
694
+ <span class='id identifier rubyid_previous_index'>previous_index</span> <span class='op'>=</span> <span class='ivar'>@current_index</span>
695
+
631
696
  <span class='kw'>if</span> <span class='ivar'>@ignore_next_segment</span>
632
697
  <span class='id identifier rubyid_ignore_this_segment'>ignore_this_segment</span> <span class='op'>=</span> <span class='kw'>true</span>
633
698
  <span class='ivar'>@ignore_next_segment</span> <span class='op'>=</span> <span class='kw'>false</span>
699
+ <span class='kw'>else</span>
700
+ <span class='kw'>unless</span> <span class='ivar'>@current_datappoint_path</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span>
701
+ <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='symbol'>:hash</span>
702
+ <span class='ivar'>@current_datappoint_path</span><span class='lbracket'>[</span><span class='op'>-</span><span class='int'>1</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
703
+ <span class='kw'>else</span>
704
+ <span class='ivar'>@current_datappoint_path</span><span class='lbracket'>[</span><span class='op'>-</span><span class='int'>1</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
705
+ <span class='kw'>end</span>
706
+ <span class='kw'>end</span>
707
+ <span class='ivar'>@current_path</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_segment'>segment</span> <span class='kw'>unless</span> <span class='id identifier rubyid_ignore_this_segment'>ignore_this_segment</span>
708
+ <span class='ivar'>@current_datappoint_path</span> <span class='op'>&lt;&lt;</span> <span class='ivar'>@current_datappoint_path</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span><span class='lbracket'>[</span><span class='id identifier rubyid_index'>index</span><span class='rbracket'>]</span>
709
+ <span class='ivar'>@current_index</span> <span class='op'>=</span> <span class='id identifier rubyid_index'>index</span>
634
710
  <span class='kw'>end</span>
635
711
 
636
- <span class='ivar'>@current_path</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_segment'>segment</span> <span class='kw'>unless</span> <span class='id identifier rubyid_ignore_this_segment'>ignore_this_segment</span>
637
-
638
712
  <span class='kw'>yield</span>
639
713
  <span class='kw'>ensure</span>
714
+ <span class='ivar'>@current_index</span> <span class='op'>=</span> <span class='id identifier rubyid_previous_index'>previous_index</span>
715
+ <span class='ivar'>@current_datappoint_path</span><span class='period'>.</span><span class='id identifier rubyid_pop'>pop</span> <span class='kw'>unless</span> <span class='id identifier rubyid_ignore_this_segment'>ignore_this_segment</span>
640
716
  <span class='ivar'>@current_path</span><span class='period'>.</span><span class='id identifier rubyid_pop'>pop</span> <span class='kw'>unless</span> <span class='id identifier rubyid_ignore_this_segment'>ignore_this_segment</span>
641
717
  <span class='kw'>end</span></pre>
642
718
  </td>
@@ -681,12 +757,12 @@ called.</p>
681
757
  <pre class="lines">
682
758
 
683
759
 
684
- 12
685
- 13
686
- 14</pre>
760
+ 18
761
+ 19
762
+ 20</pre>
687
763
  </td>
688
764
  <td>
689
- <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 12</span>
765
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 18</span>
690
766
 
691
767
  <span class='kw'>def</span> <span class='id identifier rubyid_valid?'>valid?</span>
692
768
  <span class='ivar'>@exceptions</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
@@ -701,7 +777,7 @@ called.</p>
701
777
  </div>
702
778
 
703
779
  <div id="footer">
704
- Generated on Thu Sep 26 13:19:46 2019 by
780
+ Generated on Mon Oct 28 16:21:59 2019 by
705
781
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
706
782
  0.9.20 (ruby-2.6.2).
707
783
  </div>