tenderlove
3a185ede69
* ext/psych/lib/psych/visitors/emitter.rb: sending emit options to
...
YAML emitter. [ruby-core:28318]
* ext/psych/emitter.c: updating documentation about emit options
* ext/psych/lib/psych/core_ext.rb: ditto
* ext/psych/lib/psych.rb (dump): passing emit options to emitter.
* ext/psych/lib/psych/nodes/node.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-07 23:05:45 +00:00
tenderlove
3b87ff32de
* ext/psych/lib/psych/scalar_scanner.rb (parse_time): dealing with
...
negative partial hour time zones. [ruby-core:31064]
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* test/psych/visitors/test_to_ruby.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-06 16:06:20 +00:00
tenderlove
13f5a607fb
* test/psych/visitors/test_to_ruby.rb (test_time): time test must
...
respect non-whole timezone. Thanks akr! [ruby-core:31061]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-06 01:23:07 +00:00
tenderlove
c27e0ebab6
* ext/psych/lib/psych/visitors/yaml_tree.rb (format_time): nanoseconds
...
require more digits when dumping. Thanks akr! [ruby-core:31047]
* test/psych/visitors/test_to_ruby.rb: adjusting tests for nanoseconds
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-05 23:12:44 +00:00
tenderlove
6fe92a3cd6
* ext/psych/lib/psych/visitors/yaml_tree.rb (visit_Time): use
...
Time#nsec to accurately serialize time objects. [ruby-core:29233]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-03 00:15:51 +00:00
mame
e76a19ece3
* test/psych/visitors/test_yaml_tree.rb (test_struct_const): remove
...
Struct::Foo which affects test/ruby/test_struct to warn redefining
constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28 13:56:24 +00:00
tenderlove
2845bfa9dd
* ext/psych/lib/psych/visitors/yaml_tree.rb: defaulting binary string
...
format to "literal" format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-17 20:52:46 +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
0a5d4d29e2
* test/psych/visitors/test_to_ruby.rb: switching to assert_in_delta
...
* test/psych/visitors/test_yaml_tree.rb: switching to assert_in_delta
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 04:30:30 +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