bibtex-ruby 1.3.10 → 1.3.11

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. data/Gemfile +7 -2
  2. data/Gemfile.lock +18 -14
  3. data/History.txt +6 -0
  4. data/Manifest +38 -1
  5. data/Rakefile +3 -10
  6. data/Rakefile.compiled.rbc +1903 -0
  7. data/bibtex-ruby.gemspec +10 -13
  8. data/features/issues/parse_months.feature +24 -4
  9. data/features/step_definitions/bibtex_steps.rbc +2981 -0
  10. data/features/step_definitions/name_steps.rbc +544 -0
  11. data/features/support/env.rb +0 -5
  12. data/features/support/env.rbc +144 -0
  13. data/lib/bibtex.rb +1 -0
  14. data/lib/bibtex.rbc +709 -0
  15. data/lib/bibtex/bibliography.rb +1 -1
  16. data/lib/bibtex/bibliography.rbc +5799 -0
  17. data/lib/bibtex/compatibility.rb +10 -0
  18. data/lib/bibtex/compatibility.rbc +290 -0
  19. data/lib/bibtex/elements.rbc +5524 -0
  20. data/lib/bibtex/entry.rbc +8317 -0
  21. data/lib/bibtex/error.rbc +785 -0
  22. data/lib/bibtex/extensions.rbc +127 -0
  23. data/lib/bibtex/filters.rbc +1178 -0
  24. data/lib/bibtex/filters/latex.rbc +361 -0
  25. data/lib/bibtex/lexer.rbc +5612 -0
  26. data/lib/bibtex/name_parser.rbc +2867 -0
  27. data/lib/bibtex/names.rb +2 -2
  28. data/lib/bibtex/names.rbc +4156 -0
  29. data/lib/bibtex/parser.rbc +3336 -0
  30. data/lib/bibtex/replaceable.rbc +593 -0
  31. data/lib/bibtex/ruby.rb +1 -0
  32. data/lib/bibtex/utilities.rbc +743 -0
  33. data/lib/bibtex/value.rb +5 -2
  34. data/lib/bibtex/value.rbc +4323 -0
  35. data/lib/bibtex/version.rb +1 -1
  36. data/lib/bibtex/version.rbc +209 -0
  37. data/test/bibtex/test_bibliography.rb +1 -1
  38. data/test/bibtex/test_bibliography.rbc +3397 -0
  39. data/test/bibtex/test_elements.rbc +924 -0
  40. data/test/bibtex/test_entry.rb +17 -14
  41. data/test/bibtex/test_entry.rbc +6392 -0
  42. data/test/bibtex/test_filters.rbc +1017 -0
  43. data/test/bibtex/test_lexer.rbc +373 -0
  44. data/test/bibtex/test_name_parser.rbc +608 -0
  45. data/test/bibtex/test_names.rbc +797 -0
  46. data/test/bibtex/test_parser.rb +2 -2
  47. data/test/bibtex/test_parser.rbc +2834 -0
  48. data/test/bibtex/test_string.rbc +706 -0
  49. data/test/bibtex/test_utilities.rb +1 -1
  50. data/test/bibtex/test_utilities.rbc +851 -0
  51. data/test/bibtex/test_value.rbc +4993 -0
  52. data/test/helper.rb +2 -5
  53. data/test/helper.rbc +446 -0
  54. data/test/test_bibtex.rb +20 -20
  55. data/test/test_bibtex.rbc +1875 -0
  56. data/test/test_export.rbc +921 -0
  57. metadata +72 -58
@@ -0,0 +1,706 @@
1
+ !RBIX
2
+ 9595534255132031488
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 37
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 99
23
+ 7
24
+ 2
25
+ 65
26
+ 49
27
+ 3
28
+ 2
29
+ 13
30
+ 99
31
+ 12
32
+ 7
33
+ 4
34
+ 12
35
+ 7
36
+ 5
37
+ 12
38
+ 65
39
+ 12
40
+ 49
41
+ 6
42
+ 4
43
+ 15
44
+ 49
45
+ 4
46
+ 0
47
+ 15
48
+ 2
49
+ 11
50
+ I
51
+ 6
52
+ I
53
+ 0
54
+ I
55
+ 0
56
+ I
57
+ 0
58
+ n
59
+ p
60
+ 7
61
+ s
62
+ 9
63
+ helper.rb
64
+ x
65
+ 7
66
+ require
67
+ x
68
+ 6
69
+ BibTeX
70
+ x
71
+ 11
72
+ open_module
73
+ x
74
+ 15
75
+ __module_init__
76
+ M
77
+ 1
78
+ n
79
+ n
80
+ x
81
+ 6
82
+ BibTeX
83
+ i
84
+ 33
85
+ 5
86
+ 66
87
+ 99
88
+ 7
89
+ 0
90
+ 45
91
+ 1
92
+ 2
93
+ 43
94
+ 3
95
+ 65
96
+ 49
97
+ 4
98
+ 3
99
+ 13
100
+ 99
101
+ 12
102
+ 7
103
+ 5
104
+ 12
105
+ 7
106
+ 6
107
+ 12
108
+ 65
109
+ 12
110
+ 49
111
+ 7
112
+ 4
113
+ 15
114
+ 49
115
+ 5
116
+ 0
117
+ 11
118
+ I
119
+ 6
120
+ I
121
+ 0
122
+ I
123
+ 0
124
+ I
125
+ 0
126
+ n
127
+ p
128
+ 8
129
+ x
130
+ 10
131
+ StringTest
132
+ x
133
+ 8
134
+ MiniTest
135
+ n
136
+ x
137
+ 4
138
+ Spec
139
+ x
140
+ 10
141
+ open_class
142
+ x
143
+ 14
144
+ __class_init__
145
+ M
146
+ 1
147
+ n
148
+ n
149
+ x
150
+ 10
151
+ StringTest
152
+ i
153
+ 13
154
+ 5
155
+ 66
156
+ 5
157
+ 7
158
+ 0
159
+ 64
160
+ 56
161
+ 1
162
+ 47
163
+ 50
164
+ 2
165
+ 1
166
+ 11
167
+ I
168
+ 3
169
+ I
170
+ 0
171
+ I
172
+ 0
173
+ I
174
+ 0
175
+ n
176
+ p
177
+ 3
178
+ s
179
+ 28
180
+ when parsing a simple string
181
+ M
182
+ 1
183
+ p
184
+ 2
185
+ x
186
+ 9
187
+ for_block
188
+ t
189
+ n
190
+ x
191
+ 10
192
+ StringTest
193
+ i
194
+ 52
195
+ 5
196
+ 56
197
+ 0
198
+ 47
199
+ 50
200
+ 1
201
+ 0
202
+ 15
203
+ 5
204
+ 7
205
+ 2
206
+ 64
207
+ 56
208
+ 3
209
+ 47
210
+ 50
211
+ 4
212
+ 1
213
+ 15
214
+ 5
215
+ 7
216
+ 5
217
+ 64
218
+ 56
219
+ 6
220
+ 47
221
+ 50
222
+ 4
223
+ 1
224
+ 15
225
+ 5
226
+ 7
227
+ 7
228
+ 64
229
+ 56
230
+ 8
231
+ 47
232
+ 50
233
+ 4
234
+ 1
235
+ 15
236
+ 5
237
+ 7
238
+ 9
239
+ 64
240
+ 56
241
+ 10
242
+ 47
243
+ 50
244
+ 4
245
+ 1
246
+ 11
247
+ I
248
+ 4
249
+ I
250
+ 0
251
+ I
252
+ 0
253
+ I
254
+ 0
255
+ I
256
+ -2
257
+ p
258
+ 11
259
+ M
260
+ 1
261
+ p
262
+ 2
263
+ x
264
+ 9
265
+ for_block
266
+ t
267
+ n
268
+ x
269
+ 10
270
+ StringTest
271
+ i
272
+ 12
273
+ 45
274
+ 0
275
+ 1
276
+ 7
277
+ 2
278
+ 64
279
+ 49
280
+ 3
281
+ 1
282
+ 38
283
+ 4
284
+ 11
285
+ I
286
+ 3
287
+ I
288
+ 0
289
+ I
290
+ 0
291
+ I
292
+ 0
293
+ I
294
+ -2
295
+ p
296
+ 5
297
+ x
298
+ 6
299
+ BibTeX
300
+ n
301
+ s
302
+ 22
303
+ @string{ foo = "bar" }
304
+ x
305
+ 5
306
+ parse
307
+ x
308
+ 4
309
+ @bib
310
+ p
311
+ 3
312
+ I
313
+ 0
314
+ I
315
+ 8
316
+ I
317
+ c
318
+ x
319
+ 60
320
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_string.rb
321
+ p
322
+ 0
323
+ x
324
+ 5
325
+ setup
326
+ s
327
+ 19
328
+ should not be empty
329
+ M
330
+ 1
331
+ p
332
+ 2
333
+ x
334
+ 9
335
+ for_block
336
+ t
337
+ n
338
+ x
339
+ 10
340
+ StringTest
341
+ i
342
+ 12
343
+ 5
344
+ 79
345
+ 39
346
+ 0
347
+ 49
348
+ 1
349
+ 0
350
+ 47
351
+ 49
352
+ 2
353
+ 2
354
+ 11
355
+ I
356
+ 4
357
+ I
358
+ 0
359
+ I
360
+ 0
361
+ I
362
+ 0
363
+ I
364
+ -2
365
+ p
366
+ 3
367
+ x
368
+ 4
369
+ @bib
370
+ x
371
+ 6
372
+ length
373
+ x
374
+ 12
375
+ assert_equal
376
+ p
377
+ 3
378
+ I
379
+ 0
380
+ I
381
+ b
382
+ I
383
+ c
384
+ x
385
+ 60
386
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_string.rb
387
+ p
388
+ 0
389
+ x
390
+ 6
391
+ should
392
+ s
393
+ 20
394
+ have a symbol as key
395
+ M
396
+ 1
397
+ p
398
+ 2
399
+ x
400
+ 9
401
+ for_block
402
+ t
403
+ n
404
+ x
405
+ 10
406
+ StringTest
407
+ i
408
+ 17
409
+ 5
410
+ 7
411
+ 0
412
+ 39
413
+ 1
414
+ 78
415
+ 49
416
+ 2
417
+ 1
418
+ 49
419
+ 3
420
+ 0
421
+ 47
422
+ 49
423
+ 4
424
+ 2
425
+ 11
426
+ I
427
+ 5
428
+ I
429
+ 0
430
+ I
431
+ 0
432
+ I
433
+ 0
434
+ I
435
+ -2
436
+ p
437
+ 5
438
+ x
439
+ 3
440
+ foo
441
+ x
442
+ 4
443
+ @bib
444
+ x
445
+ 2
446
+ []
447
+ x
448
+ 3
449
+ key
450
+ x
451
+ 12
452
+ assert_equal
453
+ p
454
+ 3
455
+ I
456
+ 0
457
+ I
458
+ e
459
+ I
460
+ 11
461
+ x
462
+ 60
463
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_string.rb
464
+ p
465
+ 0
466
+ s
467
+ 19
468
+ have a value string
469
+ M
470
+ 1
471
+ p
472
+ 2
473
+ x
474
+ 9
475
+ for_block
476
+ t
477
+ n
478
+ x
479
+ 10
480
+ StringTest
481
+ i
482
+ 21
483
+ 5
484
+ 7
485
+ 0
486
+ 64
487
+ 39
488
+ 1
489
+ 78
490
+ 49
491
+ 2
492
+ 1
493
+ 49
494
+ 3
495
+ 0
496
+ 49
497
+ 4
498
+ 0
499
+ 47
500
+ 49
501
+ 5
502
+ 2
503
+ 11
504
+ I
505
+ 5
506
+ I
507
+ 0
508
+ I
509
+ 0
510
+ I
511
+ 0
512
+ I
513
+ -2
514
+ p
515
+ 6
516
+ s
517
+ 3
518
+ bar
519
+ x
520
+ 4
521
+ @bib
522
+ x
523
+ 2
524
+ []
525
+ x
526
+ 5
527
+ value
528
+ x
529
+ 4
530
+ to_s
531
+ x
532
+ 12
533
+ assert_equal
534
+ p
535
+ 3
536
+ I
537
+ 0
538
+ I
539
+ 11
540
+ I
541
+ 15
542
+ x
543
+ 60
544
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_string.rb
545
+ p
546
+ 0
547
+ s
548
+ 20
549
+ have been registered
550
+ M
551
+ 1
552
+ p
553
+ 2
554
+ x
555
+ 9
556
+ for_block
557
+ t
558
+ n
559
+ x
560
+ 10
561
+ StringTest
562
+ i
563
+ 19
564
+ 5
565
+ 39
566
+ 0
567
+ 49
568
+ 1
569
+ 0
570
+ 7
571
+ 2
572
+ 49
573
+ 3
574
+ 1
575
+ 49
576
+ 4
577
+ 0
578
+ 47
579
+ 49
580
+ 5
581
+ 1
582
+ 11
583
+ I
584
+ 4
585
+ I
586
+ 0
587
+ I
588
+ 0
589
+ I
590
+ 0
591
+ I
592
+ -2
593
+ p
594
+ 6
595
+ x
596
+ 4
597
+ @bib
598
+ x
599
+ 7
600
+ strings
601
+ x
602
+ 3
603
+ foo
604
+ x
605
+ 2
606
+ []
607
+ x
608
+ 4
609
+ nil?
610
+ x
611
+ 6
612
+ refute
613
+ p
614
+ 3
615
+ I
616
+ 0
617
+ I
618
+ 14
619
+ I
620
+ 13
621
+ x
622
+ 60
623
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_string.rb
624
+ p
625
+ 0
626
+ p
627
+ 11
628
+ I
629
+ 0
630
+ I
631
+ 7
632
+ I
633
+ 8
634
+ I
635
+ a
636
+ I
637
+ 13
638
+ I
639
+ d
640
+ I
641
+ 1e
642
+ I
643
+ 10
644
+ I
645
+ 29
646
+ I
647
+ 13
648
+ I
649
+ 34
650
+ x
651
+ 60
652
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_string.rb
653
+ p
654
+ 0
655
+ x
656
+ 7
657
+ context
658
+ p
659
+ 3
660
+ I
661
+ 2
662
+ I
663
+ 6
664
+ I
665
+ d
666
+ x
667
+ 60
668
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_string.rb
669
+ p
670
+ 0
671
+ x
672
+ 13
673
+ attach_method
674
+ p
675
+ 3
676
+ I
677
+ 2
678
+ I
679
+ 4
680
+ I
681
+ 21
682
+ x
683
+ 60
684
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_string.rb
685
+ p
686
+ 0
687
+ x
688
+ 13
689
+ attach_method
690
+ p
691
+ 5
692
+ I
693
+ 0
694
+ I
695
+ 1
696
+ I
697
+ 9
698
+ I
699
+ 3
700
+ I
701
+ 25
702
+ x
703
+ 60
704
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_string.rb
705
+ p
706
+ 0