diff options
author | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-14 20:01:09 +0000 |
---|---|---|
committer | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-14 20:01:09 +0000 |
commit | 0bc2ccc712d944963d37082a1128c531d3ddd084 (patch) | |
tree | 8443bb4cdace2625febeacf6e9dccf45952742d7 /lib | |
parent | 90901cadacf2f45d60d084b60b2c33ff99592b8b (diff) | |
download | ruby-0bc2ccc712d944963d37082a1128c531d3ddd084.tar.gz ruby-0bc2ccc712d944963d37082a1128c531d3ddd084.tar.xz ruby-0bc2ccc712d944963d37082a1128c531d3ddd084.zip |
* ext/syck/gram.c: sequence-in-map shortcut, transfer methods on
sequence-in-sequence, memory leak in mapping merge. [0.28]
* ext/syck/syck.c: memory leak in domain anchoring. [0.28]
* lib/yaml/rubytypes.rb, lib/yaml/types.rb: eliminated 1.6.x code.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/yaml.rb | 2 | ||||
-rw-r--r-- | lib/yaml/rubytypes.rb | 3 | ||||
-rw-r--r-- | lib/yaml/types.rb | 3 |
3 files changed, 1 insertions, 7 deletions
diff --git a/lib/yaml.rb b/lib/yaml.rb index b5852b225..a8bba691f 100644 --- a/lib/yaml.rb +++ b/lib/yaml.rb @@ -9,7 +9,7 @@ module YAML begin - require 'syck' + require 'yaml/syck' @@parser = YAML::Syck::Parser @@loader = YAML::Syck::DefaultLoader rescue LoadError diff --git a/lib/yaml/rubytypes.rb b/lib/yaml/rubytypes.rb index 1a9c4ef67..666618e49 100644 --- a/lib/yaml/rubytypes.rb +++ b/lib/yaml/rubytypes.rb @@ -3,9 +3,6 @@ require 'date' # Type conversions # -# Ruby 1.6.x Object#object_id -class Object; alias_method :object_id, :id; end unless Object.respond_to? :object_id - class Object def is_complex_yaml? true diff --git a/lib/yaml/types.rb b/lib/yaml/types.rb index b34c38fe7..294fb36a5 100644 --- a/lib/yaml/types.rb +++ b/lib/yaml/types.rb @@ -2,9 +2,6 @@ # Classes required by the full core typeset # -# Ruby 1.6.x Object#object_id -class Object; alias_method :object_id, :id; end unless Object.respond_to? :object_id - module YAML # |