Граф коммитов

218 Коммитов

Автор SHA1 Сообщение Дата
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 94365e5345 * ext/psych/lib/psych/visitors/yaml_tree.rb (find_ivars): ignore
to_yaml_properties defined by syck.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-17 03:04:03 +00:00
tenderlove 5b5bbdbb35 * ext/psych/lib/psych/core_ext.rb (yaml_as): supporting deprecated
"yaml_as" method
* ext/syck/lib/syck/tag.rb: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-16 20:31:59 +00:00
tenderlove 2db7b7f3fe * ext/psych/lib/psych/coder.rb (scalar): supporting deprecated methods
* ext/psych/lib/psych/deprecated.rb: supporting deprecated
  to_yaml_properties method

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-16 20:27:51 +00:00
tenderlove 3a1c0be67f * ext/psych/lib/psych/deprecated.rb: requiring 'date' for backwards
compatibility.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 19:05:53 +00:00
tenderlove b9617bf7cb * ext/psych/parser.c: Fixing a segv in test-all. Thanks Yusuke!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-10 23:50:50 +00:00
tenderlove 6cfcb9d936 * ext/psych/lib/psych/deprecated.rb: implementing Psych.quick_emit and
adding deprecation warnings.
* ext/psych/lib/psych/visitors/to_ruby.rb: supporting deprecated
  yaml_initialize api.
* ext/psych/lib/psych/visitors/yaml_tree.rb: supporting deprecated
  to_yaml api.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-09 20:33:21 +00:00
tenderlove 186e575827 * ext/psych/lib/psych/deprecated.rb: implementing Psych.quick_emit and
adding deprecation warnings.
* ext/psych/lib/psych/visitors/to_ruby.rb: supporting deprecated
  yaml_initialize api.
* ext/psych/lib/psych/visitors/yaml_tree.rb: supporting deprecated
  to_yaml api.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-09 20:33:10 +00:00
tenderlove 052f204dcb * ext/psych/parser.c: parse raises a TypeError when nil is passed in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-09 16:09:55 +00:00
nobu f3b9acda21 * ext/psych/*.c: not executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-08 06:32:08 +00:00
naruse 10c9ed2493 * ext/psych/lib/psych/core_ext.rb: remove before alias.
* ext/syck/lib/syck.rb: don't warn called by itself.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 04:12:14 +00:00
tenderlove a4dbc2ea10 * ext/psych/lib/psych.rb: Syck api compatibility [ruby-core:29157]
* ext/psych/lib/psych/nodes/node.rb: ditto
* test/psych/test_psych.rb: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-31 21:09:58 +00:00
tenderlove 69c6ee0b45 * ext/psych/lib/psych/coder.rb: Adding Syck compatibility to the yaml coder
* test/psych/test_coder.rb: test for syck compatibility

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-31 17:56:55 +00:00
naruse ee90d5d30e * ext/psych/extconf.rb: install psych .so to not psych/ but direct.
This prepends to install *.rb files to psych/psych.

* ext/psych/lib/psych.rb: require 'psych.so'.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 12:21:55 +00:00
nobu f1330fd124 * ext/psych/lib: moved external library dependent files from lib.
[ruby-core:29129]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 10:46:06 +00:00
tenderlove 9dd3af9ae7 * ext/psych/extconf.rb: Making library detection more agnostic.
[ruby-core:29118]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 23:57:43 +00:00
naruse e43b94231b * ext/psych/{emitter,parser,psych}.c: move variable
declaration to the first of the block.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 18:58:22 +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