summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/syck/lib/syck/basenode.rb2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b70190a8a..c9a3ca78c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
-Wed Apr 14 11:37:52 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Wed Apr 14 11:39:26 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/syck/lib/syck/basenode.rb (Syck::BaseNode#match_path): fixed
+ library name.
* ext/syck/lib/yaml/syck.rb: split from ext/syck/lib/syck.rb for
backward compatibility.
diff --git a/ext/syck/lib/syck/basenode.rb b/ext/syck/lib/syck/basenode.rb
index fc701a99f3..3739331562 100644
--- a/ext/syck/lib/syck/basenode.rb
+++ b/ext/syck/lib/syck/basenode.rb
@@ -82,7 +82,7 @@ module Syck
#
def match_path( ypath_str )
warn "#{caller[0]}: match_path is deprecated" if $VERBOSE
- require 'yaml/ypath'
+ require 'syck/ypath'
depth = 0
matches = []
YPath.each_path( ypath_str ) do |ypath|