kriswallsmith/assetic — pull request #291 by tinchoz49 (2012-08-25 20:23:50+00:00)
Title: fix two bugs in CssRewriteFilter and AssetCollection

For CssRewriteFilter:

For example:
If you have a css in /assets/admin/css/boostrapt.css and the url for the image resources is ../img/image.jpg

The CssRewriteFilter define the url like /assets/img/image.jpg but is incorrect because the first ".." in the image resource is for get out of the css file.

For AssetCollection:

when you are creating an AssetCollection with many files...for example..

$css_collection = new AssetCollection(array(
new FileAsset('file1.css'),
new FileAsset('file2.css'),
new FileAsset('file3.css')
));

and then you try to print with $css_collection->dump(); the only file printed is the first because is wrong the iteration that I explain before.