<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -17,6 +17,7 @@
 */
 
 App::import('Core', array('file', 'folder'));
+App::import('Vendor', 'Migrations.Yaml');
 
 class MigrateShell extends Shell
 {
@@ -397,13 +398,7 @@ class MigrateShell extends Shell
         $out  = '#'.&quot;\n&quot;;
         $out .= '# migration YAML file'.&quot;\n&quot;;
         $out .= '#'.&quot;\n&quot;;
-        
-        if (function_exists('syck_dump')) {
-            return syck_dump($dbShema);
-        } else {
-            $this-&gt;_loadVendor('Spyc');
-            return Spyc::YAMLDump($dbShema);
-        }
+        return Yaml::Dump($dbShema);
     }
     
     function __buildUpSchema($tableName)
@@ -693,12 +688,7 @@ class MigrateShell extends Shell
         $migration = $this-&gt;migrations[$id];
         if ($migration['format'] == 'yml') {
             $yml = $this-&gt;_parsePhp(MIGRATIONS_PATH .DS. $migration['filename']);
-            if (function_exists('syck_load')) {
-                $array = syck_load($yml);
-            } else {
-                $this-&gt;_loadVendor('Spyc');
-                $array = Spyc::YAMLLoad($yml);
-            }
+            $array = Yaml::Load($yml);
             if (!is_array($array)) return &quot;Unable to parse YAML Migration file&quot;;
             $direction = strtoupper($direction);
         } else {</diff>
      <filename>vendors/shells/migrate.php</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>vendors/Spyc.php</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>e73453fbed9a28a82de5a9335518e8ddc7244440</id>
    </parent>
  </parents>
  <author>
    <name>Joel Moss</name>
    <email>joel@developwithstyle.com</email>
  </author>
  <url>http://github.com/joelmoss/cakephp-db-migrations/commit/5f785c6d25ce63018fb462c7757e1963867b3954</url>
  <id>5f785c6d25ce63018fb462c7757e1963867b3954</id>
  <committed-date>2008-12-27T12:48:52-08:00</committed-date>
  <authored-date>2008-12-27T12:48:52-08:00</authored-date>
  <message>Removed Spyc and references to it from Migrate shell. Now uses Yaml class</message>
  <tree>a15d4776aaab0a6a071e7c67971fd7264874c684</tree>
  <committer>
    <name>Joel Moss</name>
    <email>joel@developwithstyle.com</email>
  </committer>
</commit>
