Issue #5186 has been reported by Thomas Sawyer.

----------------------------------------
Bug #5186: Psych noisy parsing valid node
http://redmine.ruby-lang.org/issues/5186

Author: Thomas Sawyer
Status: Open
Priority: Normal
Assignee: 
Category: lib
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-07-03 trunk 32372) [x86_64-linux]


Psych makes a lot of noise over perfectly valid value.

  >> $DEBUG = true
  >> YAML.load('--- 1.1.1')
  Exception `ArgumentError' at /usr/local/lib/ruby/1.9.1/psych/scalar_scanner.rb:71 - invalid value for Integer(): "1.1.1"
  Exception `ArgumentError' at /usr/local/lib/ruby/1.9.1/psych/scalar_scanner.rb:72 - invalid value for Float(): "1.1.1"
  => "1.1.1"



-- 
http://redmine.ruby-lang.org