<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,46 +2,44 @@ require 'active_record'
 
 module ActionController #:nodoc:
   module Caching
-    module Sweeping
-      class Sweeper &lt; ActiveRecord::Observer #:nodoc:
-        attr_accessor :controller
+    class Sweeper &lt; ActiveRecord::Observer #:nodoc:
+      attr_accessor :controller
 
-        def before(controller)
-          self.controller = controller
-          callback(:before) if controller.perform_caching
+      def before(controller)
+        self.controller = controller
+        callback(:before) if controller.perform_caching
+      end
+
+      def after(controller)
+        callback(:after) if controller.perform_caching
+        # Clean up, so that the controller can be collected after this request
+        self.controller = nil
+      end
+
+      protected
+        # gets the action cache path for the given options.
+        def action_path_for(options)
+          ActionController::Caching::Actions::ActionCachePath.path_for(controller, options)
         end
 
-        def after(controller)
-          callback(:after) if controller.perform_caching
-          # Clean up, so that the controller can be collected after this request
-          self.controller = nil
+        # Retrieve instance variables set in the controller.
+        def assigns(key)
+          controller.instance_variable_get(&quot;@#{key}&quot;)
         end
 
-        protected
-          # gets the action cache path for the given options.
-          def action_path_for(options)
-            ActionController::Caching::Actions::ActionCachePath.path_for(controller, options)
-          end
-
-          # Retrieve instance variables set in the controller.
-          def assigns(key)
-            controller.instance_variable_get(&quot;@#{key}&quot;)
-          end
-
-        private
-          def callback(timing)
-            controller_callback_method_name = &quot;#{timing}_#{controller.controller_name.underscore}&quot;
-            action_callback_method_name     = &quot;#{controller_callback_method_name}_#{controller.action_name}&quot;
-
-            __send__(controller_callback_method_name) if respond_to?(controller_callback_method_name, true)
-            __send__(action_callback_method_name)     if respond_to?(action_callback_method_name, true)
-          end
-
-          def method_missing(method, *arguments, &amp;block)
-            return if @controller.nil?
-            @controller.__send__(method, *arguments, &amp;block)
-          end
-      end
+      private
+        def callback(timing)
+          controller_callback_method_name = &quot;#{timing}_#{controller.controller_name.underscore}&quot;
+          action_callback_method_name     = &quot;#{controller_callback_method_name}_#{controller.action_name}&quot;
+
+          __send__(controller_callback_method_name) if respond_to?(controller_callback_method_name, true)
+          __send__(action_callback_method_name)     if respond_to?(action_callback_method_name, true)
+        end
+
+        def method_missing(method, *arguments, &amp;block)
+          return if @controller.nil?
+          @controller.__send__(method, *arguments, &amp;block)
+        end
     end
   end
 end</diff>
      <filename>actionpack/lib/action_controller/caching/sweeper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,6 +8,10 @@ FILE_STORE_PATH = File.join(File.dirname(__FILE__), '/../temp/', CACHE_DIR)
 ActionController::Base.page_cache_directory = FILE_STORE_PATH
 ActionController::Base.cache_store = :file_store, FILE_STORE_PATH
 
+# Force sweeper classes to load
+ActionController::Caching::Sweeper
+ActionController::Caching::Sweeping
+
 class PageCachingTestController &lt; ActionController::Base
   caches_page :ok, :no_content, :if =&gt; Proc.new { |c| !c.request.format.json? }
   caches_page :found, :not_found</diff>
      <filename>actionpack/test/controller/caching_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0380e9ca5fa872e56d0920e6255a2f20b6e01030</id>
    </parent>
  </parents>
  <author>
    <name>Joshua Peek</name>
    <login>josh</login>
    <email>josh@joshpeek.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/f7cb7fce4cb25e608f0c2d94a4970c0c7cb7d3da</url>
  <id>f7cb7fce4cb25e608f0c2d94a4970c0c7cb7d3da</id>
  <committed-date>2009-05-14T14:47:24-07:00</committed-date>
  <authored-date>2009-05-14T14:47:24-07:00</authored-date>
  <message>Sweeper does not belong in Sweeping module</message>
  <tree>5f3a236ac23cc8c6b5f8771dc371a245e8e8094f</tree>
  <committer>
    <name>Joshua Peek</name>
    <login>josh</login>
    <email>josh@joshpeek.com</email>
  </committer>
</commit>
