summaryrefslogtreecommitdiff
path: root/test/psych/test_json_tree.rb
AgeCommit message (Collapse)Author
2017-07-14Merge psych-3.0.0.beta3 from ruby/psych.hsbt
* Rely on encoding tags to determine if string should be dumped as binary. https://github.com/ruby/psych/commit/8949a47b8cee31e03e21608406ba116adcf74054 * Specify "frozen_string_literal: true". * Support to binary release for mingw32 platform. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16Add frozen_string_literal: false for all filesnaruse
When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-20* test/psych/json/test_stream.rb (Psych::JSON::TestStream::test_list_to_json):usa
escape `]`. * test/psych/test_json_tree.rb (Psych::JSON::TestJSONTree#test_list_to_json): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26* test/psych/test_*.rb: use require_relative to require local libraryxibbar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-03* ext/psych/lib/psych/visitors/yaml_tree.rb: fix time dumping so thattenderlove
Syck can load UTC times that Psych dumps. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-30converting require_relative to just regular requirestenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-21* ext/psych/lib/psych/json/stream.rb: do not emit custom tags in mapstenderlove
or sequences when emitting JSON. * ext/psych/lib/psych/json/tree_builder.rb: do not emit custom tags in sequences when emitting JSON. * test/psych/json/test_stream.rb: tests for custom stream emits. * test/psych/test_json_tree.rb: tests for JSON emits. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22fixed a bug in the test suite. Thanks Benoit Daloze! [ruby-core:34641]tenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-20 revert unrelated fix from r30615. Sorry!kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-20 * configure.in: Add '#include <stdlib.h>' tokosaki
rb_cv_localtime_overflow test too. It's reported by Tomoyuki Chikanaga. Thanks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-20* ext/psych/lib/psych/visitors/json_tree.rb: Fix JSON emit fortenderlove
DateTime and Time classes. * test/psych/test_json_tree.rb: test for JSON emit git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-17* ext/psych/lib/psych/visitors/json_tree.rb (visit_String): JSONtenderlove
strings should be dumped with double quotes. [ruby-core:34186] * test/psych/test_json_tree.rb: test for double quotes git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29* test/psych/*: switching tests to use relative require.tenderlove
[ruby-core:29104] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28* ext/psych/*: importing Psych to trunktenderlove
* test/psych/*: ditto * lib/psych/*: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e