bibtex-ruby 2.0.3 → 2.0.4

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 (52) hide show
  1. data/Gemfile.lock +2 -2
  2. data/History.txt +7 -0
  3. data/Manifest +3 -37
  4. data/Rakefile +1 -1
  5. data/features/issues/multiline_strings.feature +14 -0
  6. data/lib/bibtex/bibtex.y +9 -6
  7. data/lib/bibtex/filters.rb +5 -3
  8. data/lib/bibtex/filters/latex.rb +1 -1
  9. data/lib/bibtex/filters/linebreaks.rb +11 -0
  10. data/lib/bibtex/lexer.rb +254 -236
  11. data/lib/bibtex/parser.rb +9 -6
  12. data/lib/bibtex/version.rb +1 -1
  13. data/test/benchmark.rb +4 -1
  14. data/test/bibtex/test_lexer.rb +12 -2
  15. data/test/bibtex/test_parser.rb +21 -0
  16. metadata +14 -48
  17. data/Rakefile.compiled.rbc +0 -1994
  18. data/features/step_definitions/bibtex_steps.rbc +0 -2996
  19. data/features/step_definitions/name_steps.rbc +0 -544
  20. data/features/support/env.rbc +0 -144
  21. data/lib/bibtex.rbc +0 -725
  22. data/lib/bibtex/bibliography.rbc +0 -6729
  23. data/lib/bibtex/compatibility.rbc +0 -290
  24. data/lib/bibtex/elements.rbc +0 -5966
  25. data/lib/bibtex/entry.rbc +0 -11305
  26. data/lib/bibtex/error.rbc +0 -1000
  27. data/lib/bibtex/extensions.rbc +0 -127
  28. data/lib/bibtex/filters.rbc +0 -1178
  29. data/lib/bibtex/filters/latex.rbc +0 -361
  30. data/lib/bibtex/lexer.rbc +0 -5559
  31. data/lib/bibtex/name_parser.rbc +0 -2510
  32. data/lib/bibtex/names.rbc +0 -4710
  33. data/lib/bibtex/parser.rbc +0 -3336
  34. data/lib/bibtex/replaceable.rbc +0 -593
  35. data/lib/bibtex/utilities.rbc +0 -743
  36. data/lib/bibtex/value.rbc +0 -4291
  37. data/lib/bibtex/version.rbc +0 -209
  38. data/test/bibtex/test_bibliography.rbc +0 -4268
  39. data/test/bibtex/test_elements.rbc +0 -1554
  40. data/test/bibtex/test_entry.rbc +0 -11767
  41. data/test/bibtex/test_filters.rbc +0 -1017
  42. data/test/bibtex/test_lexer.rbc +0 -373
  43. data/test/bibtex/test_name_parser.rbc +0 -608
  44. data/test/bibtex/test_names.rbc +0 -797
  45. data/test/bibtex/test_parser.rbc +0 -2819
  46. data/test/bibtex/test_string.rbc +0 -706
  47. data/test/bibtex/test_utilities.rbc +0 -851
  48. data/test/bibtex/test_value.rbc +0 -4993
  49. data/test/helper.rbc +0 -430
  50. data/test/profile.dot +0 -191
  51. data/test/test_bibtex.rbc +0 -1785
  52. data/test/test_export.rbc +0 -908
@@ -15,10 +15,10 @@ module_eval(<<'...end bibtex.y/module_eval...', 'bibtex.y', 90)
15
15
 
16
16
  attr_reader :lexer, :options
17
17
 
18
- DEFAULTS = { :include => [:errors], :debug => ENV['DEBUG'] == true }.freeze
19
-
18
+ DEFAULTS = { :include => [:errors], :debug => ENV['DEBUG'] == true }.freeze
19
+
20
20
  def initialize(options = {})
21
- @options = DEFAULTS.merge(options)
21
+ @options = DEFAULTS.merge(options)
22
22
  @lexer = Lexer.new(@options)
23
23
  end
24
24
 
@@ -27,7 +27,7 @@ module_eval(<<'...end bibtex.y/module_eval...', 'bibtex.y', 90)
27
27
  @lexer.analyse(input)
28
28
 
29
29
  do_parse
30
- #yyparse(@lexer,:each)
30
+ #yyparse(@lexer,:each)
31
31
  end
32
32
 
33
33
  def next_token
@@ -39,8 +39,11 @@ module_eval(<<'...end bibtex.y/module_eval...', 'bibtex.y', 90)
39
39
  end
40
40
 
41
41
  def on_error(tid, val, vstack)
42
- Log.error("Failed to parse BibTeX on value %s (%s) %s" % [val.inspect, token_to_str(tid) || '?', vstack.inspect])
43
- #raise(ParseError, "Failed to parse BibTeX on value %s (%s) %s" % [val.inspect, token_to_str(tid) || '?', vstack.inspect])
42
+ message =
43
+ "Failed to parse BibTeX on value #{val.inspect} (#{token_to_str(tid) || '?'}) #{ vstack.inspect}"
44
+
45
+ BibTeX.log.error message
46
+ raise ParseError, message
44
47
  end
45
48
 
46
49
  # -*- racc -*-
@@ -18,6 +18,6 @@
18
18
 
19
19
  module BibTeX
20
20
  module Version
21
- STRING = '2.0.3'.freeze
21
+ STRING = '2.0.4'.freeze
22
22
  end
23
23
  end
@@ -26,7 +26,10 @@ n, k = 1001, 20
26
26
  f = []
27
27
  g = []
28
28
 
29
- Benchmark.benchmark((" "*15) + CAPTION, 7, FMTSTR, '%14s:' % 'sum(f)', '%14s:' % 'sum(g)') do |b|
29
+ # Ruby 1.9.3
30
+ format = Benchmark.const_defined?(:FMTSTR) ? Benchmark::FMTSTR : Benchmark::FORMAT
31
+
32
+ Benchmark.benchmark((" "*15) + CAPTION, 7, format, '%14s:' % 'sum(f)', '%14s:' % 'sum(g)') do |b|
30
33
 
31
34
  1.step(n,k) do |i|
32
35
 
@@ -3,9 +3,19 @@ require 'helper.rb'
3
3
  module BibTeX
4
4
  class LexerTest < MiniTest::Spec
5
5
 
6
- it 'should correctly scan a string literal' do
6
+ it 'correctly scans a string literal' do
7
7
  assert_equal Lexer.new.analyse(%q(@string{ x = "foo" })).symbols, [:AT,:STRING,:LBRACE,:NAME,:EQ,:STRING_LITERAL,:RBRACE,false]
8
8
  end
9
-
9
+
10
+ it 'strips line breaks by default' do
11
+ Lexer.new.analyse(%Q(@string{ x = "foo\nbar" })).stack[-3].must_be :==,
12
+ [:STRING_LITERAL, 'foo bar']
13
+ end
14
+
15
+ it 'strips whitespace after line breaks by default' do
16
+ Lexer.new.analyse(%Q(@string{ x = "foo\n bar" })).stack[-3].must_be :==,
17
+ [:STRING_LITERAL, 'foo bar']
18
+ end
19
+
10
20
  end
11
21
  end
@@ -129,5 +129,26 @@ module BibTeX
129
129
 
130
130
  end
131
131
 
132
+ describe 'given an entry with missing commas between fields' do
133
+ before do
134
+ @level = BibTeX.log.level
135
+ BibTeX.log.level = Logger::FATAL
136
+ end
137
+
138
+ after do
139
+ BibTeX.log.level = @level
140
+ end
141
+
142
+ it 'raises a parser error' do
143
+ lambda {
144
+ Parser.new.parse <<-END
145
+ @book{book1,
146
+ title = "Parse error because"
147
+ author = "comma missing between title and author"
148
+ }
149
+ END
150
+ }.must_raise(ParseError)
151
+ end
152
+ end
132
153
  end
133
154
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibtex-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-13 00:00:00.000000000 Z
12
+ date: 2011-12-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: latex-decode
16
- requirement: &70212662177440 !ruby/object:Gem::Requirement
16
+ requirement: &70168043749560 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.0.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70212662177440
24
+ version_requirements: *70168043749560
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: multi_json
27
- requirement: &70212662176600 !ruby/object:Gem::Requirement
27
+ requirement: &70168043749040 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '1.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70212662176600
35
+ version_requirements: *70168043749040
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &70212662175900 !ruby/object:Gem::Requirement
38
+ requirement: &70168043748560 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0.9'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70212662175900
46
+ version_requirements: *70168043748560
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: racc
49
- requirement: &70212662175140 !ruby/object:Gem::Requirement
49
+ requirement: &70168043748080 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '1.4'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70212662175140
57
+ version_requirements: *70168043748080
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rdoc
60
- requirement: &70212662174580 !ruby/object:Gem::Requirement
60
+ requirement: &70168043747580 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '3.9'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70212662174580
68
+ version_requirements: *70168043747580
69
69
  description: ! "\t\tBibTeX-Ruby is the Rubyist's swiss-army-knife for all things BibTeX.
70
70
  It\n includes a parser for all common BibTeX objects (@string, @preamble,\n @comment
71
71
  and regular entries) and a sophisticated name parser that\n tokenizes correctly
@@ -88,7 +88,6 @@ files:
88
88
  - Manifest
89
89
  - README.md
90
90
  - Rakefile
91
- - Rakefile.compiled.rbc
92
91
  - auto.watchr
93
92
  - bibtex-ruby.gemspec
94
93
  - examples/bib2html.rb
@@ -99,6 +98,7 @@ files:
99
98
  - features/issues/braced_strings.feature
100
99
  - features/issues/crossref.feature
101
100
  - features/issues/latex_filter.feature
101
+ - features/issues/multiline_strings.feature
102
102
  - features/issues/number_keys.feature
103
103
  - features/issues/parse_months.feature
104
104
  - features/issues/slash_keys.feature
@@ -108,72 +108,42 @@ files:
108
108
  - features/query.feature
109
109
  - features/replacement.feature
110
110
  - features/step_definitions/bibtex_steps.rb
111
- - features/step_definitions/bibtex_steps.rbc
112
111
  - features/step_definitions/name_steps.rb
113
- - features/step_definitions/name_steps.rbc
114
112
  - features/strings.feature
115
113
  - features/support/env.rb
116
- - features/support/env.rbc
117
114
  - lib/bibtex/bibliography.rb
118
- - lib/bibtex/bibliography.rbc
119
115
  - lib/bibtex/bibtex.y
120
116
  - lib/bibtex/compatibility.rb
121
- - lib/bibtex/compatibility.rbc
122
117
  - lib/bibtex/elements.rb
123
- - lib/bibtex/elements.rbc
124
118
  - lib/bibtex/entry.rb
125
- - lib/bibtex/entry.rbc
126
119
  - lib/bibtex/error.rb
127
- - lib/bibtex/error.rbc
128
120
  - lib/bibtex/extensions.rb
129
- - lib/bibtex/extensions.rbc
130
121
  - lib/bibtex/filters/latex.rb
131
- - lib/bibtex/filters/latex.rbc
122
+ - lib/bibtex/filters/linebreaks.rb
132
123
  - lib/bibtex/filters.rb
133
- - lib/bibtex/filters.rbc
134
124
  - lib/bibtex/lexer.rb
135
- - lib/bibtex/lexer.rbc
136
125
  - lib/bibtex/name_parser.rb
137
- - lib/bibtex/name_parser.rbc
138
126
  - lib/bibtex/names.rb
139
- - lib/bibtex/names.rbc
140
127
  - lib/bibtex/names.y
141
128
  - lib/bibtex/parser.rb
142
- - lib/bibtex/parser.rbc
143
129
  - lib/bibtex/replaceable.rb
144
- - lib/bibtex/replaceable.rbc
145
130
  - lib/bibtex/ruby.rb
146
131
  - lib/bibtex/utilities.rb
147
- - lib/bibtex/utilities.rbc
148
132
  - lib/bibtex/value.rb
149
- - lib/bibtex/value.rbc
150
133
  - lib/bibtex/version.rb
151
- - lib/bibtex/version.rbc
152
134
  - lib/bibtex.rb
153
- - lib/bibtex.rbc
154
135
  - test/benchmark.rb
155
136
  - test/bibtex/test_bibliography.rb
156
- - test/bibtex/test_bibliography.rbc
157
137
  - test/bibtex/test_elements.rb
158
- - test/bibtex/test_elements.rbc
159
138
  - test/bibtex/test_entry.rb
160
- - test/bibtex/test_entry.rbc
161
139
  - test/bibtex/test_filters.rb
162
- - test/bibtex/test_filters.rbc
163
140
  - test/bibtex/test_lexer.rb
164
- - test/bibtex/test_lexer.rbc
165
141
  - test/bibtex/test_name_parser.rb
166
- - test/bibtex/test_name_parser.rbc
167
142
  - test/bibtex/test_names.rb
168
- - test/bibtex/test_names.rbc
169
143
  - test/bibtex/test_parser.rb
170
- - test/bibtex/test_parser.rbc
171
144
  - test/bibtex/test_string.rb
172
- - test/bibtex/test_string.rbc
173
145
  - test/bibtex/test_utilities.rb
174
- - test/bibtex/test_utilities.rbc
175
146
  - test/bibtex/test_value.rb
176
- - test/bibtex/test_value.rbc
177
147
  - test/fixtures/bibdesk.bib
178
148
  - test/fixtures/comment.bib
179
149
  - test/fixtures/decoret.bib
@@ -184,13 +154,9 @@ files:
184
154
  - test/fixtures/preamble.bib
185
155
  - test/fixtures/roundtrip.bib
186
156
  - test/helper.rb
187
- - test/helper.rbc
188
- - test/profile.dot
189
157
  - test/profile.rb
190
158
  - test/test_bibtex.rb
191
- - test/test_bibtex.rbc
192
159
  - test/test_export.rb
193
- - test/test_export.rbc
194
160
  homepage: http://inukshuk.github.com/bibtex-ruby
195
161
  licenses:
196
162
  - GPL-3
@@ -1,1994 +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
- 653
13
- 45
14
- 0
15
- 1
16
- 7
17
- 2
18
- 64
19
- 65
20
- 49
21
- 3
22
- 0
23
- 49
24
- 4
25
- 2
26
- 19
27
- 0
28
- 15
29
- 99
30
- 43
31
- 5
32
- 7
33
- 6
34
- 49
35
- 7
36
- 1
37
- 20
38
- 0
39
- 49
40
- 8
41
- 1
42
- 9
43
- 34
44
- 1
45
- 8
46
- 47
47
- 99
48
- 43
49
- 5
50
- 7
51
- 6
52
- 49
53
- 7
54
- 1
55
- 20
56
- 0
57
- 49
58
- 9
59
- 1
60
- 15
61
- 5
62
- 7
63
- 10
64
- 64
65
- 47
66
- 49
67
- 11
68
- 1
69
- 15
70
- 5
71
- 7
72
- 12
73
- 64
74
- 47
75
- 49
76
- 11
77
- 1
78
- 15
79
- 5
80
- 7
81
- 13
82
- 64
83
- 47
84
- 49
85
- 11
86
- 1
87
- 15
88
- 5
89
- 7
90
- 14
91
- 64
92
- 47
93
- 49
94
- 11
95
- 1
96
- 15
97
- 45
98
- 15
99
- 16
100
- 43
101
- 17
102
- 44
103
- 43
104
- 18
105
- 79
106
- 49
107
- 19
108
- 1
109
- 13
110
- 7
111
- 20
112
- 7
113
- 21
114
- 64
115
- 7
116
- 22
117
- 64
118
- 35
119
- 2
120
- 49
121
- 23
122
- 2
123
- 15
124
- 56
125
- 24
126
- 50
127
- 25
128
- 1
129
- 15
130
- 45
131
- 26
132
- 27
133
- 43
134
- 28
135
- 7
136
- 29
137
- 56
138
- 30
139
- 50
140
- 25
141
- 1
142
- 15
143
- 26
144
- 93
145
- 0
146
- 15
147
- 29
148
- 163
149
- 0
150
- 5
151
- 7
152
- 31
153
- 64
154
- 47
155
- 49
156
- 11
157
- 1
158
- 15
159
- 45
160
- 32
161
- 33
162
- 43
163
- 26
164
- 43
165
- 17
166
- 7
167
- 34
168
- 56
169
- 35
170
- 50
171
- 25
172
- 1
173
- 30
174
- 8
175
- 207
176
- 26
177
- 93
178
- 1
179
- 15
180
- 24
181
- 13
182
- 45
183
- 36
184
- 37
185
- 12
186
- 49
187
- 38
188
- 1
189
- 10
190
- 180
191
- 8
192
- 202
193
- 15
194
- 5
195
- 7
196
- 39
197
- 64
198
- 47
199
- 49
200
- 40
201
- 1
202
- 15
203
- 5
204
- 7
205
- 34
206
- 56
207
- 41
208
- 47
209
- 50
210
- 42
211
- 1
212
- 25
213
- 8
214
- 207
215
- 15
216
- 92
217
- 1
218
- 27
219
- 34
220
- 92
221
- 0
222
- 27
223
- 15
224
- 5
225
- 44
226
- 43
227
- 18
228
- 79
229
- 49
230
- 19
231
- 1
232
- 13
233
- 7
234
- 43
235
- 7
236
- 22
237
- 64
238
- 35
239
- 1
240
- 49
241
- 23
242
- 2
243
- 15
244
- 47
245
- 49
246
- 42
247
- 1
248
- 15
249
- 5
250
- 7
251
- 44
252
- 64
253
- 47
254
- 49
255
- 40
256
- 1
257
- 15
258
- 5
259
- 44
260
- 43
261
- 18
262
- 79
263
- 49
264
- 19
265
- 1
266
- 13
267
- 7
268
- 45
269
- 7
270
- 46
271
- 64
272
- 7
273
- 47
274
- 64
275
- 35
276
- 2
277
- 49
278
- 23
279
- 2
280
- 15
281
- 47
282
- 49
283
- 42
284
- 1
285
- 15
286
- 5
287
- 44
288
- 43
289
- 18
290
- 79
291
- 49
292
- 19
293
- 1
294
- 13
295
- 7
296
- 48
297
- 7
298
- 22
299
- 64
300
- 7
301
- 49
302
- 64
303
- 35
304
- 2
305
- 49
306
- 23
307
- 2
308
- 15
309
- 47
310
- 49
311
- 42
312
- 1
313
- 15
314
- 5
315
- 44
316
- 43
317
- 18
318
- 79
319
- 49
320
- 19
321
- 1
322
- 13
323
- 7
324
- 50
325
- 64
326
- 7
327
- 46
328
- 64
329
- 35
330
- 1
331
- 49
332
- 23
333
- 2
334
- 15
335
- 47
336
- 49
337
- 51
338
- 1
339
- 15
340
- 5
341
- 44
342
- 43
343
- 18
344
- 79
345
- 49
346
- 19
347
- 1
348
- 13
349
- 7
350
- 46
351
- 64
352
- 7
353
- 52
354
- 64
355
- 35
356
- 1
357
- 49
358
- 23
359
- 2
360
- 15
361
- 56
362
- 53
363
- 47
364
- 50
365
- 51
366
- 1
367
- 15
368
- 5
369
- 44
370
- 43
371
- 18
372
- 79
373
- 49
374
- 19
375
- 1
376
- 13
377
- 7
378
- 47
379
- 64
380
- 7
381
- 54
382
- 64
383
- 35
384
- 1
385
- 49
386
- 23
387
- 2
388
- 15
389
- 56
390
- 55
391
- 47
392
- 50
393
- 51
394
- 1
395
- 15
396
- 5
397
- 7
398
- 56
399
- 64
400
- 47
401
- 49
402
- 40
403
- 1
404
- 15
405
- 5
406
- 44
407
- 43
408
- 18
409
- 79
410
- 49
411
- 19
412
- 1
413
- 13
414
- 7
415
- 57
416
- 7
417
- 22
418
- 64
419
- 35
420
- 1
421
- 49
422
- 23
423
- 2
424
- 15
425
- 56
426
- 58
427
- 47
428
- 50
429
- 42
430
- 1
431
- 15
432
- 5
433
- 44
434
- 43
435
- 18
436
- 79
437
- 49
438
- 19
439
- 1
440
- 13
441
- 7
442
- 59
443
- 7
444
- 60
445
- 64
446
- 35
447
- 1
448
- 49
449
- 23
450
- 2
451
- 15
452
- 47
453
- 49
454
- 42
455
- 1
456
- 15
457
- 5
458
- 7
459
- 61
460
- 64
461
- 47
462
- 49
463
- 40
464
- 1
465
- 15
466
- 5
467
- 44
468
- 43
469
- 18
470
- 79
471
- 49
472
- 19
473
- 1
474
- 13
475
- 7
476
- 62
477
- 7
478
- 22
479
- 64
480
- 35
481
- 1
482
- 49
483
- 23
484
- 2
485
- 15
486
- 56
487
- 63
488
- 47
489
- 50
490
- 42
491
- 1
492
- 15
493
- 5
494
- 7
495
- 64
496
- 64
497
- 47
498
- 49
499
- 40
500
- 1
501
- 15
502
- 5
503
- 44
504
- 43
505
- 18
506
- 79
507
- 49
508
- 19
509
- 1
510
- 13
511
- 7
512
- 65
513
- 7
514
- 21
515
- 64
516
- 7
517
- 22
518
- 64
519
- 35
520
- 2
521
- 49
522
- 23
523
- 2
524
- 15
525
- 56
526
- 66
527
- 47
528
- 50
529
- 42
530
- 1
531
- 15
532
- 5
533
- 7
534
- 67
535
- 64
536
- 47
537
- 49
538
- 40
539
- 1
540
- 15
541
- 5
542
- 44
543
- 43
544
- 18
545
- 79
546
- 49
547
- 19
548
- 1
549
- 13
550
- 7
551
- 68
552
- 7
553
- 69
554
- 64
555
- 35
556
- 1
557
- 49
558
- 23
559
- 2
560
- 15
561
- 56
562
- 70
563
- 47
564
- 50
565
- 42
566
- 1
567
- 15
568
- 5
569
- 7
570
- 71
571
- 64
572
- 47
573
- 49
574
- 40
575
- 1
576
- 15
577
- 5
578
- 44
579
- 43
580
- 18
581
- 79
582
- 49
583
- 19
584
- 1
585
- 13
586
- 7
587
- 72
588
- 7
589
- 73
590
- 64
591
- 35
592
- 1
593
- 49
594
- 23
595
- 2
596
- 15
597
- 56
598
- 74
599
- 47
600
- 50
601
- 42
602
- 1
603
- 15
604
- 45
605
- 75
606
- 76
607
- 7
608
- 46
609
- 64
610
- 49
611
- 77
612
- 1
613
- 15
614
- 45
615
- 75
616
- 78
617
- 7
618
- 50
619
- 64
620
- 49
621
- 77
622
- 1
623
- 15
624
- 45
625
- 75
626
- 79
627
- 7
628
- 47
629
- 64
630
- 49
631
- 77
632
- 1
633
- 15
634
- 45
635
- 75
636
- 80
637
- 7
638
- 81
639
- 64
640
- 49
641
- 77
642
- 1
643
- 15
644
- 45
645
- 75
646
- 82
647
- 7
648
- 83
649
- 64
650
- 49
651
- 77
652
- 1
653
- 15
654
- 45
655
- 75
656
- 84
657
- 7
658
- 85
659
- 64
660
- 49
661
- 77
662
- 1
663
- 15
664
- 2
665
- 11
666
- I
667
- 9
668
- I
669
- 1
670
- I
671
- 0
672
- I
673
- 0
674
- n
675
- p
676
- 86
677
- x
678
- 4
679
- File
680
- n
681
- s
682
- 7
683
- ../lib/
684
- x
685
- 11
686
- active_path
687
- x
688
- 11
689
- expand_path
690
- x
691
- 7
692
- Globals
693
- x
694
- 2
695
- $:
696
- x
697
- 2
698
- []
699
- x
700
- 8
701
- include?
702
- x
703
- 7
704
- unshift
705
- s
706
- 10
707
- rake/clean
708
- x
709
- 7
710
- require
711
- s
712
- 13
713
- rake/testtask
714
- s
715
- 9
716
- rdoc/task
717
- s
718
- 14
719
- bibtex/version
720
- x
721
- 4
722
- RDoc
723
- n
724
- x
725
- 4
726
- Task
727
- x
728
- 4
729
- Hash
730
- x
731
- 16
732
- new_from_literal
733
- x
734
- 4
735
- rdoc
736
- s
737
- 5
738
- clean
739
- s
740
- 4
741
- racc
742
- x
743
- 3
744
- []=
745
- M
746
- 1
747
- p
748
- 2
749
- x
750
- 9
751
- for_block
752
- t
753
- n
754
- x
755
- 9
756
- __block__
757
- i
758
- 70
759
- 57
760
- 19
761
- 0
762
- 15
763
- 20
764
- 0
765
- 7
766
- 0
767
- 64
768
- 13
769
- 18
770
- 2
771
- 49
772
- 1
773
- 1
774
- 15
775
- 15
776
- 20
777
- 0
778
- 7
779
- 2
780
- 64
781
- 13
782
- 18
783
- 2
784
- 49
785
- 3
786
- 1
787
- 15
788
- 15
789
- 20
790
- 0
791
- 49
792
- 4
793
- 0
794
- 7
795
- 0
796
- 64
797
- 7
798
- 5
799
- 64
800
- 49
801
- 6
802
- 2
803
- 15
804
- 20
805
- 0
806
- 7
807
- 7
808
- 64
809
- 13
810
- 18
811
- 2
812
- 49
813
- 8
814
- 1
815
- 15
816
- 15
817
- 20
818
- 0
819
- 49
820
- 9
821
- 0
822
- 7
823
- 10
824
- 64
825
- 49
826
- 11
827
- 1
828
- 11
829
- I
830
- 5
831
- I
832
- 1
833
- I
834
- 1
835
- I
836
- 1
837
- n
838
- p
839
- 12
840
- s
841
- 9
842
- README.md
843
- x
844
- 5
845
- main=
846
- s
847
- 25
848
- BibTeX-Ruby Documentation
849
- x
850
- 6
851
- title=
852
- x
853
- 10
854
- rdoc_files
855
- s
856
- 11
857
- lib/**/*.rb
858
- x
859
- 7
860
- include
861
- s
862
- 8
863
- doc/html
864
- x
865
- 9
866
- rdoc_dir=
867
- x
868
- 7
869
- options
870
- s
871
- 60
872
- --webcvs=http://github.com/inukshuk/bibtex-ruby/tree/master/
873
- x
874
- 2
875
- <<
876
- p
877
- 13
878
- I
879
- 0
880
- I
881
- c
882
- I
883
- 4
884
- I
885
- d
886
- I
887
- 11
888
- I
889
- e
890
- I
891
- 1e
892
- I
893
- f
894
- I
895
- 2d
896
- I
897
- 10
898
- I
899
- 3a
900
- I
901
- 11
902
- I
903
- 46
904
- x
905
- 42
906
- /Users/sylvester/Work/bibtex-ruby/Rakefile
907
- p
908
- 1
909
- x
910
- 2
911
- rd
912
- x
913
- 3
914
- new
915
- x
916
- 4
917
- Rake
918
- n
919
- x
920
- 8
921
- TestTask
922
- x
923
- 9
924
- test_task
925
- M
926
- 1
927
- p
928
- 2
929
- x
930
- 9
931
- for_block
932
- t
933
- n
934
- x
935
- 9
936
- __block__
937
- i
938
- 52
939
- 57
940
- 19
941
- 0
942
- 15
943
- 20
944
- 0
945
- 49
946
- 0
947
- 0
948
- 7
949
- 1
950
- 64
951
- 49
952
- 2
953
- 1
954
- 7
955
- 3
956
- 64
957
- 49
958
- 2
959
- 1
960
- 15
961
- 20
962
- 0
963
- 45
964
- 4
965
- 5
966
- 7
967
- 6
968
- 64
969
- 49
970
- 7
971
- 1
972
- 13
973
- 18
974
- 2
975
- 49
976
- 8
977
- 1
978
- 15
979
- 15
980
- 20
981
- 0
982
- 2
983
- 13
984
- 18
985
- 2
986
- 49
987
- 9
988
- 1
989
- 15
990
- 11
991
- I
992
- 5
993
- I
994
- 1
995
- I
996
- 1
997
- I
998
- 1
999
- n
1000
- p
1001
- 10
1002
- x
1003
- 4
1004
- libs
1005
- s
1006
- 3
1007
- lib
1008
- x
1009
- 2
1010
- <<
1011
- s
1012
- 4
1013
- test
1014
- x
1015
- 8
1016
- FileList
1017
- n
1018
- s
1019
- 17
1020
- test/**/test_*.rb
1021
- x
1022
- 2
1023
- []
1024
- x
1025
- 11
1026
- test_files=
1027
- x
1028
- 8
1029
- verbose=
1030
- p
1031
- 9
1032
- I
1033
- 0
1034
- I
1035
- 14
1036
- I
1037
- 4
1038
- I
1039
- 15
1040
- I
1041
- 16
1042
- I
1043
- 16
1044
- I
1045
- 29
1046
- I
1047
- 17
1048
- I
1049
- 34
1050
- x
1051
- 42
1052
- /Users/sylvester/Work/bibtex-ruby/Rakefile
1053
- p
1054
- 1
1055
- x
1056
- 1
1057
- t
1058
- s
1059
- 18
1060
- cucumber/rake/task
1061
- x
1062
- 8
1063
- Cucumber
1064
- n
1065
- x
1066
- 8
1067
- features
1068
- M
1069
- 1
1070
- p
1071
- 2
1072
- x
1073
- 9
1074
- for_block
1075
- t
1076
- n
1077
- x
1078
- 9
1079
- __block__
1080
- i
1081
- 17
1082
- 57
1083
- 19
1084
- 0
1085
- 15
1086
- 20
1087
- 0
1088
- 7
1089
- 0
1090
- 64
1091
- 13
1092
- 18
1093
- 2
1094
- 49
1095
- 1
1096
- 1
1097
- 15
1098
- 11
1099
- I
1100
- 5
1101
- I
1102
- 1
1103
- I
1104
- 1
1105
- I
1106
- 1
1107
- n
1108
- p
1109
- 2
1110
- s
1111
- 17
1112
- --format progress
1113
- x
1114
- 14
1115
- cucumber_opts=
1116
- p
1117
- 5
1118
- I
1119
- 0
1120
- I
1121
- 1c
1122
- I
1123
- 4
1124
- I
1125
- 1d
1126
- I
1127
- 11
1128
- x
1129
- 42
1130
- /Users/sylvester/Work/bibtex-ruby/Rakefile
1131
- p
1132
- 1
1133
- x
1134
- 1
1135
- t
1136
- x
1137
- 9
1138
- LoadError
1139
- n
1140
- x
1141
- 3
1142
- ===
1143
- s
1144
- 32
1145
- Cucumber rake task not available
1146
- x
1147
- 4
1148
- desc
1149
- M
1150
- 1
1151
- p
1152
- 2
1153
- x
1154
- 9
1155
- for_block
1156
- t
1157
- n
1158
- x
1159
- 9
1160
- __block__
1161
- i
1162
- 9
1163
- 5
1164
- 7
1165
- 0
1166
- 64
1167
- 47
1168
- 49
1169
- 1
1170
- 1
1171
- 11
1172
- I
1173
- 3
1174
- I
1175
- 0
1176
- I
1177
- 0
1178
- I
1179
- 0
1180
- I
1181
- -2
1182
- p
1183
- 2
1184
- s
1185
- 83
1186
- Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin
1187
- x
1188
- 5
1189
- abort
1190
- p
1191
- 3
1192
- I
1193
- 0
1194
- I
1195
- 22
1196
- I
1197
- 9
1198
- x
1199
- 42
1200
- /Users/sylvester/Work/bibtex-ruby/Rakefile
1201
- p
1202
- 0
1203
- x
1204
- 4
1205
- task
1206
- x
1207
- 7
1208
- default
1209
- s
1210
- 27
1211
- Generates the BibTeX parser
1212
- x
1213
- 4
1214
- racc
1215
- s
1216
- 20
1217
- lib/bibtex/parser.rb
1218
- s
1219
- 25
1220
- lib/bibtex/name_parser.rb
1221
- x
1222
- 4
1223
- test
1224
- s
1225
- 9
1226
- test_task
1227
- s
1228
- 24
1229
- lib/bibtex/parser.output
1230
- x
1231
- 4
1232
- file
1233
- s
1234
- 19
1235
- lib/bibtex/bibtex.y
1236
- M
1237
- 1
1238
- p
1239
- 2
1240
- x
1241
- 9
1242
- for_block
1243
- t
1244
- n
1245
- x
1246
- 9
1247
- __block__
1248
- i
1249
- 9
1250
- 5
1251
- 7
1252
- 0
1253
- 64
1254
- 47
1255
- 49
1256
- 1
1257
- 1
1258
- 11
1259
- I
1260
- 3
1261
- I
1262
- 0
1263
- I
1264
- 0
1265
- I
1266
- 0
1267
- I
1268
- -2
1269
- p
1270
- 2
1271
- s
1272
- 60
1273
- bundle exec racc -o lib/bibtex/parser.rb lib/bibtex/bibtex.y
1274
- x
1275
- 2
1276
- sh
1277
- p
1278
- 3
1279
- I
1280
- 0
1281
- I
1282
- 31
1283
- I
1284
- 9
1285
- x
1286
- 42
1287
- /Users/sylvester/Work/bibtex-ruby/Rakefile
1288
- p
1289
- 0
1290
- s
1291
- 18
1292
- lib/bibtex/names.y
1293
- M
1294
- 1
1295
- p
1296
- 2
1297
- x
1298
- 9
1299
- for_block
1300
- t
1301
- n
1302
- x
1303
- 9
1304
- __block__
1305
- i
1306
- 9
1307
- 5
1308
- 7
1309
- 0
1310
- 64
1311
- 47
1312
- 49
1313
- 1
1314
- 1
1315
- 11
1316
- I
1317
- 3
1318
- I
1319
- 0
1320
- I
1321
- 0
1322
- I
1323
- 0
1324
- I
1325
- -2
1326
- p
1327
- 2
1328
- s
1329
- 64
1330
- bundle exec racc -o lib/bibtex/name_parser.rb lib/bibtex/names.y
1331
- x
1332
- 2
1333
- sh
1334
- p
1335
- 3
1336
- I
1337
- 0
1338
- I
1339
- 36
1340
- I
1341
- 9
1342
- x
1343
- 42
1344
- /Users/sylvester/Work/bibtex-ruby/Rakefile
1345
- p
1346
- 0
1347
- s
1348
- 43
1349
- Runs the benchmarks (and plots the results)
1350
- x
1351
- 9
1352
- benchmark
1353
- M
1354
- 1
1355
- p
1356
- 2
1357
- x
1358
- 9
1359
- for_block
1360
- t
1361
- n
1362
- x
1363
- 9
1364
- __block__
1365
- i
1366
- 19
1367
- 5
1368
- 45
1369
- 0
1370
- 1
1371
- 7
1372
- 2
1373
- 64
1374
- 65
1375
- 49
1376
- 3
1377
- 0
1378
- 49
1379
- 4
1380
- 2
1381
- 47
1382
- 49
1383
- 5
1384
- 1
1385
- 11
1386
- I
1387
- 5
1388
- I
1389
- 0
1390
- I
1391
- 0
1392
- I
1393
- 0
1394
- I
1395
- -2
1396
- p
1397
- 6
1398
- x
1399
- 4
1400
- File
1401
- n
1402
- s
1403
- 20
1404
- ../test/benchmark.rb
1405
- x
1406
- 11
1407
- active_path
1408
- x
1409
- 11
1410
- expand_path
1411
- x
1412
- 7
1413
- require
1414
- p
1415
- 3
1416
- I
1417
- 0
1418
- I
1419
- 3b
1420
- I
1421
- 13
1422
- x
1423
- 42
1424
- /Users/sylvester/Work/bibtex-ruby/Rakefile
1425
- p
1426
- 0
1427
- x
1428
- 2
1429
- bm
1430
- s
1431
- 9
1432
- benchmark
1433
- s
1434
- 17
1435
- Runs the profiler
1436
- x
1437
- 7
1438
- profile
1439
- M
1440
- 1
1441
- p
1442
- 2
1443
- x
1444
- 9
1445
- for_block
1446
- t
1447
- n
1448
- x
1449
- 9
1450
- __block__
1451
- i
1452
- 19
1453
- 5
1454
- 45
1455
- 0
1456
- 1
1457
- 7
1458
- 2
1459
- 64
1460
- 65
1461
- 49
1462
- 3
1463
- 0
1464
- 49
1465
- 4
1466
- 2
1467
- 47
1468
- 49
1469
- 5
1470
- 1
1471
- 11
1472
- I
1473
- 5
1474
- I
1475
- 0
1476
- I
1477
- 0
1478
- I
1479
- 0
1480
- I
1481
- -2
1482
- p
1483
- 6
1484
- x
1485
- 4
1486
- File
1487
- n
1488
- s
1489
- 18
1490
- ../test/profile.rb
1491
- x
1492
- 11
1493
- active_path
1494
- x
1495
- 11
1496
- expand_path
1497
- x
1498
- 7
1499
- require
1500
- p
1501
- 3
1502
- I
1503
- 0
1504
- I
1505
- 41
1506
- I
1507
- 13
1508
- x
1509
- 42
1510
- /Users/sylvester/Work/bibtex-ruby/Rakefile
1511
- p
1512
- 0
1513
- s
1514
- 25
1515
- Updates the Manifest file
1516
- x
1517
- 8
1518
- manifest
1519
- M
1520
- 1
1521
- p
1522
- 2
1523
- x
1524
- 9
1525
- for_block
1526
- t
1527
- n
1528
- x
1529
- 9
1530
- __block__
1531
- i
1532
- 42
1533
- 45
1534
- 0
1535
- 1
1536
- 7
1537
- 2
1538
- 64
1539
- 7
1540
- 3
1541
- 64
1542
- 49
1543
- 4
1544
- 2
1545
- 19
1546
- 0
1547
- 15
1548
- 20
1549
- 0
1550
- 45
1551
- 5
1552
- 6
1553
- 7
1554
- 7
1555
- 64
1556
- 49
1557
- 8
1558
- 1
1559
- 7
1560
- 9
1561
- 64
1562
- 49
1563
- 10
1564
- 1
1565
- 49
1566
- 11
1567
- 1
1568
- 15
1569
- 20
1570
- 0
1571
- 49
1572
- 12
1573
- 0
1574
- 11
1575
- I
1576
- 5
1577
- I
1578
- 1
1579
- I
1580
- 0
1581
- I
1582
- 0
1583
- I
1584
- -2
1585
- p
1586
- 13
1587
- x
1588
- 4
1589
- File
1590
- n
1591
- s
1592
- 8
1593
- Manifest
1594
- s
1595
- 1
1596
- w
1597
- x
1598
- 4
1599
- open
1600
- x
1601
- 8
1602
- FileList
1603
- n
1604
- s
1605
- 4
1606
- **/*
1607
- x
1608
- 2
1609
- []
1610
- s
1611
- 1
1612
-
1613
-
1614
- x
1615
- 4
1616
- join
1617
- x
1618
- 5
1619
- print
1620
- x
1621
- 5
1622
- close
1623
- p
1624
- 7
1625
- I
1626
- 0
1627
- I
1628
- 47
1629
- I
1630
- f
1631
- I
1632
- 48
1633
- I
1634
- 24
1635
- I
1636
- 49
1637
- I
1638
- 2a
1639
- x
1640
- 42
1641
- /Users/sylvester/Work/bibtex-ruby/Rakefile
1642
- p
1643
- 1
1644
- x
1645
- 1
1646
- m
1647
- s
1648
- 19
1649
- Builds the gem file
1650
- x
1651
- 5
1652
- build
1653
- s
1654
- 8
1655
- manifest
1656
- M
1657
- 1
1658
- p
1659
- 2
1660
- x
1661
- 9
1662
- for_block
1663
- t
1664
- n
1665
- x
1666
- 9
1667
- __block__
1668
- i
1669
- 9
1670
- 5
1671
- 7
1672
- 0
1673
- 64
1674
- 47
1675
- 49
1676
- 1
1677
- 1
1678
- 11
1679
- I
1680
- 3
1681
- I
1682
- 0
1683
- I
1684
- 0
1685
- I
1686
- 0
1687
- I
1688
- -2
1689
- p
1690
- 2
1691
- s
1692
- 29
1693
- gem build bibtex-ruby.gemspec
1694
- x
1695
- 6
1696
- system
1697
- p
1698
- 3
1699
- I
1700
- 0
1701
- I
1702
- 4e
1703
- I
1704
- 9
1705
- x
1706
- 42
1707
- /Users/sylvester/Work/bibtex-ruby/Rakefile
1708
- p
1709
- 0
1710
- s
1711
- 35
1712
- Pushes the gem file to rubygems.org
1713
- x
1714
- 7
1715
- release
1716
- s
1717
- 5
1718
- build
1719
- M
1720
- 1
1721
- p
1722
- 2
1723
- x
1724
- 9
1725
- for_block
1726
- t
1727
- n
1728
- x
1729
- 9
1730
- __block__
1731
- i
1732
- 22
1733
- 5
1734
- 7
1735
- 0
1736
- 45
1737
- 1
1738
- 2
1739
- 43
1740
- 3
1741
- 43
1742
- 4
1743
- 47
1744
- 101
1745
- 5
1746
- 7
1747
- 6
1748
- 63
1749
- 3
1750
- 47
1751
- 49
1752
- 7
1753
- 1
1754
- 11
1755
- I
1756
- 5
1757
- I
1758
- 0
1759
- I
1760
- 0
1761
- I
1762
- 0
1763
- I
1764
- -2
1765
- p
1766
- 8
1767
- s
1768
- 21
1769
- gem push bibtex-ruby-
1770
- x
1771
- 6
1772
- BibTeX
1773
- n
1774
- x
1775
- 7
1776
- Version
1777
- x
1778
- 6
1779
- STRING
1780
- x
1781
- 4
1782
- to_s
1783
- s
1784
- 4
1785
- .gem
1786
- x
1787
- 6
1788
- system
1789
- p
1790
- 3
1791
- I
1792
- 0
1793
- I
1794
- 53
1795
- I
1796
- 16
1797
- x
1798
- 42
1799
- /Users/sylvester/Work/bibtex-ruby/Rakefile
1800
- p
1801
- 0
1802
- x
1803
- 5
1804
- CLEAN
1805
- n
1806
- x
1807
- 7
1808
- include
1809
- n
1810
- n
1811
- n
1812
- s
1813
- 29
1814
- lib/bibtex/name_parser.output
1815
- n
1816
- s
1817
- 8
1818
- doc/html
1819
- n
1820
- s
1821
- 5
1822
- *.gem
1823
- p
1824
- 81
1825
- I
1826
- 0
1827
- I
1828
- 2
1829
- I
1830
- 10
1831
- I
1832
- 3
1833
- I
1834
- 2f
1835
- I
1836
- 0
1837
- I
1838
- 30
1839
- I
1840
- 5
1841
- I
1842
- 39
1843
- I
1844
- 6
1845
- I
1846
- 42
1847
- I
1848
- 8
1849
- I
1850
- 4b
1851
- I
1852
- a
1853
- I
1854
- 54
1855
- I
1856
- c
1857
- I
1858
- 75
1859
- I
1860
- 14
1861
- I
1862
- 82
1863
- I
1864
- 1b
1865
- I
1866
- 92
1867
- I
1868
- 1c
1869
- I
1870
- a3
1871
- I
1872
- 0
1873
- I
1874
- a8
1875
- I
1876
- 1f
1877
- I
1878
- b5
1879
- I
1880
- 20
1881
- I
1882
- be
1883
- I
1884
- 21
1885
- I
1886
- cf
1887
- I
1888
- 0
1889
- I
1890
- d3
1891
- I
1892
- 27
1893
- I
1894
- ec
1895
- I
1896
- 29
1897
- I
1898
- f5
1899
- I
1900
- 2a
1901
- I
1902
- 111
1903
- I
1904
- 2c
1905
- I
1906
- 12d
1907
- I
1908
- 2e
1909
- I
1910
- 147
1911
- I
1912
- 2f
1913
- I
1914
- 163
1915
- I
1916
- 34
1917
- I
1918
- 17f
1919
- I
1920
- 39
1921
- I
1922
- 188
1923
- I
1924
- 3a
1925
- I
1926
- 1a3
1927
- I
1928
- 3d
1929
- I
1930
- 1bc
1931
- I
1932
- 3f
1933
- I
1934
- 1c5
1935
- I
1936
- 40
1937
- I
1938
- 1e0
1939
- I
1940
- 45
1941
- I
1942
- 1e9
1943
- I
1944
- 46
1945
- I
1946
- 207
1947
- I
1948
- 4c
1949
- I
1950
- 210
1951
- I
1952
- 4d
1953
- I
1954
- 22b
1955
- I
1956
- 51
1957
- I
1958
- 234
1959
- I
1960
- 52
1961
- I
1962
- 24f
1963
- I
1964
- 56
1965
- I
1966
- 259
1967
- I
1968
- 57
1969
- I
1970
- 263
1971
- I
1972
- 58
1973
- I
1974
- 26d
1975
- I
1976
- 59
1977
- I
1978
- 277
1979
- I
1980
- 5a
1981
- I
1982
- 281
1983
- I
1984
- 5b
1985
- I
1986
- 28d
1987
- x
1988
- 42
1989
- /Users/sylvester/Work/bibtex-ruby/Rakefile
1990
- p
1991
- 1
1992
- x
1993
- 3
1994
- lib