diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-22 21:09:56 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-22 21:09:56 +0000 |
commit | ec3056ae227fd79d706b2c6cdcdd8725df99c178 (patch) | |
tree | 59297ecb08dd48bf39b8530e4facafb19fd09b04 /ext/coverage | |
parent | c05952c6a1687cac0526b0324b3659032aa7664a (diff) | |
download | ruby-ec3056ae227fd79d706b2c6cdcdd8725df99c178.tar.gz |
* 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
Diffstat (limited to 'ext/coverage')
0 files changed, 0 insertions, 0 deletions