autoprefixer-rails 5.0.0 → 5.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/ChangeLog.md +3 -0
- data/lib/autoprefixer-rails/processor.rb +4 -3
- data/lib/autoprefixer-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d8f87c43c9e909e0fe7e274849bc018c329b90d
|
4
|
+
data.tar.gz: 9dac917e2dfae8db7adc575ba006ec7d00bd626d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba78d79b9295a599dd1f1f7e9aff6f0c1a3b64b9213b66ac4a682509c70a82670ab23b5e21c4cba92d791bca7b00ae8cc7b8a0aed64ffa6e4438073b9fc3a531
|
7
|
+
data.tar.gz: 6646313e0c877cbeb550ca0ce4560836e868e3ccc897a438aa8be5fe26a28ede6576266d991bcd6c7d91969614bc7771c7ee492911bcab2ce78f3107b8eba9c0
|
data/.travis.yml
CHANGED
data/ChangeLog.md
CHANGED
@@ -17,8 +17,9 @@ module AutoprefixerRails
|
|
17
17
|
def process(css, opts = {})
|
18
18
|
opts = convert_options(opts)
|
19
19
|
|
20
|
-
|
21
|
-
|
20
|
+
result = runtime.exec(
|
21
|
+
"processor = autoprefixer(#{ js_params(opts[:from]) });" +
|
22
|
+
"return eval(process.apply(this, #{::JSON.generate([css,opts])}));")
|
22
23
|
|
23
24
|
Result.new(result['css'], result['map'])
|
24
25
|
end
|
@@ -106,7 +107,7 @@ module AutoprefixerRails
|
|
106
107
|
# Return JS code for process method proxy
|
107
108
|
def process_proxy
|
108
109
|
<<-JS
|
109
|
-
|
110
|
+
var processor;
|
110
111
|
var process = function() {
|
111
112
|
var result = processor.process.apply(processor, arguments);
|
112
113
|
var map = result.map ? result.map.toString() : null;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoprefixer-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.0
|
4
|
+
version: 5.0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Sitnik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|