!RBIX 9595534255132031488 x M 1 n n x 10 __script__ i 37 5 7 0 64 47 49 1 1 15 99 7 2 65 49 3 2 13 99 12 7 4 12 7 5 12 65 12 49 6 4 15 49 4 0 15 2 11 I 6 I 0 I 0 I 0 n p 7 s 9 helper.rb x 7 require x 6 BibTeX x 11 open_module x 15 __module_init__ M 1 n n x 6 BibTeX i 33 5 66 99 7 0 45 1 2 43 3 65 49 4 3 13 99 12 7 5 12 7 6 12 65 12 49 7 4 15 49 5 0 11 I 6 I 0 I 0 I 0 n p 8 x 10 ParserTest x 8 MiniTest n x 4 Spec x 10 open_class x 14 __class_init__ M 1 n n x 10 ParserTest i 46 5 66 5 7 0 64 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 2 1 15 5 7 5 64 56 6 47 50 2 1 15 5 7 7 64 56 8 47 50 2 1 11 I 3 I 0 I 0 I 0 n p 9 s 29 given a set of valid @entries M 1 p 2 x 9 for_block t n x 10 ParserTest i 74 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 15 5 7 7 64 56 8 47 50 4 1 15 5 7 9 64 56 10 47 50 4 1 15 5 7 11 64 56 12 47 50 4 1 15 5 7 13 64 56 14 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 15 M 1 p 2 x 9 for_block t n x 10 ParserTest i 74 45 0 1 13 71 2 47 9 36 47 49 3 0 13 44 43 4 79 49 5 1 13 7 6 3 49 7 2 15 47 49 8 1 15 8 54 44 43 4 79 49 5 1 13 7 6 3 49 7 2 15 49 2 1 45 9 10 45 11 12 7 13 49 14 1 49 15 1 49 16 1 38 17 11 I 7 I 0 I 0 I 0 I -2 p 18 x 6 Parser n x 3 new x 8 allocate x 4 Hash x 16 new_from_literal x 5 debug x 3 []= x 10 initialize x 4 File n x 4 Test n x 5 entry x 8 fixtures x 4 read x 5 parse x 4 @bib p 3 I 0 I 8 I 4a x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 x 5 setup s 21 return a Bibliography M 1 p 2 x 9 for_block t n x 10 ParserTest i 19 5 39 0 47 49 1 1 15 5 39 0 49 2 0 47 49 3 1 11 I 3 I 0 I 0 I 0 I -2 p 4 x 4 @bib x 6 assert x 6 empty? x 6 refute p 5 I 0 I c I 8 I d I 13 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 x 6 should s 17 parse all entries M 1 p 2 x 9 for_block t n x 10 ParserTest i 13 5 4 3 39 0 49 1 0 47 49 2 2 11 I 4 I 0 I 0 I 0 I -2 p 3 x 4 @bib x 6 length x 12 assert_equal p 3 I 0 I 11 I d x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 s 20 parse the key values M 1 p 2 x 9 for_block t n x 10 ParserTest i 51 5 7 0 64 7 1 64 7 2 64 35 3 7 3 13 70 10 25 44 43 4 12 49 5 1 50 6 0 39 7 7 8 13 70 10 43 44 43 4 12 49 5 1 50 6 0 47 49 9 2 11 I 6 I 0 I 0 I 0 I -2 p 10 s 5 key:0 s 5 key:1 s 3 foo x 6 to_sym x 4 Proc x 14 __from_block__ x 3 map x 4 @bib x 3 key x 12 assert_equal p 3 I 0 I 15 I 33 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 s 19 handle strange keys M 1 p 2 x 9 for_block t n x 10 ParserTest i 113 7 0 64 19 0 15 45 1 2 13 71 3 47 9 50 47 49 4 0 13 44 43 5 80 49 6 1 13 7 7 3 49 8 2 15 13 7 9 3 49 8 2 15 47 49 10 1 15 8 76 44 43 5 80 49 6 1 13 7 7 3 49 8 2 15 13 7 9 3 49 8 2 15 49 3 1 20 0 49 11 1 19 1 15 5 7 12 20 1 49 13 0 49 14 0 47 49 15 2 15 5 20 1 7 12 49 16 1 47 49 17 1 11 I 9 I 2 I 0 I 0 I -2 p 18 s 48 @Misc{George Martin06,title = {FEAST FOR CROWS}} x 6 Parser n x 3 new x 8 allocate x 4 Hash x 16 new_from_literal x 5 debug x 3 []= x 6 strict x 10 initialize x 5 parse x 15 George Martin06 x 5 first x 3 key x 12 assert_equal x 2 [] x 6 assert p 9 I 0 I 19 I 6 I 1a I 54 I 1b I 64 I 1c I 71 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 2 x 5 input x 3 bib s 21 parse the entry types M 1 p 2 x 9 for_block t n x 10 ParserTest i 32 5 7 0 7 1 7 1 35 3 39 2 7 3 13 70 10 24 44 43 4 12 49 5 1 50 6 0 47 49 7 2 11 I 6 I 0 I 0 I 0 I -2 p 8 x 4 book x 7 article x 4 @bib x 4 type x 4 Proc x 14 __from_block__ x 3 map x 12 assert_equal p 3 I 0 I 20 I 20 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 s 26 parse all values correctly M 1 p 2 x 9 for_block t n x 10 ParserTest i 158 5 7 0 64 39 1 7 2 49 3 1 49 4 0 49 5 0 47 49 6 2 15 5 7 7 64 39 1 7 8 49 3 1 49 4 0 49 5 0 47 49 6 2 15 5 7 9 64 39 1 7 2 49 3 1 49 10 0 47 49 6 2 15 5 7 11 64 39 1 7 8 49 3 1 49 10 0 47 49 6 2 15 5 7 12 64 39 1 7 2 49 3 1 49 13 0 47 49 6 2 15 5 7 12 64 39 1 7 8 49 3 1 49 13 0 47 49 6 2 15 5 7 14 64 39 1 7 2 49 3 1 49 15 0 47 49 6 2 15 5 7 16 64 39 1 7 8 49 3 1 49 15 0 47 49 6 2 11 I 5 I 0 I 0 I 0 I -2 p 17 s 13 Poe, Edgar A. x 4 @bib x 5 key:0 x 2 [] x 6 author x 4 to_s x 12 assert_equal s 20 Hawthorne, Nathaniel x 5 key:1 s 4 2003 x 4 year s 4 2001 s 16 American Library x 9 publisher s 34 Selected \emph{Poetry} and `Tales' x 5 title s 18 Tales and Sketches p 17 I 0 I 24 I 16 I 25 I 2c I 27 I 3f I 28 I 52 I 2a I 65 I 2b I 78 I 2d I 8b I 2e I 9e x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 p 15 I 0 I 7 I 8 I b I 13 I 10 I 1e I 14 I 29 I 18 I 34 I 1f I 3f I 23 I 4a x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 x 7 context s 45 given a set of explicit and implicit comments M 1 p 2 x 9 for_block t n x 10 ParserTest i 41 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 15 5 7 7 64 56 8 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 9 M 1 p 2 x 9 for_block t n x 10 ParserTest i 96 45 0 1 13 71 2 47 9 47 47 49 3 0 13 44 43 4 80 49 5 1 13 7 6 3 49 7 2 15 13 7 8 7 9 35 1 49 7 2 15 47 49 10 1 15 8 76 44 43 4 80 49 5 1 13 7 6 3 49 7 2 15 13 7 8 7 9 35 1 49 7 2 15 49 2 1 45 11 12 45 13 14 7 15 49 16 1 49 17 1 49 18 1 38 19 11 I 7 I 0 I 0 I 0 I -2 p 20 x 6 Parser n x 3 new x 8 allocate x 4 Hash x 16 new_from_literal x 5 debug x 3 []= x 7 include x 12 meta_content x 10 initialize x 4 File n x 4 Test n x 7 comment x 8 fixtures x 4 read x 5 parse x 4 @bib p 3 I 0 I 34 I 60 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 x 5 setup s 20 parses all @comments M 1 p 2 x 9 for_block t n x 10 ParserTest i 15 5 80 39 0 49 1 0 49 2 0 47 49 3 2 11 I 4 I 0 I 0 I 0 I -2 p 4 x 4 @bib x 8 comments x 6 length x 12 assert_equal p 3 I 0 I 38 I f x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 x 6 should s 23 parses all meta content M 1 p 2 x 9 for_block t n x 10 ParserTest i 16 5 4 3 39 0 49 1 0 49 2 0 47 49 3 2 11 I 4 I 0 I 0 I 0 I -2 p 4 x 4 @bib x 13 meta_contents x 6 length x 12 assert_equal p 3 I 0 I 3c I 10 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 s 32 parse @comment content as string M 1 p 2 x 9 for_block t n x 10 ParserTest i 42 5 7 0 64 39 1 49 2 0 78 49 3 1 49 4 0 47 49 5 2 15 5 7 6 64 39 1 49 2 0 79 49 3 1 49 4 0 47 49 5 2 11 I 5 I 0 I 0 I 0 I -2 p 7 s 44 A comment can contain pretty much anything x 4 @bib x 8 comments x 2 [] x 7 content x 12 assert_equal s 48 @string{ foo = "bar" } @string{ bar = "foo" } p 5 I 0 I 40 I 15 I 41 I 2a x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 p 9 I 0 I 33 I 8 I 37 I 13 I 3b I 1e I 3f I 29 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 s 25 given a set of @preambles M 1 p 2 x 9 for_block t n x 10 ParserTest i 30 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 7 M 1 p 2 x 9 for_block t n x 10 ParserTest i 74 45 0 1 13 71 2 47 9 36 47 49 3 0 13 44 43 4 79 49 5 1 13 7 6 3 49 7 2 15 47 49 8 1 15 8 54 44 43 4 79 49 5 1 13 7 6 3 49 7 2 15 49 2 1 45 9 10 45 11 12 7 13 49 14 1 49 15 1 49 16 1 38 17 11 I 7 I 0 I 0 I 0 I -2 p 18 x 6 Parser n x 3 new x 8 allocate x 4 Hash x 16 new_from_literal x 5 debug x 3 []= x 10 initialize x 4 File n x 4 Test n x 8 preamble x 8 fixtures x 4 read x 5 parse x 4 @bib p 3 I 0 I 47 I 4a x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 x 5 setup s 20 parse all @preambles M 1 p 2 x 9 for_block t n x 10 ParserTest i 16 5 4 3 39 0 49 1 0 49 2 0 47 49 3 2 11 I 4 I 0 I 0 I 0 I -2 p 4 x 4 @bib x 9 preambles x 6 length x 12 assert_equal p 3 I 0 I 4b I 10 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 x 6 should s 18 parse all contents M 1 p 2 x 9 for_block t n x 10 ParserTest i 72 5 7 0 64 39 1 49 2 0 78 49 3 1 49 4 0 49 5 0 47 49 6 2 15 5 7 7 64 39 1 49 2 0 79 49 3 1 49 4 0 49 5 0 47 49 6 2 15 5 7 8 64 39 1 49 2 0 80 49 3 1 49 4 0 49 5 0 47 49 6 2 11 I 5 I 0 I 0 I 0 I -2 p 9 s 36 This bibliography was created \today x 4 @bib x 9 preambles x 2 [] x 5 value x 4 to_s x 12 assert_equal s 7 Bib\TeX s 29 "Maintained by " # maintainer p 7 I 0 I 4f I 18 I 50 I 30 I 51 I 48 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 p 7 I 0 I 46 I 8 I 4a I 13 I 4e I 1e x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 s 47 given an entry containing a multi-line literals M 1 p 2 x 9 for_block t n x 10 ParserTest i 30 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 7 M 1 p 2 x 9 for_block t n x 10 ParserTest i 12 7 0 64 38 1 15 7 2 64 38 3 11 I 2 I 0 I 0 I 0 I -2 p 4 s 49 @TechReport{key, author = {Donald, Duck} } x 7 @braces s 49 @TechReport{key, author = "Donald, Duck" } x 7 @string p 5 I 0 I 57 I 6 I 58 I c x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 x 5 setup s 21 parse string literals M 1 p 2 x 9 for_block t n x 10 ParserTest i 40 5 45 0 1 13 71 2 47 9 22 47 49 3 0 13 47 49 4 0 15 8 25 49 2 0 39 5 49 6 1 7 7 49 8 1 47 49 9 1 11 I 4 I 0 I 0 I 0 I -2 p 10 x 6 Parser n x 3 new x 8 allocate x 10 initialize x 7 @string x 5 parse x 3 key x 2 [] x 10 refute_nil p 3 I 0 I 5c I 28 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 x 6 should s 21 parse braced literals M 1 p 2 x 9 for_block t n x 10 ParserTest i 40 5 45 0 1 13 71 2 47 9 22 47 49 3 0 13 47 49 4 0 15 8 25 49 2 0 39 5 49 6 1 7 7 49 8 1 47 49 9 1 11 I 4 I 0 I 0 I 0 I -2 p 10 x 6 Parser n x 3 new x 8 allocate x 10 initialize x 7 @braces x 5 parse x 3 key x 2 [] x 10 refute_nil p 3 I 0 I 60 I 28 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 p 7 I 0 I 56 I 8 I 5b I 13 I 5f I 1e x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 p 9 I 2 I 6 I d I 32 I 18 I 45 I 23 I 55 I 2e x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 x 13 attach_method p 3 I 2 I 4 I 21 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0 x 13 attach_method p 5 I 0 I 1 I 9 I 3 I 25 x 60 /Users/sylvester/Work/bibtex-ruby/test/bibtex/test_parser.rb p 0