dominate 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dominate/assets.rb +3 -3
- data/lib/dominate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 221114d9a95c40764d02f786475739c0d97d5c79
|
4
|
+
data.tar.gz: a69c298b432e604e46fa502fadffb16ae2097eb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 086713340ee8435820e4ca1c1fae36ad9002cca30f7f7cf27967c37657c3c56003cba63cbbe71fef185bb62ec6ab9ecb0114ba794505ca235e9b1ece485bc51f
|
7
|
+
data.tar.gz: d7b1be90668b397a9f98f7208607f70be651bc1aacc4962fad690939d6d1abf79a6bf3215eb0e7ac5b50c787028d08c65985457cb49d97263ab58ca1baf3d0f2
|
data/lib/dominate/assets.rb
CHANGED
@@ -56,9 +56,9 @@ module Dominate
|
|
56
56
|
content += Dominate::HTML.load_file path
|
57
57
|
end
|
58
58
|
tmp_path = "#{type_path}/tmp.dominate-compiled.#{type}"
|
59
|
-
File.write
|
60
|
-
|
61
|
-
|
59
|
+
File.write tmp_path, content
|
60
|
+
system "minify #{tmp_path} > #{type_path}/dominate-compiled.#{type}"
|
61
|
+
File.delete tmp_path
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|
data/lib/dominate/version.rb
CHANGED