bibtex-ruby 1.3.10 → 1.3.11

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bibtex-ruby might be problematic. Click here for more details.

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,924 @@
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
+ 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
+ 12
131
+ PreambleTest
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
+ 12
151
+ PreambleTest
152
+ i
153
+ 24
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
+ 15
167
+ 5
168
+ 7
169
+ 3
170
+ 64
171
+ 56
172
+ 4
173
+ 47
174
+ 50
175
+ 2
176
+ 1
177
+ 11
178
+ I
179
+ 3
180
+ I
181
+ 0
182
+ I
183
+ 0
184
+ I
185
+ 0
186
+ n
187
+ p
188
+ 5
189
+ s
190
+ 23
191
+ a new preamble instance
192
+ M
193
+ 1
194
+ p
195
+ 2
196
+ x
197
+ 9
198
+ for_block
199
+ t
200
+ n
201
+ x
202
+ 12
203
+ PreambleTest
204
+ i
205
+ 19
206
+ 5
207
+ 56
208
+ 0
209
+ 47
210
+ 50
211
+ 1
212
+ 0
213
+ 15
214
+ 5
215
+ 7
216
+ 2
217
+ 64
218
+ 56
219
+ 3
220
+ 47
221
+ 50
222
+ 4
223
+ 1
224
+ 11
225
+ I
226
+ 4
227
+ I
228
+ 0
229
+ I
230
+ 0
231
+ I
232
+ 0
233
+ I
234
+ -2
235
+ p
236
+ 5
237
+ M
238
+ 1
239
+ p
240
+ 2
241
+ x
242
+ 9
243
+ for_block
244
+ t
245
+ n
246
+ x
247
+ 12
248
+ PreambleTest
249
+ i
250
+ 27
251
+ 45
252
+ 0
253
+ 1
254
+ 13
255
+ 71
256
+ 2
257
+ 47
258
+ 9
259
+ 21
260
+ 47
261
+ 49
262
+ 3
263
+ 0
264
+ 13
265
+ 47
266
+ 49
267
+ 4
268
+ 0
269
+ 15
270
+ 8
271
+ 24
272
+ 49
273
+ 2
274
+ 0
275
+ 38
276
+ 5
277
+ 11
278
+ I
279
+ 3
280
+ I
281
+ 0
282
+ I
283
+ 0
284
+ I
285
+ 0
286
+ I
287
+ -2
288
+ p
289
+ 6
290
+ x
291
+ 8
292
+ Preamble
293
+ n
294
+ x
295
+ 3
296
+ new
297
+ x
298
+ 8
299
+ allocate
300
+ x
301
+ 10
302
+ initialize
303
+ x
304
+ 9
305
+ @preamble
306
+ p
307
+ 3
308
+ I
309
+ 0
310
+ I
311
+ 9
312
+ I
313
+ 1b
314
+ x
315
+ 62
316
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_elements.rb
317
+ p
318
+ 0
319
+ x
320
+ 5
321
+ setup
322
+ s
323
+ 10
324
+ not be nil
325
+ M
326
+ 1
327
+ p
328
+ 2
329
+ x
330
+ 9
331
+ for_block
332
+ t
333
+ n
334
+ x
335
+ 12
336
+ PreambleTest
337
+ i
338
+ 8
339
+ 5
340
+ 39
341
+ 0
342
+ 47
343
+ 49
344
+ 1
345
+ 1
346
+ 11
347
+ I
348
+ 3
349
+ I
350
+ 0
351
+ I
352
+ 0
353
+ I
354
+ 0
355
+ I
356
+ -2
357
+ p
358
+ 2
359
+ x
360
+ 9
361
+ @preamble
362
+ x
363
+ 6
364
+ assert
365
+ p
366
+ 3
367
+ I
368
+ 0
369
+ I
370
+ d
371
+ I
372
+ 8
373
+ x
374
+ 62
375
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_elements.rb
376
+ p
377
+ 0
378
+ x
379
+ 6
380
+ should
381
+ p
382
+ 5
383
+ I
384
+ 0
385
+ I
386
+ 8
387
+ I
388
+ 8
389
+ I
390
+ c
391
+ I
392
+ 13
393
+ x
394
+ 62
395
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_elements.rb
396
+ p
397
+ 0
398
+ x
399
+ 7
400
+ context
401
+ s
402
+ 25
403
+ given a set of @preambles
404
+ M
405
+ 1
406
+ p
407
+ 2
408
+ x
409
+ 9
410
+ for_block
411
+ t
412
+ n
413
+ x
414
+ 12
415
+ PreambleTest
416
+ i
417
+ 30
418
+ 5
419
+ 56
420
+ 0
421
+ 47
422
+ 50
423
+ 1
424
+ 0
425
+ 15
426
+ 5
427
+ 7
428
+ 2
429
+ 64
430
+ 56
431
+ 3
432
+ 47
433
+ 50
434
+ 4
435
+ 1
436
+ 15
437
+ 5
438
+ 7
439
+ 5
440
+ 64
441
+ 56
442
+ 6
443
+ 47
444
+ 50
445
+ 4
446
+ 1
447
+ 11
448
+ I
449
+ 4
450
+ I
451
+ 0
452
+ I
453
+ 0
454
+ I
455
+ 0
456
+ I
457
+ -2
458
+ p
459
+ 7
460
+ M
461
+ 1
462
+ p
463
+ 2
464
+ x
465
+ 9
466
+ for_block
467
+ t
468
+ n
469
+ x
470
+ 12
471
+ PreambleTest
472
+ i
473
+ 25
474
+ 45
475
+ 0
476
+ 1
477
+ 45
478
+ 2
479
+ 3
480
+ 7
481
+ 4
482
+ 49
483
+ 5
484
+ 1
485
+ 49
486
+ 6
487
+ 1
488
+ 38
489
+ 7
490
+ 15
491
+ 39
492
+ 7
493
+ 49
494
+ 8
495
+ 0
496
+ 38
497
+ 9
498
+ 11
499
+ I
500
+ 4
501
+ I
502
+ 0
503
+ I
504
+ 0
505
+ I
506
+ 0
507
+ I
508
+ -2
509
+ p
510
+ 10
511
+ x
512
+ 6
513
+ BibTeX
514
+ n
515
+ x
516
+ 4
517
+ Test
518
+ n
519
+ x
520
+ 8
521
+ preamble
522
+ x
523
+ 8
524
+ fixtures
525
+ x
526
+ 4
527
+ open
528
+ x
529
+ 4
530
+ @bib
531
+ x
532
+ 9
533
+ preambles
534
+ x
535
+ 10
536
+ @preambles
537
+ p
538
+ 5
539
+ I
540
+ 0
541
+ I
542
+ 13
543
+ I
544
+ 11
545
+ I
546
+ 14
547
+ I
548
+ 19
549
+ x
550
+ 62
551
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_elements.rb
552
+ p
553
+ 0
554
+ x
555
+ 5
556
+ setup
557
+ s
558
+ 43
559
+ support round-trips of all parsed preambles
560
+ M
561
+ 1
562
+ p
563
+ 2
564
+ x
565
+ 9
566
+ for_block
567
+ t
568
+ n
569
+ x
570
+ 12
571
+ PreambleTest
572
+ i
573
+ 54
574
+ 5
575
+ 7
576
+ 0
577
+ 64
578
+ 39
579
+ 1
580
+ 78
581
+ 49
582
+ 2
583
+ 1
584
+ 49
585
+ 3
586
+ 0
587
+ 47
588
+ 49
589
+ 4
590
+ 2
591
+ 15
592
+ 5
593
+ 7
594
+ 5
595
+ 64
596
+ 39
597
+ 1
598
+ 79
599
+ 49
600
+ 2
601
+ 1
602
+ 49
603
+ 3
604
+ 0
605
+ 47
606
+ 49
607
+ 4
608
+ 2
609
+ 15
610
+ 5
611
+ 7
612
+ 6
613
+ 64
614
+ 39
615
+ 1
616
+ 80
617
+ 49
618
+ 2
619
+ 1
620
+ 49
621
+ 3
622
+ 0
623
+ 47
624
+ 49
625
+ 4
626
+ 2
627
+ 11
628
+ I
629
+ 5
630
+ I
631
+ 0
632
+ I
633
+ 0
634
+ I
635
+ 0
636
+ I
637
+ -2
638
+ p
639
+ 7
640
+ s
641
+ 51
642
+ @preamble{ "This bibliography was created \today" }
643
+ x
644
+ 10
645
+ @preambles
646
+ x
647
+ 2
648
+ []
649
+ x
650
+ 4
651
+ to_s
652
+ x
653
+ 12
654
+ assert_equal
655
+ s
656
+ 22
657
+ @preamble{ "Bib\TeX" }
658
+ s
659
+ 42
660
+ @preamble{ "Maintained by " # maintainer }
661
+ p
662
+ 7
663
+ I
664
+ 0
665
+ I
666
+ 18
667
+ I
668
+ 12
669
+ I
670
+ 19
671
+ I
672
+ 24
673
+ I
674
+ 1a
675
+ I
676
+ 36
677
+ x
678
+ 62
679
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_elements.rb
680
+ p
681
+ 0
682
+ x
683
+ 6
684
+ should
685
+ s
686
+ 47
687
+ support string replacement of preamble contents
688
+ M
689
+ 1
690
+ p
691
+ 2
692
+ x
693
+ 9
694
+ for_block
695
+ t
696
+ n
697
+ x
698
+ 12
699
+ PreambleTest
700
+ i
701
+ 75
702
+ 5
703
+ 7
704
+ 0
705
+ 64
706
+ 39
707
+ 1
708
+ 80
709
+ 49
710
+ 2
711
+ 1
712
+ 49
713
+ 3
714
+ 0
715
+ 49
716
+ 4
717
+ 0
718
+ 47
719
+ 49
720
+ 5
721
+ 2
722
+ 15
723
+ 39
724
+ 6
725
+ 49
726
+ 7
727
+ 0
728
+ 15
729
+ 5
730
+ 7
731
+ 8
732
+ 64
733
+ 39
734
+ 1
735
+ 80
736
+ 49
737
+ 2
738
+ 1
739
+ 49
740
+ 3
741
+ 0
742
+ 49
743
+ 4
744
+ 0
745
+ 47
746
+ 49
747
+ 5
748
+ 2
749
+ 15
750
+ 39
751
+ 6
752
+ 49
753
+ 9
754
+ 0
755
+ 15
756
+ 5
757
+ 7
758
+ 10
759
+ 64
760
+ 39
761
+ 1
762
+ 80
763
+ 49
764
+ 2
765
+ 1
766
+ 49
767
+ 3
768
+ 0
769
+ 49
770
+ 4
771
+ 0
772
+ 47
773
+ 49
774
+ 5
775
+ 2
776
+ 11
777
+ I
778
+ 5
779
+ I
780
+ 0
781
+ I
782
+ 0
783
+ I
784
+ 0
785
+ I
786
+ -2
787
+ p
788
+ 11
789
+ s
790
+ 29
791
+ "Maintained by " # maintainer
792
+ x
793
+ 10
794
+ @preambles
795
+ x
796
+ 2
797
+ []
798
+ x
799
+ 5
800
+ value
801
+ x
802
+ 4
803
+ to_s
804
+ x
805
+ 12
806
+ assert_equal
807
+ x
808
+ 4
809
+ @bib
810
+ x
811
+ 15
812
+ replace_strings
813
+ s
814
+ 27
815
+ "Maintained by " # "Myself"
816
+ x
817
+ 12
818
+ join_strings
819
+ s
820
+ 20
821
+ Maintained by Myself
822
+ p
823
+ 11
824
+ I
825
+ 0
826
+ I
827
+ 1e
828
+ I
829
+ 15
830
+ I
831
+ 1f
832
+ I
833
+ 1b
834
+ I
835
+ 20
836
+ I
837
+ 30
838
+ I
839
+ 21
840
+ I
841
+ 36
842
+ I
843
+ 22
844
+ I
845
+ 4b
846
+ x
847
+ 62
848
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_elements.rb
849
+ p
850
+ 0
851
+ p
852
+ 7
853
+ I
854
+ 0
855
+ I
856
+ 12
857
+ I
858
+ 8
859
+ I
860
+ 17
861
+ I
862
+ 13
863
+ I
864
+ 1d
865
+ I
866
+ 1e
867
+ x
868
+ 62
869
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_elements.rb
870
+ p
871
+ 0
872
+ p
873
+ 5
874
+ I
875
+ 2
876
+ I
877
+ 7
878
+ I
879
+ d
880
+ I
881
+ 11
882
+ I
883
+ 18
884
+ x
885
+ 62
886
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_elements.rb
887
+ p
888
+ 0
889
+ x
890
+ 13
891
+ attach_method
892
+ p
893
+ 3
894
+ I
895
+ 2
896
+ I
897
+ 5
898
+ I
899
+ 21
900
+ x
901
+ 62
902
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_elements.rb
903
+ p
904
+ 0
905
+ x
906
+ 13
907
+ attach_method
908
+ p
909
+ 5
910
+ I
911
+ 0
912
+ I
913
+ 1
914
+ I
915
+ 9
916
+ I
917
+ 3
918
+ I
919
+ 25
920
+ x
921
+ 62
922
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_elements.rb
923
+ p
924
+ 0