bibtex-ruby 2.0.0pre1 → 2.0.0
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.
Potentially problematic release.
This version of bibtex-ruby might be problematic. Click here for more details.
- data/Gemfile +1 -1
- data/Gemfile.lock +1 -1
- data/History.txt +14 -1
- data/Rakefile.compiled.rbc +351 -260
- data/features/step_definitions/bibtex_steps.rbc +31 -16
- data/features/step_definitions/name_steps.rbc +1 -1
- data/features/support/env.rbc +1 -1
- data/lib/bibtex.rbc +58 -42
- data/lib/bibtex/bibliography.rb +3 -1
- data/lib/bibtex/bibliography.rbc +1623 -693
- data/lib/bibtex/compatibility.rbc +1 -1
- data/lib/bibtex/elements.rb +1 -1
- data/lib/bibtex/elements.rbc +855 -413
- data/lib/bibtex/entry.rbc +6115 -3111
- data/lib/bibtex/error.rb +2 -1
- data/lib/bibtex/error.rbc +258 -43
- data/lib/bibtex/extensions.rbc +1 -1
- data/lib/bibtex/filters.rbc +1 -1
- data/lib/bibtex/filters/latex.rbc +1 -1
- data/lib/bibtex/lexer.rbc +396 -449
- data/lib/bibtex/name_parser.rbc +152 -509
- data/lib/bibtex/names.rbc +979 -425
- data/lib/bibtex/parser.rbc +3 -3
- data/lib/bibtex/replaceable.rbc +1 -1
- data/lib/bibtex/utilities.rbc +1 -1
- data/lib/bibtex/value.rb +1 -1
- data/lib/bibtex/value.rbc +267 -299
- data/lib/bibtex/version.rb +1 -1
- data/lib/bibtex/version.rbc +2 -2
- data/test/bibtex/test_bibliography.rbc +1055 -184
- data/test/bibtex/test_elements.rbc +696 -66
- data/test/bibtex/test_entry.rbc +9118 -3743
- data/test/bibtex/test_filters.rbc +17 -17
- data/test/bibtex/test_lexer.rbc +5 -5
- data/test/bibtex/test_name_parser.rbc +11 -11
- data/test/bibtex/test_names.rbc +13 -13
- data/test/bibtex/test_parser.rbc +72 -87
- data/test/bibtex/test_string.rbc +15 -15
- data/test/bibtex/test_utilities.rbc +1 -1
- data/test/bibtex/test_value.rbc +67 -67
- data/test/helper.rbc +20 -36
- data/test/test_bibtex.rbc +96 -186
- data/test/test_export.rbc +44 -57
- metadata +14 -14
data/lib/bibtex/error.rb
CHANGED
data/lib/bibtex/error.rbc
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
!RBIX
|
2
|
-
|
2
|
+
16846133056282117387
|
3
3
|
x
|
4
4
|
M
|
5
5
|
1
|
@@ -66,7 +66,7 @@ x
|
|
66
66
|
6
|
67
67
|
BibTeX
|
68
68
|
i
|
69
|
-
|
69
|
+
86
|
70
70
|
5
|
71
71
|
66
|
72
72
|
99
|
@@ -79,15 +79,57 @@ i
|
|
79
79
|
49
|
80
80
|
3
|
81
81
|
3
|
82
|
+
13
|
83
|
+
99
|
84
|
+
12
|
85
|
+
7
|
86
|
+
4
|
87
|
+
12
|
88
|
+
7
|
89
|
+
5
|
90
|
+
12
|
91
|
+
65
|
92
|
+
12
|
93
|
+
49
|
94
|
+
6
|
95
|
+
4
|
96
|
+
15
|
97
|
+
49
|
98
|
+
4
|
99
|
+
0
|
100
|
+
15
|
101
|
+
99
|
102
|
+
7
|
103
|
+
7
|
104
|
+
45
|
105
|
+
0
|
106
|
+
8
|
107
|
+
65
|
108
|
+
49
|
109
|
+
3
|
110
|
+
3
|
82
111
|
15
|
83
112
|
1
|
84
113
|
15
|
85
114
|
99
|
86
115
|
7
|
87
|
-
|
116
|
+
9
|
88
117
|
45
|
89
|
-
|
90
|
-
|
118
|
+
0
|
119
|
+
10
|
120
|
+
65
|
121
|
+
49
|
122
|
+
3
|
123
|
+
3
|
124
|
+
15
|
125
|
+
1
|
126
|
+
15
|
127
|
+
99
|
128
|
+
7
|
129
|
+
11
|
130
|
+
45
|
131
|
+
12
|
132
|
+
13
|
91
133
|
65
|
92
134
|
49
|
93
135
|
3
|
@@ -96,19 +138,19 @@ i
|
|
96
138
|
99
|
97
139
|
12
|
98
140
|
7
|
99
|
-
|
141
|
+
4
|
100
142
|
12
|
101
143
|
7
|
102
|
-
|
144
|
+
14
|
103
145
|
12
|
104
146
|
65
|
105
147
|
12
|
106
148
|
49
|
107
|
-
|
149
|
+
6
|
108
150
|
4
|
109
151
|
15
|
110
152
|
49
|
111
|
-
|
153
|
+
4
|
112
154
|
0
|
113
155
|
11
|
114
156
|
I
|
@@ -121,10 +163,10 @@ I
|
|
121
163
|
0
|
122
164
|
n
|
123
165
|
p
|
124
|
-
|
166
|
+
15
|
125
167
|
x
|
126
|
-
|
127
|
-
|
168
|
+
11
|
169
|
+
BibTeXError
|
128
170
|
x
|
129
171
|
13
|
130
172
|
StandardError
|
@@ -133,15 +175,183 @@ x
|
|
133
175
|
10
|
134
176
|
open_class
|
135
177
|
x
|
178
|
+
14
|
179
|
+
__class_init__
|
180
|
+
M
|
181
|
+
1
|
182
|
+
n
|
183
|
+
n
|
184
|
+
x
|
185
|
+
11
|
186
|
+
BibTeXError
|
187
|
+
i
|
188
|
+
24
|
189
|
+
5
|
190
|
+
66
|
191
|
+
5
|
192
|
+
7
|
193
|
+
0
|
194
|
+
47
|
195
|
+
49
|
196
|
+
1
|
197
|
+
1
|
198
|
+
15
|
199
|
+
99
|
200
|
+
7
|
201
|
+
2
|
202
|
+
7
|
203
|
+
3
|
204
|
+
65
|
205
|
+
67
|
206
|
+
49
|
207
|
+
4
|
208
|
+
0
|
209
|
+
49
|
210
|
+
5
|
211
|
+
4
|
212
|
+
11
|
213
|
+
I
|
214
|
+
5
|
215
|
+
I
|
216
|
+
0
|
217
|
+
I
|
218
|
+
0
|
219
|
+
I
|
220
|
+
0
|
221
|
+
n
|
222
|
+
p
|
223
|
+
6
|
224
|
+
x
|
225
|
+
7
|
226
|
+
orginal
|
227
|
+
x
|
228
|
+
11
|
229
|
+
attr_reader
|
230
|
+
x
|
231
|
+
10
|
232
|
+
initialize
|
233
|
+
M
|
234
|
+
1
|
235
|
+
n
|
236
|
+
n
|
237
|
+
x
|
238
|
+
10
|
239
|
+
initialize
|
240
|
+
i
|
241
|
+
28
|
242
|
+
23
|
243
|
+
0
|
244
|
+
10
|
245
|
+
8
|
246
|
+
1
|
247
|
+
19
|
248
|
+
0
|
249
|
+
15
|
250
|
+
23
|
251
|
+
1
|
252
|
+
10
|
253
|
+
16
|
254
|
+
24
|
255
|
+
19
|
256
|
+
1
|
257
|
+
15
|
258
|
+
20
|
259
|
+
0
|
260
|
+
54
|
261
|
+
52
|
262
|
+
0
|
263
|
+
1
|
264
|
+
15
|
265
|
+
20
|
266
|
+
1
|
267
|
+
38
|
268
|
+
1
|
269
|
+
11
|
270
|
+
I
|
271
|
+
4
|
272
|
+
I
|
273
|
+
2
|
274
|
+
I
|
275
|
+
0
|
276
|
+
I
|
277
|
+
2
|
278
|
+
n
|
279
|
+
p
|
280
|
+
2
|
281
|
+
x
|
282
|
+
10
|
283
|
+
initialize
|
284
|
+
x
|
285
|
+
9
|
286
|
+
@original
|
287
|
+
p
|
288
|
+
7
|
289
|
+
I
|
290
|
+
-1
|
291
|
+
I
|
292
|
+
6
|
293
|
+
I
|
294
|
+
10
|
295
|
+
I
|
296
|
+
7
|
297
|
+
I
|
298
|
+
17
|
299
|
+
I
|
300
|
+
8
|
301
|
+
I
|
302
|
+
1c
|
303
|
+
x
|
304
|
+
53
|
305
|
+
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
|
306
|
+
p
|
307
|
+
2
|
308
|
+
x
|
309
|
+
7
|
310
|
+
message
|
311
|
+
x
|
312
|
+
8
|
313
|
+
original
|
314
|
+
x
|
315
|
+
17
|
316
|
+
method_visibility
|
317
|
+
x
|
318
|
+
15
|
319
|
+
add_defn_method
|
320
|
+
p
|
321
|
+
5
|
322
|
+
I
|
323
|
+
2
|
324
|
+
I
|
325
|
+
4
|
326
|
+
I
|
327
|
+
a
|
328
|
+
I
|
329
|
+
6
|
330
|
+
I
|
331
|
+
18
|
332
|
+
x
|
333
|
+
53
|
334
|
+
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
|
335
|
+
p
|
336
|
+
0
|
337
|
+
x
|
338
|
+
13
|
339
|
+
attach_method
|
340
|
+
x
|
341
|
+
10
|
342
|
+
ParseError
|
343
|
+
n
|
344
|
+
x
|
345
|
+
13
|
346
|
+
ArgumentError
|
347
|
+
n
|
348
|
+
x
|
136
349
|
5
|
137
350
|
Error
|
138
351
|
x
|
139
352
|
7
|
140
353
|
Element
|
141
354
|
n
|
142
|
-
x
|
143
|
-
14
|
144
|
-
__class_init__
|
145
355
|
M
|
146
356
|
1
|
147
357
|
n
|
@@ -293,11 +503,11 @@ p
|
|
293
503
|
I
|
294
504
|
-1
|
295
505
|
I
|
296
|
-
|
506
|
+
16
|
297
507
|
I
|
298
508
|
9
|
299
509
|
I
|
300
|
-
|
510
|
+
17
|
301
511
|
I
|
302
512
|
e
|
303
513
|
x
|
@@ -418,11 +628,11 @@ p
|
|
418
628
|
I
|
419
629
|
-1
|
420
630
|
I
|
421
|
-
|
631
|
+
1a
|
422
632
|
I
|
423
633
|
0
|
424
634
|
I
|
425
|
-
|
635
|
+
1b
|
426
636
|
I
|
427
637
|
26
|
428
638
|
I
|
@@ -430,7 +640,7 @@ I
|
|
430
640
|
I
|
431
641
|
27
|
432
642
|
I
|
433
|
-
|
643
|
+
1c
|
434
644
|
I
|
435
645
|
2c
|
436
646
|
x
|
@@ -522,7 +732,7 @@ p
|
|
522
732
|
I
|
523
733
|
0
|
524
734
|
I
|
525
|
-
|
735
|
+
20
|
526
736
|
I
|
527
737
|
b
|
528
738
|
x
|
@@ -544,11 +754,11 @@ p
|
|
544
754
|
I
|
545
755
|
-1
|
546
756
|
I
|
547
|
-
|
757
|
+
1f
|
548
758
|
I
|
549
759
|
0
|
550
760
|
I
|
551
|
-
|
761
|
+
20
|
552
762
|
I
|
553
763
|
b
|
554
764
|
x
|
@@ -612,19 +822,19 @@ p
|
|
612
822
|
I
|
613
823
|
-1
|
614
824
|
I
|
615
|
-
|
825
|
+
24
|
616
826
|
I
|
617
827
|
0
|
618
828
|
I
|
619
|
-
|
829
|
+
25
|
620
830
|
I
|
621
831
|
7
|
622
832
|
I
|
623
|
-
|
833
|
+
26
|
624
834
|
I
|
625
835
|
11
|
626
836
|
I
|
627
|
-
|
837
|
+
27
|
628
838
|
I
|
629
839
|
13
|
630
840
|
x
|
@@ -691,19 +901,19 @@ p
|
|
691
901
|
I
|
692
902
|
-1
|
693
903
|
I
|
694
|
-
|
904
|
+
2b
|
695
905
|
I
|
696
906
|
0
|
697
907
|
I
|
698
|
-
|
908
|
+
2c
|
699
909
|
I
|
700
910
|
7
|
701
911
|
I
|
702
|
-
|
912
|
+
2d
|
703
913
|
I
|
704
914
|
11
|
705
915
|
I
|
706
|
-
|
916
|
+
2e
|
707
917
|
I
|
708
918
|
13
|
709
919
|
x
|
@@ -719,27 +929,27 @@ p
|
|
719
929
|
I
|
720
930
|
2
|
721
931
|
I
|
722
|
-
|
932
|
+
14
|
723
933
|
I
|
724
934
|
a
|
725
935
|
I
|
726
|
-
|
936
|
+
16
|
727
937
|
I
|
728
938
|
18
|
729
939
|
I
|
730
|
-
|
940
|
+
1a
|
731
941
|
I
|
732
942
|
26
|
733
943
|
I
|
734
|
-
|
944
|
+
1f
|
735
945
|
I
|
736
946
|
34
|
737
947
|
I
|
738
|
-
|
948
|
+
24
|
739
949
|
I
|
740
950
|
42
|
741
951
|
I
|
742
|
-
|
952
|
+
2b
|
743
953
|
I
|
744
954
|
50
|
745
955
|
x
|
@@ -747,21 +957,26 @@ x
|
|
747
957
|
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
|
748
958
|
p
|
749
959
|
0
|
750
|
-
x
|
751
|
-
13
|
752
|
-
attach_method
|
753
960
|
p
|
754
|
-
|
961
|
+
9
|
755
962
|
I
|
756
963
|
2
|
757
964
|
I
|
758
965
|
3
|
759
966
|
I
|
760
|
-
|
967
|
+
1f
|
761
968
|
I
|
762
|
-
|
969
|
+
c
|
763
970
|
I
|
764
971
|
2c
|
972
|
+
I
|
973
|
+
d
|
974
|
+
I
|
975
|
+
39
|
976
|
+
I
|
977
|
+
12
|
978
|
+
I
|
979
|
+
56
|
765
980
|
x
|
766
981
|
53
|
767
982
|
/Users/sylvester/Work/bibtex-ruby/lib/bibtex/error.rb
|