1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

Disable buggy color-compression in built-in Rainpress CSS minification. Fixes #576

This commit is contained in:
Thomas Reynolds 2012-08-28 16:08:34 -07:00
parent 1c32c5fd74
commit 1998668a87
4 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,7 @@
Master Master
=== ===
* Fix buggy color renaming in built-in CSS minifier. #576
* Fix Sass/Scss filter in Slim templates * Fix Sass/Scss filter in Slim templates
* Added SMACSS template * Added SMACSS template
* Give file metadata (such as frontmatter) precedence over path meta. #552 * Give file metadata (such as frontmatter) precedence over path meta. #552

View file

@ -23,6 +23,8 @@ Feature: Minify CSS
And I should see "only screen and (device-width" And I should see "only screen and (device-width"
When I go to "/more-css/site.css" When I go to "/more-css/site.css"
Then I should see "1" lines Then I should see "1" lines
When I go to "/stylesheets/report.css"
Then I should see "p{border:1px solid #ff6600}"
Scenario: Rendering external css with passthrough compressor Scenario: Rendering external css with passthrough compressor
Given a fixture app "passthrough-app" Given a fixture app "passthrough-app"

View file

@ -0,0 +1 @@
p{border: 1px solid #ff6600;}

View file

@ -25,7 +25,7 @@ class Rainpress
:comments => true, :comments => true,
:newlines => true, :newlines => true,
:spaces => true, :spaces => true,
:colors => true, :colors => false,
:misc => true :misc => true
} }
@opts.merge! opts @opts.merge! opts