usa
37d0c509b7
* test/psych/json/test_stream.rb (Psych::JSON::TestStream::test_list_to_json):
...
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
2014-11-20 08:04:29 +00:00
xibbar
d85bf93776
* test/psych/test_*.rb: use require_relative to require local library
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26 14:55:04 +00:00
tenderlove
d47073de04
* ext/psych/lib/psych/visitors/yaml_tree.rb: fix time dumping so that
...
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-05-03 23:06:19 +00:00
tenderlove
9e448999a0
converting require_relative to just regular requires
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-30 03:38:53 +00:00
tenderlove
6f37c467d4
* ext/psych/lib/psych/json/stream.rb: do not emit custom tags in maps
...
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-02-21 01:56:10 +00:00
tenderlove
cab95ab712
fixed a bug in the test suite. Thanks Benoit Daloze! [ruby-core:34641]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-22 02:18:21 +00:00
kosaki
7fd0d4a4d3
revert unrelated fix from r30615. Sorry!
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-20 15:40:04 +00:00
kosaki
d41d2f26ce
* configure.in: Add '#include <stdlib.h>' to
...
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 14:34:39 +00:00
tenderlove
74b0a7a06f
* ext/psych/lib/psych/visitors/json_tree.rb: Fix JSON emit for
...
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-20 00:20:57 +00:00
tenderlove
eacee9d95f
* ext/psych/lib/psych/visitors/json_tree.rb (visit_String): JSON
...
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
2011-01-17 17:48:09 +00:00
tenderlove
03399d9001
* test/psych/*: switching tests to use relative require.
...
[ruby-core:29104]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 18:25:57 +00:00
tenderlove
b9b923ca94
* ext/psych/*: importing Psych to trunk
...
* test/psych/*: ditto
* lib/psych/*: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28 21:49:37 +00:00