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
@@ -18,6 +18,6 @@
18
18
 
19
19
  module BibTeX
20
20
  module Version
21
- STRING = '1.3.10'.freeze
21
+ STRING = '1.3.11'.freeze
22
22
  end
23
23
  end
@@ -0,0 +1,209 @@
1
+ !RBIX
2
+ 9595534255132031488
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
+ 28
70
+ 5
71
+ 66
72
+ 99
73
+ 7
74
+ 0
75
+ 65
76
+ 49
77
+ 1
78
+ 2
79
+ 13
80
+ 99
81
+ 12
82
+ 7
83
+ 2
84
+ 12
85
+ 7
86
+ 3
87
+ 12
88
+ 65
89
+ 12
90
+ 49
91
+ 4
92
+ 4
93
+ 15
94
+ 49
95
+ 2
96
+ 0
97
+ 11
98
+ I
99
+ 6
100
+ I
101
+ 0
102
+ I
103
+ 0
104
+ I
105
+ 0
106
+ n
107
+ p
108
+ 5
109
+ x
110
+ 7
111
+ Version
112
+ x
113
+ 11
114
+ open_module
115
+ x
116
+ 15
117
+ __module_init__
118
+ M
119
+ 1
120
+ n
121
+ n
122
+ x
123
+ 7
124
+ Version
125
+ i
126
+ 15
127
+ 5
128
+ 66
129
+ 65
130
+ 7
131
+ 0
132
+ 7
133
+ 1
134
+ 64
135
+ 49
136
+ 2
137
+ 0
138
+ 49
139
+ 3
140
+ 2
141
+ 11
142
+ I
143
+ 3
144
+ I
145
+ 0
146
+ I
147
+ 0
148
+ I
149
+ 0
150
+ n
151
+ p
152
+ 4
153
+ x
154
+ 6
155
+ STRING
156
+ s
157
+ 6
158
+ 1.3.10
159
+ x
160
+ 6
161
+ freeze
162
+ x
163
+ 9
164
+ const_set
165
+ p
166
+ 3
167
+ I
168
+ 2
169
+ I
170
+ 15
171
+ I
172
+ f
173
+ x
174
+ 55
175
+ /Users/sylvester/Work/bibtex-ruby/lib/bibtex/version.rb
176
+ p
177
+ 0
178
+ x
179
+ 13
180
+ attach_method
181
+ p
182
+ 3
183
+ I
184
+ 2
185
+ I
186
+ 14
187
+ I
188
+ 1c
189
+ x
190
+ 55
191
+ /Users/sylvester/Work/bibtex-ruby/lib/bibtex/version.rb
192
+ p
193
+ 0
194
+ x
195
+ 13
196
+ attach_method
197
+ p
198
+ 3
199
+ I
200
+ 0
201
+ I
202
+ 13
203
+ I
204
+ 1c
205
+ x
206
+ 55
207
+ /Users/sylvester/Work/bibtex-ruby/lib/bibtex/version.rb
208
+ p
209
+ 0
@@ -132,7 +132,7 @@ module BibTeX
132
132
  tmp = Tempfile.new('bibtex')
133
133
  tmp.close
134
134
  @bib.save_to(tmp.path)
135
- assert_equal @bib, BibTeX.open(tmp.path)
135
+ assert_equal @bib.to_s, BibTeX.open(tmp.path).to_s
136
136
  end
137
137
 
138
138
  context 'given a filter' do
@@ -0,0 +1,3397 @@
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
+ 16
131
+ BibliographyTest
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
+ 16
151
+ BibliographyTest
152
+ i
153
+ 35
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
+ 15
178
+ 5
179
+ 7
180
+ 5
181
+ 64
182
+ 56
183
+ 6
184
+ 47
185
+ 50
186
+ 2
187
+ 1
188
+ 11
189
+ I
190
+ 3
191
+ I
192
+ 0
193
+ I
194
+ 0
195
+ I
196
+ 0
197
+ n
198
+ p
199
+ 7
200
+ s
201
+ 18
202
+ when newly created
203
+ M
204
+ 1
205
+ p
206
+ 2
207
+ x
208
+ 9
209
+ for_block
210
+ t
211
+ n
212
+ x
213
+ 16
214
+ BibliographyTest
215
+ i
216
+ 22
217
+ 5
218
+ 7
219
+ 0
220
+ 64
221
+ 56
222
+ 1
223
+ 47
224
+ 50
225
+ 2
226
+ 1
227
+ 15
228
+ 5
229
+ 7
230
+ 3
231
+ 64
232
+ 56
233
+ 4
234
+ 47
235
+ 50
236
+ 2
237
+ 1
238
+ 11
239
+ I
240
+ 4
241
+ I
242
+ 0
243
+ I
244
+ 0
245
+ I
246
+ 0
247
+ I
248
+ -2
249
+ p
250
+ 5
251
+ s
252
+ 10
253
+ not be nil
254
+ M
255
+ 1
256
+ p
257
+ 2
258
+ x
259
+ 9
260
+ for_block
261
+ t
262
+ n
263
+ x
264
+ 16
265
+ BibliographyTest
266
+ i
267
+ 30
268
+ 5
269
+ 45
270
+ 0
271
+ 1
272
+ 13
273
+ 71
274
+ 2
275
+ 47
276
+ 9
277
+ 22
278
+ 47
279
+ 49
280
+ 3
281
+ 0
282
+ 13
283
+ 47
284
+ 49
285
+ 4
286
+ 0
287
+ 15
288
+ 8
289
+ 25
290
+ 49
291
+ 2
292
+ 0
293
+ 47
294
+ 49
295
+ 5
296
+ 1
297
+ 11
298
+ I
299
+ 4
300
+ I
301
+ 0
302
+ I
303
+ 0
304
+ I
305
+ 0
306
+ I
307
+ -2
308
+ p
309
+ 6
310
+ x
311
+ 12
312
+ Bibliography
313
+ n
314
+ x
315
+ 3
316
+ new
317
+ x
318
+ 8
319
+ allocate
320
+ x
321
+ 10
322
+ initialize
323
+ x
324
+ 6
325
+ assert
326
+ p
327
+ 3
328
+ I
329
+ 0
330
+ I
331
+ 9
332
+ I
333
+ 1e
334
+ x
335
+ 66
336
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
337
+ p
338
+ 0
339
+ x
340
+ 6
341
+ should
342
+ s
343
+ 8
344
+ be empty
345
+ M
346
+ 1
347
+ p
348
+ 2
349
+ x
350
+ 9
351
+ for_block
352
+ t
353
+ n
354
+ x
355
+ 16
356
+ BibliographyTest
357
+ i
358
+ 33
359
+ 5
360
+ 45
361
+ 0
362
+ 1
363
+ 13
364
+ 71
365
+ 2
366
+ 47
367
+ 9
368
+ 22
369
+ 47
370
+ 49
371
+ 3
372
+ 0
373
+ 13
374
+ 47
375
+ 49
376
+ 4
377
+ 0
378
+ 15
379
+ 8
380
+ 25
381
+ 49
382
+ 2
383
+ 0
384
+ 49
385
+ 5
386
+ 0
387
+ 47
388
+ 49
389
+ 6
390
+ 1
391
+ 11
392
+ I
393
+ 4
394
+ I
395
+ 0
396
+ I
397
+ 0
398
+ I
399
+ 0
400
+ I
401
+ -2
402
+ p
403
+ 7
404
+ x
405
+ 12
406
+ Bibliography
407
+ n
408
+ x
409
+ 3
410
+ new
411
+ x
412
+ 8
413
+ allocate
414
+ x
415
+ 10
416
+ initialize
417
+ x
418
+ 6
419
+ empty?
420
+ x
421
+ 6
422
+ assert
423
+ p
424
+ 3
425
+ I
426
+ 0
427
+ I
428
+ c
429
+ I
430
+ 21
431
+ x
432
+ 66
433
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
434
+ p
435
+ 0
436
+ p
437
+ 5
438
+ I
439
+ 0
440
+ I
441
+ 8
442
+ I
443
+ b
444
+ I
445
+ b
446
+ I
447
+ 16
448
+ x
449
+ 66
450
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
451
+ p
452
+ 0
453
+ x
454
+ 7
455
+ context
456
+ s
457
+ 5
458
+ #open
459
+ M
460
+ 1
461
+ p
462
+ 2
463
+ x
464
+ 9
465
+ for_block
466
+ t
467
+ n
468
+ x
469
+ 16
470
+ BibliographyTest
471
+ i
472
+ 11
473
+ 5
474
+ 7
475
+ 0
476
+ 64
477
+ 56
478
+ 1
479
+ 47
480
+ 50
481
+ 2
482
+ 1
483
+ 11
484
+ I
485
+ 4
486
+ I
487
+ 0
488
+ I
489
+ 0
490
+ I
491
+ 0
492
+ I
493
+ -2
494
+ p
495
+ 3
496
+ s
497
+ 48
498
+ accept a block and save the file after execution
499
+ M
500
+ 1
501
+ p
502
+ 2
503
+ x
504
+ 9
505
+ for_block
506
+ t
507
+ n
508
+ x
509
+ 16
510
+ BibliographyTest
511
+ i
512
+ 106
513
+ 45
514
+ 0
515
+ 1
516
+ 13
517
+ 71
518
+ 2
519
+ 47
520
+ 9
521
+ 24
522
+ 47
523
+ 49
524
+ 3
525
+ 0
526
+ 13
527
+ 7
528
+ 4
529
+ 64
530
+ 47
531
+ 49
532
+ 5
533
+ 1
534
+ 15
535
+ 8
536
+ 30
537
+ 7
538
+ 4
539
+ 64
540
+ 49
541
+ 2
542
+ 1
543
+ 19
544
+ 0
545
+ 15
546
+ 20
547
+ 0
548
+ 49
549
+ 6
550
+ 0
551
+ 15
552
+ 45
553
+ 7
554
+ 8
555
+ 45
556
+ 9
557
+ 10
558
+ 7
559
+ 11
560
+ 49
561
+ 12
562
+ 1
563
+ 49
564
+ 13
565
+ 1
566
+ 20
567
+ 0
568
+ 49
569
+ 14
570
+ 0
571
+ 49
572
+ 15
573
+ 1
574
+ 19
575
+ 1
576
+ 15
577
+ 45
578
+ 7
579
+ 16
580
+ 20
581
+ 0
582
+ 49
583
+ 14
584
+ 0
585
+ 56
586
+ 17
587
+ 50
588
+ 13
589
+ 1
590
+ 15
591
+ 5
592
+ 20
593
+ 1
594
+ 49
595
+ 18
596
+ 0
597
+ 79
598
+ 82
599
+ 19
600
+ 45
601
+ 7
602
+ 20
603
+ 20
604
+ 0
605
+ 49
606
+ 14
607
+ 0
608
+ 49
609
+ 13
610
+ 1
611
+ 49
612
+ 18
613
+ 0
614
+ 47
615
+ 49
616
+ 21
617
+ 2
618
+ 11
619
+ I
620
+ 7
621
+ I
622
+ 2
623
+ I
624
+ 0
625
+ I
626
+ 0
627
+ I
628
+ -2
629
+ p
630
+ 22
631
+ x
632
+ 8
633
+ Tempfile
634
+ n
635
+ x
636
+ 3
637
+ new
638
+ x
639
+ 8
640
+ allocate
641
+ s
642
+ 6
643
+ bibtex
644
+ x
645
+ 10
646
+ initialize
647
+ x
648
+ 5
649
+ close
650
+ x
651
+ 6
652
+ BibTeX
653
+ n
654
+ x
655
+ 4
656
+ Test
657
+ n
658
+ x
659
+ 7
660
+ bibdesk
661
+ x
662
+ 8
663
+ fixtures
664
+ x
665
+ 4
666
+ open
667
+ x
668
+ 4
669
+ path
670
+ x
671
+ 7
672
+ save_to
673
+ n
674
+ M
675
+ 1
676
+ p
677
+ 2
678
+ x
679
+ 9
680
+ for_block
681
+ t
682
+ n
683
+ x
684
+ 16
685
+ BibliographyTest
686
+ i
687
+ 12
688
+ 57
689
+ 19
690
+ 0
691
+ 15
692
+ 20
693
+ 0
694
+ 7
695
+ 0
696
+ 49
697
+ 1
698
+ 1
699
+ 11
700
+ I
701
+ 4
702
+ I
703
+ 1
704
+ I
705
+ 1
706
+ I
707
+ 1
708
+ n
709
+ p
710
+ 2
711
+ x
712
+ 5
713
+ rails
714
+ x
715
+ 6
716
+ delete
717
+ p
718
+ 5
719
+ I
720
+ 0
721
+ I
722
+ 16
723
+ I
724
+ 4
725
+ I
726
+ 17
727
+ I
728
+ c
729
+ x
730
+ 66
731
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
732
+ p
733
+ 1
734
+ x
735
+ 3
736
+ bib
737
+ x
738
+ 6
739
+ length
740
+ x
741
+ 1
742
+ -
743
+ n
744
+ x
745
+ 12
746
+ assert_equal
747
+ p
748
+ 11
749
+ I
750
+ 0
751
+ I
752
+ 12
753
+ I
754
+ 21
755
+ I
756
+ 13
757
+ I
758
+ 27
759
+ I
760
+ 14
761
+ I
762
+ 40
763
+ I
764
+ 16
765
+ I
766
+ 4e
767
+ I
768
+ 1a
769
+ I
770
+ 6a
771
+ x
772
+ 66
773
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
774
+ p
775
+ 2
776
+ x
777
+ 3
778
+ tmp
779
+ x
780
+ 1
781
+ b
782
+ x
783
+ 6
784
+ should
785
+ p
786
+ 3
787
+ I
788
+ 0
789
+ I
790
+ 11
791
+ I
792
+ b
793
+ x
794
+ 66
795
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
796
+ p
797
+ 0
798
+ s
799
+ 29
800
+ given a populated biliography
801
+ M
802
+ 1
803
+ p
804
+ 2
805
+ x
806
+ 9
807
+ for_block
808
+ t
809
+ n
810
+ x
811
+ 16
812
+ BibliographyTest
813
+ i
814
+ 162
815
+ 5
816
+ 56
817
+ 0
818
+ 47
819
+ 50
820
+ 1
821
+ 0
822
+ 15
823
+ 5
824
+ 7
825
+ 2
826
+ 64
827
+ 56
828
+ 3
829
+ 47
830
+ 50
831
+ 4
832
+ 1
833
+ 15
834
+ 5
835
+ 7
836
+ 5
837
+ 64
838
+ 56
839
+ 6
840
+ 47
841
+ 50
842
+ 4
843
+ 1
844
+ 15
845
+ 5
846
+ 7
847
+ 7
848
+ 64
849
+ 56
850
+ 8
851
+ 47
852
+ 50
853
+ 4
854
+ 1
855
+ 15
856
+ 5
857
+ 7
858
+ 9
859
+ 64
860
+ 56
861
+ 10
862
+ 47
863
+ 50
864
+ 4
865
+ 1
866
+ 15
867
+ 5
868
+ 7
869
+ 11
870
+ 64
871
+ 56
872
+ 12
873
+ 47
874
+ 50
875
+ 4
876
+ 1
877
+ 15
878
+ 5
879
+ 7
880
+ 13
881
+ 64
882
+ 56
883
+ 14
884
+ 47
885
+ 50
886
+ 4
887
+ 1
888
+ 15
889
+ 5
890
+ 7
891
+ 15
892
+ 64
893
+ 56
894
+ 16
895
+ 47
896
+ 50
897
+ 4
898
+ 1
899
+ 15
900
+ 5
901
+ 7
902
+ 17
903
+ 64
904
+ 56
905
+ 18
906
+ 47
907
+ 50
908
+ 4
909
+ 1
910
+ 15
911
+ 5
912
+ 7
913
+ 19
914
+ 64
915
+ 56
916
+ 20
917
+ 47
918
+ 50
919
+ 4
920
+ 1
921
+ 15
922
+ 5
923
+ 7
924
+ 21
925
+ 64
926
+ 56
927
+ 22
928
+ 47
929
+ 50
930
+ 4
931
+ 1
932
+ 15
933
+ 5
934
+ 7
935
+ 23
936
+ 64
937
+ 56
938
+ 24
939
+ 47
940
+ 50
941
+ 4
942
+ 1
943
+ 15
944
+ 5
945
+ 7
946
+ 25
947
+ 64
948
+ 56
949
+ 26
950
+ 47
951
+ 50
952
+ 4
953
+ 1
954
+ 15
955
+ 5
956
+ 7
957
+ 27
958
+ 64
959
+ 56
960
+ 28
961
+ 47
962
+ 50
963
+ 4
964
+ 1
965
+ 15
966
+ 5
967
+ 7
968
+ 29
969
+ 64
970
+ 56
971
+ 30
972
+ 47
973
+ 50
974
+ 31
975
+ 1
976
+ 11
977
+ I
978
+ 4
979
+ I
980
+ 0
981
+ I
982
+ 0
983
+ I
984
+ 0
985
+ I
986
+ -2
987
+ p
988
+ 32
989
+ M
990
+ 1
991
+ p
992
+ 2
993
+ x
994
+ 9
995
+ for_block
996
+ t
997
+ n
998
+ x
999
+ 16
1000
+ BibliographyTest
1001
+ i
1002
+ 12
1003
+ 45
1004
+ 0
1005
+ 1
1006
+ 7
1007
+ 2
1008
+ 64
1009
+ 49
1010
+ 3
1011
+ 1
1012
+ 38
1013
+ 4
1014
+ 11
1015
+ I
1016
+ 3
1017
+ I
1018
+ 0
1019
+ I
1020
+ 0
1021
+ I
1022
+ 0
1023
+ I
1024
+ -2
1025
+ p
1026
+ 5
1027
+ x
1028
+ 6
1029
+ BibTeX
1030
+ n
1031
+ s
1032
+ 856
1033
+ @book{rails,
1034
+ address = {Raleigh, North Carolina},
1035
+ author = {Ruby, Sam, and Thomas, Dave, and Hansson Heinemeier, David},
1036
+ booktitle = {Agile Web Development with Rails},
1037
+ edition = {third},
1038
+ keywords = {ruby, rails},
1039
+ publisher = {The Pragmatic Bookshelf},
1040
+ series = {The Facets of Ruby},
1041
+ title = {Agile Web Development with Rails},
1042
+ year = {2009}
1043
+ }
1044
+ @book{flanagan2008,
1045
+ title={{The ruby programming language}},
1046
+ author={Flanagan, D. and Matsumoto, Y.},
1047
+ keywords = {ruby},
1048
+ year={2008},
1049
+ publisher={O'Reilly}
1050
+ }
1051
+ @article{segaran2007,
1052
+ title={{Programming collective intelligence}},
1053
+ author={Segaran, T.},
1054
+ year={2007},
1055
+ publisher={O'Reilly}
1056
+ }
1057
+
1058
+ x
1059
+ 5
1060
+ parse
1061
+ x
1062
+ 4
1063
+ @bib
1064
+ p
1065
+ 3
1066
+ I
1067
+ 0
1068
+ I
1069
+ 20
1070
+ I
1071
+ c
1072
+ x
1073
+ 66
1074
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
1075
+ p
1076
+ 0
1077
+ x
1078
+ 5
1079
+ setup
1080
+ s
1081
+ 23
1082
+ support access by index
1083
+ M
1084
+ 1
1085
+ p
1086
+ 2
1087
+ x
1088
+ 9
1089
+ for_block
1090
+ t
1091
+ n
1092
+ x
1093
+ 16
1094
+ BibliographyTest
1095
+ i
1096
+ 18
1097
+ 5
1098
+ 7
1099
+ 0
1100
+ 64
1101
+ 39
1102
+ 1
1103
+ 79
1104
+ 49
1105
+ 2
1106
+ 1
1107
+ 49
1108
+ 3
1109
+ 0
1110
+ 47
1111
+ 49
1112
+ 4
1113
+ 2
1114
+ 11
1115
+ I
1116
+ 5
1117
+ I
1118
+ 0
1119
+ I
1120
+ 0
1121
+ I
1122
+ 0
1123
+ I
1124
+ -2
1125
+ p
1126
+ 5
1127
+ s
1128
+ 4
1129
+ ruby
1130
+ x
1131
+ 4
1132
+ @bib
1133
+ x
1134
+ 2
1135
+ []
1136
+ x
1137
+ 8
1138
+ keywords
1139
+ x
1140
+ 12
1141
+ assert_equal
1142
+ p
1143
+ 3
1144
+ I
1145
+ 0
1146
+ I
1147
+ 3d
1148
+ I
1149
+ 12
1150
+ x
1151
+ 66
1152
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
1153
+ p
1154
+ 0
1155
+ x
1156
+ 6
1157
+ should
1158
+ s
1159
+ 23
1160
+ support access by range
1161
+ M
1162
+ 1
1163
+ p
1164
+ 2
1165
+ x
1166
+ 9
1167
+ for_block
1168
+ t
1169
+ n
1170
+ x
1171
+ 16
1172
+ BibliographyTest
1173
+ i
1174
+ 43
1175
+ 5
1176
+ 7
1177
+ 0
1178
+ 64
1179
+ 7
1180
+ 1
1181
+ 64
1182
+ 35
1183
+ 2
1184
+ 39
1185
+ 2
1186
+ 44
1187
+ 43
1188
+ 3
1189
+ 79
1190
+ 80
1191
+ 49
1192
+ 4
1193
+ 2
1194
+ 49
1195
+ 5
1196
+ 1
1197
+ 7
1198
+ 6
1199
+ 13
1200
+ 70
1201
+ 10
1202
+ 35
1203
+ 44
1204
+ 43
1205
+ 7
1206
+ 12
1207
+ 49
1208
+ 8
1209
+ 1
1210
+ 50
1211
+ 9
1212
+ 0
1213
+ 47
1214
+ 49
1215
+ 10
1216
+ 2
1217
+ 11
1218
+ I
1219
+ 7
1220
+ I
1221
+ 0
1222
+ I
1223
+ 0
1224
+ I
1225
+ 0
1226
+ I
1227
+ -2
1228
+ p
1229
+ 11
1230
+ s
1231
+ 4
1232
+ 2008
1233
+ s
1234
+ 4
1235
+ 2007
1236
+ x
1237
+ 4
1238
+ @bib
1239
+ x
1240
+ 5
1241
+ Range
1242
+ x
1243
+ 3
1244
+ new
1245
+ x
1246
+ 2
1247
+ []
1248
+ x
1249
+ 4
1250
+ year
1251
+ x
1252
+ 4
1253
+ Proc
1254
+ x
1255
+ 14
1256
+ __from_block__
1257
+ x
1258
+ 3
1259
+ map
1260
+ x
1261
+ 12
1262
+ assert_equal
1263
+ p
1264
+ 3
1265
+ I
1266
+ 0
1267
+ I
1268
+ 41
1269
+ I
1270
+ 2b
1271
+ x
1272
+ 66
1273
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
1274
+ p
1275
+ 0
1276
+ s
1277
+ 34
1278
+ support access by index and offset
1279
+ M
1280
+ 1
1281
+ p
1282
+ 2
1283
+ x
1284
+ 9
1285
+ for_block
1286
+ t
1287
+ n
1288
+ x
1289
+ 16
1290
+ BibliographyTest
1291
+ i
1292
+ 37
1293
+ 5
1294
+ 7
1295
+ 0
1296
+ 64
1297
+ 7
1298
+ 1
1299
+ 64
1300
+ 35
1301
+ 2
1302
+ 39
1303
+ 2
1304
+ 79
1305
+ 80
1306
+ 49
1307
+ 3
1308
+ 2
1309
+ 7
1310
+ 4
1311
+ 13
1312
+ 70
1313
+ 10
1314
+ 29
1315
+ 44
1316
+ 43
1317
+ 5
1318
+ 12
1319
+ 49
1320
+ 6
1321
+ 1
1322
+ 50
1323
+ 7
1324
+ 0
1325
+ 47
1326
+ 49
1327
+ 8
1328
+ 2
1329
+ 11
1330
+ I
1331
+ 6
1332
+ I
1333
+ 0
1334
+ I
1335
+ 0
1336
+ I
1337
+ 0
1338
+ I
1339
+ -2
1340
+ p
1341
+ 9
1342
+ s
1343
+ 4
1344
+ 2008
1345
+ s
1346
+ 4
1347
+ 2007
1348
+ x
1349
+ 4
1350
+ @bib
1351
+ x
1352
+ 2
1353
+ []
1354
+ x
1355
+ 4
1356
+ year
1357
+ x
1358
+ 4
1359
+ Proc
1360
+ x
1361
+ 14
1362
+ __from_block__
1363
+ x
1364
+ 3
1365
+ map
1366
+ x
1367
+ 12
1368
+ assert_equal
1369
+ p
1370
+ 3
1371
+ I
1372
+ 0
1373
+ I
1374
+ 45
1375
+ I
1376
+ 25
1377
+ x
1378
+ 66
1379
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
1380
+ p
1381
+ 0
1382
+ s
1383
+ 29
1384
+ support queries by symbol key
1385
+ M
1386
+ 1
1387
+ p
1388
+ 2
1389
+ x
1390
+ 9
1391
+ for_block
1392
+ t
1393
+ n
1394
+ x
1395
+ 16
1396
+ BibliographyTest
1397
+ i
1398
+ 26
1399
+ 5
1400
+ 39
1401
+ 0
1402
+ 7
1403
+ 1
1404
+ 49
1405
+ 2
1406
+ 1
1407
+ 47
1408
+ 49
1409
+ 3
1410
+ 1
1411
+ 15
1412
+ 5
1413
+ 39
1414
+ 0
1415
+ 7
1416
+ 4
1417
+ 49
1418
+ 2
1419
+ 1
1420
+ 47
1421
+ 49
1422
+ 5
1423
+ 1
1424
+ 11
1425
+ I
1426
+ 4
1427
+ I
1428
+ 0
1429
+ I
1430
+ 0
1431
+ I
1432
+ 0
1433
+ I
1434
+ -2
1435
+ p
1436
+ 6
1437
+ x
1438
+ 4
1439
+ @bib
1440
+ x
1441
+ 5
1442
+ rails
1443
+ x
1444
+ 2
1445
+ []
1446
+ x
1447
+ 10
1448
+ refute_nil
1449
+ x
1450
+ 4
1451
+ ruby
1452
+ x
1453
+ 10
1454
+ assert_nil
1455
+ p
1456
+ 5
1457
+ I
1458
+ 0
1459
+ I
1460
+ 49
1461
+ I
1462
+ d
1463
+ I
1464
+ 4a
1465
+ I
1466
+ 1a
1467
+ x
1468
+ 66
1469
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
1470
+ p
1471
+ 0
1472
+ s
1473
+ 42
1474
+ support queries by symbol key and selector
1475
+ M
1476
+ 1
1477
+ p
1478
+ 2
1479
+ x
1480
+ 9
1481
+ for_block
1482
+ t
1483
+ n
1484
+ x
1485
+ 16
1486
+ BibliographyTest
1487
+ i
1488
+ 49
1489
+ 5
1490
+ 79
1491
+ 39
1492
+ 0
1493
+ 7
1494
+ 1
1495
+ 7
1496
+ 2
1497
+ 49
1498
+ 3
1499
+ 2
1500
+ 49
1501
+ 4
1502
+ 0
1503
+ 47
1504
+ 49
1505
+ 5
1506
+ 2
1507
+ 15
1508
+ 5
1509
+ 39
1510
+ 0
1511
+ 7
1512
+ 6
1513
+ 7
1514
+ 2
1515
+ 49
1516
+ 3
1517
+ 2
1518
+ 47
1519
+ 49
1520
+ 7
1521
+ 1
1522
+ 15
1523
+ 5
1524
+ 39
1525
+ 0
1526
+ 7
1527
+ 6
1528
+ 7
1529
+ 8
1530
+ 49
1531
+ 3
1532
+ 2
1533
+ 47
1534
+ 49
1535
+ 9
1536
+ 1
1537
+ 11
1538
+ I
1539
+ 6
1540
+ I
1541
+ 0
1542
+ I
1543
+ 0
1544
+ I
1545
+ 0
1546
+ I
1547
+ -2
1548
+ p
1549
+ 10
1550
+ x
1551
+ 4
1552
+ @bib
1553
+ x
1554
+ 3
1555
+ all
1556
+ x
1557
+ 5
1558
+ rails
1559
+ x
1560
+ 1
1561
+ q
1562
+ x
1563
+ 6
1564
+ length
1565
+ x
1566
+ 12
1567
+ assert_equal
1568
+ x
1569
+ 5
1570
+ first
1571
+ x
1572
+ 10
1573
+ refute_nil
1574
+ x
1575
+ 6
1576
+ railss
1577
+ x
1578
+ 10
1579
+ assert_nil
1580
+ p
1581
+ 7
1582
+ I
1583
+ 0
1584
+ I
1585
+ 4e
1586
+ I
1587
+ 13
1588
+ I
1589
+ 4f
1590
+ I
1591
+ 22
1592
+ I
1593
+ 50
1594
+ I
1595
+ 31
1596
+ x
1597
+ 66
1598
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
1599
+ p
1600
+ 0
1601
+ s
1602
+ 29
1603
+ support queries by string key
1604
+ M
1605
+ 1
1606
+ p
1607
+ 2
1608
+ x
1609
+ 9
1610
+ for_block
1611
+ t
1612
+ n
1613
+ x
1614
+ 16
1615
+ BibliographyTest
1616
+ i
1617
+ 36
1618
+ 5
1619
+ 79
1620
+ 39
1621
+ 0
1622
+ 7
1623
+ 1
1624
+ 64
1625
+ 49
1626
+ 2
1627
+ 1
1628
+ 49
1629
+ 3
1630
+ 0
1631
+ 47
1632
+ 49
1633
+ 4
1634
+ 2
1635
+ 15
1636
+ 5
1637
+ 78
1638
+ 39
1639
+ 0
1640
+ 7
1641
+ 5
1642
+ 64
1643
+ 49
1644
+ 2
1645
+ 1
1646
+ 49
1647
+ 3
1648
+ 0
1649
+ 47
1650
+ 49
1651
+ 4
1652
+ 2
1653
+ 11
1654
+ I
1655
+ 5
1656
+ I
1657
+ 0
1658
+ I
1659
+ 0
1660
+ I
1661
+ 0
1662
+ I
1663
+ -2
1664
+ p
1665
+ 6
1666
+ x
1667
+ 4
1668
+ @bib
1669
+ s
1670
+ 5
1671
+ rails
1672
+ x
1673
+ 2
1674
+ []
1675
+ x
1676
+ 6
1677
+ length
1678
+ x
1679
+ 12
1680
+ assert_equal
1681
+ s
1682
+ 4
1683
+ ruby
1684
+ p
1685
+ 5
1686
+ I
1687
+ 0
1688
+ I
1689
+ 54
1690
+ I
1691
+ 12
1692
+ I
1693
+ 55
1694
+ I
1695
+ 24
1696
+ x
1697
+ 66
1698
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
1699
+ p
1700
+ 0
1701
+ s
1702
+ 30
1703
+ support queries by type string
1704
+ M
1705
+ 1
1706
+ p
1707
+ 2
1708
+ x
1709
+ 9
1710
+ for_block
1711
+ t
1712
+ n
1713
+ x
1714
+ 16
1715
+ BibliographyTest
1716
+ i
1717
+ 54
1718
+ 5
1719
+ 80
1720
+ 39
1721
+ 0
1722
+ 7
1723
+ 1
1724
+ 64
1725
+ 49
1726
+ 2
1727
+ 1
1728
+ 49
1729
+ 3
1730
+ 0
1731
+ 47
1732
+ 49
1733
+ 4
1734
+ 2
1735
+ 15
1736
+ 5
1737
+ 79
1738
+ 39
1739
+ 0
1740
+ 7
1741
+ 5
1742
+ 64
1743
+ 49
1744
+ 2
1745
+ 1
1746
+ 49
1747
+ 3
1748
+ 0
1749
+ 47
1750
+ 49
1751
+ 4
1752
+ 2
1753
+ 15
1754
+ 5
1755
+ 78
1756
+ 39
1757
+ 0
1758
+ 7
1759
+ 6
1760
+ 64
1761
+ 49
1762
+ 2
1763
+ 1
1764
+ 49
1765
+ 3
1766
+ 0
1767
+ 47
1768
+ 49
1769
+ 4
1770
+ 2
1771
+ 11
1772
+ I
1773
+ 5
1774
+ I
1775
+ 0
1776
+ I
1777
+ 0
1778
+ I
1779
+ 0
1780
+ I
1781
+ -2
1782
+ p
1783
+ 7
1784
+ x
1785
+ 4
1786
+ @bib
1787
+ s
1788
+ 5
1789
+ @book
1790
+ x
1791
+ 2
1792
+ []
1793
+ x
1794
+ 6
1795
+ length
1796
+ x
1797
+ 12
1798
+ assert_equal
1799
+ s
1800
+ 8
1801
+ @article
1802
+ s
1803
+ 11
1804
+ @collection
1805
+ p
1806
+ 7
1807
+ I
1808
+ 0
1809
+ I
1810
+ 59
1811
+ I
1812
+ 12
1813
+ I
1814
+ 5a
1815
+ I
1816
+ 24
1817
+ I
1818
+ 5b
1819
+ I
1820
+ 36
1821
+ x
1822
+ 66
1823
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
1824
+ p
1825
+ 0
1826
+ s
1827
+ 43
1828
+ support queries by type string and selector
1829
+ M
1830
+ 1
1831
+ p
1832
+ 2
1833
+ x
1834
+ 9
1835
+ for_block
1836
+ t
1837
+ n
1838
+ x
1839
+ 16
1840
+ BibliographyTest
1841
+ i
1842
+ 108
1843
+ 5
1844
+ 80
1845
+ 39
1846
+ 0
1847
+ 7
1848
+ 1
1849
+ 7
1850
+ 2
1851
+ 64
1852
+ 49
1853
+ 3
1854
+ 2
1855
+ 49
1856
+ 4
1857
+ 0
1858
+ 47
1859
+ 49
1860
+ 5
1861
+ 2
1862
+ 15
1863
+ 5
1864
+ 39
1865
+ 0
1866
+ 7
1867
+ 6
1868
+ 7
1869
+ 2
1870
+ 64
1871
+ 49
1872
+ 3
1873
+ 2
1874
+ 47
1875
+ 49
1876
+ 7
1877
+ 1
1878
+ 15
1879
+ 5
1880
+ 79
1881
+ 39
1882
+ 0
1883
+ 7
1884
+ 1
1885
+ 7
1886
+ 8
1887
+ 64
1888
+ 49
1889
+ 3
1890
+ 2
1891
+ 49
1892
+ 4
1893
+ 0
1894
+ 47
1895
+ 49
1896
+ 5
1897
+ 2
1898
+ 15
1899
+ 5
1900
+ 39
1901
+ 0
1902
+ 7
1903
+ 6
1904
+ 7
1905
+ 8
1906
+ 64
1907
+ 49
1908
+ 3
1909
+ 2
1910
+ 47
1911
+ 49
1912
+ 7
1913
+ 1
1914
+ 15
1915
+ 5
1916
+ 78
1917
+ 39
1918
+ 0
1919
+ 7
1920
+ 1
1921
+ 7
1922
+ 9
1923
+ 64
1924
+ 49
1925
+ 3
1926
+ 2
1927
+ 49
1928
+ 4
1929
+ 0
1930
+ 47
1931
+ 49
1932
+ 5
1933
+ 2
1934
+ 15
1935
+ 5
1936
+ 39
1937
+ 0
1938
+ 7
1939
+ 6
1940
+ 7
1941
+ 9
1942
+ 64
1943
+ 49
1944
+ 3
1945
+ 2
1946
+ 47
1947
+ 49
1948
+ 10
1949
+ 1
1950
+ 11
1951
+ I
1952
+ 6
1953
+ I
1954
+ 0
1955
+ I
1956
+ 0
1957
+ I
1958
+ 0
1959
+ I
1960
+ -2
1961
+ p
1962
+ 11
1963
+ x
1964
+ 4
1965
+ @bib
1966
+ x
1967
+ 3
1968
+ all
1969
+ s
1970
+ 5
1971
+ @book
1972
+ x
1973
+ 1
1974
+ q
1975
+ x
1976
+ 6
1977
+ length
1978
+ x
1979
+ 12
1980
+ assert_equal
1981
+ x
1982
+ 5
1983
+ first
1984
+ x
1985
+ 10
1986
+ refute_nil
1987
+ s
1988
+ 8
1989
+ @article
1990
+ s
1991
+ 11
1992
+ @collection
1993
+ x
1994
+ 10
1995
+ assert_nil
1996
+ p
1997
+ 13
1998
+ I
1999
+ 0
2000
+ I
2001
+ 5f
2002
+ I
2003
+ 14
2004
+ I
2005
+ 60
2006
+ I
2007
+ 24
2008
+ I
2009
+ 61
2010
+ I
2011
+ 38
2012
+ I
2013
+ 62
2014
+ I
2015
+ 48
2016
+ I
2017
+ 63
2018
+ I
2019
+ 5c
2020
+ I
2021
+ 64
2022
+ I
2023
+ 6c
2024
+ x
2025
+ 66
2026
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
2027
+ p
2028
+ 0
2029
+ s
2030
+ 26
2031
+ support queries by pattern
2032
+ M
2033
+ 1
2034
+ p
2035
+ 2
2036
+ x
2037
+ 9
2038
+ for_block
2039
+ t
2040
+ n
2041
+ x
2042
+ 16
2043
+ BibliographyTest
2044
+ i
2045
+ 66
2046
+ 5
2047
+ 78
2048
+ 39
2049
+ 0
2050
+ 7
2051
+ 1
2052
+ 13
2053
+ 70
2054
+ 9
2055
+ 22
2056
+ 15
2057
+ 44
2058
+ 43
2059
+ 2
2060
+ 7
2061
+ 3
2062
+ 78
2063
+ 49
2064
+ 4
2065
+ 2
2066
+ 6
2067
+ 1
2068
+ 49
2069
+ 5
2070
+ 1
2071
+ 49
2072
+ 6
2073
+ 0
2074
+ 47
2075
+ 49
2076
+ 7
2077
+ 2
2078
+ 15
2079
+ 5
2080
+ 80
2081
+ 39
2082
+ 0
2083
+ 7
2084
+ 8
2085
+ 13
2086
+ 70
2087
+ 9
2088
+ 55
2089
+ 15
2090
+ 44
2091
+ 43
2092
+ 2
2093
+ 7
2094
+ 3
2095
+ 79
2096
+ 49
2097
+ 4
2098
+ 2
2099
+ 6
2100
+ 8
2101
+ 49
2102
+ 5
2103
+ 1
2104
+ 49
2105
+ 6
2106
+ 0
2107
+ 47
2108
+ 49
2109
+ 7
2110
+ 2
2111
+ 11
2112
+ I
2113
+ 7
2114
+ I
2115
+ 0
2116
+ I
2117
+ 0
2118
+ I
2119
+ 0
2120
+ I
2121
+ -2
2122
+ p
2123
+ 9
2124
+ x
2125
+ 4
2126
+ @bib
2127
+ n
2128
+ x
2129
+ 6
2130
+ Regexp
2131
+ s
2132
+ 6
2133
+ reilly
2134
+ x
2135
+ 3
2136
+ new
2137
+ x
2138
+ 2
2139
+ []
2140
+ x
2141
+ 6
2142
+ length
2143
+ x
2144
+ 12
2145
+ assert_equal
2146
+ n
2147
+ p
2148
+ 5
2149
+ I
2150
+ 0
2151
+ I
2152
+ 69
2153
+ I
2154
+ 21
2155
+ I
2156
+ 6a
2157
+ I
2158
+ 42
2159
+ x
2160
+ 66
2161
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
2162
+ p
2163
+ 0
2164
+ s
2165
+ 45
2166
+ support queries by type string and conditions
2167
+ M
2168
+ 1
2169
+ p
2170
+ 2
2171
+ x
2172
+ 9
2173
+ for_block
2174
+ t
2175
+ n
2176
+ x
2177
+ 16
2178
+ BibliographyTest
2179
+ i
2180
+ 18
2181
+ 5
2182
+ 79
2183
+ 39
2184
+ 0
2185
+ 7
2186
+ 1
2187
+ 64
2188
+ 49
2189
+ 2
2190
+ 1
2191
+ 49
2192
+ 3
2193
+ 0
2194
+ 47
2195
+ 49
2196
+ 4
2197
+ 2
2198
+ 11
2199
+ I
2200
+ 5
2201
+ I
2202
+ 0
2203
+ I
2204
+ 0
2205
+ I
2206
+ 0
2207
+ I
2208
+ -2
2209
+ p
2210
+ 5
2211
+ x
2212
+ 4
2213
+ @bib
2214
+ s
2215
+ 20
2216
+ @book[keywords=ruby]
2217
+ x
2218
+ 2
2219
+ []
2220
+ x
2221
+ 6
2222
+ length
2223
+ x
2224
+ 12
2225
+ assert_equal
2226
+ p
2227
+ 3
2228
+ I
2229
+ 0
2230
+ I
2231
+ 6e
2232
+ I
2233
+ 12
2234
+ x
2235
+ 66
2236
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
2237
+ p
2238
+ 0
2239
+ s
2240
+ 33
2241
+ support queries by bibtex element
2242
+ M
2243
+ 1
2244
+ p
2245
+ 2
2246
+ x
2247
+ 9
2248
+ for_block
2249
+ t
2250
+ n
2251
+ x
2252
+ 16
2253
+ BibliographyTest
2254
+ i
2255
+ 62
2256
+ 45
2257
+ 0
2258
+ 1
2259
+ 7
2260
+ 2
2261
+ 64
2262
+ 49
2263
+ 3
2264
+ 1
2265
+ 49
2266
+ 4
2267
+ 0
2268
+ 19
2269
+ 0
2270
+ 15
2271
+ 5
2272
+ 79
2273
+ 39
2274
+ 5
2275
+ 20
2276
+ 0
2277
+ 49
2278
+ 6
2279
+ 1
2280
+ 49
2281
+ 7
2282
+ 0
2283
+ 47
2284
+ 49
2285
+ 8
2286
+ 2
2287
+ 15
2288
+ 20
2289
+ 0
2290
+ 7
2291
+ 9
2292
+ 64
2293
+ 13
2294
+ 18
2295
+ 2
2296
+ 49
2297
+ 10
2298
+ 1
2299
+ 15
2300
+ 15
2301
+ 5
2302
+ 78
2303
+ 39
2304
+ 5
2305
+ 20
2306
+ 0
2307
+ 49
2308
+ 6
2309
+ 1
2310
+ 49
2311
+ 7
2312
+ 0
2313
+ 47
2314
+ 49
2315
+ 8
2316
+ 2
2317
+ 11
2318
+ I
2319
+ 6
2320
+ I
2321
+ 1
2322
+ I
2323
+ 0
2324
+ I
2325
+ 0
2326
+ I
2327
+ -2
2328
+ p
2329
+ 11
2330
+ x
2331
+ 5
2332
+ Entry
2333
+ n
2334
+ s
2335
+ 191
2336
+ @article{segaran2007,
2337
+ title = {{Programming collective intelligence}},
2338
+ author = {Segaran, T.},
2339
+ year = {2007},
2340
+ publisher = {O'Reilly}
2341
+ }
2342
+
2343
+ x
2344
+ 5
2345
+ parse
2346
+ x
2347
+ 5
2348
+ first
2349
+ x
2350
+ 4
2351
+ @bib
2352
+ x
2353
+ 2
2354
+ []
2355
+ x
2356
+ 6
2357
+ length
2358
+ x
2359
+ 12
2360
+ assert_equal
2361
+ s
2362
+ 4
2363
+ 2006
2364
+ x
2365
+ 5
2366
+ year=
2367
+ p
2368
+ 9
2369
+ I
2370
+ 0
2371
+ I
2372
+ 72
2373
+ I
2374
+ f
2375
+ I
2376
+ 7a
2377
+ I
2378
+ 20
2379
+ I
2380
+ 7b
2381
+ I
2382
+ 2d
2383
+ I
2384
+ 7c
2385
+ I
2386
+ 3e
2387
+ x
2388
+ 66
2389
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
2390
+ p
2391
+ 1
2392
+ x
2393
+ 5
2394
+ entry
2395
+ s
2396
+ 34
2397
+ support query and additional block
2398
+ M
2399
+ 1
2400
+ p
2401
+ 2
2402
+ x
2403
+ 9
2404
+ for_block
2405
+ t
2406
+ n
2407
+ x
2408
+ 16
2409
+ BibliographyTest
2410
+ i
2411
+ 20
2412
+ 5
2413
+ 79
2414
+ 39
2415
+ 0
2416
+ 7
2417
+ 1
2418
+ 64
2419
+ 56
2420
+ 2
2421
+ 50
2422
+ 3
2423
+ 1
2424
+ 49
2425
+ 4
2426
+ 0
2427
+ 47
2428
+ 49
2429
+ 5
2430
+ 2
2431
+ 11
2432
+ I
2433
+ 6
2434
+ I
2435
+ 0
2436
+ I
2437
+ 0
2438
+ I
2439
+ 0
2440
+ I
2441
+ -2
2442
+ p
2443
+ 6
2444
+ x
2445
+ 4
2446
+ @bib
2447
+ s
2448
+ 5
2449
+ @book
2450
+ M
2451
+ 1
2452
+ p
2453
+ 2
2454
+ x
2455
+ 9
2456
+ for_block
2457
+ t
2458
+ n
2459
+ x
2460
+ 16
2461
+ BibliographyTest
2462
+ i
2463
+ 37
2464
+ 57
2465
+ 19
2466
+ 0
2467
+ 15
2468
+ 20
2469
+ 0
2470
+ 49
2471
+ 0
2472
+ 0
2473
+ 7
2474
+ 1
2475
+ 13
2476
+ 70
2477
+ 9
2478
+ 27
2479
+ 15
2480
+ 44
2481
+ 43
2482
+ 2
2483
+ 7
2484
+ 3
2485
+ 78
2486
+ 49
2487
+ 4
2488
+ 2
2489
+ 6
2490
+ 1
2491
+ 49
2492
+ 5
2493
+ 1
2494
+ 49
2495
+ 6
2496
+ 0
2497
+ 79
2498
+ 85
2499
+ 7
2500
+ 11
2501
+ I
2502
+ 6
2503
+ I
2504
+ 1
2505
+ I
2506
+ 1
2507
+ I
2508
+ 1
2509
+ n
2510
+ p
2511
+ 8
2512
+ x
2513
+ 8
2514
+ keywords
2515
+ n
2516
+ x
2517
+ 6
2518
+ Regexp
2519
+ s
2520
+ 1
2521
+ ,
2522
+ x
2523
+ 3
2524
+ new
2525
+ x
2526
+ 5
2527
+ split
2528
+ x
2529
+ 6
2530
+ length
2531
+ x
2532
+ 1
2533
+ >
2534
+ p
2535
+ 3
2536
+ I
2537
+ 0
2538
+ I
2539
+ 80
2540
+ I
2541
+ 25
2542
+ x
2543
+ 66
2544
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
2545
+ p
2546
+ 1
2547
+ x
2548
+ 1
2549
+ e
2550
+ x
2551
+ 1
2552
+ q
2553
+ x
2554
+ 6
2555
+ length
2556
+ x
2557
+ 12
2558
+ assert_equal
2559
+ p
2560
+ 3
2561
+ I
2562
+ 0
2563
+ I
2564
+ 80
2565
+ I
2566
+ 14
2567
+ x
2568
+ 66
2569
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
2570
+ p
2571
+ 0
2572
+ s
2573
+ 41
2574
+ support saving the bibliography to a file
2575
+ M
2576
+ 1
2577
+ p
2578
+ 2
2579
+ x
2580
+ 9
2581
+ for_block
2582
+ t
2583
+ n
2584
+ x
2585
+ 16
2586
+ BibliographyTest
2587
+ i
2588
+ 75
2589
+ 45
2590
+ 0
2591
+ 1
2592
+ 13
2593
+ 71
2594
+ 2
2595
+ 47
2596
+ 9
2597
+ 24
2598
+ 47
2599
+ 49
2600
+ 3
2601
+ 0
2602
+ 13
2603
+ 7
2604
+ 4
2605
+ 64
2606
+ 47
2607
+ 49
2608
+ 5
2609
+ 1
2610
+ 15
2611
+ 8
2612
+ 30
2613
+ 7
2614
+ 4
2615
+ 64
2616
+ 49
2617
+ 2
2618
+ 1
2619
+ 19
2620
+ 0
2621
+ 15
2622
+ 20
2623
+ 0
2624
+ 49
2625
+ 6
2626
+ 0
2627
+ 15
2628
+ 39
2629
+ 7
2630
+ 20
2631
+ 0
2632
+ 49
2633
+ 8
2634
+ 0
2635
+ 49
2636
+ 9
2637
+ 1
2638
+ 15
2639
+ 5
2640
+ 39
2641
+ 7
2642
+ 49
2643
+ 10
2644
+ 0
2645
+ 45
2646
+ 11
2647
+ 12
2648
+ 20
2649
+ 0
2650
+ 49
2651
+ 8
2652
+ 0
2653
+ 49
2654
+ 13
2655
+ 1
2656
+ 49
2657
+ 10
2658
+ 0
2659
+ 47
2660
+ 49
2661
+ 14
2662
+ 2
2663
+ 11
2664
+ I
2665
+ 6
2666
+ I
2667
+ 1
2668
+ I
2669
+ 0
2670
+ I
2671
+ 0
2672
+ I
2673
+ -2
2674
+ p
2675
+ 15
2676
+ x
2677
+ 8
2678
+ Tempfile
2679
+ n
2680
+ x
2681
+ 3
2682
+ new
2683
+ x
2684
+ 8
2685
+ allocate
2686
+ s
2687
+ 6
2688
+ bibtex
2689
+ x
2690
+ 10
2691
+ initialize
2692
+ x
2693
+ 5
2694
+ close
2695
+ x
2696
+ 4
2697
+ @bib
2698
+ x
2699
+ 4
2700
+ path
2701
+ x
2702
+ 7
2703
+ save_to
2704
+ x
2705
+ 4
2706
+ to_s
2707
+ x
2708
+ 6
2709
+ BibTeX
2710
+ n
2711
+ x
2712
+ 4
2713
+ open
2714
+ x
2715
+ 12
2716
+ assert_equal
2717
+ p
2718
+ 9
2719
+ I
2720
+ 0
2721
+ I
2722
+ 84
2723
+ I
2724
+ 21
2725
+ I
2726
+ 85
2727
+ I
2728
+ 27
2729
+ I
2730
+ 86
2731
+ I
2732
+ 32
2733
+ I
2734
+ 87
2735
+ I
2736
+ 4b
2737
+ x
2738
+ 66
2739
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
2740
+ p
2741
+ 1
2742
+ x
2743
+ 3
2744
+ tmp
2745
+ s
2746
+ 14
2747
+ given a filter
2748
+ M
2749
+ 1
2750
+ p
2751
+ 2
2752
+ x
2753
+ 9
2754
+ for_block
2755
+ t
2756
+ n
2757
+ x
2758
+ 16
2759
+ BibliographyTest
2760
+ i
2761
+ 30
2762
+ 5
2763
+ 56
2764
+ 0
2765
+ 47
2766
+ 50
2767
+ 1
2768
+ 0
2769
+ 15
2770
+ 5
2771
+ 7
2772
+ 2
2773
+ 64
2774
+ 56
2775
+ 3
2776
+ 47
2777
+ 50
2778
+ 4
2779
+ 1
2780
+ 15
2781
+ 5
2782
+ 7
2783
+ 5
2784
+ 64
2785
+ 56
2786
+ 6
2787
+ 47
2788
+ 50
2789
+ 4
2790
+ 1
2791
+ 11
2792
+ I
2793
+ 4
2794
+ I
2795
+ 0
2796
+ I
2797
+ 0
2798
+ I
2799
+ 0
2800
+ I
2801
+ -2
2802
+ p
2803
+ 7
2804
+ M
2805
+ 1
2806
+ p
2807
+ 2
2808
+ x
2809
+ 9
2810
+ for_block
2811
+ t
2812
+ n
2813
+ x
2814
+ 16
2815
+ BibliographyTest
2816
+ i
2817
+ 18
2818
+ 45
2819
+ 0
2820
+ 1
2821
+ 38
2822
+ 2
2823
+ 15
2824
+ 99
2825
+ 7
2826
+ 3
2827
+ 7
2828
+ 4
2829
+ 65
2830
+ 39
2831
+ 2
2832
+ 49
2833
+ 5
2834
+ 4
2835
+ 11
2836
+ I
2837
+ 6
2838
+ I
2839
+ 0
2840
+ I
2841
+ 0
2842
+ I
2843
+ 0
2844
+ I
2845
+ -2
2846
+ p
2847
+ 6
2848
+ x
2849
+ 6
2850
+ Object
2851
+ n
2852
+ x
2853
+ 7
2854
+ @filter
2855
+ x
2856
+ 5
2857
+ apply
2858
+ M
2859
+ 1
2860
+ n
2861
+ n
2862
+ x
2863
+ 5
2864
+ apply
2865
+ i
2866
+ 20
2867
+ 20
2868
+ 0
2869
+ 44
2870
+ 43
2871
+ 0
2872
+ 49
2873
+ 1
2874
+ 1
2875
+ 9
2876
+ 17
2877
+ 20
2878
+ 0
2879
+ 49
2880
+ 2
2881
+ 0
2882
+ 8
2883
+ 19
2884
+ 20
2885
+ 0
2886
+ 11
2887
+ I
2888
+ 3
2889
+ I
2890
+ 1
2891
+ I
2892
+ 1
2893
+ I
2894
+ 1
2895
+ n
2896
+ p
2897
+ 3
2898
+ x
2899
+ 6
2900
+ String
2901
+ x
2902
+ 5
2903
+ is_a?
2904
+ x
2905
+ 6
2906
+ upcase
2907
+ p
2908
+ 5
2909
+ I
2910
+ -1
2911
+ I
2912
+ 8d
2913
+ I
2914
+ 13
2915
+ I
2916
+ 0
2917
+ I
2918
+ 14
2919
+ x
2920
+ 66
2921
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
2922
+ p
2923
+ 1
2924
+ x
2925
+ 5
2926
+ value
2927
+ x
2928
+ 13
2929
+ attach_method
2930
+ p
2931
+ 5
2932
+ I
2933
+ 0
2934
+ I
2935
+ 8c
2936
+ I
2937
+ 6
2938
+ I
2939
+ 8d
2940
+ I
2941
+ 12
2942
+ x
2943
+ 66
2944
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
2945
+ p
2946
+ 0
2947
+ x
2948
+ 5
2949
+ setup
2950
+ s
2951
+ 29
2952
+ support arbitrary conversions
2953
+ M
2954
+ 1
2955
+ p
2956
+ 2
2957
+ x
2958
+ 9
2959
+ for_block
2960
+ t
2961
+ n
2962
+ x
2963
+ 16
2964
+ BibliographyTest
2965
+ i
2966
+ 27
2967
+ 39
2968
+ 0
2969
+ 39
2970
+ 1
2971
+ 49
2972
+ 2
2973
+ 1
2974
+ 15
2975
+ 5
2976
+ 7
2977
+ 3
2978
+ 64
2979
+ 39
2980
+ 0
2981
+ 7
2982
+ 4
2983
+ 49
2984
+ 5
2985
+ 1
2986
+ 49
2987
+ 6
2988
+ 0
2989
+ 47
2990
+ 49
2991
+ 7
2992
+ 2
2993
+ 11
2994
+ I
2995
+ 5
2996
+ I
2997
+ 0
2998
+ I
2999
+ 0
3000
+ I
3001
+ 0
3002
+ I
3003
+ -2
3004
+ p
3005
+ 8
3006
+ x
3007
+ 4
3008
+ @bib
3009
+ x
3010
+ 7
3011
+ @filter
3012
+ x
3013
+ 7
3014
+ convert
3015
+ s
3016
+ 11
3017
+ RUBY, RAILS
3018
+ x
3019
+ 5
3020
+ rails
3021
+ x
3022
+ 2
3023
+ []
3024
+ x
3025
+ 8
3026
+ keywords
3027
+ x
3028
+ 12
3029
+ assert_equal
3030
+ p
3031
+ 5
3032
+ I
3033
+ 0
3034
+ I
3035
+ 91
3036
+ I
3037
+ 8
3038
+ I
3039
+ 92
3040
+ I
3041
+ 1b
3042
+ x
3043
+ 66
3044
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
3045
+ p
3046
+ 0
3047
+ x
3048
+ 6
3049
+ should
3050
+ s
3051
+ 41
3052
+ support conditional arbitrary conversions
3053
+ M
3054
+ 1
3055
+ p
3056
+ 2
3057
+ x
3058
+ 9
3059
+ for_block
3060
+ t
3061
+ n
3062
+ x
3063
+ 16
3064
+ BibliographyTest
3065
+ i
3066
+ 48
3067
+ 39
3068
+ 0
3069
+ 39
3070
+ 1
3071
+ 56
3072
+ 2
3073
+ 50
3074
+ 3
3075
+ 1
3076
+ 15
3077
+ 5
3078
+ 7
3079
+ 4
3080
+ 64
3081
+ 39
3082
+ 0
3083
+ 7
3084
+ 5
3085
+ 49
3086
+ 6
3087
+ 1
3088
+ 49
3089
+ 7
3090
+ 0
3091
+ 47
3092
+ 49
3093
+ 8
3094
+ 2
3095
+ 15
3096
+ 5
3097
+ 7
3098
+ 9
3099
+ 64
3100
+ 39
3101
+ 0
3102
+ 7
3103
+ 10
3104
+ 49
3105
+ 6
3106
+ 1
3107
+ 49
3108
+ 7
3109
+ 0
3110
+ 47
3111
+ 49
3112
+ 8
3113
+ 2
3114
+ 11
3115
+ I
3116
+ 5
3117
+ I
3118
+ 0
3119
+ I
3120
+ 0
3121
+ I
3122
+ 0
3123
+ I
3124
+ -2
3125
+ p
3126
+ 11
3127
+ x
3128
+ 4
3129
+ @bib
3130
+ x
3131
+ 7
3132
+ @filter
3133
+ M
3134
+ 1
3135
+ p
3136
+ 2
3137
+ x
3138
+ 9
3139
+ for_block
3140
+ t
3141
+ n
3142
+ x
3143
+ 16
3144
+ BibliographyTest
3145
+ i
3146
+ 20
3147
+ 57
3148
+ 19
3149
+ 0
3150
+ 15
3151
+ 20
3152
+ 0
3153
+ 49
3154
+ 0
3155
+ 0
3156
+ 7
3157
+ 1
3158
+ 83
3159
+ 2
3160
+ 10
3161
+ 18
3162
+ 2
3163
+ 8
3164
+ 19
3165
+ 3
3166
+ 11
3167
+ I
3168
+ 4
3169
+ I
3170
+ 1
3171
+ I
3172
+ 1
3173
+ I
3174
+ 1
3175
+ n
3176
+ p
3177
+ 3
3178
+ x
3179
+ 3
3180
+ key
3181
+ x
3182
+ 5
3183
+ rails
3184
+ x
3185
+ 2
3186
+ ==
3187
+ p
3188
+ 3
3189
+ I
3190
+ 0
3191
+ I
3192
+ 96
3193
+ I
3194
+ 14
3195
+ x
3196
+ 66
3197
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
3198
+ p
3199
+ 1
3200
+ x
3201
+ 1
3202
+ e
3203
+ x
3204
+ 7
3205
+ convert
3206
+ s
3207
+ 11
3208
+ ruby, rails
3209
+ x
3210
+ 5
3211
+ rails
3212
+ x
3213
+ 2
3214
+ []
3215
+ x
3216
+ 8
3217
+ keywords
3218
+ x
3219
+ 12
3220
+ assert_equal
3221
+ s
3222
+ 4
3223
+ RUBY
3224
+ x
3225
+ 12
3226
+ flanagan2008
3227
+ p
3228
+ 7
3229
+ I
3230
+ 0
3231
+ I
3232
+ 96
3233
+ I
3234
+ a
3235
+ I
3236
+ 97
3237
+ I
3238
+ 1d
3239
+ I
3240
+ 98
3241
+ I
3242
+ 30
3243
+ x
3244
+ 66
3245
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
3246
+ p
3247
+ 0
3248
+ p
3249
+ 7
3250
+ I
3251
+ 0
3252
+ I
3253
+ 8b
3254
+ I
3255
+ 8
3256
+ I
3257
+ 90
3258
+ I
3259
+ 13
3260
+ I
3261
+ 95
3262
+ I
3263
+ 1e
3264
+ x
3265
+ 66
3266
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
3267
+ p
3268
+ 0
3269
+ x
3270
+ 7
3271
+ context
3272
+ p
3273
+ 31
3274
+ I
3275
+ 0
3276
+ I
3277
+ 1f
3278
+ I
3279
+ 8
3280
+ I
3281
+ 3c
3282
+ I
3283
+ 13
3284
+ I
3285
+ 40
3286
+ I
3287
+ 1e
3288
+ I
3289
+ 44
3290
+ I
3291
+ 29
3292
+ I
3293
+ 48
3294
+ I
3295
+ 34
3296
+ I
3297
+ 4d
3298
+ I
3299
+ 3f
3300
+ I
3301
+ 53
3302
+ I
3303
+ 4a
3304
+ I
3305
+ 58
3306
+ I
3307
+ 55
3308
+ I
3309
+ 5e
3310
+ I
3311
+ 60
3312
+ I
3313
+ 68
3314
+ I
3315
+ 6b
3316
+ I
3317
+ 6d
3318
+ I
3319
+ 76
3320
+ I
3321
+ 71
3322
+ I
3323
+ 81
3324
+ I
3325
+ 7f
3326
+ I
3327
+ 8c
3328
+ I
3329
+ 83
3330
+ I
3331
+ 97
3332
+ I
3333
+ 8a
3334
+ I
3335
+ a2
3336
+ x
3337
+ 66
3338
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
3339
+ p
3340
+ 0
3341
+ p
3342
+ 7
3343
+ I
3344
+ 2
3345
+ I
3346
+ 7
3347
+ I
3348
+ d
3349
+ I
3350
+ 10
3351
+ I
3352
+ 18
3353
+ I
3354
+ 1e
3355
+ I
3356
+ 23
3357
+ x
3358
+ 66
3359
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
3360
+ p
3361
+ 0
3362
+ x
3363
+ 13
3364
+ attach_method
3365
+ p
3366
+ 3
3367
+ I
3368
+ 2
3369
+ I
3370
+ 5
3371
+ I
3372
+ 21
3373
+ x
3374
+ 66
3375
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
3376
+ p
3377
+ 0
3378
+ x
3379
+ 13
3380
+ attach_method
3381
+ p
3382
+ 5
3383
+ I
3384
+ 0
3385
+ I
3386
+ 1
3387
+ I
3388
+ 9
3389
+ I
3390
+ 3
3391
+ I
3392
+ 25
3393
+ x
3394
+ 66
3395
+ /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_bibliography.rb
3396
+ p
3397
+ 0