<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>History.txt</filename>
    </added>
    <added>
      <filename>Manifest.txt</filename>
    </added>
    <added>
      <filename>README.txt</filename>
    </added>
    <added>
      <filename>lib/ruby-rapleaf.rb</filename>
    </added>
    <added>
      <filename>ruby-rapleaf.gemspec</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,30 +1,28 @@
-require 'rubygems'
-require 'rake/gempackagetask'
-require 'rake/testtask'
-require 'rake/rdoctask'
+# -*- ruby -*-
 
-# read the contents of the gemspec, eval it, and assign it to 'spec'
-# this lets us maintain all gemspec info in one place.  Nice and DRY.
-spec = eval(IO.read(&quot;rapleaf.gemspec&quot;))
+require 'rubygems'
+require 'hoe'
+require './lib/ruby-rapleaf.rb'
 
-Rake::GemPackageTask.new(spec) do |pkg|
-  pkg.gem_spec = spec
+Hoe.new('ruby-rapleaf', Rapleaf::VERSION) do |p|
+  p.rubyforge_name = 'ruby-rapleaf' # if different than lowercase project name
+  p.developer('Glenn Rempe', 'glenn@rempe.us')
+  p.extra_deps = [['xml-simple', '&gt;= 1.0.11'], ['builder', '&gt;= 2.1.2']]
 end
 
-desc &quot;Build and install the gem locally.&quot;
-task :install =&gt; [:package] do
-  sh %{sudo gem install pkg/rapleaf-*}
+namespace :manifest do
+  desc 'Recreate Manifest.txt to include ALL files'
+  task :refresh do
+    `rake check_manifest | patch -p0 &gt; Manifest.txt`
+  end
 end
 
-Rake::TestTask.new do |t|
-  t.libs &lt;&lt; &quot;test&quot;
-  t.test_files = FileList['test/test*.rb']
-  t.verbose = true
+namespace :gemspec do
+  desc 'Refresh the gemspec file'
+  task :refresh do
+    `rake debug_gem &gt; ruby-rapleaf.gemspec`
+    # remove the first line from the file which is an artifact of the gemspec generation
+    `perl -pi -e '$_ = &quot;&quot; if ($. == 1);' ruby-rapleaf.gemspec`
+  end
 end
 
-Rake::RDocTask.new do |rd|
-  rd.main = &quot;README.rdoc&quot;
-  rd.rdoc_files.include(&quot;README.rdoc&quot;, &quot;lib/**/*.rb&quot;)
-  rd.rdoc_dir = 'doc'
-  rd.options = spec.rdoc_options
-end
\ No newline at end of file</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 require 'rubygems'
-require File.dirname(__FILE__) + '/../lib/rapleaf'
+require File.dirname(__FILE__) + '/../lib/ruby-rapleaf'
 
 # Instanciate a Rapleaf object with your API Key.
 @rapleaf = Rapleaf::Base.new('REPLACE_WITH_YOUR_API_KEY')</diff>
      <filename>examples/person.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>CHANGELOG</filename>
    </removed>
    <removed>
      <filename>LICENSE</filename>
    </removed>
    <removed>
      <filename>README.rdoc</filename>
    </removed>
    <removed>
      <filename>lib/rapleaf.rb</filename>
    </removed>
    <removed>
      <filename>rapleaf.gemspec</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>a569c64a70f7d8aa3187d34e5be15cf134880590</id>
    </parent>
  </parents>
  <author>
    <name>Glenn Rempe</name>
    <email>glenn@rempe.us</email>
  </author>
  <url>http://github.com/grempe/ruby-rapleaf/commit/afdd91c4e6122d31aab1d398f4476706ea85f0b2</url>
  <id>afdd91c4e6122d31aab1d398f4476706ea85f0b2</id>
  <committed-date>2008-08-27T17:37:31-07:00</committed-date>
  <authored-date>2008-08-27T17:37:31-07:00</authored-date>
  <message>Converted to using Hoe for gem management.</message>
  <tree>4a2c8a10a7e19a5dfe62cae1c8706a04b2316db1</tree>
  <committer>
    <name>Glenn Rempe</name>
    <email>glenn@rempe.us</email>
  </committer>
</commit>
