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