<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,43 +1,19 @@
-require 'rubygems'
-require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
+this_rakefile_uses_shoe = &lt;&lt;END
+----------------------------------------
+Please install Shoe:
+gem sources --add http://gems.github.com
+gem install matthewtodd-shoe
+----------------------------------------
+END
 
-desc 'Default: run unit tests.'
-task :default =&gt; :test
-
-spec = Gem::Specification.new do |spec|
-  spec.name             = 'has_digest'
-  spec.version          = '0.1.2'
-  spec.summary          = 'ActiveRecord macro that helps encrypt passwords and generate api tokens before_save.'
-  spec.files            = FileList['README.rdoc', 'MIT-LICENSE', 'init.rb', 'lib/**/*.rb', 'shoulda_macros/**/*.rb', 'test/**/*.rb'].to_a
-  spec.has_rdoc         = true
-  spec.rdoc_options     = %W[--main README.rdoc --title #{spec.name}-#{spec.version} --inline-source --line-numbers]
-  spec.extra_rdoc_files = FileList['README.rdoc', 'shoulda_macros/**/*.rb'].to_a
-  spec.author           = 'Matthew Todd'
-  spec.email            = 'matthew.todd@gmail.com'
-end
-
-desc 'Generate a gemspec file'
-task :gemspec do
-  File.open(&quot;#{spec.name}.gemspec&quot;, 'w') do |f|
-    f.write spec.to_ruby
-  end
-end
-
-desc 'Test the has_digest plugin.'
-Rake::TestTask.new(:test) do |t|
-  t.libs &lt;&lt; 'lib'
-  t.pattern = 'test/**/*_test.rb'
-  t.verbose = true
+begin
+  gem 'matthewtodd-shoe'
+rescue Gem::LoadError
+  abort this_rakefile_uses_shoe
+else
+  require 'shoe'
 end
 
-desc 'Generate documentation for the has_digest plugin.'
-Rake::RDocTask.new(:rdoc) do |rdoc|
-  rdoc.rdoc_dir = 'rdoc'
-  rdoc.title    = 'HasDigest'
-  rdoc.options &lt;&lt; '--line-numbers' &lt;&lt; '--inline-source'
-  rdoc.rdoc_files.include('README.rdoc')
-  rdoc.rdoc_files.include('lib/**/*.rb')
-  rdoc.rdoc_files.include('shoulda_macros/**/*.rb')
+Shoe.tie('has_digest', '0.1.2', 'ActiveRecord macro that helps encrypt passwords and generate api tokens before_save.') do |spec|
+  spec.add_development_dependency 'thoughtbot-shoulda'
 end</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>700d10bd77d232c91aa45988a27eded97f95474a</id>
    </parent>
  </parents>
  <author>
    <name>Matthew Todd</name>
    <email>matthew.todd@gmail.com</email>
  </author>
  <url>http://github.com/matthewtodd/has_digest/commit/cc659bb36fd365488e2937732c4c03e30bf43e36</url>
  <id>cc659bb36fd365488e2937732c4c03e30bf43e36</id>
  <committed-date>2009-09-02T00:57:27-07:00</committed-date>
  <authored-date>2009-09-02T00:52:55-07:00</authored-date>
  <message>Switch to shoe.</message>
  <tree>2001cfda8f1750b8a6d4760b370159bd97dcab6c</tree>
  <committer>
    <name>Matthew Todd</name>
    <email>matthew.todd@gmail.com</email>
  </committer>
</commit>
