Project

General

Profile

« Previous | Next » 

Revision ec3056ae

Added by tenderlovemaking (Aaron Patterson) over 12 years ago

  • ext/psych/lib/psych/scalar_scanner.rb: Ignore bad timestamps. If
    something looks like a timestamp but has an invalid component, treat
    it as a string instead of throwing an ArgumentError.
    Thanks Rhett Sutphin!

  • test/psych/test_scalar_scanner.rb: appropriate tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e