<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>spec/fixtures/app/styles/application/application.less</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -19,6 +19,7 @@ Setup
        test.css
        test.screen.css
        test.sass
+       test.less
      users/
        more.css
        more.print.css</diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -29,9 +29,11 @@ private ######################################################################
 
   def collapse_files(files)
     files.inject('') do |buffer, file|
+      data = File.read(file)
       buffer &lt;&lt; case File.extname(file)
-        when '.sass' then require 'sass'; Sass::Engine.new(File.read(file)).render
-        else File.read(file)
+        when '.sass' then require 'sass'; Sass::Engine.new(data).render
+        when '.less' then require 'less'; Less::Engine.new(data).to_css(:desc)
+        else data
       end &lt;&lt; &quot;\n&quot;
     end
   end</diff>
      <filename>app/controllers/shoebox/styles_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -45,6 +45,11 @@ describe Shoebox::StylesController do
       @controller.index
     end
 
+    it 'should process less files' do
+      @controller.should_receive(:render_buffer).with(/border-bottom:\s*5px/)
+      @controller.index
+    end
+
     it 'should attempt to minify the output when the configuration is set' do
       Shoebox.config.minify = true
       minifier = mock(@minifier_class)</diff>
      <filename>spec/controllers/styles_controller_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b05f7b3d30baae386e85ee5342a0092cdee696dc</id>
    </parent>
  </parents>
  <author>
    <name>David Dollar</name>
    <email>ddollar@gmail.com</email>
  </author>
  <url>http://github.com/ddollar/shoebox/commit/4bf253a78643c93c3bcd7766fcea3610fed01100</url>
  <id>4bf253a78643c93c3bcd7766fcea3610fed01100</id>
  <committed-date>2009-06-16T20:48:34-07:00</committed-date>
  <authored-date>2009-06-16T20:48:34-07:00</authored-date>
  <message>add support for less</message>
  <tree>1d8dc5d41144e74e59f62bab0b5d325fb084f1bd</tree>
  <committer>
    <name>David Dollar</name>
    <email>ddollar@gmail.com</email>
  </committer>
</commit>
