bibtex-ruby 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bibtex-ruby might be problematic. Click here for more details.
- data/Gemfile.lock +2 -2
- data/History.txt +7 -0
- data/Manifest +3 -37
- data/Rakefile +1 -1
- data/features/issues/multiline_strings.feature +14 -0
- data/lib/bibtex/bibtex.y +9 -6
- data/lib/bibtex/filters.rb +5 -3
- data/lib/bibtex/filters/latex.rb +1 -1
- data/lib/bibtex/filters/linebreaks.rb +11 -0
- data/lib/bibtex/lexer.rb +254 -236
- data/lib/bibtex/parser.rb +9 -6
- data/lib/bibtex/version.rb +1 -1
- data/test/benchmark.rb +4 -1
- data/test/bibtex/test_lexer.rb +12 -2
- data/test/bibtex/test_parser.rb +21 -0
- metadata +14 -48
- data/Rakefile.compiled.rbc +0 -1994
- data/features/step_definitions/bibtex_steps.rbc +0 -2996
- data/features/step_definitions/name_steps.rbc +0 -544
- data/features/support/env.rbc +0 -144
- data/lib/bibtex.rbc +0 -725
- data/lib/bibtex/bibliography.rbc +0 -6729
- data/lib/bibtex/compatibility.rbc +0 -290
- data/lib/bibtex/elements.rbc +0 -5966
- data/lib/bibtex/entry.rbc +0 -11305
- data/lib/bibtex/error.rbc +0 -1000
- data/lib/bibtex/extensions.rbc +0 -127
- data/lib/bibtex/filters.rbc +0 -1178
- data/lib/bibtex/filters/latex.rbc +0 -361
- data/lib/bibtex/lexer.rbc +0 -5559
- data/lib/bibtex/name_parser.rbc +0 -2510
- data/lib/bibtex/names.rbc +0 -4710
- data/lib/bibtex/parser.rbc +0 -3336
- data/lib/bibtex/replaceable.rbc +0 -593
- data/lib/bibtex/utilities.rbc +0 -743
- data/lib/bibtex/value.rbc +0 -4291
- data/lib/bibtex/version.rbc +0 -209
- data/test/bibtex/test_bibliography.rbc +0 -4268
- data/test/bibtex/test_elements.rbc +0 -1554
- data/test/bibtex/test_entry.rbc +0 -11767
- data/test/bibtex/test_filters.rbc +0 -1017
- data/test/bibtex/test_lexer.rbc +0 -373
- data/test/bibtex/test_name_parser.rbc +0 -608
- data/test/bibtex/test_names.rbc +0 -797
- data/test/bibtex/test_parser.rbc +0 -2819
- data/test/bibtex/test_string.rbc +0 -706
- data/test/bibtex/test_utilities.rbc +0 -851
- data/test/bibtex/test_value.rbc +0 -4993
- data/test/helper.rbc +0 -430
- data/test/profile.dot +0 -191
- data/test/test_bibtex.rbc +0 -1785
- data/test/test_export.rbc +0 -908
data/lib/bibtex/replaceable.rbc
DELETED
@@ -1,593 +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
|
-
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
|
-
11
|
111
|
-
Replaceable
|
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
|
-
11
|
124
|
-
Replaceable
|
125
|
-
i
|
126
|
-
85
|
127
|
-
5
|
128
|
-
66
|
129
|
-
5
|
130
|
-
45
|
131
|
-
0
|
132
|
-
1
|
133
|
-
47
|
134
|
-
49
|
135
|
-
2
|
136
|
-
1
|
137
|
-
15
|
138
|
-
5
|
139
|
-
7
|
140
|
-
3
|
141
|
-
47
|
142
|
-
49
|
143
|
-
4
|
144
|
-
1
|
145
|
-
15
|
146
|
-
99
|
147
|
-
7
|
148
|
-
5
|
149
|
-
7
|
150
|
-
6
|
151
|
-
65
|
152
|
-
67
|
153
|
-
49
|
154
|
-
7
|
155
|
-
0
|
156
|
-
49
|
157
|
-
8
|
158
|
-
4
|
159
|
-
15
|
160
|
-
99
|
161
|
-
7
|
162
|
-
9
|
163
|
-
7
|
164
|
-
10
|
165
|
-
65
|
166
|
-
67
|
167
|
-
49
|
168
|
-
7
|
169
|
-
0
|
170
|
-
49
|
171
|
-
8
|
172
|
-
4
|
173
|
-
15
|
174
|
-
99
|
175
|
-
7
|
176
|
-
11
|
177
|
-
7
|
178
|
-
12
|
179
|
-
65
|
180
|
-
67
|
181
|
-
49
|
182
|
-
7
|
183
|
-
0
|
184
|
-
49
|
185
|
-
8
|
186
|
-
4
|
187
|
-
15
|
188
|
-
99
|
189
|
-
7
|
190
|
-
13
|
191
|
-
7
|
192
|
-
14
|
193
|
-
65
|
194
|
-
67
|
195
|
-
49
|
196
|
-
7
|
197
|
-
0
|
198
|
-
49
|
199
|
-
8
|
200
|
-
4
|
201
|
-
15
|
202
|
-
65
|
203
|
-
7
|
204
|
-
15
|
205
|
-
7
|
206
|
-
3
|
207
|
-
47
|
208
|
-
49
|
209
|
-
16
|
210
|
-
2
|
211
|
-
11
|
212
|
-
I
|
213
|
-
5
|
214
|
-
I
|
215
|
-
0
|
216
|
-
I
|
217
|
-
0
|
218
|
-
I
|
219
|
-
0
|
220
|
-
n
|
221
|
-
p
|
222
|
-
17
|
223
|
-
x
|
224
|
-
11
|
225
|
-
Forwardable
|
226
|
-
n
|
227
|
-
x
|
228
|
-
6
|
229
|
-
extend
|
230
|
-
x
|
231
|
-
5
|
232
|
-
value
|
233
|
-
x
|
234
|
-
11
|
235
|
-
attr_reader
|
236
|
-
x
|
237
|
-
6
|
238
|
-
value=
|
239
|
-
M
|
240
|
-
1
|
241
|
-
n
|
242
|
-
n
|
243
|
-
x
|
244
|
-
6
|
245
|
-
value=
|
246
|
-
i
|
247
|
-
31
|
248
|
-
45
|
249
|
-
0
|
250
|
-
1
|
251
|
-
13
|
252
|
-
71
|
253
|
-
2
|
254
|
-
47
|
255
|
-
9
|
256
|
-
23
|
257
|
-
47
|
258
|
-
49
|
259
|
-
3
|
260
|
-
0
|
261
|
-
13
|
262
|
-
20
|
263
|
-
0
|
264
|
-
47
|
265
|
-
49
|
266
|
-
4
|
267
|
-
1
|
268
|
-
15
|
269
|
-
8
|
270
|
-
28
|
271
|
-
20
|
272
|
-
0
|
273
|
-
49
|
274
|
-
2
|
275
|
-
1
|
276
|
-
38
|
277
|
-
5
|
278
|
-
11
|
279
|
-
I
|
280
|
-
4
|
281
|
-
I
|
282
|
-
1
|
283
|
-
I
|
284
|
-
1
|
285
|
-
I
|
286
|
-
1
|
287
|
-
n
|
288
|
-
p
|
289
|
-
6
|
290
|
-
x
|
291
|
-
5
|
292
|
-
Value
|
293
|
-
n
|
294
|
-
x
|
295
|
-
3
|
296
|
-
new
|
297
|
-
x
|
298
|
-
8
|
299
|
-
allocate
|
300
|
-
x
|
301
|
-
10
|
302
|
-
initialize
|
303
|
-
x
|
304
|
-
6
|
305
|
-
@value
|
306
|
-
p
|
307
|
-
5
|
308
|
-
I
|
309
|
-
-1
|
310
|
-
I
|
311
|
-
1e
|
312
|
-
I
|
313
|
-
0
|
314
|
-
I
|
315
|
-
1f
|
316
|
-
I
|
317
|
-
1f
|
318
|
-
x
|
319
|
-
59
|
320
|
-
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/replaceable.rb
|
321
|
-
p
|
322
|
-
1
|
323
|
-
x
|
324
|
-
5
|
325
|
-
value
|
326
|
-
x
|
327
|
-
17
|
328
|
-
method_visibility
|
329
|
-
x
|
330
|
-
15
|
331
|
-
add_defn_method
|
332
|
-
x
|
333
|
-
7
|
334
|
-
replace
|
335
|
-
M
|
336
|
-
1
|
337
|
-
n
|
338
|
-
n
|
339
|
-
x
|
340
|
-
7
|
341
|
-
replace
|
342
|
-
i
|
343
|
-
12
|
344
|
-
39
|
345
|
-
0
|
346
|
-
20
|
347
|
-
0
|
348
|
-
36
|
349
|
-
1
|
350
|
-
51
|
351
|
-
1
|
352
|
-
0
|
353
|
-
15
|
354
|
-
5
|
355
|
-
11
|
356
|
-
I
|
357
|
-
4
|
358
|
-
I
|
359
|
-
1
|
360
|
-
I
|
361
|
-
0
|
362
|
-
I
|
363
|
-
0
|
364
|
-
I
|
365
|
-
0
|
366
|
-
p
|
367
|
-
2
|
368
|
-
x
|
369
|
-
6
|
370
|
-
@value
|
371
|
-
x
|
372
|
-
7
|
373
|
-
replace
|
374
|
-
p
|
375
|
-
7
|
376
|
-
I
|
377
|
-
-1
|
378
|
-
I
|
379
|
-
22
|
380
|
-
I
|
381
|
-
0
|
382
|
-
I
|
383
|
-
23
|
384
|
-
I
|
385
|
-
a
|
386
|
-
I
|
387
|
-
24
|
388
|
-
I
|
389
|
-
c
|
390
|
-
x
|
391
|
-
59
|
392
|
-
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/replaceable.rb
|
393
|
-
p
|
394
|
-
1
|
395
|
-
x
|
396
|
-
9
|
397
|
-
arguments
|
398
|
-
x
|
399
|
-
4
|
400
|
-
join
|
401
|
-
M
|
402
|
-
1
|
403
|
-
n
|
404
|
-
n
|
405
|
-
x
|
406
|
-
4
|
407
|
-
join
|
408
|
-
i
|
409
|
-
8
|
410
|
-
39
|
411
|
-
0
|
412
|
-
49
|
413
|
-
1
|
414
|
-
0
|
415
|
-
15
|
416
|
-
5
|
417
|
-
11
|
418
|
-
I
|
419
|
-
1
|
420
|
-
I
|
421
|
-
0
|
422
|
-
I
|
423
|
-
0
|
424
|
-
I
|
425
|
-
0
|
426
|
-
n
|
427
|
-
p
|
428
|
-
2
|
429
|
-
x
|
430
|
-
6
|
431
|
-
@value
|
432
|
-
x
|
433
|
-
4
|
434
|
-
join
|
435
|
-
p
|
436
|
-
7
|
437
|
-
I
|
438
|
-
-1
|
439
|
-
I
|
440
|
-
27
|
441
|
-
I
|
442
|
-
0
|
443
|
-
I
|
444
|
-
28
|
445
|
-
I
|
446
|
-
6
|
447
|
-
I
|
448
|
-
29
|
449
|
-
I
|
450
|
-
8
|
451
|
-
x
|
452
|
-
59
|
453
|
-
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/replaceable.rb
|
454
|
-
p
|
455
|
-
0
|
456
|
-
x
|
457
|
-
2
|
458
|
-
<<
|
459
|
-
M
|
460
|
-
1
|
461
|
-
n
|
462
|
-
n
|
463
|
-
x
|
464
|
-
2
|
465
|
-
<<
|
466
|
-
i
|
467
|
-
10
|
468
|
-
39
|
469
|
-
0
|
470
|
-
20
|
471
|
-
0
|
472
|
-
49
|
473
|
-
1
|
474
|
-
1
|
475
|
-
15
|
476
|
-
5
|
477
|
-
11
|
478
|
-
I
|
479
|
-
3
|
480
|
-
I
|
481
|
-
1
|
482
|
-
I
|
483
|
-
1
|
484
|
-
I
|
485
|
-
1
|
486
|
-
n
|
487
|
-
p
|
488
|
-
2
|
489
|
-
x
|
490
|
-
6
|
491
|
-
@value
|
492
|
-
x
|
493
|
-
2
|
494
|
-
<<
|
495
|
-
p
|
496
|
-
7
|
497
|
-
I
|
498
|
-
-1
|
499
|
-
I
|
500
|
-
2c
|
501
|
-
I
|
502
|
-
0
|
503
|
-
I
|
504
|
-
2d
|
505
|
-
I
|
506
|
-
8
|
507
|
-
I
|
508
|
-
2e
|
509
|
-
I
|
510
|
-
a
|
511
|
-
x
|
512
|
-
59
|
513
|
-
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/replaceable.rb
|
514
|
-
p
|
515
|
-
1
|
516
|
-
x
|
517
|
-
5
|
518
|
-
value
|
519
|
-
x
|
520
|
-
1
|
521
|
-
v
|
522
|
-
x
|
523
|
-
12
|
524
|
-
alias_method
|
525
|
-
p
|
526
|
-
15
|
527
|
-
I
|
528
|
-
2
|
529
|
-
I
|
530
|
-
1a
|
531
|
-
I
|
532
|
-
b
|
533
|
-
I
|
534
|
-
1c
|
535
|
-
I
|
536
|
-
13
|
537
|
-
I
|
538
|
-
1e
|
539
|
-
I
|
540
|
-
21
|
541
|
-
I
|
542
|
-
22
|
543
|
-
I
|
544
|
-
2f
|
545
|
-
I
|
546
|
-
27
|
547
|
-
I
|
548
|
-
3d
|
549
|
-
I
|
550
|
-
2c
|
551
|
-
I
|
552
|
-
4b
|
553
|
-
I
|
554
|
-
31
|
555
|
-
I
|
556
|
-
55
|
557
|
-
x
|
558
|
-
59
|
559
|
-
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/replaceable.rb
|
560
|
-
p
|
561
|
-
0
|
562
|
-
x
|
563
|
-
13
|
564
|
-
attach_method
|
565
|
-
p
|
566
|
-
3
|
567
|
-
I
|
568
|
-
2
|
569
|
-
I
|
570
|
-
19
|
571
|
-
I
|
572
|
-
1c
|
573
|
-
x
|
574
|
-
59
|
575
|
-
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/replaceable.rb
|
576
|
-
p
|
577
|
-
0
|
578
|
-
x
|
579
|
-
13
|
580
|
-
attach_method
|
581
|
-
p
|
582
|
-
3
|
583
|
-
I
|
584
|
-
0
|
585
|
-
I
|
586
|
-
13
|
587
|
-
I
|
588
|
-
1c
|
589
|
-
x
|
590
|
-
59
|
591
|
-
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/replaceable.rb
|
592
|
-
p
|
593
|
-
0
|