bibtex-ruby 1.3.10 → 1.3.11
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 +7 -2
- data/Gemfile.lock +18 -14
- data/History.txt +6 -0
- data/Manifest +38 -1
- data/Rakefile +3 -10
- data/Rakefile.compiled.rbc +1903 -0
- data/bibtex-ruby.gemspec +10 -13
- data/features/issues/parse_months.feature +24 -4
- data/features/step_definitions/bibtex_steps.rbc +2981 -0
- data/features/step_definitions/name_steps.rbc +544 -0
- data/features/support/env.rb +0 -5
- data/features/support/env.rbc +144 -0
- data/lib/bibtex.rb +1 -0
- data/lib/bibtex.rbc +709 -0
- data/lib/bibtex/bibliography.rb +1 -1
- data/lib/bibtex/bibliography.rbc +5799 -0
- data/lib/bibtex/compatibility.rb +10 -0
- data/lib/bibtex/compatibility.rbc +290 -0
- data/lib/bibtex/elements.rbc +5524 -0
- data/lib/bibtex/entry.rbc +8317 -0
- data/lib/bibtex/error.rbc +785 -0
- data/lib/bibtex/extensions.rbc +127 -0
- data/lib/bibtex/filters.rbc +1178 -0
- data/lib/bibtex/filters/latex.rbc +361 -0
- data/lib/bibtex/lexer.rbc +5612 -0
- data/lib/bibtex/name_parser.rbc +2867 -0
- data/lib/bibtex/names.rb +2 -2
- data/lib/bibtex/names.rbc +4156 -0
- data/lib/bibtex/parser.rbc +3336 -0
- data/lib/bibtex/replaceable.rbc +593 -0
- data/lib/bibtex/ruby.rb +1 -0
- data/lib/bibtex/utilities.rbc +743 -0
- data/lib/bibtex/value.rb +5 -2
- data/lib/bibtex/value.rbc +4323 -0
- data/lib/bibtex/version.rb +1 -1
- data/lib/bibtex/version.rbc +209 -0
- data/test/bibtex/test_bibliography.rb +1 -1
- data/test/bibtex/test_bibliography.rbc +3397 -0
- data/test/bibtex/test_elements.rbc +924 -0
- data/test/bibtex/test_entry.rb +17 -14
- data/test/bibtex/test_entry.rbc +6392 -0
- data/test/bibtex/test_filters.rbc +1017 -0
- data/test/bibtex/test_lexer.rbc +373 -0
- data/test/bibtex/test_name_parser.rbc +608 -0
- data/test/bibtex/test_names.rbc +797 -0
- data/test/bibtex/test_parser.rb +2 -2
- data/test/bibtex/test_parser.rbc +2834 -0
- data/test/bibtex/test_string.rbc +706 -0
- data/test/bibtex/test_utilities.rb +1 -1
- data/test/bibtex/test_utilities.rbc +851 -0
- data/test/bibtex/test_value.rbc +4993 -0
- data/test/helper.rb +2 -5
- data/test/helper.rbc +446 -0
- data/test/test_bibtex.rb +20 -20
- data/test/test_bibtex.rbc +1875 -0
- data/test/test_export.rbc +921 -0
- metadata +72 -58
data/lib/bibtex/ruby.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'bibtex'
|
@@ -0,0 +1,743 @@
|
|
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
|
+
30
|
70
|
+
5
|
71
|
+
66
|
72
|
+
5
|
73
|
+
99
|
74
|
+
43
|
75
|
+
0
|
76
|
+
12
|
77
|
+
49
|
78
|
+
1
|
79
|
+
1
|
80
|
+
13
|
81
|
+
99
|
82
|
+
12
|
83
|
+
7
|
84
|
+
2
|
85
|
+
12
|
86
|
+
7
|
87
|
+
3
|
88
|
+
12
|
89
|
+
65
|
90
|
+
12
|
91
|
+
49
|
92
|
+
4
|
93
|
+
4
|
94
|
+
15
|
95
|
+
54
|
96
|
+
50
|
97
|
+
2
|
98
|
+
0
|
99
|
+
11
|
100
|
+
I
|
101
|
+
6
|
102
|
+
I
|
103
|
+
0
|
104
|
+
I
|
105
|
+
0
|
106
|
+
I
|
107
|
+
0
|
108
|
+
n
|
109
|
+
p
|
110
|
+
5
|
111
|
+
x
|
112
|
+
4
|
113
|
+
Type
|
114
|
+
x
|
115
|
+
22
|
116
|
+
object_singleton_class
|
117
|
+
x
|
118
|
+
18
|
119
|
+
__metaclass_init__
|
120
|
+
M
|
121
|
+
1
|
122
|
+
n
|
123
|
+
n
|
124
|
+
x
|
125
|
+
18
|
126
|
+
__metaclass_init__
|
127
|
+
i
|
128
|
+
88
|
129
|
+
5
|
130
|
+
66
|
131
|
+
99
|
132
|
+
7
|
133
|
+
0
|
134
|
+
7
|
135
|
+
1
|
136
|
+
65
|
137
|
+
67
|
138
|
+
49
|
139
|
+
2
|
140
|
+
0
|
141
|
+
49
|
142
|
+
3
|
143
|
+
4
|
144
|
+
15
|
145
|
+
99
|
146
|
+
7
|
147
|
+
4
|
148
|
+
7
|
149
|
+
5
|
150
|
+
65
|
151
|
+
67
|
152
|
+
49
|
153
|
+
2
|
154
|
+
0
|
155
|
+
49
|
156
|
+
3
|
157
|
+
4
|
158
|
+
15
|
159
|
+
99
|
160
|
+
7
|
161
|
+
6
|
162
|
+
7
|
163
|
+
7
|
164
|
+
65
|
165
|
+
67
|
166
|
+
49
|
167
|
+
2
|
168
|
+
0
|
169
|
+
49
|
170
|
+
3
|
171
|
+
4
|
172
|
+
15
|
173
|
+
99
|
174
|
+
7
|
175
|
+
8
|
176
|
+
7
|
177
|
+
9
|
178
|
+
65
|
179
|
+
67
|
180
|
+
49
|
181
|
+
2
|
182
|
+
0
|
183
|
+
49
|
184
|
+
3
|
185
|
+
4
|
186
|
+
15
|
187
|
+
65
|
188
|
+
7
|
189
|
+
10
|
190
|
+
7
|
191
|
+
8
|
192
|
+
47
|
193
|
+
49
|
194
|
+
11
|
195
|
+
2
|
196
|
+
15
|
197
|
+
65
|
198
|
+
7
|
199
|
+
12
|
200
|
+
7
|
201
|
+
8
|
202
|
+
47
|
203
|
+
49
|
204
|
+
11
|
205
|
+
2
|
206
|
+
15
|
207
|
+
65
|
208
|
+
7
|
209
|
+
13
|
210
|
+
7
|
211
|
+
8
|
212
|
+
47
|
213
|
+
49
|
214
|
+
11
|
215
|
+
2
|
216
|
+
11
|
217
|
+
I
|
218
|
+
5
|
219
|
+
I
|
220
|
+
0
|
221
|
+
I
|
222
|
+
0
|
223
|
+
I
|
224
|
+
0
|
225
|
+
n
|
226
|
+
p
|
227
|
+
14
|
228
|
+
x
|
229
|
+
4
|
230
|
+
open
|
231
|
+
M
|
232
|
+
1
|
233
|
+
n
|
234
|
+
n
|
235
|
+
x
|
236
|
+
4
|
237
|
+
open
|
238
|
+
i
|
239
|
+
42
|
240
|
+
23
|
241
|
+
1
|
242
|
+
10
|
243
|
+
14
|
244
|
+
44
|
245
|
+
43
|
246
|
+
0
|
247
|
+
78
|
248
|
+
49
|
249
|
+
1
|
250
|
+
1
|
251
|
+
19
|
252
|
+
1
|
253
|
+
15
|
254
|
+
95
|
255
|
+
19
|
256
|
+
2
|
257
|
+
15
|
258
|
+
45
|
259
|
+
2
|
260
|
+
3
|
261
|
+
20
|
262
|
+
0
|
263
|
+
20
|
264
|
+
1
|
265
|
+
20
|
266
|
+
2
|
267
|
+
13
|
268
|
+
70
|
269
|
+
10
|
270
|
+
38
|
271
|
+
44
|
272
|
+
43
|
273
|
+
4
|
274
|
+
12
|
275
|
+
49
|
276
|
+
5
|
277
|
+
1
|
278
|
+
50
|
279
|
+
6
|
280
|
+
2
|
281
|
+
11
|
282
|
+
I
|
283
|
+
8
|
284
|
+
I
|
285
|
+
3
|
286
|
+
I
|
287
|
+
1
|
288
|
+
I
|
289
|
+
2
|
290
|
+
n
|
291
|
+
p
|
292
|
+
7
|
293
|
+
x
|
294
|
+
4
|
295
|
+
Hash
|
296
|
+
x
|
297
|
+
16
|
298
|
+
new_from_literal
|
299
|
+
x
|
300
|
+
12
|
301
|
+
Bibliography
|
302
|
+
n
|
303
|
+
x
|
304
|
+
4
|
305
|
+
Proc
|
306
|
+
x
|
307
|
+
14
|
308
|
+
__from_block__
|
309
|
+
x
|
310
|
+
4
|
311
|
+
open
|
312
|
+
p
|
313
|
+
5
|
314
|
+
I
|
315
|
+
-1
|
316
|
+
I
|
317
|
+
1a
|
318
|
+
I
|
319
|
+
12
|
320
|
+
I
|
321
|
+
1b
|
322
|
+
I
|
323
|
+
2a
|
324
|
+
x
|
325
|
+
57
|
326
|
+
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/utilities.rb
|
327
|
+
p
|
328
|
+
3
|
329
|
+
x
|
330
|
+
4
|
331
|
+
file
|
332
|
+
x
|
333
|
+
7
|
334
|
+
options
|
335
|
+
x
|
336
|
+
5
|
337
|
+
block
|
338
|
+
x
|
339
|
+
17
|
340
|
+
method_visibility
|
341
|
+
x
|
342
|
+
15
|
343
|
+
add_defn_method
|
344
|
+
x
|
345
|
+
5
|
346
|
+
parse
|
347
|
+
M
|
348
|
+
1
|
349
|
+
n
|
350
|
+
n
|
351
|
+
x
|
352
|
+
5
|
353
|
+
parse
|
354
|
+
i
|
355
|
+
91
|
356
|
+
23
|
357
|
+
1
|
358
|
+
10
|
359
|
+
14
|
360
|
+
44
|
361
|
+
43
|
362
|
+
0
|
363
|
+
78
|
364
|
+
49
|
365
|
+
1
|
366
|
+
1
|
367
|
+
19
|
368
|
+
1
|
369
|
+
15
|
370
|
+
95
|
371
|
+
19
|
372
|
+
2
|
373
|
+
15
|
374
|
+
45
|
375
|
+
2
|
376
|
+
3
|
377
|
+
20
|
378
|
+
0
|
379
|
+
49
|
380
|
+
4
|
381
|
+
1
|
382
|
+
13
|
383
|
+
10
|
384
|
+
53
|
385
|
+
15
|
386
|
+
20
|
387
|
+
0
|
388
|
+
7
|
389
|
+
5
|
390
|
+
13
|
391
|
+
70
|
392
|
+
9
|
393
|
+
50
|
394
|
+
15
|
395
|
+
44
|
396
|
+
43
|
397
|
+
6
|
398
|
+
7
|
399
|
+
7
|
400
|
+
79
|
401
|
+
49
|
402
|
+
8
|
403
|
+
2
|
404
|
+
6
|
405
|
+
5
|
406
|
+
49
|
407
|
+
9
|
408
|
+
1
|
409
|
+
9
|
410
|
+
80
|
411
|
+
45
|
412
|
+
10
|
413
|
+
11
|
414
|
+
20
|
415
|
+
0
|
416
|
+
20
|
417
|
+
1
|
418
|
+
20
|
419
|
+
2
|
420
|
+
13
|
421
|
+
70
|
422
|
+
10
|
423
|
+
75
|
424
|
+
44
|
425
|
+
43
|
426
|
+
12
|
427
|
+
12
|
428
|
+
49
|
429
|
+
13
|
430
|
+
1
|
431
|
+
50
|
432
|
+
14
|
433
|
+
2
|
434
|
+
8
|
435
|
+
90
|
436
|
+
45
|
437
|
+
10
|
438
|
+
15
|
439
|
+
20
|
440
|
+
0
|
441
|
+
20
|
442
|
+
1
|
443
|
+
49
|
444
|
+
16
|
445
|
+
2
|
446
|
+
11
|
447
|
+
I
|
448
|
+
8
|
449
|
+
I
|
450
|
+
3
|
451
|
+
I
|
452
|
+
1
|
453
|
+
I
|
454
|
+
2
|
455
|
+
n
|
456
|
+
p
|
457
|
+
17
|
458
|
+
x
|
459
|
+
4
|
460
|
+
Hash
|
461
|
+
x
|
462
|
+
16
|
463
|
+
new_from_literal
|
464
|
+
x
|
465
|
+
4
|
466
|
+
File
|
467
|
+
n
|
468
|
+
x
|
469
|
+
7
|
470
|
+
exists?
|
471
|
+
n
|
472
|
+
x
|
473
|
+
6
|
474
|
+
Regexp
|
475
|
+
s
|
476
|
+
12
|
477
|
+
^[a-z]+:\/\/
|
478
|
+
x
|
479
|
+
3
|
480
|
+
new
|
481
|
+
x
|
482
|
+
2
|
483
|
+
=~
|
484
|
+
x
|
485
|
+
12
|
486
|
+
Bibliography
|
487
|
+
n
|
488
|
+
x
|
489
|
+
4
|
490
|
+
Proc
|
491
|
+
x
|
492
|
+
14
|
493
|
+
__from_block__
|
494
|
+
x
|
495
|
+
4
|
496
|
+
open
|
497
|
+
n
|
498
|
+
x
|
499
|
+
5
|
500
|
+
parse
|
501
|
+
p
|
502
|
+
11
|
503
|
+
I
|
504
|
+
-1
|
505
|
+
I
|
506
|
+
20
|
507
|
+
I
|
508
|
+
12
|
509
|
+
I
|
510
|
+
21
|
511
|
+
I
|
512
|
+
37
|
513
|
+
I
|
514
|
+
22
|
515
|
+
I
|
516
|
+
50
|
517
|
+
I
|
518
|
+
24
|
519
|
+
I
|
520
|
+
5a
|
521
|
+
I
|
522
|
+
0
|
523
|
+
I
|
524
|
+
5b
|
525
|
+
x
|
526
|
+
57
|
527
|
+
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/utilities.rb
|
528
|
+
p
|
529
|
+
3
|
530
|
+
x
|
531
|
+
6
|
532
|
+
string
|
533
|
+
x
|
534
|
+
7
|
535
|
+
options
|
536
|
+
x
|
537
|
+
5
|
538
|
+
block
|
539
|
+
x
|
540
|
+
6
|
541
|
+
valid?
|
542
|
+
M
|
543
|
+
1
|
544
|
+
n
|
545
|
+
n
|
546
|
+
x
|
547
|
+
6
|
548
|
+
valid?
|
549
|
+
i
|
550
|
+
12
|
551
|
+
45
|
552
|
+
0
|
553
|
+
1
|
554
|
+
20
|
555
|
+
0
|
556
|
+
49
|
557
|
+
2
|
558
|
+
1
|
559
|
+
49
|
560
|
+
3
|
561
|
+
0
|
562
|
+
11
|
563
|
+
I
|
564
|
+
3
|
565
|
+
I
|
566
|
+
1
|
567
|
+
I
|
568
|
+
1
|
569
|
+
I
|
570
|
+
1
|
571
|
+
n
|
572
|
+
p
|
573
|
+
4
|
574
|
+
x
|
575
|
+
12
|
576
|
+
Bibliography
|
577
|
+
n
|
578
|
+
x
|
579
|
+
4
|
580
|
+
open
|
581
|
+
x
|
582
|
+
6
|
583
|
+
valid?
|
584
|
+
p
|
585
|
+
5
|
586
|
+
I
|
587
|
+
-1
|
588
|
+
I
|
589
|
+
29
|
590
|
+
I
|
591
|
+
0
|
592
|
+
I
|
593
|
+
2a
|
594
|
+
I
|
595
|
+
c
|
596
|
+
x
|
597
|
+
57
|
598
|
+
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/utilities.rb
|
599
|
+
p
|
600
|
+
1
|
601
|
+
x
|
602
|
+
4
|
603
|
+
file
|
604
|
+
x
|
605
|
+
5
|
606
|
+
names
|
607
|
+
M
|
608
|
+
1
|
609
|
+
n
|
610
|
+
n
|
611
|
+
x
|
612
|
+
5
|
613
|
+
names
|
614
|
+
i
|
615
|
+
9
|
616
|
+
45
|
617
|
+
0
|
618
|
+
1
|
619
|
+
20
|
620
|
+
0
|
621
|
+
49
|
622
|
+
2
|
623
|
+
1
|
624
|
+
11
|
625
|
+
I
|
626
|
+
3
|
627
|
+
I
|
628
|
+
1
|
629
|
+
I
|
630
|
+
1
|
631
|
+
I
|
632
|
+
1
|
633
|
+
n
|
634
|
+
p
|
635
|
+
3
|
636
|
+
x
|
637
|
+
5
|
638
|
+
Names
|
639
|
+
n
|
640
|
+
x
|
641
|
+
5
|
642
|
+
parse
|
643
|
+
p
|
644
|
+
5
|
645
|
+
I
|
646
|
+
-1
|
647
|
+
I
|
648
|
+
2e
|
649
|
+
I
|
650
|
+
0
|
651
|
+
I
|
652
|
+
2f
|
653
|
+
I
|
654
|
+
9
|
655
|
+
x
|
656
|
+
57
|
657
|
+
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/utilities.rb
|
658
|
+
p
|
659
|
+
1
|
660
|
+
x
|
661
|
+
6
|
662
|
+
string
|
663
|
+
x
|
664
|
+
4
|
665
|
+
name
|
666
|
+
x
|
667
|
+
12
|
668
|
+
alias_method
|
669
|
+
x
|
670
|
+
10
|
671
|
+
parse_name
|
672
|
+
x
|
673
|
+
11
|
674
|
+
parse_names
|
675
|
+
p
|
676
|
+
15
|
677
|
+
I
|
678
|
+
2
|
679
|
+
I
|
680
|
+
1a
|
681
|
+
I
|
682
|
+
10
|
683
|
+
I
|
684
|
+
20
|
685
|
+
I
|
686
|
+
1e
|
687
|
+
I
|
688
|
+
29
|
689
|
+
I
|
690
|
+
2c
|
691
|
+
I
|
692
|
+
2e
|
693
|
+
I
|
694
|
+
3a
|
695
|
+
I
|
696
|
+
32
|
697
|
+
I
|
698
|
+
44
|
699
|
+
I
|
700
|
+
33
|
701
|
+
I
|
702
|
+
4e
|
703
|
+
I
|
704
|
+
34
|
705
|
+
I
|
706
|
+
58
|
707
|
+
x
|
708
|
+
57
|
709
|
+
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/utilities.rb
|
710
|
+
p
|
711
|
+
0
|
712
|
+
x
|
713
|
+
13
|
714
|
+
attach_method
|
715
|
+
p
|
716
|
+
3
|
717
|
+
I
|
718
|
+
2
|
719
|
+
I
|
720
|
+
15
|
721
|
+
I
|
722
|
+
1e
|
723
|
+
x
|
724
|
+
57
|
725
|
+
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/utilities.rb
|
726
|
+
p
|
727
|
+
0
|
728
|
+
x
|
729
|
+
13
|
730
|
+
attach_method
|
731
|
+
p
|
732
|
+
3
|
733
|
+
I
|
734
|
+
0
|
735
|
+
I
|
736
|
+
13
|
737
|
+
I
|
738
|
+
1c
|
739
|
+
x
|
740
|
+
57
|
741
|
+
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/utilities.rb
|
742
|
+
p
|
743
|
+
0
|