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,1000 +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
- 28
13
- 99
14
- 7
15
- 0
16
- 65
17
- 49
18
- 1
19
- 2
20
- 13
21
- 99
22
- 12
23
- 7
24
- 2
25
- 12
26
- 7
27
- 3
28
- 12
29
- 65
30
- 12
31
- 49
32
- 4
33
- 4
34
- 15
35
- 49
36
- 2
37
- 0
38
- 15
39
- 2
40
- 11
41
- I
42
- 6
43
- I
44
- 0
45
- I
46
- 0
47
- I
48
- 0
49
- n
50
- p
51
- 5
52
- x
53
- 6
54
- BibTeX
55
- x
56
- 11
57
- open_module
58
- x
59
- 15
60
- __module_init__
61
- M
62
- 1
63
- n
64
- n
65
- x
66
- 6
67
- BibTeX
68
- i
69
- 86
70
- 5
71
- 66
72
- 99
73
- 7
74
- 0
75
- 45
76
- 1
77
- 2
78
- 65
79
- 49
80
- 3
81
- 3
82
- 13
83
- 99
84
- 12
85
- 7
86
- 4
87
- 12
88
- 7
89
- 5
90
- 12
91
- 65
92
- 12
93
- 49
94
- 6
95
- 4
96
- 15
97
- 49
98
- 4
99
- 0
100
- 15
101
- 99
102
- 7
103
- 7
104
- 45
105
- 0
106
- 8
107
- 65
108
- 49
109
- 3
110
- 3
111
- 15
112
- 1
113
- 15
114
- 99
115
- 7
116
- 9
117
- 45
118
- 0
119
- 10
120
- 65
121
- 49
122
- 3
123
- 3
124
- 15
125
- 1
126
- 15
127
- 99
128
- 7
129
- 11
130
- 45
131
- 12
132
- 13
133
- 65
134
- 49
135
- 3
136
- 3
137
- 13
138
- 99
139
- 12
140
- 7
141
- 4
142
- 12
143
- 7
144
- 14
145
- 12
146
- 65
147
- 12
148
- 49
149
- 6
150
- 4
151
- 15
152
- 49
153
- 4
154
- 0
155
- 11
156
- I
157
- 6
158
- I
159
- 0
160
- I
161
- 0
162
- I
163
- 0
164
- n
165
- p
166
- 15
167
- x
168
- 11
169
- BibTeXError
170
- x
171
- 13
172
- StandardError
173
- n
174
- x
175
- 10
176
- open_class
177
- x
178
- 14
179
- __class_init__
180
- M
181
- 1
182
- n
183
- n
184
- x
185
- 11
186
- BibTeXError
187
- i
188
- 24
189
- 5
190
- 66
191
- 5
192
- 7
193
- 0
194
- 47
195
- 49
196
- 1
197
- 1
198
- 15
199
- 99
200
- 7
201
- 2
202
- 7
203
- 3
204
- 65
205
- 67
206
- 49
207
- 4
208
- 0
209
- 49
210
- 5
211
- 4
212
- 11
213
- I
214
- 5
215
- I
216
- 0
217
- I
218
- 0
219
- I
220
- 0
221
- n
222
- p
223
- 6
224
- x
225
- 7
226
- orginal
227
- x
228
- 11
229
- attr_reader
230
- x
231
- 10
232
- initialize
233
- M
234
- 1
235
- n
236
- n
237
- x
238
- 10
239
- initialize
240
- i
241
- 28
242
- 23
243
- 0
244
- 10
245
- 8
246
- 1
247
- 19
248
- 0
249
- 15
250
- 23
251
- 1
252
- 10
253
- 16
254
- 24
255
- 19
256
- 1
257
- 15
258
- 20
259
- 0
260
- 54
261
- 52
262
- 0
263
- 1
264
- 15
265
- 20
266
- 1
267
- 38
268
- 1
269
- 11
270
- I
271
- 4
272
- I
273
- 2
274
- I
275
- 0
276
- I
277
- 2
278
- n
279
- p
280
- 2
281
- x
282
- 10
283
- initialize
284
- x
285
- 9
286
- @original
287
- p
288
- 7
289
- I
290
- -1
291
- I
292
- 6
293
- I
294
- 10
295
- I
296
- 7
297
- I
298
- 17
299
- I
300
- 8
301
- I
302
- 1c
303
- x
304
- 53
305
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
306
- p
307
- 2
308
- x
309
- 7
310
- message
311
- x
312
- 8
313
- original
314
- x
315
- 17
316
- method_visibility
317
- x
318
- 15
319
- add_defn_method
320
- p
321
- 5
322
- I
323
- 2
324
- I
325
- 4
326
- I
327
- a
328
- I
329
- 6
330
- I
331
- 18
332
- x
333
- 53
334
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
335
- p
336
- 0
337
- x
338
- 13
339
- attach_method
340
- x
341
- 10
342
- ParseError
343
- n
344
- x
345
- 13
346
- ArgumentError
347
- n
348
- x
349
- 5
350
- Error
351
- x
352
- 7
353
- Element
354
- n
355
- M
356
- 1
357
- n
358
- n
359
- x
360
- 5
361
- Error
362
- i
363
- 80
364
- 5
365
- 66
366
- 5
367
- 7
368
- 0
369
- 47
370
- 49
371
- 1
372
- 1
373
- 15
374
- 99
375
- 7
376
- 2
377
- 7
378
- 3
379
- 65
380
- 67
381
- 49
382
- 4
383
- 0
384
- 49
385
- 5
386
- 4
387
- 15
388
- 99
389
- 7
390
- 6
391
- 7
392
- 7
393
- 65
394
- 67
395
- 49
396
- 4
397
- 0
398
- 49
399
- 5
400
- 4
401
- 15
402
- 99
403
- 7
404
- 8
405
- 7
406
- 9
407
- 65
408
- 67
409
- 49
410
- 4
411
- 0
412
- 49
413
- 5
414
- 4
415
- 15
416
- 99
417
- 7
418
- 10
419
- 7
420
- 11
421
- 65
422
- 67
423
- 49
424
- 4
425
- 0
426
- 49
427
- 5
428
- 4
429
- 15
430
- 99
431
- 7
432
- 12
433
- 7
434
- 13
435
- 65
436
- 67
437
- 49
438
- 4
439
- 0
440
- 49
441
- 5
442
- 4
443
- 11
444
- I
445
- 5
446
- I
447
- 0
448
- I
449
- 0
450
- I
451
- 0
452
- n
453
- p
454
- 14
455
- x
456
- 5
457
- trace
458
- x
459
- 11
460
- attr_reader
461
- x
462
- 10
463
- initialize
464
- M
465
- 1
466
- n
467
- n
468
- x
469
- 10
470
- initialize
471
- i
472
- 14
473
- 23
474
- 0
475
- 10
476
- 9
477
- 35
478
- 0
479
- 19
480
- 0
481
- 15
482
- 20
483
- 0
484
- 38
485
- 0
486
- 11
487
- I
488
- 2
489
- I
490
- 1
491
- I
492
- 0
493
- I
494
- 1
495
- n
496
- p
497
- 1
498
- x
499
- 6
500
- @trace
501
- p
502
- 5
503
- I
504
- -1
505
- I
506
- 16
507
- I
508
- 9
509
- I
510
- 17
511
- I
512
- e
513
- x
514
- 53
515
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
516
- p
517
- 1
518
- x
519
- 5
520
- trace
521
- x
522
- 17
523
- method_visibility
524
- x
525
- 15
526
- add_defn_method
527
- x
528
- 6
529
- trace=
530
- M
531
- 1
532
- n
533
- n
534
- x
535
- 6
536
- trace=
537
- i
538
- 44
539
- 20
540
- 0
541
- 45
542
- 0
543
- 1
544
- 49
545
- 2
546
- 1
547
- 9
548
- 13
549
- 1
550
- 8
551
- 38
552
- 5
553
- 45
554
- 3
555
- 4
556
- 7
557
- 5
558
- 20
559
- 0
560
- 49
561
- 6
562
- 0
563
- 49
564
- 7
565
- 0
566
- 47
567
- 101
568
- 8
569
- 7
570
- 9
571
- 63
572
- 3
573
- 47
574
- 49
575
- 10
576
- 2
577
- 15
578
- 20
579
- 0
580
- 38
581
- 11
582
- 11
583
- I
584
- 6
585
- I
586
- 1
587
- I
588
- 1
589
- I
590
- 1
591
- n
592
- p
593
- 12
594
- x
595
- 5
596
- Array
597
- n
598
- x
599
- 8
600
- kind_of?
601
- x
602
- 13
603
- ArgumentError
604
- n
605
- s
606
- 48
607
- BibTeX::Error trace must be of type Array; was:
608
- x
609
- 5
610
- class
611
- x
612
- 4
613
- name
614
- x
615
- 4
616
- to_s
617
- s
618
- 1
619
- .
620
- x
621
- 5
622
- raise
623
- x
624
- 6
625
- @trace
626
- p
627
- 9
628
- I
629
- -1
630
- I
631
- 1a
632
- I
633
- 0
634
- I
635
- 1b
636
- I
637
- 26
638
- I
639
- 0
640
- I
641
- 27
642
- I
643
- 1c
644
- I
645
- 2c
646
- x
647
- 53
648
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
649
- p
650
- 1
651
- x
652
- 5
653
- trace
654
- x
655
- 7
656
- content
657
- M
658
- 1
659
- n
660
- n
661
- x
662
- 7
663
- content
664
- i
665
- 11
666
- 39
667
- 0
668
- 56
669
- 1
670
- 50
671
- 2
672
- 0
673
- 49
674
- 3
675
- 0
676
- 11
677
- I
678
- 2
679
- I
680
- 0
681
- I
682
- 0
683
- I
684
- 0
685
- n
686
- p
687
- 4
688
- x
689
- 6
690
- @trace
691
- M
692
- 1
693
- p
694
- 2
695
- x
696
- 9
697
- for_block
698
- t
699
- n
700
- x
701
- 7
702
- content
703
- i
704
- 11
705
- 57
706
- 19
707
- 0
708
- 15
709
- 20
710
- 0
711
- 79
712
- 49
713
- 0
714
- 1
715
- 11
716
- I
717
- 4
718
- I
719
- 1
720
- I
721
- 1
722
- I
723
- 1
724
- n
725
- p
726
- 1
727
- x
728
- 2
729
- []
730
- p
731
- 3
732
- I
733
- 0
734
- I
735
- 20
736
- I
737
- b
738
- x
739
- 53
740
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
741
- p
742
- 1
743
- x
744
- 1
745
- e
746
- x
747
- 3
748
- map
749
- x
750
- 4
751
- join
752
- p
753
- 5
754
- I
755
- -1
756
- I
757
- 1f
758
- I
759
- 0
760
- I
761
- 20
762
- I
763
- b
764
- x
765
- 53
766
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
767
- p
768
- 0
769
- x
770
- 21
771
- added_to_bibliography
772
- M
773
- 1
774
- n
775
- n
776
- x
777
- 21
778
- added_to_bibliography
779
- i
780
- 19
781
- 20
782
- 0
783
- 54
784
- 52
785
- 0
786
- 1
787
- 15
788
- 20
789
- 0
790
- 49
791
- 1
792
- 0
793
- 5
794
- 49
795
- 2
796
- 1
797
- 15
798
- 5
799
- 11
800
- I
801
- 3
802
- I
803
- 1
804
- I
805
- 1
806
- I
807
- 1
808
- n
809
- p
810
- 3
811
- x
812
- 21
813
- added_to_bibliography
814
- x
815
- 6
816
- errors
817
- x
818
- 2
819
- <<
820
- p
821
- 9
822
- I
823
- -1
824
- I
825
- 24
826
- I
827
- 0
828
- I
829
- 25
830
- I
831
- 7
832
- I
833
- 26
834
- I
835
- 11
836
- I
837
- 27
838
- I
839
- 13
840
- x
841
- 53
842
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
843
- p
844
- 1
845
- x
846
- 12
847
- bibliography
848
- x
849
- 25
850
- removed_from_bibliography
851
- M
852
- 1
853
- n
854
- n
855
- x
856
- 25
857
- removed_from_bibliography
858
- i
859
- 19
860
- 20
861
- 0
862
- 54
863
- 52
864
- 0
865
- 1
866
- 15
867
- 20
868
- 0
869
- 49
870
- 1
871
- 0
872
- 5
873
- 49
874
- 2
875
- 1
876
- 15
877
- 5
878
- 11
879
- I
880
- 3
881
- I
882
- 1
883
- I
884
- 1
885
- I
886
- 1
887
- n
888
- p
889
- 3
890
- x
891
- 25
892
- removed_from_bibliography
893
- x
894
- 6
895
- errors
896
- x
897
- 6
898
- delete
899
- p
900
- 9
901
- I
902
- -1
903
- I
904
- 2b
905
- I
906
- 0
907
- I
908
- 2c
909
- I
910
- 7
911
- I
912
- 2d
913
- I
914
- 11
915
- I
916
- 2e
917
- I
918
- 13
919
- x
920
- 53
921
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
922
- p
923
- 1
924
- x
925
- 12
926
- bibliography
927
- p
928
- 13
929
- I
930
- 2
931
- I
932
- 14
933
- I
934
- a
935
- I
936
- 16
937
- I
938
- 18
939
- I
940
- 1a
941
- I
942
- 26
943
- I
944
- 1f
945
- I
946
- 34
947
- I
948
- 24
949
- I
950
- 42
951
- I
952
- 2b
953
- I
954
- 50
955
- x
956
- 53
957
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
958
- p
959
- 0
960
- p
961
- 9
962
- I
963
- 2
964
- I
965
- 3
966
- I
967
- 1f
968
- I
969
- c
970
- I
971
- 2c
972
- I
973
- d
974
- I
975
- 39
976
- I
977
- 12
978
- I
979
- 56
980
- x
981
- 53
982
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
983
- p
984
- 0
985
- x
986
- 13
987
- attach_method
988
- p
989
- 3
990
- I
991
- 0
992
- I
993
- 1
994
- I
995
- 1c
996
- x
997
- 53
998
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
999
- p
1000
- 0