bibtex-ruby 2.0.3 → 2.0.4

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 (52) hide show
  1. data/Gemfile.lock +2 -2
  2. data/History.txt +7 -0
  3. data/Manifest +3 -37
  4. data/Rakefile +1 -1
  5. data/features/issues/multiline_strings.feature +14 -0
  6. data/lib/bibtex/bibtex.y +9 -6
  7. data/lib/bibtex/filters.rb +5 -3
  8. data/lib/bibtex/filters/latex.rb +1 -1
  9. data/lib/bibtex/filters/linebreaks.rb +11 -0
  10. data/lib/bibtex/lexer.rb +254 -236
  11. data/lib/bibtex/parser.rb +9 -6
  12. data/lib/bibtex/version.rb +1 -1
  13. data/test/benchmark.rb +4 -1
  14. data/test/bibtex/test_lexer.rb +12 -2
  15. data/test/bibtex/test_parser.rb +21 -0
  16. metadata +14 -48
  17. data/Rakefile.compiled.rbc +0 -1994
  18. data/features/step_definitions/bibtex_steps.rbc +0 -2996
  19. data/features/step_definitions/name_steps.rbc +0 -544
  20. data/features/support/env.rbc +0 -144
  21. data/lib/bibtex.rbc +0 -725
  22. data/lib/bibtex/bibliography.rbc +0 -6729
  23. data/lib/bibtex/compatibility.rbc +0 -290
  24. data/lib/bibtex/elements.rbc +0 -5966
  25. data/lib/bibtex/entry.rbc +0 -11305
  26. data/lib/bibtex/error.rbc +0 -1000
  27. data/lib/bibtex/extensions.rbc +0 -127
  28. data/lib/bibtex/filters.rbc +0 -1178
  29. data/lib/bibtex/filters/latex.rbc +0 -361
  30. data/lib/bibtex/lexer.rbc +0 -5559
  31. data/lib/bibtex/name_parser.rbc +0 -2510
  32. data/lib/bibtex/names.rbc +0 -4710
  33. data/lib/bibtex/parser.rbc +0 -3336
  34. data/lib/bibtex/replaceable.rbc +0 -593
  35. data/lib/bibtex/utilities.rbc +0 -743
  36. data/lib/bibtex/value.rbc +0 -4291
  37. data/lib/bibtex/version.rbc +0 -209
  38. data/test/bibtex/test_bibliography.rbc +0 -4268
  39. data/test/bibtex/test_elements.rbc +0 -1554
  40. data/test/bibtex/test_entry.rbc +0 -11767
  41. data/test/bibtex/test_filters.rbc +0 -1017
  42. data/test/bibtex/test_lexer.rbc +0 -373
  43. data/test/bibtex/test_name_parser.rbc +0 -608
  44. data/test/bibtex/test_names.rbc +0 -797
  45. data/test/bibtex/test_parser.rbc +0 -2819
  46. data/test/bibtex/test_string.rbc +0 -706
  47. data/test/bibtex/test_utilities.rbc +0 -851
  48. data/test/bibtex/test_value.rbc +0 -4993
  49. data/test/helper.rbc +0 -430
  50. data/test/profile.dot +0 -191
  51. data/test/test_bibtex.rbc +0 -1785
  52. data/test/test_export.rbc +0 -908
@@ -1,797 +0,0 @@
1
- !RBIX
2
- 16846133056282117387
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
- 6
63
- helper
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
- 9
131
- NamesTest
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
- 9
151
- NamesTest
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
- 16
180
- string behaviour
181
- M
182
- 1
183
- p
184
- 2
185
- x
186
- 9
187
- for_block
188
- t
189
- n
190
- x
191
- 9
192
- NamesTest
193
- i
194
- 41
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
- 11
236
- I
237
- 4
238
- I
239
- 0
240
- I
241
- 0
242
- I
243
- 0
244
- I
245
- -2
246
- p
247
- 9
248
- M
249
- 1
250
- p
251
- 2
252
- x
253
- 9
254
- for_block
255
- t
256
- n
257
- x
258
- 9
259
- NamesTest
260
- i
261
- 123
262
- 45
263
- 0
264
- 1
265
- 13
266
- 71
267
- 2
268
- 47
269
- 9
270
- 69
271
- 47
272
- 49
273
- 3
274
- 0
275
- 13
276
- 44
277
- 43
278
- 4
279
- 4
280
- 4
281
- 49
282
- 5
283
- 1
284
- 13
285
- 7
286
- 6
287
- 7
288
- 7
289
- 64
290
- 49
291
- 8
292
- 2
293
- 15
294
- 13
295
- 7
296
- 9
297
- 7
298
- 10
299
- 64
300
- 49
301
- 8
302
- 2
303
- 15
304
- 13
305
- 7
306
- 11
307
- 7
308
- 12
309
- 64
310
- 49
311
- 8
312
- 2
313
- 15
314
- 13
315
- 7
316
- 13
317
- 7
318
- 14
319
- 64
320
- 49
321
- 8
322
- 2
323
- 15
324
- 47
325
- 49
326
- 15
327
- 1
328
- 15
329
- 8
330
- 120
331
- 44
332
- 43
333
- 4
334
- 4
335
- 4
336
- 49
337
- 5
338
- 1
339
- 13
340
- 7
341
- 6
342
- 7
343
- 7
344
- 64
345
- 49
346
- 8
347
- 2
348
- 15
349
- 13
350
- 7
351
- 9
352
- 7
353
- 10
354
- 64
355
- 49
356
- 8
357
- 2
358
- 15
359
- 13
360
- 7
361
- 11
362
- 7
363
- 12
364
- 64
365
- 49
366
- 8
367
- 2
368
- 15
369
- 13
370
- 7
371
- 13
372
- 7
373
- 14
374
- 64
375
- 49
376
- 8
377
- 2
378
- 15
379
- 49
380
- 2
381
- 1
382
- 38
383
- 16
384
- 11
385
- I
386
- 7
387
- I
388
- 0
389
- I
390
- 0
391
- I
392
- 0
393
- I
394
- -2
395
- p
396
- 17
397
- x
398
- 4
399
- Name
400
- n
401
- x
402
- 3
403
- new
404
- x
405
- 8
406
- allocate
407
- x
408
- 4
409
- Hash
410
- x
411
- 16
412
- new_from_literal
413
- x
414
- 5
415
- first
416
- s
417
- 27
418
- Charles Louis Xavier Joseph
419
- x
420
- 3
421
- []=
422
- x
423
- 6
424
- prefix
425
- s
426
- 5
427
- de la
428
- x
429
- 4
430
- last
431
- s
432
- 14
433
- Vallee Poussin
434
- x
435
- 6
436
- suffix
437
- s
438
- 3
439
- Jr.
440
- x
441
- 10
442
- initialize
443
- x
444
- 5
445
- @name
446
- p
447
- 3
448
- I
449
- 0
450
- I
451
- 8
452
- I
453
- 7b
454
- x
455
- 59
456
- /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_names.rb
457
- p
458
- 0
459
- x
460
- 6
461
- before
462
- s
463
- 24
464
- should implement upcase!
465
- M
466
- 1
467
- p
468
- 2
469
- x
470
- 9
471
- for_block
472
- t
473
- n
474
- x
475
- 9
476
- NamesTest
477
- i
478
- 17
479
- 5
480
- 7
481
- 0
482
- 64
483
- 39
484
- 1
485
- 49
486
- 2
487
- 0
488
- 49
489
- 3
490
- 0
491
- 47
492
- 49
493
- 4
494
- 2
495
- 11
496
- I
497
- 4
498
- I
499
- 0
500
- I
501
- 0
502
- I
503
- 0
504
- I
505
- -2
506
- p
507
- 5
508
- s
509
- 54
510
- DE LA VALLEE POUSSIN, JR., CHARLES LOUIS XAVIER JOSEPH
511
- x
512
- 5
513
- @name
514
- x
515
- 7
516
- upcase!
517
- x
518
- 4
519
- to_s
520
- x
521
- 12
522
- assert_equal
523
- p
524
- 3
525
- I
526
- 0
527
- I
528
- b
529
- I
530
- 11
531
- x
532
- 59
533
- /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_names.rb
534
- p
535
- 0
536
- x
537
- 2
538
- it
539
- s
540
- 26
541
- should implement downcase!
542
- M
543
- 1
544
- p
545
- 2
546
- x
547
- 9
548
- for_block
549
- t
550
- n
551
- x
552
- 9
553
- NamesTest
554
- i
555
- 17
556
- 5
557
- 7
558
- 0
559
- 64
560
- 39
561
- 1
562
- 49
563
- 2
564
- 0
565
- 49
566
- 3
567
- 0
568
- 47
569
- 49
570
- 4
571
- 2
572
- 11
573
- I
574
- 4
575
- I
576
- 0
577
- I
578
- 0
579
- I
580
- 0
581
- I
582
- -2
583
- p
584
- 5
585
- s
586
- 54
587
- de la vallee poussin, jr., charles louis xavier joseph
588
- x
589
- 5
590
- @name
591
- x
592
- 9
593
- downcase!
594
- x
595
- 4
596
- to_s
597
- x
598
- 12
599
- assert_equal
600
- p
601
- 3
602
- I
603
- 0
604
- I
605
- e
606
- I
607
- 11
608
- x
609
- 59
610
- /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_names.rb
611
- p
612
- 0
613
- s
614
- 22
615
- should implement gsub!
616
- M
617
- 1
618
- p
619
- 2
620
- x
621
- 9
622
- for_block
623
- t
624
- n
625
- x
626
- 9
627
- NamesTest
628
- i
629
- 38
630
- 5
631
- 7
632
- 0
633
- 64
634
- 39
635
- 1
636
- 7
637
- 2
638
- 13
639
- 70
640
- 9
641
- 24
642
- 15
643
- 44
644
- 43
645
- 3
646
- 7
647
- 4
648
- 78
649
- 49
650
- 5
651
- 2
652
- 6
653
- 2
654
- 7
655
- 6
656
- 64
657
- 49
658
- 7
659
- 2
660
- 49
661
- 8
662
- 0
663
- 47
664
- 49
665
- 9
666
- 2
667
- 11
668
- I
669
- 7
670
- I
671
- 0
672
- I
673
- 0
674
- I
675
- 0
676
- I
677
- -2
678
- p
679
- 10
680
- s
681
- 54
682
- dX la VallXX PoussXn, Jr., CharlXs LouXs XavXXr JosXph
683
- x
684
- 5
685
- @name
686
- n
687
- x
688
- 6
689
- Regexp
690
- s
691
- 4
692
- [ei]
693
- x
694
- 3
695
- new
696
- s
697
- 1
698
- X
699
- x
700
- 5
701
- gsub!
702
- x
703
- 4
704
- to_s
705
- x
706
- 12
707
- assert_equal
708
- p
709
- 3
710
- I
711
- 0
712
- I
713
- 11
714
- I
715
- 26
716
- x
717
- 59
718
- /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_names.rb
719
- p
720
- 0
721
- p
722
- 9
723
- I
724
- 0
725
- I
726
- 7
727
- I
728
- 8
729
- I
730
- a
731
- I
732
- 13
733
- I
734
- d
735
- I
736
- 1e
737
- I
738
- 10
739
- I
740
- 29
741
- x
742
- 59
743
- /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_names.rb
744
- p
745
- 0
746
- x
747
- 8
748
- describe
749
- p
750
- 3
751
- I
752
- 2
753
- I
754
- 6
755
- I
756
- d
757
- x
758
- 59
759
- /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_names.rb
760
- p
761
- 0
762
- x
763
- 13
764
- attach_method
765
- p
766
- 3
767
- I
768
- 2
769
- I
770
- 4
771
- I
772
- 21
773
- x
774
- 59
775
- /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_names.rb
776
- p
777
- 0
778
- x
779
- 13
780
- attach_method
781
- p
782
- 5
783
- I
784
- 0
785
- I
786
- 1
787
- I
788
- 9
789
- I
790
- 3
791
- I
792
- 25
793
- x
794
- 59
795
- /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_names.rb
796
- p
797
- 0