schemacop 2.1.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +58 -0
  3. data/LICENSE +1 -1
  4. data/README.md +250 -16
  5. data/RUBY_VERSION +1 -1
  6. data/Rakefile +6 -1
  7. data/VERSION +1 -1
  8. data/doc/Schemacop.html +32 -5
  9. data/doc/Schemacop/ArrayValidator.html +4 -4
  10. data/doc/Schemacop/BooleanValidator.html +4 -4
  11. data/doc/Schemacop/Caster.html +379 -0
  12. data/doc/Schemacop/Collector.html +298 -46
  13. data/doc/Schemacop/Exceptions.html +3 -3
  14. data/doc/Schemacop/Exceptions/InvalidSchemaError.html +3 -3
  15. data/doc/Schemacop/Exceptions/ValidationError.html +3 -3
  16. data/doc/Schemacop/FieldNode.html +19 -7
  17. data/doc/Schemacop/FloatValidator.html +4 -4
  18. data/doc/Schemacop/HashValidator.html +33 -7
  19. data/doc/Schemacop/IntegerValidator.html +4 -4
  20. data/doc/Schemacop/NilValidator.html +4 -4
  21. data/doc/Schemacop/Node.html +97 -85
  22. data/doc/Schemacop/NodeResolver.html +28 -12
  23. data/doc/Schemacop/NodeSupportingField.html +4 -4
  24. data/doc/Schemacop/NodeSupportingType.html +5 -7
  25. data/doc/Schemacop/NodeWithBlock.html +4 -4
  26. data/doc/Schemacop/NumberValidator.html +4 -4
  27. data/doc/Schemacop/ObjectValidator.html +20 -10
  28. data/doc/Schemacop/RootNode.html +4 -4
  29. data/doc/Schemacop/Schema.html +6 -6
  30. data/doc/Schemacop/StringValidator.html +3 -3
  31. data/doc/Schemacop/SymbolValidator.html +4 -4
  32. data/doc/ScopedEnv.html +3 -3
  33. data/doc/_index.html +11 -4
  34. data/doc/class_list.html +1 -1
  35. data/doc/css/style.css +10 -6
  36. data/doc/file.README.html +255 -29
  37. data/doc/frames.html +1 -1
  38. data/doc/index.html +255 -29
  39. data/doc/js/app.js +55 -0
  40. data/doc/method_list.html +99 -51
  41. data/doc/top-level-namespace.html +3 -3
  42. data/lib/schemacop.rb +15 -0
  43. data/lib/schemacop/caster.rb +38 -0
  44. data/lib/schemacop/collector.rb +53 -6
  45. data/lib/schemacop/field_node.rb +25 -3
  46. data/lib/schemacop/node.rb +16 -4
  47. data/lib/schemacop/node_resolver.rb +10 -2
  48. data/lib/schemacop/node_supporting_field.rb +0 -2
  49. data/lib/schemacop/node_supporting_type.rb +21 -1
  50. data/lib/schemacop/schema.rb +3 -3
  51. data/lib/schemacop/validator/array_validator.rb +1 -1
  52. data/lib/schemacop/validator/float_validator.rb +1 -1
  53. data/lib/schemacop/validator/hash_validator.rb +15 -2
  54. data/lib/schemacop/validator/integer_validator.rb +1 -1
  55. data/lib/schemacop/validator/object_validator.rb +7 -1
  56. data/schemacop.gemspec +15 -9
  57. data/test/casting_test.rb +90 -0
  58. data/test/collector_test.rb +45 -0
  59. data/test/custom_check_test.rb +20 -13
  60. data/test/custom_if_test.rb +12 -12
  61. data/test/defaults_test.rb +71 -0
  62. data/test/nil_dis_allow_test.rb +6 -6
  63. data/test/node_resolver_test.rb +26 -0
  64. data/test/short_forms_test.rb +86 -64
  65. data/test/test_helper.rb +7 -0
  66. data/test/types_test.rb +5 -5
  67. data/test/validator_array_test.rb +16 -16
  68. data/test/validator_boolean_test.rb +2 -2
  69. data/test/validator_float_test.rb +15 -15
  70. data/test/validator_hash_test.rb +5 -5
  71. data/test/validator_integer_test.rb +9 -9
  72. data/test/validator_nil_test.rb +1 -1
  73. data/test/validator_number_test.rb +19 -19
  74. data/test/validator_object_test.rb +33 -15
  75. data/test/validator_string_test.rb +12 -12
  76. data/test/validator_symbol_test.rb +2 -2
  77. metadata +43 -6
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Schemacop::Collector
8
8
 
9
- &mdash; Documentation by YARD 0.9.9
9
+ &mdash; Documentation by YARD 0.9.20
10
10
 
11
11
  </title>
12
12
 
@@ -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,7 +128,7 @@
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>
@@ -150,6 +150,28 @@
150
150
  <li class="public ">
151
151
  <span class="summary_signature">
152
152
 
153
+ <a href="#data-instance_method" title="#data (instance method)">#<strong>data</strong> &#x21d2; Object </a>
154
+
155
+
156
+
157
+ </span>
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+ <span class="summary_desc"><div class='inline'></div></span>
168
+
169
+ </li>
170
+
171
+
172
+ <li class="public ">
173
+ <span class="summary_signature">
174
+
153
175
  <a href="#error-instance_method" title="#error (instance method)">#<strong>error</strong>(error_msg) &#x21d2; Object </a>
154
176
 
155
177
 
@@ -194,7 +216,30 @@
194
216
  <li class="public ">
195
217
  <span class="summary_signature">
196
218
 
197
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> &#x21d2; Collector </a>
219
+ <a href="#ignore_next_segment-instance_method" title="#ignore_next_segment (instance method)">#<strong>ignore_next_segment</strong> &#x21d2; Schemacop::Collector </a>
220
+
221
+
222
+
223
+ </span>
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+ <span class="summary_desc"><div class='inline'><p>Does not include the path segment next time path is called.</p>
234
+ </div></span>
235
+
236
+ </li>
237
+
238
+
239
+ <li class="public ">
240
+ <span class="summary_signature">
241
+
242
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(data) &#x21d2; Collector </a>
198
243
 
199
244
 
200
245
 
@@ -219,7 +264,7 @@
219
264
  <li class="public ">
220
265
  <span class="summary_signature">
221
266
 
222
- <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>
223
268
 
224
269
 
225
270
 
@@ -235,6 +280,29 @@
235
280
 
236
281
  <span class="summary_desc"><div class='inline'></div></span>
237
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>
290
+
291
+
292
+
293
+ </span>
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+ <span class="summary_desc"><div class='inline'><p>Construct the current path.</p>
304
+ </div></span>
305
+
238
306
  </li>
239
307
 
240
308
 
@@ -269,7 +337,7 @@
269
337
  <div class="method_details first">
270
338
  <h3 class="signature first" id="initialize-instance_method">
271
339
 
272
- #<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>
273
341
 
274
342
 
275
343
 
@@ -294,14 +362,20 @@
294
362
  5
295
363
  6
296
364
  7
297
- 8</pre>
365
+ 8
366
+ 9
367
+ 10
368
+ 11</pre>
298
369
  </td>
299
370
  <td>
300
371
  <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 5</span>
301
372
 
302
- <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>
303
374
  <span class='ivar'>@exceptions</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
304
375
  <span class='ivar'>@current_path</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
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>
305
379
  <span class='kw'>end</span></pre>
306
380
  </td>
307
381
  </tr>
@@ -316,9 +390,9 @@
316
390
 
317
391
  <span id=""></span>
318
392
  <div class="method_details first">
319
- <h3 class="signature first" id="current_path-instance_method">
393
+ <h3 class="signature first" id="exceptions-instance_method">
320
394
 
321
- #<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>
322
396
 
323
397
 
324
398
 
@@ -326,7 +400,7 @@
326
400
 
327
401
  </h3><div class="docstring">
328
402
  <div class="discussion">
329
- <p>Returns the value of attribute current_path</p>
403
+ <p>Returns the value of attribute exceptions</p>
330
404
 
331
405
 
332
406
  </div>
@@ -347,8 +421,8 @@
347
421
  <td>
348
422
  <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 3</span>
349
423
 
350
- <span class='kw'>def</span> <span class='id identifier rubyid_current_path'>current_path</span>
351
- <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>
352
426
  <span class='kw'>end</span></pre>
353
427
  </td>
354
428
  </tr>
@@ -363,7 +437,39 @@
363
437
 
364
438
 
365
439
  <div class="method_details first">
366
- <h3 class="signature first" id="error-instance_method">
440
+ <h3 class="signature first" id="data-instance_method">
441
+
442
+ #<strong>data</strong> &#x21d2; <tt>Object</tt>
443
+
444
+
445
+
446
+
447
+
448
+ </h3><table class="source_code">
449
+ <tr>
450
+ <td>
451
+ <pre class="lines">
452
+
453
+
454
+ 13
455
+ 14
456
+ 15
457
+ 16</pre>
458
+ </td>
459
+ <td>
460
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 13</span>
461
+
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>
465
+ <span class='kw'>end</span></pre>
466
+ </td>
467
+ </tr>
468
+ </table>
469
+ </div>
470
+
471
+ <div class="method_details ">
472
+ <h3 class="signature " id="error-instance_method">
367
473
 
368
474
  #<strong>error</strong>(error_msg) &#x21d2; <tt>Object</tt>
369
475
 
@@ -377,19 +483,19 @@
377
483
  <pre class="lines">
378
484
 
379
485
 
380
- 27
381
- 28
382
- 29
383
- 30
384
- 31
385
- 32</pre>
486
+ 65
487
+ 66
488
+ 67
489
+ 68
490
+ 69
491
+ 70</pre>
386
492
  </td>
387
493
  <td>
388
- <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 27</span>
494
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 65</span>
389
495
 
390
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>
391
497
  <span class='ivar'>@exceptions</span> <span class='op'>&lt;&lt;</span> <span class='lbrace'>{</span>
392
- <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>
393
499
  <span class='label'>message:</span> <span class='id identifier rubyid_error_msg'>error_msg</span>
394
500
  <span class='rbrace'>}</span>
395
501
  <span class='kw'>end</span></pre>
@@ -413,14 +519,14 @@
413
519
  <pre class="lines">
414
520
 
415
521
 
416
- 21
417
- 22
418
- 23
419
- 24
420
- 25</pre>
522
+ 59
523
+ 60
524
+ 61
525
+ 62
526
+ 63</pre>
421
527
  </td>
422
528
  <td>
423
- <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 21</span>
529
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 59</span>
424
530
 
425
531
  <span class='kw'>def</span> <span class='id identifier rubyid_exception_message'>exception_message</span>
426
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>
@@ -433,9 +539,65 @@
433
539
  </div>
434
540
 
435
541
  <div class="method_details ">
436
- <h3 class="signature " id="path-instance_method">
542
+ <h3 class="signature " id="ignore_next_segment-instance_method">
543
+
544
+ #<strong>ignore_next_segment</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Schemacop::Collector (class)">Schemacop::Collector</a></span></tt>
437
545
 
438
- #<strong>path</strong>(segment) &#x21d2; <tt>Object</tt>
546
+
547
+
548
+
549
+
550
+ </h3><div class="docstring">
551
+ <div class="discussion">
552
+ <p>Does not include the path segment next time path is
553
+ called.</p>
554
+
555
+
556
+ </div>
557
+ </div>
558
+ <div class="tags">
559
+
560
+ <p class="tag_title">Returns:</p>
561
+ <ul class="return">
562
+
563
+ <li>
564
+
565
+
566
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Schemacop::Collector (class)">Schemacop::Collector</a></span></tt>)</span>
567
+
568
+
569
+
570
+ </li>
571
+
572
+ </ul>
573
+
574
+ </div><table class="source_code">
575
+ <tr>
576
+ <td>
577
+ <pre class="lines">
578
+
579
+
580
+ 76
581
+ 77
582
+ 78
583
+ 79</pre>
584
+ </td>
585
+ <td>
586
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 76</span>
587
+
588
+ <span class='kw'>def</span> <span class='id identifier rubyid_ignore_next_segment'>ignore_next_segment</span>
589
+ <span class='ivar'>@ignore_next_segment</span> <span class='op'>=</span> <span class='kw'>true</span>
590
+ <span class='kw'>return</span> <span class='kw'>self</span>
591
+ <span class='kw'>end</span></pre>
592
+ </td>
593
+ </tr>
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>
439
601
 
440
602
 
441
603
 
@@ -447,21 +609,111 @@
447
609
  <pre class="lines">
448
610
 
449
611
 
450
- 14
451
- 15
452
- 16
453
- 17
454
- 18
455
- 19</pre>
612
+ 51
613
+ 52
614
+ 53
615
+ 54
616
+ 55
617
+ 56
618
+ 57</pre>
456
619
  </td>
457
620
  <td>
458
- <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 14</span>
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>
633
+ </div>
634
+
635
+ <div class="method_details ">
636
+ <h3 class="signature " id="path-instance_method">
637
+
638
+ #<strong>path</strong>(segment, index, type) &#x21d2; <tt>Object</tt>
639
+
640
+
641
+
642
+
643
+
644
+ </h3><div class="docstring">
645
+ <div class="discussion">
646
+ <p>Construct the current path</p>
647
+
648
+
649
+ </div>
650
+ </div>
651
+ <div class="tags">
652
+
653
+
654
+ </div><table class="source_code">
655
+ <tr>
656
+ <td>
657
+ <pre class="lines">
658
+
659
+
660
+ 23
661
+ 24
662
+ 25
663
+ 26
664
+ 27
665
+ 28
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>
687
+ </td>
688
+ <td>
689
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 23</span>
690
+
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>
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
+
696
+ <span class='kw'>if</span> <span class='ivar'>@ignore_next_segment</span>
697
+ <span class='id identifier rubyid_ignore_this_segment'>ignore_this_segment</span> <span class='op'>=</span> <span class='kw'>true</span>
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>
710
+ <span class='kw'>end</span>
459
711
 
460
- <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>
461
- <span class='ivar'>@current_path</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_segment'>segment</span>
462
712
  <span class='kw'>yield</span>
463
713
  <span class='kw'>ensure</span>
464
- <span class='ivar'>@current_path</span><span class='period'>.</span><span class='id identifier rubyid_pop'>pop</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>
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>
465
717
  <span class='kw'>end</span></pre>
466
718
  </td>
467
719
  </tr>
@@ -505,12 +757,12 @@
505
757
  <pre class="lines">
506
758
 
507
759
 
508
- 10
509
- 11
510
- 12</pre>
760
+ 18
761
+ 19
762
+ 20</pre>
511
763
  </td>
512
764
  <td>
513
- <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 10</span>
765
+ <pre class="code"><span class="info file"># File 'lib/schemacop/collector.rb', line 18</span>
514
766
 
515
767
  <span class='kw'>def</span> <span class='id identifier rubyid_valid?'>valid?</span>
516
768
  <span class='ivar'>@exceptions</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
@@ -525,9 +777,9 @@
525
777
  </div>
526
778
 
527
779
  <div id="footer">
528
- Generated on Tue May 16 11:56:24 2017 by
780
+ Generated on Mon Oct 28 16:21:59 2019 by
529
781
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
530
- 0.9.9 (ruby-2.3.1).
782
+ 0.9.20 (ruby-2.6.2).
531
783
  </div>
532
784
 
533
785
  </div>