smart_asset 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/smart_asset.rb +1 -1
- data/lib/smart_asset/version.rb +1 -1
- metadata +2 -2
data/lib/smart_asset.rb
CHANGED
@@ -52,7 +52,7 @@ class SmartAsset
|
|
52
52
|
puts "\nCompressing #{source}..."
|
53
53
|
if ext == 'js'
|
54
54
|
warning = ENV['WARN'] ? nil : " --warning_level QUIET"
|
55
|
-
cmd = "java -jar #{CLOSURE_COMPILER} --js #{source} --js_output_file #{destination}#{
|
55
|
+
cmd = "java -jar #{CLOSURE_COMPILER} --js #{source} --js_output_file #{destination}#{warning}"
|
56
56
|
elsif ext == 'css'
|
57
57
|
cmd = "java -jar #{YUI_COMPRESSOR} #{source} -o #{destination}"
|
58
58
|
end
|
data/lib/smart_asset/version.rb
CHANGED