<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -52,3 +52,8 @@ Currently there are two stores available: `MemcacheStore` and `MemoryStore`. `Me
 I suppose you'll want to get your hands on this magic. For now just grab the source from [github](http://github.com/mloughran/api_cache/tree/master) and `rake install`. I'll get a gem sorted soon.
 
 Please send feedback if you think of any other functionality that would be handy.
+
+Copyright
+=========
+
+Copyright (c) 2008 Martyn Loughran. See LICENSE for details.</diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -1,44 +1,38 @@
-require 'rubygems'
-require 'rake/gempackagetask'
-require 'rubygems/specification'
-require 'date'
+require 'rake'
 
-PLUGIN = &quot;api_cache&quot;
-NAME = &quot;api_cache&quot;
-GEM_VERSION = &quot;0.0.2&quot;
-AUTHOR = &quot;Martyn Loughran&quot;
-EMAIL = &quot;me@mloughran.com&quot;
-HOMEPAGE = &quot;http://github.com/mloughran/api_cache/&quot;
-SUMMARY = &quot;Library to handle caching external API calls&quot;
-
-spec = Gem::Specification.new do |s|
-  s.name = NAME
-  s.version = GEM_VERSION
-  s.platform = Gem::Platform::RUBY
-  s.has_rdoc = true
-  s.extra_rdoc_files = [&quot;README.markdown&quot;, &quot;LICENSE&quot;, 'TODO']
-  s.summary = SUMMARY
-  s.description = s.summary
-  s.author = AUTHOR
-  s.email = EMAIL
-  s.homepage = HOMEPAGE
-  s.require_path = 'lib'
-  s.autorequire = PLUGIN
-  s.files = %w(LICENSE README.markdown Rakefile TODO) + Dir.glob(&quot;{lib,spec}/**/*&quot;)
+begin
+  require 'jeweler'
+  Jeweler::Tasks.new do |s|
+    s.name = &quot;api_cache&quot;
+    s.summary = %Q{Library to handle caching external API calls}
+    s.email = &quot;me@mloughran.com&quot;
+    s.homepage = &quot;http://github.com/mloughran/api_cache&quot;
+    s.description = &quot;Library to handle caching external API calls&quot;
+    s.authors = [&quot;Martyn Loughran&quot;]
+  end
+rescue LoadError
+  puts &quot;Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com&quot;
 end
 
-Rake::GemPackageTask.new(spec) do |pkg|
-  pkg.gem_spec = spec
+require 'rake/rdoctask'
+Rake::RDocTask.new do |rdoc|
+  rdoc.rdoc_dir = 'rdoc'
+  rdoc.title = 'api_cache'
+  rdoc.options &lt;&lt; '--line-numbers' &lt;&lt; '--inline-source'
+  rdoc.rdoc_files.include('README*')
+  rdoc.rdoc_files.include('lib/**/*.rb')
 end
 
-desc &quot;install the plugin locally&quot;
-task :install =&gt; [:package] do
-  sh %{sudo gem install pkg/#{NAME}-#{GEM_VERSION} --no-update-sources}
+require 'spec/rake/spectask'
+Spec::Rake::SpecTask.new(:spec) do |t|
+  t.libs &lt;&lt; 'lib' &lt;&lt; 'spec'
+  t.spec_files = FileList['spec/**/*_spec.rb']
 end
 
-desc &quot;create a gemspec file&quot;
-task :make_spec do
-  File.open(&quot;#{GEM}.gemspec&quot;, &quot;w&quot;) do |file|
-    file.puts spec.to_ruby
-  end
+Spec::Rake::SpecTask.new(:rcov) do |t|
+  t.libs &lt;&lt; 'lib' &lt;&lt; 'spec'
+  t.spec_files = FileList['spec/**/*_spec.rb']
+  t.rcov = true
 end
+
+task :default =&gt; :test</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>369d98090705b275fd326abf7ac4de323340f7d0</id>
    </parent>
  </parents>
  <author>
    <name>Martyn Loughran</name>
    <email>me@mloughran.com</email>
  </author>
  <url>http://github.com/newbamboo/api_cache/commit/d7495dbc0815ebde714611bf1e31b727087b8d38</url>
  <id>d7495dbc0815ebde714611bf1e31b727087b8d38</id>
  <committed-date>2009-02-09T16:29:53-08:00</committed-date>
  <authored-date>2009-02-09T16:28:45-08:00</authored-date>
  <message>Added gem management using Jeweler</message>
  <tree>1d1973deca398642e5d5bb17efde6f842f96e5cf</tree>
  <committer>
    <name>Martyn Loughran</name>
    <email>me@mloughran.com</email>
  </committer>
</commit>
