<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
    <added>
      <filename>VERSION</filename>
    </added>
    <added>
      <filename>dm-userstamp.gemspec</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,18 +1,48 @@
-# -*- ruby -*-
-
 require 'rubygems'
-require 'hoe'
-require './lib/dm-userstamp.rb'
-require './lib/dm-userstamp/version.rb'
-
-Hoe.new('dm-userstamp', DataMapper::Userstamps::VERSION) do |p|
-  p.name            = 'dm-userstamp'
-  p.remote_rdoc_dir = '' # Release to root
-  p.rubyforge_name  = 'dm-userstamp'
-  p.author          = &quot;Richard Livsey&quot;
-  p.description     = &quot;DataMapper plugin to add automatic updating of created_by_id and updated_by_id attributes&quot;
-  p.summary         = &quot;DataMapper plugin to add automatic updating of created_by_id and updated_by_id attributes&quot;
-  p.email           = 'richard@livsey.org' 
+require 'rake'
+
+begin
+  require 'jeweler'
+  Jeweler::Tasks.new do |gem|
+    gem.name = &quot;dm-userstamp&quot;
+    gem.summary = %Q{DataMapper plugin to add automatic updating of created_by_id and updated_by_id attributes}
+    gem.email = &quot;richard@livsey.org&quot;
+    gem.homepage = &quot;http://github.com/rlivsey/dm-userstamp&quot;
+    gem.authors = [&quot;Richard Livsey&quot;]
+    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
+  end
+
+rescue LoadError
+  puts &quot;Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler&quot;
+end
+
+require 'spec/rake/spectask'
+Spec::Rake::SpecTask.new(:spec) do |spec|
+  spec.libs &lt;&lt; 'lib' &lt;&lt; 'spec'
+  spec.spec_files = FileList['spec/**/*_spec.rb']
+end
+
+Spec::Rake::SpecTask.new(:rcov) do |spec|
+  spec.libs &lt;&lt; 'lib' &lt;&lt; 'spec'
+  spec.pattern = 'spec/**/*_spec.rb'
+  spec.rcov = true
+end
+
+
+task :default =&gt; :spec
+
+require 'rake/rdoctask'
+Rake::RDocTask.new do |rdoc|
+  if File.exist?('VERSION.yml')
+    config = YAML.load(File.read('VERSION.yml'))
+    version = &quot;#{config[:major]}.#{config[:minor]}.#{config[:patch]}&quot;
+  else
+    version = &quot;&quot;
+  end
+
+  rdoc.rdoc_dir = 'rdoc'
+  rdoc.title = &quot;dm-userstamp #{version}&quot;
+  rdoc.rdoc_files.include('README*')
+  rdoc.rdoc_files.include('lib/**/*.rb')
 end
 
-# vim: syntax=Ruby</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>.DS_Store</filename>
    </removed>
    <removed>
      <filename>Manifest.txt</filename>
    </removed>
    <removed>
      <filename>spec/.DS_Store</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>dfe60b35bca1dc1a15f97702dc26735e801390e1</id>
    </parent>
  </parents>
  <author>
    <name>Richard Livsey</name>
    <email>richard@livsey.org</email>
  </author>
  <url>http://github.com/rlivsey/dm-userstamp/commit/18c8f60a7acf2ba452aeed9f9f1ce8ce149824ee</url>
  <id>18c8f60a7acf2ba452aeed9f9f1ce8ce149824ee</id>
  <committed-date>2009-10-29T09:45:12-07:00</committed-date>
  <authored-date>2009-10-29T09:45:12-07:00</authored-date>
  <message>update to using jeweler for gem packaging</message>
  <tree>6b44286e73f659e395917ce4749277ac630380d9</tree>
  <committer>
    <name>Richard Livsey</name>
    <email>richard@livsey.org</email>
  </committer>
</commit>
