<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>templates/pez.yml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -33,4 +33,6 @@
 * 1 bug fix:
   * Now handling blank plugins.yml on update
 * 1 minor enhancement:
-  * If plugins.yml already exists, it'll run update
\ No newline at end of file
+  * If plugins.yml already exists, it'll run update
+* 1 major enhancement:
+  * Splitted config files in pez.yml and plugins.yml</diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 module Pez
   VERSION = &quot;0.0.5&quot;
-  CONFIG_FILE = File.dirname(__FILE__) + '/../../templates/plugins.yml'
+  CONFIG_FILE = File.dirname(__FILE__) + '/../../templates/pez.yml'
   
   module Base
     def self.git?(url, options={})
@@ -52,7 +52,8 @@ module Pez
     end
     
     def self.destination
-      File.expand_path(config[Rails.env] || 'tmp/plugins')
+      c = YAML.load_file('config/pez.yml')
+      File.expand_path(c[Rails.env] || 'tmp/plugins')
     end
     
     def self.plugins(name, options={})
@@ -73,13 +74,15 @@ module Pez
         self.update(nil, {:all =&gt; 'all'})
       else
 
-        File.open('config/plugins.yml', 'w') do |f|
+        File.open('config/pez.yml', 'w') do |f|
           base_path = IO.popen('pwd').read.chomp
           contents = File.read(CONFIG_FILE)
           contents.gsub!(/%base_path%/, base_path)
 
           f &lt;&lt; contents
         end
+        
+        File.open('config/plugins.yml', 'w')
       end
     end
     </diff>
      <filename>lib/pez/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,13 +13,13 @@ Gem::Specification.new do |s|
  &quot;License.txt&quot;,
  &quot;README.markdown&quot;,
  &quot;TODO.txt&quot;,
- &quot;templates/plugins.yml&quot;,
+ &quot;templates/pez.yml&quot;,
  &quot;bin/pez&quot;,
  &quot;lib/pez&quot;,
  &quot;lib/pez/base.rb&quot;,
  &quot;lib/pez.rb&quot;]
   s.email = [&quot;fnando.vieira@gmail.com&quot;]
-  s.version = &quot;0.0.6&quot;
+  s.version = &quot;0.0.7&quot;
   s.homepage = &quot;http://github.com/fnando/pez&quot;
   s.requirements = [&quot;You'll need GIT and Subversion installed&quot;]
   s.name = &quot;pez&quot;</diff>
      <filename>pez.gemspec</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>templates/plugins.yml</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>c549213643f8796fcac6c895f68f06b8af2ba96f</id>
    </parent>
  </parents>
  <author>
    <name>Arthur Zapparoli</name>
    <email>arthurzap@gmail.com</email>
  </author>
  <url>http://github.com/fnando/pez/commit/99baf246e9507997836711eba1389b3a3c339e77</url>
  <id>99baf246e9507997836711eba1389b3a3c339e77</id>
  <committed-date>2008-10-02T22:35:18-07:00</committed-date>
  <authored-date>2008-10-02T22:35:18-07:00</authored-date>
  <message>Splitted config files in pez.yml and plugins.yml</message>
  <tree>9c6b56507262cf106f502fa6ea2b56d853359e00</tree>
  <committer>
    <name>Arthur Zapparoli</name>
    <email>arthurzap@gmail.com</email>
  </committer>
</commit>
