lib/preprocessors/sass-preprocessor.rb in pakyow-assets-0.1.1 vs lib/preprocessors/sass-preprocessor.rb in pakyow-assets-0.1.2
- old
+ new
@@ -1,8 +1,8 @@
require 'sass'
require 'yui/compressor'
-Pakyow::Assets.preprocessor :scss, :sass, output: :css, fingerprint_contents: true do |path|
+Pakyow::Assets.preprocessor :scss, :sass, output: :css, fingerprint: true, fingerprint_contents: true do |path|
content = Sass::Engine.for_file(path, {}).render
if Pakyow::Config.assets.minify
begin
YUI::CssCompressor.new.compress(content)