bibtex-ruby 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. data/Gemfile.lock +2 -2
  2. data/History.txt +7 -0
  3. data/Manifest +3 -37
  4. data/Rakefile +1 -1
  5. data/features/issues/multiline_strings.feature +14 -0
  6. data/lib/bibtex/bibtex.y +9 -6
  7. data/lib/bibtex/filters.rb +5 -3
  8. data/lib/bibtex/filters/latex.rb +1 -1
  9. data/lib/bibtex/filters/linebreaks.rb +11 -0
  10. data/lib/bibtex/lexer.rb +254 -236
  11. data/lib/bibtex/parser.rb +9 -6
  12. data/lib/bibtex/version.rb +1 -1
  13. data/test/benchmark.rb +4 -1
  14. data/test/bibtex/test_lexer.rb +12 -2
  15. data/test/bibtex/test_parser.rb +21 -0
  16. metadata +14 -48
  17. data/Rakefile.compiled.rbc +0 -1994
  18. data/features/step_definitions/bibtex_steps.rbc +0 -2996
  19. data/features/step_definitions/name_steps.rbc +0 -544
  20. data/features/support/env.rbc +0 -144
  21. data/lib/bibtex.rbc +0 -725
  22. data/lib/bibtex/bibliography.rbc +0 -6729
  23. data/lib/bibtex/compatibility.rbc +0 -290
  24. data/lib/bibtex/elements.rbc +0 -5966
  25. data/lib/bibtex/entry.rbc +0 -11305
  26. data/lib/bibtex/error.rbc +0 -1000
  27. data/lib/bibtex/extensions.rbc +0 -127
  28. data/lib/bibtex/filters.rbc +0 -1178
  29. data/lib/bibtex/filters/latex.rbc +0 -361
  30. data/lib/bibtex/lexer.rbc +0 -5559
  31. data/lib/bibtex/name_parser.rbc +0 -2510
  32. data/lib/bibtex/names.rbc +0 -4710
  33. data/lib/bibtex/parser.rbc +0 -3336
  34. data/lib/bibtex/replaceable.rbc +0 -593
  35. data/lib/bibtex/utilities.rbc +0 -743
  36. data/lib/bibtex/value.rbc +0 -4291
  37. data/lib/bibtex/version.rbc +0 -209
  38. data/test/bibtex/test_bibliography.rbc +0 -4268
  39. data/test/bibtex/test_elements.rbc +0 -1554
  40. data/test/bibtex/test_entry.rbc +0 -11767
  41. data/test/bibtex/test_filters.rbc +0 -1017
  42. data/test/bibtex/test_lexer.rbc +0 -373
  43. data/test/bibtex/test_name_parser.rbc +0 -608
  44. data/test/bibtex/test_names.rbc +0 -797
  45. data/test/bibtex/test_parser.rbc +0 -2819
  46. data/test/bibtex/test_string.rbc +0 -706
  47. data/test/bibtex/test_utilities.rbc +0 -851
  48. data/test/bibtex/test_value.rbc +0 -4993
  49. data/test/helper.rbc +0 -430
  50. data/test/profile.dot +0 -191
  51. data/test/test_bibtex.rbc +0 -1785
  52. data/test/test_export.rbc +0 -908
@@ -1,144 +0,0 @@
1
- !RBIX
2
- 16846133056282117387
3
- x
4
- M
5
- 1
6
- n
7
- n
8
- x
9
- 10
10
- __script__
11
- i
12
- 28
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
- 56
33
- 3
34
- 47
35
- 50
36
- 4
37
- 0
38
- 15
39
- 2
40
- 11
41
- I
42
- 2
43
- I
44
- 0
45
- I
46
- 0
47
- I
48
- 0
49
- n
50
- p
51
- 5
52
- s
53
- 6
54
- bibtex
55
- x
56
- 7
57
- require
58
- s
59
- 13
60
- minitest/unit
61
- M
62
- 1
63
- p
64
- 2
65
- x
66
- 9
67
- for_block
68
- t
69
- n
70
- x
71
- 9
72
- __block__
73
- i
74
- 11
75
- 5
76
- 45
77
- 0
78
- 1
79
- 43
80
- 2
81
- 47
82
- 49
83
- 3
84
- 1
85
- 11
86
- I
87
- 3
88
- I
89
- 0
90
- I
91
- 0
92
- I
93
- 0
94
- I
95
- -2
96
- p
97
- 4
98
- x
99
- 8
100
- MiniTest
101
- n
102
- x
103
- 10
104
- Assertions
105
- x
106
- 6
107
- extend
108
- p
109
- 3
110
- I
111
- 0
112
- I
113
- 5
114
- I
115
- b
116
- x
117
- 57
118
- /Users/sylvester/Work/bibtex-ruby/features/support/env.rb
119
- p
120
- 0
121
- x
122
- 5
123
- World
124
- p
125
- 7
126
- I
127
- 0
128
- I
129
- 1
130
- I
131
- 9
132
- I
133
- 2
134
- I
135
- 12
136
- I
137
- 4
138
- I
139
- 1c
140
- x
141
- 57
142
- /Users/sylvester/Work/bibtex-ruby/features/support/env.rb
143
- p
144
- 0
@@ -1,725 +0,0 @@
1
- !RBIX
2
- 16846133056282117387
3
- x
4
- M
5
- 1
6
- n
7
- n
8
- x
9
- 10
10
- __script__
11
- i
12
- 260
13
- 99
14
- 43
15
- 0
16
- 7
17
- 1
18
- 49
19
- 2
20
- 1
21
- 45
22
- 3
23
- 4
24
- 65
25
- 49
26
- 5
27
- 0
28
- 49
29
- 6
30
- 1
31
- 49
32
- 7
33
- 1
34
- 13
35
- 10
36
- 52
37
- 15
38
- 99
39
- 43
40
- 0
41
- 7
42
- 1
43
- 49
44
- 2
45
- 1
46
- 45
47
- 3
48
- 8
49
- 45
50
- 3
51
- 9
52
- 65
53
- 49
54
- 5
55
- 0
56
- 49
57
- 6
58
- 1
59
- 49
60
- 10
61
- 1
62
- 49
63
- 7
64
- 1
65
- 9
66
- 57
67
- 1
68
- 8
69
- 78
70
- 99
71
- 43
72
- 0
73
- 7
74
- 1
75
- 49
76
- 2
77
- 1
78
- 45
79
- 3
80
- 11
81
- 65
82
- 49
83
- 5
84
- 0
85
- 49
86
- 6
87
- 1
88
- 49
89
- 12
90
- 1
91
- 15
92
- 5
93
- 7
94
- 13
95
- 64
96
- 47
97
- 49
98
- 14
99
- 1
100
- 15
101
- 5
102
- 7
103
- 15
104
- 64
105
- 47
106
- 49
107
- 14
108
- 1
109
- 15
110
- 5
111
- 7
112
- 16
113
- 64
114
- 47
115
- 49
116
- 14
117
- 1
118
- 15
119
- 5
120
- 7
121
- 17
122
- 64
123
- 47
124
- 49
125
- 14
126
- 1
127
- 15
128
- 99
129
- 7
130
- 18
131
- 65
132
- 49
133
- 19
134
- 2
135
- 13
136
- 99
137
- 12
138
- 7
139
- 20
140
- 12
141
- 7
142
- 21
143
- 12
144
- 65
145
- 12
146
- 49
147
- 22
148
- 4
149
- 15
150
- 49
151
- 20
152
- 0
153
- 15
154
- 5
155
- 7
156
- 23
157
- 64
158
- 47
159
- 49
160
- 14
161
- 1
162
- 15
163
- 5
164
- 7
165
- 24
166
- 64
167
- 47
168
- 49
169
- 14
170
- 1
171
- 15
172
- 5
173
- 7
174
- 25
175
- 64
176
- 47
177
- 49
178
- 14
179
- 1
180
- 15
181
- 5
182
- 7
183
- 26
184
- 64
185
- 47
186
- 49
187
- 14
188
- 1
189
- 15
190
- 5
191
- 7
192
- 27
193
- 64
194
- 47
195
- 49
196
- 14
197
- 1
198
- 15
199
- 5
200
- 7
201
- 28
202
- 64
203
- 47
204
- 49
205
- 14
206
- 1
207
- 15
208
- 5
209
- 7
210
- 29
211
- 64
212
- 47
213
- 49
214
- 14
215
- 1
216
- 15
217
- 5
218
- 7
219
- 30
220
- 64
221
- 47
222
- 49
223
- 14
224
- 1
225
- 15
226
- 5
227
- 7
228
- 31
229
- 64
230
- 47
231
- 49
232
- 14
233
- 1
234
- 15
235
- 5
236
- 7
237
- 32
238
- 64
239
- 47
240
- 49
241
- 14
242
- 1
243
- 15
244
- 5
245
- 7
246
- 33
247
- 64
248
- 47
249
- 49
250
- 14
251
- 1
252
- 15
253
- 5
254
- 7
255
- 34
256
- 64
257
- 47
258
- 49
259
- 14
260
- 1
261
- 15
262
- 5
263
- 7
264
- 35
265
- 64
266
- 47
267
- 49
268
- 14
269
- 1
270
- 15
271
- 2
272
- 11
273
- I
274
- 6
275
- I
276
- 0
277
- I
278
- 0
279
- I
280
- 0
281
- n
282
- p
283
- 36
284
- x
285
- 7
286
- Globals
287
- x
288
- 2
289
- $:
290
- x
291
- 2
292
- []
293
- x
294
- 4
295
- File
296
- n
297
- x
298
- 11
299
- active_path
300
- x
301
- 7
302
- dirname
303
- x
304
- 8
305
- include?
306
- n
307
- n
308
- x
309
- 11
310
- expand_path
311
- n
312
- x
313
- 7
314
- unshift
315
- s
316
- 10
317
- digest/md5
318
- x
319
- 7
320
- require
321
- s
322
- 14
323
- bibtex/version
324
- s
325
- 6
326
- logger
327
- s
328
- 10
329
- multi_json
330
- x
331
- 6
332
- BibTeX
333
- x
334
- 11
335
- open_module
336
- x
337
- 15
338
- __module_init__
339
- M
340
- 1
341
- n
342
- n
343
- x
344
- 6
345
- BibTeX
346
- i
347
- 98
348
- 5
349
- 66
350
- 65
351
- 7
352
- 0
353
- 45
354
- 1
355
- 2
356
- 13
357
- 71
358
- 3
359
- 47
360
- 9
361
- 29
362
- 47
363
- 49
364
- 4
365
- 0
366
- 13
367
- 45
368
- 5
369
- 6
370
- 47
371
- 49
372
- 7
373
- 1
374
- 15
375
- 8
376
- 35
377
- 45
378
- 5
379
- 8
380
- 49
381
- 3
382
- 1
383
- 49
384
- 9
385
- 2
386
- 15
387
- 45
388
- 0
389
- 10
390
- 45
391
- 11
392
- 12
393
- 7
394
- 13
395
- 64
396
- 49
397
- 14
398
- 1
399
- 9
400
- 60
401
- 45
402
- 1
403
- 15
404
- 43
405
- 16
406
- 8
407
- 65
408
- 45
409
- 1
410
- 17
411
- 43
412
- 18
413
- 13
414
- 18
415
- 2
416
- 49
417
- 19
418
- 1
419
- 15
420
- 15
421
- 45
422
- 0
423
- 20
424
- 7
425
- 21
426
- 64
427
- 13
428
- 18
429
- 2
430
- 49
431
- 22
432
- 1
433
- 15
434
- 15
435
- 99
436
- 7
437
- 23
438
- 7
439
- 24
440
- 65
441
- 5
442
- 49
443
- 25
444
- 4
445
- 11
446
- I
447
- 5
448
- I
449
- 0
450
- I
451
- 0
452
- I
453
- 0
454
- n
455
- p
456
- 26
457
- x
458
- 3
459
- Log
460
- x
461
- 6
462
- Logger
463
- n
464
- x
465
- 3
466
- new
467
- x
468
- 8
469
- allocate
470
- x
471
- 6
472
- STDERR
473
- n
474
- x
475
- 10
476
- initialize
477
- n
478
- x
479
- 9
480
- const_set
481
- n
482
- x
483
- 3
484
- ENV
485
- n
486
- s
487
- 5
488
- DEBUG
489
- x
490
- 8
491
- has_key?
492
- n
493
- x
494
- 5
495
- DEBUG
496
- n
497
- x
498
- 4
499
- WARN
500
- x
501
- 6
502
- level=
503
- n
504
- s
505
- 17
506
- %Y-%m-%d %H:%M:%S
507
- x
508
- 16
509
- datetime_format=
510
- x
511
- 3
512
- log
513
- M
514
- 1
515
- n
516
- n
517
- x
518
- 3
519
- log
520
- i
521
- 6
522
- 45
523
- 0
524
- 1
525
- 43
526
- 2
527
- 11
528
- I
529
- 1
530
- I
531
- 0
532
- I
533
- 0
534
- I
535
- 0
536
- n
537
- p
538
- 3
539
- x
540
- 6
541
- BibTeX
542
- n
543
- x
544
- 3
545
- Log
546
- p
547
- 3
548
- I
549
- -1
550
- I
551
- 32
552
- I
553
- 6
554
- x
555
- 47
556
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex.rb
557
- p
558
- 0
559
- x
560
- 13
561
- attach_method
562
- p
563
- 11
564
- I
565
- 2
566
- I
567
- 2e
568
- I
569
- 27
570
- I
571
- 2f
572
- I
573
- 41
574
- I
575
- 0
576
- I
577
- 49
578
- I
579
- 30
580
- I
581
- 57
582
- I
583
- 32
584
- I
585
- 62
586
- x
587
- 47
588
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex.rb
589
- p
590
- 0
591
- x
592
- 13
593
- attach_method
594
- s
595
- 17
596
- bibtex/extensions
597
- s
598
- 20
599
- bibtex/compatibility
600
- s
601
- 12
602
- bibtex/value
603
- s
604
- 14
605
- bibtex/filters
606
- s
607
- 18
608
- bibtex/name_parser
609
- s
610
- 12
611
- bibtex/names
612
- s
613
- 18
614
- bibtex/replaceable
615
- s
616
- 15
617
- bibtex/elements
618
- s
619
- 12
620
- bibtex/entry
621
- s
622
- 12
623
- bibtex/error
624
- s
625
- 13
626
- bibtex/parser
627
- s
628
- 19
629
- bibtex/bibliography
630
- s
631
- 16
632
- bibtex/utilities
633
- p
634
- 43
635
- I
636
- 0
637
- I
638
- 14
639
- I
640
- 39
641
- I
642
- 13
643
- I
644
- 4e
645
- I
646
- 0
647
- I
648
- 4f
649
- I
650
- 16
651
- I
652
- 58
653
- I
654
- 18
655
- I
656
- 61
657
- I
658
- 19
659
- I
660
- 6a
661
- I
662
- 1b
663
- I
664
- 73
665
- I
666
- 28
667
- I
668
- 8d
669
- I
670
- 3a
671
- I
672
- 96
673
- I
674
- 3b
675
- I
676
- 9f
677
- I
678
- 3c
679
- I
680
- a8
681
- I
682
- 3d
683
- I
684
- b1
685
- I
686
- 3e
687
- I
688
- ba
689
- I
690
- 3f
691
- I
692
- c3
693
- I
694
- 40
695
- I
696
- cc
697
- I
698
- 41
699
- I
700
- d5
701
- I
702
- 42
703
- I
704
- de
705
- I
706
- 43
707
- I
708
- e7
709
- I
710
- 44
711
- I
712
- f0
713
- I
714
- 45
715
- I
716
- f9
717
- I
718
- 46
719
- I
720
- 104
721
- x
722
- 47
723
- /Users/sylvester/Work/bibtex-ruby/lib/bibtex.rb
724
- p
725
- 0