<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>VERSION</filename>
    </added>
    <added>
      <filename>glue.gemspec</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,75 +1,51 @@
-require 'rake'
+require &quot;rake&quot;
+require &quot;jeweler&quot;
+require &quot;spec/rake/spectask&quot;
+require File.dirname(__FILE__) + &quot;/lib/pez&quot;
 
-PKG_FILES = %w(Rakefile pez.gemspec History.txt README.markdown templates/pez.yml) + 
-  Dir[&quot;{bin,lib}/**/*&quot;]
+JEWEL = Jeweler::Tasks.new do |gem|
+  gem.name = &quot;pez&quot;
+  gem.version = Pez::VERSION
+  gem.summary = &quot;Manage Ruby on Rails plugins from GIT and Subversion repositories in a simple way&quot;
+  gem.description = &lt;&lt;-TXT
+Pez is a simple tool to manage plugins from Git and Subversion repositories in
+a easy way. Instead of adding plugins to the project repository, Pez 
+checkouts/clones the specified version to a temporary directory and 
+creates a symlink to the Ruby on Rails plugin directory.
 
-spec = Gem::Specification.new do |s|
-  s.name = &quot;pez&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;]
-  s.homepage = &quot;http://github.com/fnando/pez&quot;
-  s.description = &quot;A simpler plugin manager that checkouts/clones the repository and just do the updates right in&quot;
-  s.has_rdoc = false
-  s.files = PKG_FILES
-	s.bindir = &quot;bin&quot;
-	s.executables = &quot;pez&quot;
-	
-  s.add_dependency &quot;rubigen&quot;
-  s.add_dependency &quot;main&quot;
-  s.requirements &lt;&lt; &quot;You'll need GIT and Subversion installed&quot;
-end
+When Pez is asked to update the plugins, it runs the correct command in that
+directory, based on the repository type (Git or Subversion), which in turn is 
+applied to the project through the symlink.
+
+Pez allows different environments to update plugins from a different directory.
+So, when you deploy your Ruby on Rails application, you won't have to 
+checkout/update all plugins again, unless you explicit say so.
 
-namespace :gem do
-  # Thanks to the Merb project for this code.
-  desc &quot;Update Github Gemspec&quot;
-  task :update_gemspec do
-    skip_fields = %w(new_platform original_platform specification_version loaded required_ruby_version rubygems_version platform )
-    
-    result = &quot;# WARNING : RAKE AUTO-GENERATED FILE. DO NOT MANUALLY EDIT!\n&quot;
-    result &lt;&lt; &quot;# RUN : 'rake gem:update_gemspec'\n\n&quot;
-    result &lt;&lt; &quot;Gem::Specification.new do |s|\n&quot;
-    
-    spec.instance_variables.each do |ivar|
-      value = spec.instance_variable_get(ivar)
-      name  = ivar.split(&quot;@&quot;).last
-      next if name == &quot;date&quot;
-      
-      next if skip_fields.include?(name) || value.nil? || value == &quot;&quot; || (value.respond_to?(:empty?) &amp;&amp; value.empty?)
-      if name == &quot;dependencies&quot;
-        value.each do |d|
-          dep, *ver = d.to_s.split(&quot; &quot;)
-          result &lt;&lt;  &quot;  s.add_dependency #{dep.inspect}, #{ver.join(&quot; &quot;).inspect.gsub(/[()]/, &quot;&quot;).gsub(&quot;, runtime&quot;, &quot;&quot;)}\n&quot;
-        end
-      else
-        case value
-        when Array
-          value =  name != &quot;files&quot; ? value.inspect : value.inspect.split(&quot;,&quot;).join(&quot;,\n&quot;)
-        when FalseClass
-        when TrueClass
-        when Fixnum
-        when String
-          value = value.inspect
-        else
-          value = value.to_s.inspect
-        end
-        result &lt;&lt; &quot;  s.#{name} = #{value}\n&quot;
-      end
-    end
-    
-    result &lt;&lt; &quot;end&quot;
-    File.open(File.join(File.dirname(__FILE__), &quot;#{spec.name}.gemspec&quot;), &quot;w&quot;){|f| f &lt;&lt; result}
-  end
+Pez is based on Braid (which I never had it working) but way simpler.
+TXT
   
-  desc &quot;Build gem&quot;
-  task :build =&gt; [:update_gemspec] do
-    system &quot;gem build #{spec.instance_variable_get('@name')}.gemspec&quot;
-  end
+  gem.authors = [&quot;Nando Vieira&quot;]
+  gem.email = &quot;fnando.vieira@gmail.com&quot;
+  gem.homepage = &quot;http://github.com/fnando/pez&quot;
   
-  desc &quot;Install gem&quot;
-  task :install =&gt; [:update_gemspec, :build] do
-    system &quot;sudo gem install #{spec.instance_variable_get('@name')}&quot;
-    system &quot;rm *.gem&quot;
-  end
-end
\ No newline at end of file
+  gem.has_rdoc = false
+  gem.files = %w(Rakefile History.txt pez.gemspec VERSION README.markdown) + Dir[&quot;{bin,lib,templates}/**/*&quot;]
+	gem.bindir = &quot;bin&quot;
+	gem.executables = &quot;pez&quot;
+	
+	gem.add_dependency &quot;main&quot;
+end
+
+desc &quot;Generate gemspec, build and install the gem&quot;
+task :package =&gt; :build_gem do
+  FileUtils.cp &quot;VERSION&quot;, File.expand_path(&quot;~/Sites/github/fnando.github.com/views/version/_#{JEWEL.gemspec.name}.haml&quot;)
+end
+
+desc &quot;Generate gemspec and build gem&quot;
+task :build_gem do
+  File.open(&quot;VERSION&quot;, &quot;w+&quot;) {|f| f &lt;&lt; Pez::VERSION.to_s }
+  Rake::Task[&quot;gemspec&quot;].invoke
+  Rake::Task[&quot;build&quot;].invoke
+end
+
+Spec::Rake::SpecTask.new {|t| t.spec_opts = [&quot;-c&quot;, &quot;-f s&quot;] }</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,10 +1,9 @@
-$:.unshift(File.dirname(__FILE__)) unless
-  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
+$LOAD_PATH.unshift File.dirname(__FILE__)
 
 require &quot;rubygems&quot;
 require &quot;main&quot;
 require &quot;yaml&quot;
-require &quot;fileutils&quot;
+require &quot;fileutils&quot; unless defined?(FileUtils)
 require &quot;pez/base&quot;
 
 begin</diff>
      <filename>lib/pez.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,29 +1,63 @@
-# WARNING : RAKE AUTO-GENERATED FILE. DO NOT MANUALLY EDIT!
-# RUN : 'rake gem:update_gemspec'
+# Generated by jeweler
+# DO NOT EDIT THIS FILE
+# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
+# -*- encoding: utf-8 -*-
 
 Gem::Specification.new do |s|
-  s.authors = [&quot;Nando Vieira&quot;]
-  s.require_paths = [&quot;lib&quot;]
-  s.required_rubygems_version = &quot;&gt;= 0&quot;
-  s.has_rdoc = false
-  s.files = [&quot;Rakefile&quot;,
- &quot;pez.gemspec&quot;,
- &quot;History.txt&quot;,
- &quot;README.markdown&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.name = %q{pez}
   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;
-  s.summary = &quot;Manage Ruby on Rails plugins from GIT and Subversion repositories in a simple way&quot;
+
+  s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
+  s.authors = [&quot;Nando Vieira&quot;]
+  s.date = %q{2009-10-09}
+  s.default_executable = %q{pez}
+  s.description = %q{Pez is a simple tool to manage plugins from Git and Subversion repositories in
+a easy way. Instead of adding plugins to the project repository, Pez 
+checkouts/clones the specified version to a temporary directory and 
+creates a symlink to the Ruby on Rails plugin directory.
+
+When Pez is asked to update the plugins, it runs the correct command in that
+directory, based on the repository type (Git or Subversion), which in turn is 
+applied to the project through the symlink.
+
+Pez allows different environments to update plugins from a different directory.
+So, when you deploy your Ruby on Rails application, you won't have to 
+checkout/update all plugins again, unless you explicit say so.
+
+Pez is based on Braid (which I never had it working) but way simpler.
+}
+  s.email = %q{fnando.vieira@gmail.com}
   s.executables = [&quot;pez&quot;]
-  s.description = &quot;A simpler plugin manager that checkouts/clones the repository and just do the updates right in&quot;
-  s.add_dependency &quot;rubigen&quot;, &quot;&gt;= 0&quot;
-  s.add_dependency &quot;main&quot;, &quot;&gt;= 0&quot;
-  s.bindir = &quot;bin&quot;
-end
\ No newline at end of file
+  s.extra_rdoc_files = [
+    &quot;README.markdown&quot;
+  ]
+  s.files = [
+    &quot;History.txt&quot;,
+     &quot;README.markdown&quot;,
+     &quot;Rakefile&quot;,
+     &quot;VERSION&quot;,
+     &quot;bin/pez&quot;,
+     &quot;lib/pez.rb&quot;,
+     &quot;lib/pez/base.rb&quot;,
+     &quot;pez.gemspec&quot;,
+     &quot;templates/pez.yml&quot;
+  ]
+  s.homepage = %q{http://github.com/fnando/pez}
+  s.rdoc_options = [&quot;--charset=UTF-8&quot;]
+  s.require_paths = [&quot;lib&quot;]
+  s.rubygems_version = %q{1.3.5}
+  s.summary = %q{Manage Ruby on Rails plugins from GIT and Subversion repositories in a simple way}
+
+  if s.respond_to? :specification_version then
+    current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+    s.specification_version = 3
+
+    if Gem::Version.new(Gem::RubyGemsVersion) &gt;= Gem::Version.new('1.2.0') then
+      s.add_runtime_dependency(%q&lt;main&gt;, [&quot;&gt;= 0&quot;])
+    else
+      s.add_dependency(%q&lt;main&gt;, [&quot;&gt;= 0&quot;])
+    end
+  else
+    s.add_dependency(%q&lt;main&gt;, [&quot;&gt;= 0&quot;])
+  end
+end</diff>
      <filename>pez.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f06124fb797edd279c2a06bed12d8ae58cc9e680</id>
    </parent>
  </parents>
  <author>
    <name>Nando Vieira</name>
    <email>fnando.vieira@gmail.com</email>
  </author>
  <url>http://github.com/fnando/pez/commit/3f8f551766535ec9c45ee3ba97b8845387947101</url>
  <id>3f8f551766535ec9c45ee3ba97b8845387947101</id>
  <committed-date>2009-10-09T11:47:09-07:00</committed-date>
  <authored-date>2009-10-09T11:47:09-07:00</authored-date>
  <message>Migrated to Jewel.</message>
  <tree>7bc3bf9a9f6ee6100c23183f3b06f2613d8f1f92</tree>
  <committer>
    <name>Nando Vieira</name>
    <email>fnando.vieira@gmail.com</email>
  </committer>
</commit>
