<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>generators/css_dryer/USAGE</filename>
    </added>
    <added>
      <filename>generators/css_dryer/css_dryer_generator.rb</filename>
    </added>
    <added>
      <filename>generators/css_dryer/templates/stylesheets_controller.rb</filename>
    </added>
    <added>
      <filename>generators/css_dryer/templates/stylesheets_helper.rb</filename>
    </added>
    <added>
      <filename>generators/css_dryer/templates/test.ncss</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,6 +2,10 @@
 
 Below is a complete list of changes for each revision of CssDryer.
 
+== 0.2.5
+
+* Added a generator for convenience.
+
 == 0.2.4
 
 * Fixed README to use proper Markdown syntax for links.</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -121,40 +121,37 @@ And all this would render to site.css:
 
 ## Installation
 
-Version 0.2+ of the plugin requires Rails 2.
+Pre-requisite: Rails 2.
 
-Install in the usual Rails way.  From your application's directory:
+First, install in the usual Rails way.  From your application's directory:
 
-    script/plugin install http://opensource.airbladesoftware.com/trunk/plugins/css_dryer
+  $ script/plugin install http://opensource.airbladesoftware.com/trunk/plugins/css_dryer
 
-    
-## Usage
+Second, generate the stylesheets controller and helper, and a test nested stylesheet:
 
-Create a controller to serve your DRY stylesheets:
+  $ script/generate css_dryer
 
-    script/generate controller stylesheets
+Third, add a named route to your config/routes.rb:
 
-You don't have to call it &lt;code&gt;stylesheets&lt;/code&gt; but doing so lets you use Rails' &lt;code&gt;stylesheet_link_tag&lt;/code&gt; helper.
+  map.stylesheets 'stylesheets/:action.:format', :controller =&gt; 'stylesheets'
 
-Edit the controller so it looks like this:
+Verify that everything is working by visiting this URL:
 
-    class StylesheetsController &lt; ApplicationController
-      before_filter :set_headers
-      after_filter  { |c| c.cache_page }
-      session :off
-      layout nil
+  http://0.0.0.0:3000/stylesheets/test.css
 
-      private
-      def set_headers
-        headers['Content-Type'] = 'text/css; charset=utf-8'
-      end
-    end
+You should see this output:
 
-Add this line to your routes in &lt;code&gt;config/routes.rb&lt;/code&gt; (note the full stop immediately after the word &lt;code&gt;action&lt;/code&gt;):
+  body {
+    color: blue;
+  }
+  body p {
+    color: red;
+  }
+    
 
-    map.connect 'stylesheets/:action.:format', :controller =&gt; 'stylesheets'
+## Usage
 
-You can then put your stylesheets, DRY or otherwise, in &lt;code&gt;app/views/stylesheets/&lt;/code&gt;.  Once rendered they will be cached in &lt;code&gt;public/stylesheets/&lt;/code&gt;.
+You put your stylesheets, DRY or otherwise, in &lt;code&gt;app/views/stylesheets/&lt;/code&gt;.  Once rendered they will be cached in &lt;code&gt;public/stylesheets/&lt;/code&gt;.
 
 DRY stylesheet files should have a &lt;code&gt;ncss&lt;/code&gt; extension -- think 'n' for nested.  For example, &lt;code&gt;site.ncss&lt;/code&gt;.
 
@@ -170,22 +167,21 @@ or with Rails' &lt;code&gt;stylesheet_link_tag&lt;/code&gt; helper:
 ## To Do
 
 * Package as a gem as well as a plugin.
-* Merb compatability.
-* Generator for stylesheets controller.
+* Merb compatibility.
 * Split out a separate EXAMPLES document.
 * Replace regexp-based nested-stylesheet parser with a Treetop parser.
-* Make CssDryer work with Rails's asset packaging.
+* Make CssDryer work with Rails' asset packaging.
 
 
 ## Alternatives
 
-* [RCSS] [1]: ERB, server-side constants, server-side classes and command line execution.  No nesting as such, though server-side classes offer a form of inheritance.
+* [RCSS][1]: ERB, server-side constants, server-side classes and command line execution.  No nesting as such, though server-side classes offer a form of inheritance.
 
-* [DCSS] [2] (written up [here] [3]): server-side constants, different syntax.  Descendant selectors only.
+* [DCSS][2] (written up [here][3]): server-side constants, different syntax.  Descendant selectors only.
 
-* [Styleaby] [4] creates CSS with Ruby syntax.  &quot;An experimental, unauthorized mashup of Scott Barron's stillborn Builder::CSS templates and Why The Lucky Stiff's Markaby templates.&quot;
+* [Styleaby][4] creates CSS with Ruby syntax.  &quot;An experimental, unauthorized mashup of Scott Barron's stillborn Builder::CSS templates and Why The Lucky Stiff's Markaby templates.&quot;
 
-* [Dirt Simple .rcss Templates] [5] by Josh Susser.  No nesting, just variables.
+* [Dirt Simple .rcss Templates][5] by Josh Susser.  No nesting, just variables.
 
 [1]: http://rubyforge.org/projects/rcss
 [2]: http://rubyforge.org/projects/dcss
@@ -196,11 +192,11 @@ or with Rails' &lt;code&gt;stylesheet_link_tag&lt;/code&gt; helper:
 
 ## Credits
 
-The idea came from John Nunemaker on [Rails Tips] [6].  John beta-tested the code, provided a test case for @media blocks and suggested the controller's body.  Thanks John!
+The idea came from John Nunemaker on [Rails Tips][6].  John beta-tested the code, provided a test case for @media blocks and suggested the controller's body.  Thanks John!
 
-The caching code is based on [Topfunky's] [7].
+The caching code is based on [Topfunky's][7].
 
-Changing the controller's name to &lt;code&gt;stylesheets&lt;/code&gt;, thus allowing one to use Rails' &lt;code&gt;stylesheet_link_tag&lt;/code&gt; helper, occurred to me while reading Josh Susser's [Dirt Simple .rcss Templates] [5].  Once I noticed it, I realised everybody was using a &lt;code&gt;StylesheetsController&lt;/code&gt;.  Doh!
+Changing the controller's name to &lt;code&gt;stylesheets&lt;/code&gt;, thus allowing one to use Rails' &lt;code&gt;stylesheet_link_tag&lt;/code&gt; helper, occurred to me while reading Josh Susser's [Dirt Simple .rcss Templates][5].  Once I noticed it, I realised everybody was using a &lt;code&gt;StylesheetsController&lt;/code&gt;.  Doh!
 
 [6]: http://railstips.org/2006/12/7/styleaby-css-plugin/
 [7]: http://topfunky.net/svn/plugins/styleaby/lib/stylesheets_controller.rb
@@ -208,7 +204,7 @@ Changing the controller's name to &lt;code&gt;stylesheets&lt;/code&gt;, thus allowing one to
 
 ## Author
 
-[Andrew Stewart] [8], [AirBlade Software] [9].
+[Andrew Stewart][8], [AirBlade Software][9].
 
 [8]: mailto:boss@airbladesoftware.com
 [9]: http://airbladesoftware.com</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -17,6 +17,6 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
   rdoc.rdoc_dir = 'rdoc'
   rdoc.title    = 'CssDryer'
   rdoc.options &lt;&lt; '--line-numbers' &lt;&lt; '--inline-source'
-  rdoc.rdoc_files.include('README', 'MIT-LICENCE', 'CHANGELOG')
+  rdoc.rdoc_files.include('README')
   rdoc.rdoc_files.include('lib/**/*.rb')
 end</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -17,7 +17,7 @@ end
 # Converts DRY stylesheets into normal CSS ones.
 module CssDryer
 
-  VERSION = '0.2.4'
+  VERSION = '0.2.5'
 
   class StyleHash &lt; Hash  #:nodoc:
     attr_accessor :multiline</diff>
      <filename>lib/css_dryer.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>803c5ad14ea1daac338e070b630ff375fa7ddb8e</id>
    </parent>
  </parents>
  <author>
    <name>Andy Stewart</name>
    <email>boss@airbladesoftware.com</email>
  </author>
  <url>http://github.com/airblade/css_dryer/commit/d8b6825ab7e29cf3814cc6bc8d2027f7531ef44b</url>
  <id>d8b6825ab7e29cf3814cc6bc8d2027f7531ef44b</id>
  <committed-date>2008-03-20T11:24:57-07:00</committed-date>
  <authored-date>2008-03-20T11:24:57-07:00</authored-date>
  <message>Added a generator.</message>
  <tree>9c66662bc01ef1d619c3dd77739c0dad537d1c33</tree>
  <committer>
    <name>Andy Stewart</name>
    <email>boss@airbladesoftware.com</email>
  </committer>
</commit>
