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,544 +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
- 80
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
- 5
63
- 1
64
- 15
65
- 5
66
- 7
67
- 9
68
- 13
69
- 70
70
- 9
71
- 71
72
- 15
73
- 44
74
- 43
75
- 1
76
- 7
77
- 10
78
- 78
79
- 49
80
- 3
81
- 2
82
- 6
83
- 9
84
- 56
85
- 11
86
- 47
87
- 50
88
- 12
89
- 1
90
- 15
91
- 2
92
- 11
93
- I
94
- 4
95
- I
96
- 0
97
- I
98
- 0
99
- I
100
- 0
101
- n
102
- p
103
- 13
104
- n
105
- x
106
- 6
107
- Regexp
108
- s
109
- 25
110
- ^I parse the name "(.*)"$
111
- x
112
- 3
113
- new
114
- M
115
- 1
116
- p
117
- 2
118
- x
119
- 9
120
- for_block
121
- t
122
- n
123
- x
124
- 9
125
- __block__
126
- i
127
- 17
128
- 57
129
- 19
130
- 0
131
- 15
132
- 45
133
- 0
134
- 1
135
- 43
136
- 2
137
- 20
138
- 0
139
- 49
140
- 3
141
- 1
142
- 38
143
- 4
144
- 11
145
- I
146
- 4
147
- I
148
- 1
149
- I
150
- 1
151
- I
152
- 1
153
- n
154
- p
155
- 5
156
- x
157
- 6
158
- BibTeX
159
- n
160
- x
161
- 4
162
- Name
163
- x
164
- 5
165
- parse
166
- x
167
- 5
168
- @name
169
- p
170
- 5
171
- I
172
- 0
173
- I
174
- 1
175
- I
176
- 4
177
- I
178
- 2
179
- I
180
- 11
181
- x
182
- 73
183
- /Users/sylvester/Work/bibtex-ruby/features/step_definitions/name_steps.rb
184
- p
185
- 1
186
- x
187
- 6
188
- string
189
- x
190
- 4
191
- When
192
- n
193
- s
194
- 26
195
- ^I parse the names "(.*)"$
196
- M
197
- 1
198
- p
199
- 2
200
- x
201
- 9
202
- for_block
203
- t
204
- n
205
- x
206
- 9
207
- __block__
208
- i
209
- 17
210
- 57
211
- 19
212
- 0
213
- 15
214
- 45
215
- 0
216
- 1
217
- 43
218
- 2
219
- 20
220
- 0
221
- 49
222
- 3
223
- 1
224
- 38
225
- 4
226
- 11
227
- I
228
- 4
229
- I
230
- 1
231
- I
232
- 1
233
- I
234
- 1
235
- n
236
- p
237
- 5
238
- x
239
- 6
240
- BibTeX
241
- n
242
- x
243
- 5
244
- Names
245
- x
246
- 5
247
- parse
248
- x
249
- 6
250
- @names
251
- p
252
- 5
253
- I
254
- 0
255
- I
256
- 5
257
- I
258
- 4
259
- I
260
- 6
261
- I
262
- 11
263
- x
264
- 73
265
- /Users/sylvester/Work/bibtex-ruby/features/step_definitions/name_steps.rb
266
- p
267
- 1
268
- x
269
- 6
270
- string
271
- n
272
- s
273
- 22
274
- ^the parts should be:$
275
- M
276
- 1
277
- p
278
- 2
279
- x
280
- 9
281
- for_block
282
- t
283
- n
284
- x
285
- 9
286
- __block__
287
- i
288
- 15
289
- 57
290
- 19
291
- 0
292
- 15
293
- 20
294
- 0
295
- 49
296
- 0
297
- 0
298
- 56
299
- 1
300
- 50
301
- 2
302
- 0
303
- 11
304
- I
305
- 4
306
- I
307
- 1
308
- I
309
- 1
310
- I
311
- 1
312
- n
313
- p
314
- 3
315
- x
316
- 6
317
- hashes
318
- M
319
- 1
320
- p
321
- 2
322
- x
323
- 9
324
- for_block
325
- t
326
- n
327
- x
328
- 9
329
- __block__
330
- i
331
- 82
332
- 57
333
- 19
334
- 0
335
- 15
336
- 5
337
- 20
338
- 0
339
- 7
340
- 0
341
- 64
342
- 49
343
- 1
344
- 1
345
- 20
346
- 0
347
- 7
348
- 2
349
- 64
350
- 49
351
- 1
352
- 1
353
- 20
354
- 0
355
- 7
356
- 3
357
- 64
358
- 49
359
- 1
360
- 1
361
- 20
362
- 0
363
- 7
364
- 4
365
- 64
366
- 49
367
- 1
368
- 1
369
- 35
370
- 4
371
- 39
372
- 5
373
- 49
374
- 6
375
- 0
376
- 39
377
- 5
378
- 49
379
- 7
380
- 0
381
- 39
382
- 5
383
- 49
384
- 8
385
- 0
386
- 39
387
- 5
388
- 49
389
- 9
390
- 0
391
- 35
392
- 4
393
- 7
394
- 10
395
- 13
396
- 70
397
- 10
398
- 74
399
- 44
400
- 43
401
- 11
402
- 12
403
- 49
404
- 12
405
- 1
406
- 50
407
- 13
408
- 0
409
- 47
410
- 49
411
- 14
412
- 2
413
- 11
414
- I
415
- 8
416
- I
417
- 1
418
- I
419
- 1
420
- I
421
- 1
422
- n
423
- p
424
- 15
425
- s
426
- 5
427
- first
428
- x
429
- 2
430
- []
431
- s
432
- 3
433
- von
434
- s
435
- 4
436
- last
437
- s
438
- 2
439
- jr
440
- x
441
- 5
442
- @name
443
- x
444
- 5
445
- first
446
- x
447
- 3
448
- von
449
- x
450
- 4
451
- last
452
- x
453
- 2
454
- jr
455
- x
456
- 4
457
- to_s
458
- x
459
- 4
460
- Proc
461
- x
462
- 14
463
- __from_block__
464
- x
465
- 3
466
- map
467
- x
468
- 12
469
- assert_equal
470
- p
471
- 9
472
- I
473
- 0
474
- I
475
- b
476
- I
477
- 4
478
- I
479
- c
480
- I
481
- 27
482
- I
483
- d
484
- I
485
- 4d
486
- I
487
- c
488
- I
489
- 52
490
- x
491
- 73
492
- /Users/sylvester/Work/bibtex-ruby/features/step_definitions/name_steps.rb
493
- p
494
- 1
495
- x
496
- 3
497
- row
498
- x
499
- 4
500
- each
501
- p
502
- 5
503
- I
504
- 0
505
- I
506
- a
507
- I
508
- 4
509
- I
510
- b
511
- I
512
- f
513
- x
514
- 73
515
- /Users/sylvester/Work/bibtex-ruby/features/step_definitions/name_steps.rb
516
- p
517
- 1
518
- x
519
- 5
520
- table
521
- x
522
- 4
523
- Then
524
- p
525
- 7
526
- I
527
- 0
528
- I
529
- 1
530
- I
531
- 1a
532
- I
533
- 5
534
- I
535
- 34
536
- I
537
- a
538
- I
539
- 50
540
- x
541
- 73
542
- /Users/sylvester/Work/bibtex-ruby/features/step_definitions/name_steps.rb
543
- p
544
- 0