summaryrefslogtreecommitdiff
path: root/test/psych/test_numeric.rb
AgeCommit message (Collapse)Author
2017-06-19make frozen_string_literal: trueSHIBATA Hiroshi
2016-02-23Temporary disabled to frozen literal string.SHIBATA Hiroshi
ref. https://github.com/ruby/ruby/commit/3e92b635fb5422207b7bbdc924e292e51e21f040
2013-04-05sync with ruby trunkAaron Patterson
2013-01-09* ext/psych/lib/psych/scalar_scanner.rb: strip trailing dots fromAaron Patterson
floats so that Float() will not raise an exception. * test/psych/test_numeric.rb: test to ensure "1." can be loaded * test/psych/test_string.rb: make sure "1." can round trip fixes #109
2012-11-16* ext/psych/lib/psych/scalar_scanner.rb: avoid raising exceptions whenAaron Patterson
parsing Floats and Integers. Thanks riffraff [ruby-core:44426] * test/psych/test_numeric.rb: associated test
2011-12-17* ext/psych/lib/psych/visitors/to_ruby.rb: BigDecimals can be restoredAaron Patterson
from YAML. * ext/psych/lib/psych/visitors/yaml_tree.rb: BigDecimals can be dumped to YAML. * test/psych/test_numeric.rb: tests for BigDecimal serialization Fixes #31
2011-10-03Avoid accepting incorrect floating point values.Aaron Patterson