<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,6 +3,10 @@
 * Table of contents
 {:toc}
 
+## [2.2.12](http://github.com/nex3/haml/commit/2.2.12)
+
+There were no changes made to Sass between versions 2.2.11 and 2.2.12.
+
 ## [2.2.11](http://github.com/nex3/haml/commit/2.2.11)
 
 * Fixed a bug with XSS protection where HTML escaping would raise an error</diff>
      <filename>doc-src/HAML_CHANGELOG.md</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,10 @@
 * Table of contents
 {:toc}
 
+## [2.2.12](http://github.com/nex3/haml/commit/2.2.12)
+
+* Fix a stupid bug introduced in 2.2.11 that broke the Sass Rails plugin.
+
 ## [2.2.11](http://github.com/nex3/haml/commit/2.2.11)
 
 * Added a note to errors on properties that could be pseudo-classes (e.g. `:focus`)</diff>
      <filename>doc-src/SASS_CHANGELOG.md</filename>
    </modified>
    <modified>
      <diff>@@ -49,6 +49,17 @@ module Sass
       opts
     end
 
+    # Same as \{#update\_stylesheets}, but respects \{#checked\_for\_updates}
+    # and the {file:SASS_REFERENCE.md#always_update-option `:always_update`}
+    # and {file:SASS_REFERENCE.md#always_check-option `:always_check`} options.
+    #
+    # @see #update_stylesheets
+    def check_for_updates
+      return unless !Sass::Plugin.checked_for_updates ||
+          Sass::Plugin.options[:always_update] || Sass::Plugin.options[:always_check]
+      update_stylesheets
+    end
+
     # Updates out-of-date stylesheets.
     #
     # Checks each Sass file in {file:SASS_REFERENCE.md#template_location-option `:template_location`}</diff>
      <filename>lib/sass/plugin.rb</filename>
    </modified>
    <modified>
      <diff>@@ -7,22 +7,15 @@ unless defined?(Sass::RAILS_LOADED)
                               :always_check      =&gt; RAILS_ENV != &quot;production&quot;,
                               :full_exception    =&gt; RAILS_ENV != &quot;production&quot;)
 
-  check = lambda do
-    if !Sass::Plugin.checked_for_updates ||
-        Sass::Plugin.options[:always_update] || Sass::Plugin.options[:always_check]
-      Sass::Plugin.update_stylesheets
-    end
-  end
-
   if defined?(ActionDispatch::Callbacks.to_prepare)
     # Rails &gt;= 3.0.0
-    ActionDispatch::Callbacks.to_prepare(&amp;check)
+    ActionDispatch::Callbacks.to_prepare {Sass::Plugin.check_for_updates}
   else
     module ActionController
       class Base
         alias_method :sass_old_process, :process
         def process(*args)
-          check.call
+          Sass::Plugin.check_for_updates
           sass_old_process(*args)
         end
       end</diff>
      <filename>lib/sass/plugin/rails.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7f8bfc8bd0ba556894a70ea16ef96363d1dc8555</id>
    </parent>
    <parent>
      <id>b13bebcea60ff8e3b8aacc68258718f6570bc556</id>
    </parent>
  </parents>
  <author>
    <name>Nathan Weizenbaum</name>
    <email>nex342@gmail.com</email>
  </author>
  <url>http://github.com/nex3/haml/commit/45062c18fe107ed16428324568f6fdc0fcba86af</url>
  <id>45062c18fe107ed16428324568f6fdc0fcba86af</id>
  <committed-date>2009-11-05T22:58:02-08:00</committed-date>
  <authored-date>2009-11-05T22:58:02-08:00</authored-date>
  <message>Merge branch 'stable'

Conflicts:
	VERSION
	doc-src/HAML_CHANGELOG.md
	doc-src/SASS_CHANGELOG.md</message>
  <tree>800d30b0c38d38033dac136906584961f002811f</tree>
  <committer>
    <name>Nathan Weizenbaum</name>
    <email>nex342@gmail.com</email>
  </committer>
</commit>
