swiss_knife 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/swiss_knife/assets.rb +1 -1
- data/lib/swiss_knife/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/swiss_knife/assets.rb
CHANGED
@@ -40,6 +40,7 @@ module SwissKnife
|
|
40
40
|
# read it back in and trim it
|
41
41
|
result = ""
|
42
42
|
File.open("#{tmp_path}_compressed.js", "r") { |f| result += f.read.strip }
|
43
|
+
result << "\n;"
|
43
44
|
|
44
45
|
# delete temp files if they exist
|
45
46
|
File.delete("#{tmp_path}_uncompressed.js") if File.exists?("#{tmp_path}_uncompressed.js")
|
@@ -65,7 +66,6 @@ module SwissKnife
|
|
65
66
|
file << ".#{ext}" unless file =~ /\.#{ext}$/i
|
66
67
|
|
67
68
|
f << send("compress_#{ext}", File.read(assets_dir.join(file)))
|
68
|
-
f << "\n;"
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|
data/lib/swiss_knife/version.rb
CHANGED