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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08ca49391827d294cadcc43751da092f9589bf6c
4
- data.tar.gz: 8453341f83eef48ef91f0fb9167a80fb50ff72fa
3
+ metadata.gz: 49cdf2294a05af24698110f3e7a175d6a107dced
4
+ data.tar.gz: b2d8431052dd2b5bb83106add040f3c16debad1b
5
5
  SHA512:
6
- metadata.gz: b9a1f0373f7954394030aa98b40a139bfc9d276c396c24246b07d2e88be4797f74423c62c3333d69f61573ecb8d75358f6f04fd83c68c2911ba46b9a8541f254
7
- data.tar.gz: cc5af7486f4601377d25b3c5d43ef590f00b20abd7d1d17375a6d9e391904dc0e36bab2ff6a3dcfb8b2a48e96677f650c0d19fe89d20d006315396d98a390231
6
+ metadata.gz: 92189e728cef6016bf1bd194de795a30cc26d28b3480b0dc866f540356727473436c04eb740b76a9724a6ec7dc51cef15e0e0fad8dcb4af3faf3ee21a79c1228
7
+ data.tar.gz: 8fd9343060442866860192470b8d03707585f489217cbd9deb06d3abae51c1def0ba1d86067173c0041febbe8e0963796eaf7a96b094702abeffe6748ca141cb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- maglove (1.1.0)
4
+ maglove (1.1.1)
5
5
  actionpack (>= 4.0)
6
6
  activesupport (>= 4.0)
7
7
  bundler (~> 1.10)
@@ -1,3 +1,3 @@
1
1
  module MagLove
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
@@ -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
- set(CSSminify.compress(contents))
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