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