<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 class Admin::PodcastsController &lt; ResourceController::Base
   
+  cache_sweeper :podcast_sweeper
+  
   include AuthenticatedSystem
   before_filter :login_required
   </diff>
      <filename>app/controllers/admin/podcasts_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,5 @@
 class PodcastsController &lt; ApplicationController
   caches_page :index
-  cache_sweeper :podcast_sweeper  , :only =&gt; [:index]
-
 
   def method_missing(name, *args)
     @podcast = Podcast.find_by_permalink(name.to_s)</diff>
      <filename>app/controllers/podcasts_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -17,6 +17,7 @@ class PodcastSweeper &lt; ActionController::Caching::Sweeper
   def expire_cache_for(record)
     cache_dir = ActionController::Base.page_cache_directory
     FileUtils.rm_r(Dir.glob(&quot;#{cache_dir}/index.html&quot;)) rescue Errno::ENOENT
+    FileUtils.rm_r(Dir.glob(&quot;#{cache_dir}/podcasts.html&quot;)) rescue Errno::ENOENT
     FileUtils.rm_r(Dir.glob(&quot;#{cache_dir}/podcast/*.*&quot;)) rescue Errno::ENOENT
   end
 end</diff>
      <filename>app/sweepers/podcast_sweeper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -25,12 +25,6 @@ ActiveRecord::Schema.define(:version =&gt; 2) do
     t.datetime &quot;updated_at&quot;
   end
 
-  create_table &quot;schema_migrations&quot;, :id =&gt; false, :force =&gt; true do |t|
-    t.string &quot;version&quot;, :null =&gt; false
-  end
-
-  add_index &quot;schema_migrations&quot;, [&quot;version&quot;], :name =&gt; &quot;unique_schema_migrations&quot;, :unique =&gt; true
-
   create_table &quot;users&quot;, :force =&gt; true do |t|
     t.string   &quot;login&quot;,                     :limit =&gt; 40
     t.string   &quot;name&quot;,                      :limit =&gt; 100, :default =&gt; &quot;&quot;</diff>
      <filename>db/schema.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5e944ea3f86f2558ee433d10662a69ed45af4db5</id>
    </parent>
  </parents>
  <author>
    <name>Tapaj&#243;s</name>
    <email>tapajos@gmail.com</email>
  </author>
  <url>http://github.com/tapajos/podcast/commit/91d49a542465e68e9cec207581610959eaee57e2</url>
  <id>91d49a542465e68e9cec207581610959eaee57e2</id>
  <committed-date>2008-11-11T18:01:04-08:00</committed-date>
  <authored-date>2008-11-11T18:01:04-08:00</authored-date>
  <message>Arrumando o sweeper.</message>
  <tree>938060baccb9e1243f2e4ad9e901bacc72db25b7</tree>
  <committer>
    <name>Tapaj&#243;s</name>
    <email>tapajos@gmail.com</email>
  </committer>
</commit>
