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
@@ -1,8 +1,3 @@
1
- $LOAD_PATH << File.expand_path('../../../lib', __FILE__)
2
-
3
- require 'rubygems'
4
- require 'bundler/setup'
5
-
6
1
  require 'bibtex'
7
2
  require 'minitest/unit'
8
3
 
@@ -0,0 +1,144 @@
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
+ 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
data/lib/bibtex.rb CHANGED
@@ -53,6 +53,7 @@ end
53
53
  # Debugger.start
54
54
 
55
55
  require 'bibtex/extensions'
56
+ require 'bibtex/compatibility'
56
57
  require 'bibtex/value'
57
58
  require 'bibtex/filters'
58
59
  require 'bibtex/name_parser'
data/lib/bibtex.rbc ADDED
@@ -0,0 +1,709 @@
1
+ !RBIX
2
+ 9595534255132031488
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 251
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
+ 99
120
+ 7
121
+ 17
122
+ 65
123
+ 49
124
+ 18
125
+ 2
126
+ 13
127
+ 99
128
+ 12
129
+ 7
130
+ 19
131
+ 12
132
+ 7
133
+ 20
134
+ 12
135
+ 65
136
+ 12
137
+ 49
138
+ 21
139
+ 4
140
+ 15
141
+ 49
142
+ 19
143
+ 0
144
+ 15
145
+ 5
146
+ 7
147
+ 22
148
+ 64
149
+ 47
150
+ 49
151
+ 14
152
+ 1
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
+ 2
263
+ 11
264
+ I
265
+ 6
266
+ I
267
+ 0
268
+ I
269
+ 0
270
+ I
271
+ 0
272
+ n
273
+ p
274
+ 35
275
+ x
276
+ 7
277
+ Globals
278
+ x
279
+ 2
280
+ $:
281
+ x
282
+ 2
283
+ []
284
+ x
285
+ 4
286
+ File
287
+ n
288
+ x
289
+ 11
290
+ active_path
291
+ x
292
+ 7
293
+ dirname
294
+ x
295
+ 8
296
+ include?
297
+ n
298
+ n
299
+ x
300
+ 11
301
+ expand_path
302
+ n
303
+ x
304
+ 7
305
+ unshift
306
+ s
307
+ 8
308
+ rubygems
309
+ x
310
+ 7
311
+ require
312
+ s
313
+ 14
314
+ bibtex/version
315
+ s
316
+ 6
317
+ logger
318
+ x
319
+ 6
320
+ BibTeX
321
+ x
322
+ 11
323
+ open_module
324
+ x
325
+ 15
326
+ __module_init__
327
+ M
328
+ 1
329
+ n
330
+ n
331
+ x
332
+ 6
333
+ BibTeX
334
+ i
335
+ 98
336
+ 5
337
+ 66
338
+ 65
339
+ 7
340
+ 0
341
+ 45
342
+ 1
343
+ 2
344
+ 13
345
+ 71
346
+ 3
347
+ 47
348
+ 9
349
+ 29
350
+ 47
351
+ 49
352
+ 4
353
+ 0
354
+ 13
355
+ 45
356
+ 5
357
+ 6
358
+ 47
359
+ 49
360
+ 7
361
+ 1
362
+ 15
363
+ 8
364
+ 35
365
+ 45
366
+ 5
367
+ 8
368
+ 49
369
+ 3
370
+ 1
371
+ 49
372
+ 9
373
+ 2
374
+ 15
375
+ 45
376
+ 0
377
+ 10
378
+ 45
379
+ 11
380
+ 12
381
+ 7
382
+ 13
383
+ 64
384
+ 49
385
+ 14
386
+ 1
387
+ 9
388
+ 60
389
+ 45
390
+ 1
391
+ 15
392
+ 43
393
+ 16
394
+ 8
395
+ 65
396
+ 45
397
+ 1
398
+ 17
399
+ 43
400
+ 18
401
+ 13
402
+ 18
403
+ 2
404
+ 49
405
+ 19
406
+ 1
407
+ 15
408
+ 15
409
+ 45
410
+ 0
411
+ 20
412
+ 7
413
+ 21
414
+ 64
415
+ 13
416
+ 18
417
+ 2
418
+ 49
419
+ 22
420
+ 1
421
+ 15
422
+ 15
423
+ 99
424
+ 7
425
+ 23
426
+ 7
427
+ 24
428
+ 65
429
+ 5
430
+ 49
431
+ 25
432
+ 4
433
+ 11
434
+ I
435
+ 5
436
+ I
437
+ 0
438
+ I
439
+ 0
440
+ I
441
+ 0
442
+ n
443
+ p
444
+ 26
445
+ x
446
+ 3
447
+ Log
448
+ x
449
+ 6
450
+ Logger
451
+ n
452
+ x
453
+ 3
454
+ new
455
+ x
456
+ 8
457
+ allocate
458
+ x
459
+ 6
460
+ STDERR
461
+ n
462
+ x
463
+ 10
464
+ initialize
465
+ n
466
+ x
467
+ 9
468
+ const_set
469
+ n
470
+ x
471
+ 3
472
+ ENV
473
+ n
474
+ s
475
+ 5
476
+ DEBUG
477
+ x
478
+ 8
479
+ has_key?
480
+ n
481
+ x
482
+ 5
483
+ DEBUG
484
+ n
485
+ x
486
+ 4
487
+ WARN
488
+ x
489
+ 6
490
+ level=
491
+ n
492
+ s
493
+ 17
494
+ %Y-%m-%d %H:%M:%S
495
+ x
496
+ 16
497
+ datetime_format=
498
+ x
499
+ 3
500
+ log
501
+ M
502
+ 1
503
+ n
504
+ n
505
+ x
506
+ 3
507
+ log
508
+ i
509
+ 6
510
+ 45
511
+ 0
512
+ 1
513
+ 43
514
+ 2
515
+ 11
516
+ I
517
+ 1
518
+ I
519
+ 0
520
+ I
521
+ 0
522
+ I
523
+ 0
524
+ n
525
+ p
526
+ 3
527
+ x
528
+ 6
529
+ BibTeX
530
+ n
531
+ x
532
+ 3
533
+ Log
534
+ p
535
+ 3
536
+ I
537
+ -1
538
+ I
539
+ 30
540
+ I
541
+ 6
542
+ x
543
+ 47
544
+ /Users/sylvester/Work/bibtex-ruby/lib/bibtex.rb
545
+ p
546
+ 0
547
+ x
548
+ 13
549
+ attach_method
550
+ p
551
+ 11
552
+ I
553
+ 2
554
+ I
555
+ 2c
556
+ I
557
+ 27
558
+ I
559
+ 2d
560
+ I
561
+ 41
562
+ I
563
+ 0
564
+ I
565
+ 49
566
+ I
567
+ 2e
568
+ I
569
+ 57
570
+ I
571
+ 30
572
+ I
573
+ 62
574
+ x
575
+ 47
576
+ /Users/sylvester/Work/bibtex-ruby/lib/bibtex.rb
577
+ p
578
+ 0
579
+ x
580
+ 13
581
+ attach_method
582
+ s
583
+ 17
584
+ bibtex/extensions
585
+ s
586
+ 20
587
+ bibtex/compatibility
588
+ s
589
+ 12
590
+ bibtex/value
591
+ s
592
+ 14
593
+ bibtex/filters
594
+ s
595
+ 18
596
+ bibtex/name_parser
597
+ s
598
+ 12
599
+ bibtex/names
600
+ s
601
+ 18
602
+ bibtex/replaceable
603
+ s
604
+ 15
605
+ bibtex/elements
606
+ s
607
+ 12
608
+ bibtex/entry
609
+ s
610
+ 12
611
+ bibtex/error
612
+ s
613
+ 13
614
+ bibtex/parser
615
+ s
616
+ 19
617
+ bibtex/bibliography
618
+ s
619
+ 16
620
+ bibtex/utilities
621
+ p
622
+ 41
623
+ I
624
+ 0
625
+ I
626
+ 14
627
+ I
628
+ 39
629
+ I
630
+ 13
631
+ I
632
+ 4e
633
+ I
634
+ 0
635
+ I
636
+ 4f
637
+ I
638
+ 16
639
+ I
640
+ 58
641
+ I
642
+ 18
643
+ I
644
+ 61
645
+ I
646
+ 19
647
+ I
648
+ 6a
649
+ I
650
+ 26
651
+ I
652
+ 84
653
+ I
654
+ 37
655
+ I
656
+ 8d
657
+ I
658
+ 38
659
+ I
660
+ 96
661
+ I
662
+ 39
663
+ I
664
+ 9f
665
+ I
666
+ 3a
667
+ I
668
+ a8
669
+ I
670
+ 3b
671
+ I
672
+ b1
673
+ I
674
+ 3c
675
+ I
676
+ ba
677
+ I
678
+ 3d
679
+ I
680
+ c3
681
+ I
682
+ 3e
683
+ I
684
+ cc
685
+ I
686
+ 3f
687
+ I
688
+ d5
689
+ I
690
+ 40
691
+ I
692
+ de
693
+ I
694
+ 41
695
+ I
696
+ e7
697
+ I
698
+ 42
699
+ I
700
+ f0
701
+ I
702
+ 43
703
+ I
704
+ fb
705
+ x
706
+ 47
707
+ /Users/sylvester/Work/bibtex-ruby/lib/bibtex.rb
708
+ p
709
+ 0