dbf 4.2.0 → 4.2.1

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 (57) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +43 -40
  3. data/README.md +1 -1
  4. data/Rakefile +1 -1
  5. data/ci_A.dbf +0 -0
  6. data/lib/dbf/table.rb +2 -2
  7. data/lib/dbf/version.rb +1 -1
  8. data/nBOOKS.DBF +0 -0
  9. metadata +5 -51
  10. data/Gemfile.travis +0 -8
  11. data/docs/CNAME +0 -1
  12. data/docs/DBF/Column/LengthError.html +0 -124
  13. data/docs/DBF/Column/NameError.html +0 -124
  14. data/docs/DBF/Column.html +0 -947
  15. data/docs/DBF/ColumnType/Base.html +0 -389
  16. data/docs/DBF/ColumnType/Boolean.html +0 -238
  17. data/docs/DBF/ColumnType/Currency.html +0 -238
  18. data/docs/DBF/ColumnType/Date.html +0 -242
  19. data/docs/DBF/ColumnType/DateTime.html +0 -246
  20. data/docs/DBF/ColumnType/Double.html +0 -238
  21. data/docs/DBF/ColumnType/Float.html +0 -238
  22. data/docs/DBF/ColumnType/General.html +0 -238
  23. data/docs/DBF/ColumnType/Memo.html +0 -246
  24. data/docs/DBF/ColumnType/Nil.html +0 -238
  25. data/docs/DBF/ColumnType/Number.html +0 -242
  26. data/docs/DBF/ColumnType/SignedLong.html +0 -238
  27. data/docs/DBF/ColumnType/String.html +0 -240
  28. data/docs/DBF/ColumnType.html +0 -115
  29. data/docs/DBF/Database/Foxpro.html +0 -653
  30. data/docs/DBF/Database/Table.html +0 -346
  31. data/docs/DBF/Database.html +0 -126
  32. data/docs/DBF/FileNotFoundError.html +0 -124
  33. data/docs/DBF/Header.html +0 -723
  34. data/docs/DBF/Memo/Base.html +0 -485
  35. data/docs/DBF/Memo/Dbase3.html +0 -242
  36. data/docs/DBF/Memo/Dbase4.html +0 -230
  37. data/docs/DBF/Memo/Foxpro.html +0 -268
  38. data/docs/DBF/Memo.html +0 -117
  39. data/docs/DBF/NoColumnsDefined.html +0 -124
  40. data/docs/DBF/Record.html +0 -773
  41. data/docs/DBF/Schema.html +0 -980
  42. data/docs/DBF/Table.html +0 -1571
  43. data/docs/DBF.html +0 -200
  44. data/docs/_index.html +0 -415
  45. data/docs/class_list.html +0 -51
  46. data/docs/css/common.css +0 -1
  47. data/docs/css/full_list.css +0 -58
  48. data/docs/css/style.css +0 -497
  49. data/docs/file.README.html +0 -359
  50. data/docs/file_list.html +0 -56
  51. data/docs/frames.html +0 -17
  52. data/docs/index.html +0 -359
  53. data/docs/js/app.js +0 -314
  54. data/docs/js/full_list.js +0 -216
  55. data/docs/js/jquery.js +0 -4
  56. data/docs/method_list.html +0 -675
  57. data/docs/top-level-namespace.html +0 -110
data/docs/DBF/Header.html DELETED
@@ -1,723 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: DBF::Header
8
-
9
- &mdash; Documentation by YARD 0.9.26
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "DBF::Header";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../_index.html">Index (H)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../DBF.html" title="DBF (module)">DBF</a></span></span>
41
- &raquo;
42
- <span class="title">Header</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Class: DBF::Header
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">Object</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">DBF::Header</li>
78
-
79
- </ul>
80
- <a href="#" class="inheritanceTree">show all</a>
81
-
82
- </dd>
83
- </dl>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
- <dl>
96
- <dt>Defined in:</dt>
97
- <dd>lib/dbf/header.rb</dd>
98
- </dl>
99
-
100
- </div>
101
-
102
-
103
-
104
-
105
-
106
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
107
- <ul class="summary">
108
-
109
- <li class="public ">
110
- <span class="summary_signature">
111
-
112
- <a href="#encoding-instance_method" title="#encoding (instance method)">#<strong>encoding</strong> &#x21d2; Object </a>
113
-
114
-
115
-
116
- </span>
117
-
118
-
119
-
120
-
121
- <span class="note title readonly">readonly</span>
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
- <span class="summary_desc"><div class='inline'>
132
- <p>Returns the value of attribute encoding.</p>
133
- </div></span>
134
-
135
- </li>
136
-
137
-
138
- <li class="public ">
139
- <span class="summary_signature">
140
-
141
- <a href="#encoding_key-instance_method" title="#encoding_key (instance method)">#<strong>encoding_key</strong> &#x21d2; Object </a>
142
-
143
-
144
-
145
- </span>
146
-
147
-
148
-
149
-
150
- <span class="note title readonly">readonly</span>
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
- <span class="summary_desc"><div class='inline'>
161
- <p>Returns the value of attribute encoding_key.</p>
162
- </div></span>
163
-
164
- </li>
165
-
166
-
167
- <li class="public ">
168
- <span class="summary_signature">
169
-
170
- <a href="#header_length-instance_method" title="#header_length (instance method)">#<strong>header_length</strong> &#x21d2; Object </a>
171
-
172
-
173
-
174
- </span>
175
-
176
-
177
-
178
-
179
- <span class="note title readonly">readonly</span>
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
- <span class="summary_desc"><div class='inline'>
190
- <p>Returns the value of attribute header_length.</p>
191
- </div></span>
192
-
193
- </li>
194
-
195
-
196
- <li class="public ">
197
- <span class="summary_signature">
198
-
199
- <a href="#record_count-instance_method" title="#record_count (instance method)">#<strong>record_count</strong> &#x21d2; Object </a>
200
-
201
-
202
-
203
- </span>
204
-
205
-
206
-
207
-
208
- <span class="note title readonly">readonly</span>
209
-
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
-
218
- <span class="summary_desc"><div class='inline'>
219
- <p>Returns the value of attribute record_count.</p>
220
- </div></span>
221
-
222
- </li>
223
-
224
-
225
- <li class="public ">
226
- <span class="summary_signature">
227
-
228
- <a href="#record_length-instance_method" title="#record_length (instance method)">#<strong>record_length</strong> &#x21d2; Object </a>
229
-
230
-
231
-
232
- </span>
233
-
234
-
235
-
236
-
237
- <span class="note title readonly">readonly</span>
238
-
239
-
240
-
241
-
242
-
243
-
244
-
245
-
246
-
247
- <span class="summary_desc"><div class='inline'>
248
- <p>Returns the value of attribute record_length.</p>
249
- </div></span>
250
-
251
- </li>
252
-
253
-
254
- <li class="public ">
255
- <span class="summary_signature">
256
-
257
- <a href="#version-instance_method" title="#version (instance method)">#<strong>version</strong> &#x21d2; Object </a>
258
-
259
-
260
-
261
- </span>
262
-
263
-
264
-
265
-
266
- <span class="note title readonly">readonly</span>
267
-
268
-
269
-
270
-
271
-
272
-
273
-
274
-
275
-
276
- <span class="summary_desc"><div class='inline'>
277
- <p>Returns the value of attribute version.</p>
278
- </div></span>
279
-
280
- </li>
281
-
282
-
283
- </ul>
284
-
285
-
286
-
287
-
288
-
289
- <h2>
290
- Instance Method Summary
291
- <small><a href="#" class="summary_toggle">collapse</a></small>
292
- </h2>
293
-
294
- <ul class="summary">
295
-
296
- <li class="public ">
297
- <span class="summary_signature">
298
-
299
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(data) &#x21d2; Header </a>
300
-
301
-
302
-
303
- </span>
304
-
305
-
306
- <span class="note title constructor">constructor</span>
307
-
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
- <span class="summary_desc"><div class='inline'>
316
- <p>A new instance of Header.</p>
317
- </div></span>
318
-
319
- </li>
320
-
321
-
322
- <li class="public ">
323
- <span class="summary_signature">
324
-
325
- <a href="#unpack_header-instance_method" title="#unpack_header (instance method)">#<strong>unpack_header</strong> &#x21d2; Object </a>
326
-
327
-
328
-
329
- </span>
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
-
338
-
339
- <span class="summary_desc"><div class='inline'></div></span>
340
-
341
- </li>
342
-
343
-
344
- </ul>
345
-
346
-
347
- <div id="constructor_details" class="method_details_list">
348
- <h2>Constructor Details</h2>
349
-
350
- <div class="method_details first">
351
- <h3 class="signature first" id="initialize-instance_method">
352
-
353
- #<strong>initialize</strong>(data) &#x21d2; <tt><span class='object_link'><a href="" title="DBF::Header (class)">Header</a></span></tt>
354
-
355
-
356
-
357
-
358
-
359
- </h3><div class="docstring">
360
- <div class="discussion">
361
-
362
- <p>Returns a new instance of Header.</p>
363
-
364
-
365
- </div>
366
- </div>
367
- <div class="tags">
368
-
369
-
370
- </div><table class="source_code">
371
- <tr>
372
- <td>
373
- <pre class="lines">
374
-
375
-
376
- 10
377
- 11
378
- 12
379
- 13</pre>
380
- </td>
381
- <td>
382
- <pre class="code"><span class="info file"># File 'lib/dbf/header.rb', line 10</span>
383
-
384
- <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>
385
- <span class='ivar'>@data</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span>
386
- <span class='id identifier rubyid_unpack_header'>unpack_header</span>
387
- <span class='kw'>end</span></pre>
388
- </td>
389
- </tr>
390
- </table>
391
- </div>
392
-
393
- </div>
394
-
395
- <div id="instance_attr_details" class="attr_details">
396
- <h2>Instance Attribute Details</h2>
397
-
398
-
399
- <span id=""></span>
400
- <div class="method_details first">
401
- <h3 class="signature first" id="encoding-instance_method">
402
-
403
- #<strong>encoding</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
404
-
405
-
406
-
407
-
408
-
409
- </h3><div class="docstring">
410
- <div class="discussion">
411
-
412
- <p>Returns the value of attribute encoding.</p>
413
-
414
-
415
- </div>
416
- </div>
417
- <div class="tags">
418
-
419
-
420
- </div><table class="source_code">
421
- <tr>
422
- <td>
423
- <pre class="lines">
424
-
425
-
426
- 8
427
- 9
428
- 10</pre>
429
- </td>
430
- <td>
431
- <pre class="code"><span class="info file"># File 'lib/dbf/header.rb', line 8</span>
432
-
433
- <span class='kw'>def</span> <span class='id identifier rubyid_encoding'>encoding</span>
434
- <span class='ivar'>@encoding</span>
435
- <span class='kw'>end</span></pre>
436
- </td>
437
- </tr>
438
- </table>
439
- </div>
440
-
441
-
442
- <span id=""></span>
443
- <div class="method_details ">
444
- <h3 class="signature " id="encoding_key-instance_method">
445
-
446
- #<strong>encoding_key</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
447
-
448
-
449
-
450
-
451
-
452
- </h3><div class="docstring">
453
- <div class="discussion">
454
-
455
- <p>Returns the value of attribute encoding_key.</p>
456
-
457
-
458
- </div>
459
- </div>
460
- <div class="tags">
461
-
462
-
463
- </div><table class="source_code">
464
- <tr>
465
- <td>
466
- <pre class="lines">
467
-
468
-
469
- 7
470
- 8
471
- 9</pre>
472
- </td>
473
- <td>
474
- <pre class="code"><span class="info file"># File 'lib/dbf/header.rb', line 7</span>
475
-
476
- <span class='kw'>def</span> <span class='id identifier rubyid_encoding_key'>encoding_key</span>
477
- <span class='ivar'>@encoding_key</span>
478
- <span class='kw'>end</span></pre>
479
- </td>
480
- </tr>
481
- </table>
482
- </div>
483
-
484
-
485
- <span id=""></span>
486
- <div class="method_details ">
487
- <h3 class="signature " id="header_length-instance_method">
488
-
489
- #<strong>header_length</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
490
-
491
-
492
-
493
-
494
-
495
- </h3><div class="docstring">
496
- <div class="discussion">
497
-
498
- <p>Returns the value of attribute header_length.</p>
499
-
500
-
501
- </div>
502
- </div>
503
- <div class="tags">
504
-
505
-
506
- </div><table class="source_code">
507
- <tr>
508
- <td>
509
- <pre class="lines">
510
-
511
-
512
- 5
513
- 6
514
- 7</pre>
515
- </td>
516
- <td>
517
- <pre class="code"><span class="info file"># File 'lib/dbf/header.rb', line 5</span>
518
-
519
- <span class='kw'>def</span> <span class='id identifier rubyid_header_length'>header_length</span>
520
- <span class='ivar'>@header_length</span>
521
- <span class='kw'>end</span></pre>
522
- </td>
523
- </tr>
524
- </table>
525
- </div>
526
-
527
-
528
- <span id=""></span>
529
- <div class="method_details ">
530
- <h3 class="signature " id="record_count-instance_method">
531
-
532
- #<strong>record_count</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
533
-
534
-
535
-
536
-
537
-
538
- </h3><div class="docstring">
539
- <div class="discussion">
540
-
541
- <p>Returns the value of attribute record_count.</p>
542
-
543
-
544
- </div>
545
- </div>
546
- <div class="tags">
547
-
548
-
549
- </div><table class="source_code">
550
- <tr>
551
- <td>
552
- <pre class="lines">
553
-
554
-
555
- 4
556
- 5
557
- 6</pre>
558
- </td>
559
- <td>
560
- <pre class="code"><span class="info file"># File 'lib/dbf/header.rb', line 4</span>
561
-
562
- <span class='kw'>def</span> <span class='id identifier rubyid_record_count'>record_count</span>
563
- <span class='ivar'>@record_count</span>
564
- <span class='kw'>end</span></pre>
565
- </td>
566
- </tr>
567
- </table>
568
- </div>
569
-
570
-
571
- <span id=""></span>
572
- <div class="method_details ">
573
- <h3 class="signature " id="record_length-instance_method">
574
-
575
- #<strong>record_length</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
576
-
577
-
578
-
579
-
580
-
581
- </h3><div class="docstring">
582
- <div class="discussion">
583
-
584
- <p>Returns the value of attribute record_length.</p>
585
-
586
-
587
- </div>
588
- </div>
589
- <div class="tags">
590
-
591
-
592
- </div><table class="source_code">
593
- <tr>
594
- <td>
595
- <pre class="lines">
596
-
597
-
598
- 6
599
- 7
600
- 8</pre>
601
- </td>
602
- <td>
603
- <pre class="code"><span class="info file"># File 'lib/dbf/header.rb', line 6</span>
604
-
605
- <span class='kw'>def</span> <span class='id identifier rubyid_record_length'>record_length</span>
606
- <span class='ivar'>@record_length</span>
607
- <span class='kw'>end</span></pre>
608
- </td>
609
- </tr>
610
- </table>
611
- </div>
612
-
613
-
614
- <span id=""></span>
615
- <div class="method_details ">
616
- <h3 class="signature " id="version-instance_method">
617
-
618
- #<strong>version</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
619
-
620
-
621
-
622
-
623
-
624
- </h3><div class="docstring">
625
- <div class="discussion">
626
-
627
- <p>Returns the value of attribute version.</p>
628
-
629
-
630
- </div>
631
- </div>
632
- <div class="tags">
633
-
634
-
635
- </div><table class="source_code">
636
- <tr>
637
- <td>
638
- <pre class="lines">
639
-
640
-
641
- 3
642
- 4
643
- 5</pre>
644
- </td>
645
- <td>
646
- <pre class="code"><span class="info file"># File 'lib/dbf/header.rb', line 3</span>
647
-
648
- <span class='kw'>def</span> <span class='id identifier rubyid_version'>version</span>
649
- <span class='ivar'>@version</span>
650
- <span class='kw'>end</span></pre>
651
- </td>
652
- </tr>
653
- </table>
654
- </div>
655
-
656
- </div>
657
-
658
-
659
- <div id="instance_method_details" class="method_details_list">
660
- <h2>Instance Method Details</h2>
661
-
662
-
663
- <div class="method_details first">
664
- <h3 class="signature first" id="unpack_header-instance_method">
665
-
666
- #<strong>unpack_header</strong> &#x21d2; <tt>Object</tt>
667
-
668
-
669
-
670
-
671
-
672
- </h3><table class="source_code">
673
- <tr>
674
- <td>
675
- <pre class="lines">
676
-
677
-
678
- 15
679
- 16
680
- 17
681
- 18
682
- 19
683
- 20
684
- 21
685
- 22
686
- 23
687
- 24
688
- 25
689
- 26</pre>
690
- </td>
691
- <td>
692
- <pre class="code"><span class="info file"># File 'lib/dbf/header.rb', line 15</span>
693
-
694
- <span class='kw'>def</span> <span class='id identifier rubyid_unpack_header'>unpack_header</span>
695
- <span class='ivar'>@version</span> <span class='op'>=</span> <span class='ivar'>@data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>H2</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
696
-
697
- <span class='kw'>case</span> <span class='ivar'>@version</span>
698
- <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>02</span><span class='tstring_end'>&#39;</span></span>
699
- <span class='ivar'>@record_count</span><span class='comma'>,</span> <span class='ivar'>@record_length</span> <span class='op'>=</span> <span class='ivar'>@data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>x v x3 v</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
700
- <span class='ivar'>@header_length</span> <span class='op'>=</span> <span class='int'>521</span>
701
- <span class='kw'>else</span>
702
- <span class='ivar'>@record_count</span><span class='comma'>,</span> <span class='ivar'>@header_length</span><span class='comma'>,</span> <span class='ivar'>@record_length</span><span class='comma'>,</span> <span class='ivar'>@encoding_key</span> <span class='op'>=</span> <span class='ivar'>@data</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>x x3 V v2 x17 H2</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
703
- <span class='ivar'>@encoding</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../DBF.html" title="DBF (module)">DBF</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../DBF.html#ENCODINGS-constant" title="DBF::ENCODINGS (constant)">ENCODINGS</a></span></span><span class='lbracket'>[</span><span class='ivar'>@encoding_key</span><span class='rbracket'>]</span>
704
- <span class='kw'>end</span>
705
- <span class='kw'>end</span></pre>
706
- </td>
707
- </tr>
708
- </table>
709
- </div>
710
-
711
- </div>
712
-
713
- </div>
714
-
715
- <div id="footer">
716
- Generated on Sun Aug 8 16:19:08 2021 by
717
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
718
- 0.9.26 (ruby-3.0.1).
719
- </div>
720
-
721
- </div>
722
- </body>
723
- </html>