maglove 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/maglove/version.rb +1 -1
- data/lib/workspace/workspace_file.rb +3 -1
- data/vendor/autoprefixer.js +33550 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49cdf2294a05af24698110f3e7a175d6a107dced
|
4
|
+
data.tar.gz: b2d8431052dd2b5bb83106add040f3c16debad1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92189e728cef6016bf1bd194de795a30cc26d28b3480b0dc866f540356727473436c04eb740b76a9724a6ec7dc51cef15e0e0fad8dcb4af3faf3ee21a79c1228
|
7
|
+
data.tar.gz: 8fd9343060442866860192470b8d03707585f489217cbd9deb06d3abae51c1def0ba1d86067173c0041febbe8e0963796eaf7a96b094702abeffe6748ca141cb
|
data/Gemfile.lock
CHANGED
data/lib/maglove/version.rb
CHANGED
@@ -111,7 +111,9 @@ module Workspace
|
|
111
111
|
if extension == "js"
|
112
112
|
set(Closure::Compiler.new.compile(contents))
|
113
113
|
elsif extension == "css"
|
114
|
-
|
114
|
+
runtime = ExecJS.compile(Pathname(File.dirname(__FILE__)).join("../../vendor/autoprefixer.js").read)
|
115
|
+
results = runtime.call("(function(css) { return autoprefixer.process(css).css; })", [contents])
|
116
|
+
set(CSSminify.compress(results))
|
115
117
|
end
|
116
118
|
self
|
117
119
|
end
|