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