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
data/test/helper.rb CHANGED
@@ -1,14 +1,11 @@
1
- require File.expand_path('../../lib/bibtex.rb', __FILE__)
2
-
3
- require 'rubygems'
4
- require 'bundler/setup'
5
1
 
6
2
  require 'mini_shoulda'
7
3
  require 'minitest/autorun'
8
4
  require 'redgreen'
9
-
10
5
  require 'tempfile'
11
6
 
7
+ require 'bibtex'
8
+
12
9
  module BibTeX
13
10
  module Test
14
11
 
data/test/helper.rbc ADDED
@@ -0,0 +1,446 @@
1
+ !RBIX
2
+ 9595534255132031488
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 73
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
+ 7
33
+ 3
34
+ 64
35
+ 47
36
+ 49
37
+ 1
38
+ 1
39
+ 15
40
+ 5
41
+ 7
42
+ 4
43
+ 64
44
+ 47
45
+ 49
46
+ 1
47
+ 1
48
+ 15
49
+ 5
50
+ 7
51
+ 5
52
+ 64
53
+ 47
54
+ 49
55
+ 1
56
+ 1
57
+ 15
58
+ 99
59
+ 7
60
+ 6
61
+ 65
62
+ 49
63
+ 7
64
+ 2
65
+ 13
66
+ 99
67
+ 12
68
+ 7
69
+ 8
70
+ 12
71
+ 7
72
+ 9
73
+ 12
74
+ 65
75
+ 12
76
+ 49
77
+ 10
78
+ 4
79
+ 15
80
+ 49
81
+ 8
82
+ 0
83
+ 15
84
+ 2
85
+ 11
86
+ I
87
+ 6
88
+ I
89
+ 0
90
+ I
91
+ 0
92
+ I
93
+ 0
94
+ n
95
+ p
96
+ 11
97
+ s
98
+ 12
99
+ mini_shoulda
100
+ x
101
+ 7
102
+ require
103
+ s
104
+ 16
105
+ minitest/autorun
106
+ s
107
+ 8
108
+ redgreen
109
+ s
110
+ 8
111
+ tempfile
112
+ s
113
+ 6
114
+ bibtex
115
+ x
116
+ 6
117
+ BibTeX
118
+ x
119
+ 11
120
+ open_module
121
+ x
122
+ 15
123
+ __module_init__
124
+ M
125
+ 1
126
+ n
127
+ n
128
+ x
129
+ 6
130
+ BibTeX
131
+ i
132
+ 28
133
+ 5
134
+ 66
135
+ 99
136
+ 7
137
+ 0
138
+ 65
139
+ 49
140
+ 1
141
+ 2
142
+ 13
143
+ 99
144
+ 12
145
+ 7
146
+ 2
147
+ 12
148
+ 7
149
+ 3
150
+ 12
151
+ 65
152
+ 12
153
+ 49
154
+ 4
155
+ 4
156
+ 15
157
+ 49
158
+ 2
159
+ 0
160
+ 11
161
+ I
162
+ 6
163
+ I
164
+ 0
165
+ I
166
+ 0
167
+ I
168
+ 0
169
+ n
170
+ p
171
+ 5
172
+ x
173
+ 4
174
+ Test
175
+ x
176
+ 11
177
+ open_module
178
+ x
179
+ 15
180
+ __module_init__
181
+ M
182
+ 1
183
+ n
184
+ n
185
+ x
186
+ 4
187
+ Test
188
+ i
189
+ 30
190
+ 5
191
+ 66
192
+ 5
193
+ 99
194
+ 43
195
+ 0
196
+ 12
197
+ 49
198
+ 1
199
+ 1
200
+ 13
201
+ 99
202
+ 12
203
+ 7
204
+ 2
205
+ 12
206
+ 7
207
+ 3
208
+ 12
209
+ 65
210
+ 12
211
+ 49
212
+ 4
213
+ 4
214
+ 15
215
+ 54
216
+ 50
217
+ 2
218
+ 0
219
+ 11
220
+ I
221
+ 6
222
+ I
223
+ 0
224
+ I
225
+ 0
226
+ I
227
+ 0
228
+ n
229
+ p
230
+ 5
231
+ x
232
+ 4
233
+ Type
234
+ x
235
+ 22
236
+ object_singleton_class
237
+ x
238
+ 18
239
+ __metaclass_init__
240
+ M
241
+ 1
242
+ n
243
+ n
244
+ x
245
+ 18
246
+ __metaclass_init__
247
+ i
248
+ 16
249
+ 5
250
+ 66
251
+ 99
252
+ 7
253
+ 0
254
+ 7
255
+ 1
256
+ 65
257
+ 67
258
+ 49
259
+ 2
260
+ 0
261
+ 49
262
+ 3
263
+ 4
264
+ 11
265
+ I
266
+ 5
267
+ I
268
+ 0
269
+ I
270
+ 0
271
+ I
272
+ 0
273
+ n
274
+ p
275
+ 4
276
+ x
277
+ 8
278
+ fixtures
279
+ M
280
+ 1
281
+ n
282
+ n
283
+ x
284
+ 8
285
+ fixtures
286
+ i
287
+ 22
288
+ 45
289
+ 0
290
+ 1
291
+ 7
292
+ 2
293
+ 20
294
+ 0
295
+ 47
296
+ 101
297
+ 3
298
+ 7
299
+ 4
300
+ 63
301
+ 3
302
+ 65
303
+ 49
304
+ 5
305
+ 0
306
+ 49
307
+ 6
308
+ 2
309
+ 11
310
+ I
311
+ 5
312
+ I
313
+ 1
314
+ I
315
+ 1
316
+ I
317
+ 1
318
+ n
319
+ p
320
+ 7
321
+ x
322
+ 4
323
+ File
324
+ n
325
+ s
326
+ 12
327
+ ../fixtures/
328
+ x
329
+ 4
330
+ to_s
331
+ s
332
+ 4
333
+ .bib
334
+ x
335
+ 11
336
+ active_path
337
+ x
338
+ 11
339
+ expand_path
340
+ p
341
+ 5
342
+ I
343
+ -1
344
+ I
345
+ d
346
+ I
347
+ 0
348
+ I
349
+ e
350
+ I
351
+ 16
352
+ x
353
+ 48
354
+ /Users/sylvester/Work/bibtex-ruby/test/helper.rb
355
+ p
356
+ 1
357
+ x
358
+ 4
359
+ name
360
+ x
361
+ 17
362
+ method_visibility
363
+ x
364
+ 15
365
+ add_defn_method
366
+ p
367
+ 3
368
+ I
369
+ 2
370
+ I
371
+ d
372
+ I
373
+ 10
374
+ x
375
+ 48
376
+ /Users/sylvester/Work/bibtex-ruby/test/helper.rb
377
+ p
378
+ 0
379
+ x
380
+ 13
381
+ attach_method
382
+ p
383
+ 3
384
+ I
385
+ 2
386
+ I
387
+ c
388
+ I
389
+ 1e
390
+ x
391
+ 48
392
+ /Users/sylvester/Work/bibtex-ruby/test/helper.rb
393
+ p
394
+ 0
395
+ x
396
+ 13
397
+ attach_method
398
+ p
399
+ 3
400
+ I
401
+ 2
402
+ I
403
+ a
404
+ I
405
+ 1c
406
+ x
407
+ 48
408
+ /Users/sylvester/Work/bibtex-ruby/test/helper.rb
409
+ p
410
+ 0
411
+ x
412
+ 13
413
+ attach_method
414
+ p
415
+ 13
416
+ I
417
+ 0
418
+ I
419
+ 2
420
+ I
421
+ 9
422
+ I
423
+ 3
424
+ I
425
+ 12
426
+ I
427
+ 4
428
+ I
429
+ 1b
430
+ I
431
+ 5
432
+ I
433
+ 24
434
+ I
435
+ 7
436
+ I
437
+ 2d
438
+ I
439
+ 9
440
+ I
441
+ 49
442
+ x
443
+ 48
444
+ /Users/sylvester/Work/bibtex-ruby/test/helper.rb
445
+ p
446
+ 0