<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -56,4 +56,9 @@
 == 0.0.11 2008-10-31
 
 * 1 bug fix:
-	* Ensure environment defaults to 'development'
\ No newline at end of file
+	* Ensure environment defaults to 'development'
+	
+== 0.0.13 2008-11-18
+
+* 1 bug fix:
+	* Mac OS symlinks are stupid
\ No newline at end of file</diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@ PKG_FILES = %w(Rakefile pez.gemspec History.txt README.markdown templates/pez.ym
 
 spec = Gem::Specification.new do |s|
   s.name = &quot;pez&quot;
-  s.version = &quot;0.0.12&quot;
+  s.version = &quot;0.0.13&quot;
   s.summary = &quot;Manage Ruby on Rails plugins from GIT and Subversion repositories in a simple way&quot;
   s.authors = [&quot;Nando Vieira&quot;]
   s.email = [&quot;fnando.vieira@gmail.com&quot;]</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 module Pez
-  VERSION = &quot;0.0.11&quot;
+  VERSION = &quot;0.0.13&quot;
   CONFIG_FILE = File.dirname(__FILE__) + '/../../templates/pez.yml'
   RAILS_VERSION_RE = /^ *ENV\[[&quot;']RAILS_ENV[&quot;']\] *\|\|= *[&quot;'](.*?)[&quot;']/sim
   
@@ -152,9 +152,9 @@ module Pez
       puts
       Pez::Base.add_to_config(name, url, options) unless skip_config
       
-      symlink_to = name =~ /\// ? name : &quot;vendor/plugins/#{basename}&quot;
+      symlink_to = name =~ /\// ? name.gsub(/\/+$/, '') : &quot;vendor/plugins/#{basename}&quot;
       
-      system %( ln -s #{Pez::Base.destination}/#{basename} #{symlink_to} )
+      system %( ln -s #{Pez::Base.destination}/#{basename}/ #{symlink_to} )
     end
     
     def self.remove(name=nil, options={})
@@ -209,8 +209,8 @@ module Pez
         data = c[name]
         
         if File.directory?(dirname)
-          symlink_to = name =~ /\// ? name : &quot;vendor/plugins/#{basename}&quot;
-          system %( ln -s #{dirname} #{symlink_to} )
+          symlink_to = name =~ /\// ? name.gsub(/\/+$/, '') : &quot;vendor/plugins/#{basename}&quot;
+          system %( ln -s #{dirname}/ #{symlink_to} )
         else
           add(data['repo'], {:type =&gt; data['type'], :name =&gt; name}, true)
         end</diff>
      <filename>lib/pez/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 # RUN : 'rake gem:update_gemspec'
 
 Gem::Specification.new do |s|
-  s.date = &quot;Wed Nov 12 22:38:50 -0200 2008&quot;
+  s.date = &quot;Tue Nov 18 18:50:10 -0200 2008&quot;
   s.authors = [&quot;Nando Vieira&quot;]
   s.require_paths = [&quot;lib&quot;]
   s.required_rubygems_version = &quot;&gt;= 0&quot;
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
  &quot;lib/pez/base.rb&quot;,
  &quot;lib/pez.rb&quot;]
   s.email = [&quot;fnando.vieira@gmail.com&quot;]
-  s.version = &quot;0.0.12&quot;
+  s.version = &quot;0.0.13&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"/>
  <parents type="array">
    <parent>
      <id>462230848780d6805251c0c1ea165871e8944eef</id>
    </parent>
  </parents>
  <author>
    <name>Nando Vieira</name>
    <email>fnando.vieira@gmail.com</email>
  </author>
  <url>http://github.com/fnando/pez/commit/6a41bd4c7f2542833952b0640847415d054be21c</url>
  <id>6a41bd4c7f2542833952b0640847415d054be21c</id>
  <committed-date>2008-11-18T15:00:56-08:00</committed-date>
  <authored-date>2008-11-18T15:00:56-08:00</authored-date>
  <message>Fixing stupid Mac OS symlink bug</message>
  <tree>f361ca8d02e95c2c7dc7b8ff79a7e9b4d76afb7a</tree>
  <committer>
    <name>Nando Vieira</name>
    <email>fnando.vieira@gmail.com</email>
  </committer>
</commit>
