Hi just installed yaml-0.49.2 and ran the test and got the following
error. It is due to Ruby 1.8.0 not accepting .10 as a number. Instead
it wants to see 0.10.
I posted earlier on this. I’m not sure why Ruby was changed, but
this will have an impact on yaml’s type conversion.
…
file: YtsSpecificationExamples.yml
test: Miscellaneous
success: yes
round-trip: yes
time: 0.006926
yts.rb:70: (eval):2: compile error (SyntaxError)
(eval):2: no . floating literal anymore; put 0 before dot
’canonical’ => YAML::mktime( 2001, 12, 15, 2, 59, 43, .10 ),
^
(eval):2: parse error
’canonical’ => YAML::mktime( 2001, 12, 15, 2, 59, 43, .10 ),
^
from yts.rb:47:in eval' from yts.rb:70 from yts.rb:47:in
call’
from src/yaml.y.rb:168:in parse_documents' from src/emitter.rb:859:in
each_document’
from src/emitter.rb:866:in load_documents' from yts.rb:47 from yts.rb:41:in
each’
from yts.rb:44
···
–
Jim Freeze
The reason computer chips are so small is computers don’t eat much.