<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>MIT-LICENSE</filename>
    </added>
    <added>
      <filename>README.rdoc</filename>
    </added>
    <added>
      <filename>VERSION.yml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,35 +1,67 @@
-# -*- ruby -*-
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
 
-require 'rubygems'
-require 'hoe'
-require './lib/capistrano-extensions.rb'
-require &quot;./lib/capistrano-extensions/version&quot;
+begin
+  require 'jeweler'
+  Jeweler::Tasks.new do |gem|
+    gem.name = &quot;capistrano-extensions&quot;
+    gem.rubyforge_project = &quot;johntrupiano&quot;
+    gem.summary = %q(A base set of Capistrano extensions-- aids with the file_column plugin, the GemInstaller gem, multiple deployable environments, logfile helpers, and database/asset synchronization from production to local environment)
+    gem.email = &quot;jtrupiano@gmail.com&quot;
+    gem.homepage = &quot;http://github.com/jtrupiano/capistrano-extensions&quot;
+    gem.description = %q(A base set of Capistrano extensions-- aids with the file_column plugin, the GemInstaller gem, multiple deployable environments, logfile helpers, and database/asset synchronization from production to local environment)
+    gem.authors = [&quot;John Trupiano&quot;]
+    gem.add_dependency &quot;capistrano&quot;, &quot;~&gt; 2.5.5&quot;
+    gem.add_dependency &quot;geminstaller&quot;, &quot;~&gt; 0.5.1&quot;
+  end
+rescue LoadError
+  puts &quot;Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler&quot;
+end
+
+desc 'Default: run unit tests.'
+task :default =&gt; :test
 
-PKG_NAME      = &quot;capistrano-extensions&quot;
-PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
-version = CapistranoExtensions::Version::STRING.dup
-if ENV['SNAPSHOT'].to_i == 1
-  version &lt;&lt; &quot;.&quot; &lt;&lt; Time.now.utc.strftime(&quot;%Y%m%d%H%M%S&quot;)
+desc 'Test the capistrano-extensions plugin.'
+Rake::TestTask.new(:test) do |t|
+  t.libs &lt;&lt; 'lib'
+  t.pattern = 'test/**/*_test.rb'
+  t.verbose = true
 end
-PKG_VERSION   = version
-PKG_FILE_NAME = &quot;#{PKG_NAME}-#{PKG_VERSION}&quot;
 
-Hoe.new(PKG_NAME, PKG_VERSION) do |p|
-  p.rubyforge_name = 'johntrupiano' # if different than lowercase project name
-  p.developer('John Trupiano', 'jtrupiano@gmail.com')
-  p.name = PKG_NAME
-  p.version = PKG_VERSION
-  #p.platform = Gem::Platform::RUBY
-  p.author = &quot;John Trupiano&quot;
-  p.email = &quot;jtrupiano@gmail.com&quot;
-  p.description = %q(A base set of Capistrano extensions-- aids with the file_column plugin, the GemInstaller gem, multiple deployable environments, logfile helpers, and database/asset synchronization from production to local environment)
-  p.summary = p.description # More details later??
-  p.remote_rdoc_dir = PKG_NAME # Release to /PKG_NAME
-  #  p.changes = p.paragraphs_of('CHANGELOG', 0..1).join(&quot;\n\n&quot;)
-  p.extra_deps &lt;&lt; [&quot;capistrano&quot;, &quot;~&gt; 2.5.5&quot;]
-  p.extra_deps &lt;&lt; [&quot;geminstaller&quot;, &quot;~&gt; 0.5.1&quot;]
-  p.need_zip = true
-  p.need_tar = false
+desc 'Generate documentation for the sanitize_email plugin.'
+Rake::RDocTask.new do |rdoc|
+  config = YAML.load(File.read('VERSION.yml'))
+  rdoc.rdoc_dir = 'rdoc'
+  rdoc.title = &quot;sanitize_email #{config[:major]}.#{config[:minor]}.#{config[:patch]}&quot;
+  rdoc.options &lt;&lt; '--line-numbers' &lt;&lt; '--inline-source'
+  rdoc.rdoc_files.include('README*')
+  rdoc.rdoc_files.include('lib/**/*.rb')
 end
 
-# vim: syntax=Ruby
+# Rubyforge documentation task
+begin
+  require 'rake/contrib/sshpublisher'
+  namespace :rubyforge do
+    
+    desc &quot;Release gem and RDoc documentation to RubyForge&quot;
+    task :release =&gt; [&quot;rubyforge:release:gem&quot;, &quot;rubyforge:release:docs&quot;]
+    
+    namespace :release do
+      desc &quot;Publish RDoc to RubyForge.&quot;
+      task :docs =&gt; [:rdoc] do
+        config = YAML.load(
+          File.read(File.expand_path('~/.rubyforge/user-config.yml'))
+        )
+
+        host = &quot;#{config['username']}@rubyforge.org&quot;
+        remote_dir = &quot;/var/www/gforge-projects/johntrupiano/capistrano-extensions/&quot;
+        local_dir = 'rdoc'
+
+        Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
+      end
+    end
+  end
+rescue LoadError
+  puts &quot;Rake SshDirPublisher is unavailable or your rubyforge environment is not configured.&quot;
+end</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>README.txt</filename>
    </removed>
    <removed>
      <filename>lib/capistrano-extensions/version.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>8e6bd1a4a676a6ad563e5a827721c37924a31384</id>
    </parent>
  </parents>
  <author>
    <name>John Trupiano</name>
    <email>jtrupiano@gmail.com</email>
  </author>
  <url>http://github.com/jtrupiano/capistrano-extensions/commit/dc0930757385dd898638cb0cf550bf029f99501f</url>
  <id>dc0930757385dd898638cb0cf550bf029f99501f</id>
  <committed-date>2009-04-27T17:37:00-07:00</committed-date>
  <authored-date>2009-04-27T17:37:00-07:00</authored-date>
  <message>Convert to jeweler for gem management.</message>
  <tree>569dd1bfd74c498fa86d8d3e6f333f6076460e3d</tree>
  <committer>
    <name>John Trupiano</name>
    <email>jtrupiano@gmail.com</email>
  </committer>
</commit>
