autoprefixer-rails 1.1.20140430 → 1.1.20140510

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: 61210645ed51f19540a285272f69f4d9d505a9b5
4
- data.tar.gz: 7747f3fa697087734319489cfa53c2667291a3b4
3
+ metadata.gz: f3469fc096d6552882810d6d140537d77ba78341
4
+ data.tar.gz: 5996b8041122ee5873c1f3d85b4675efb537896c
5
5
  SHA512:
6
- metadata.gz: 6fb106502432919261d83ff790c55ad7fa3bc25328b9394f8a94f4186a81b73bc852649c705bbce036db9f200cf897f3f931b61a4e4cf61095dfdebd0cdaae28
7
- data.tar.gz: 39850ed1820009d625c1d3804dae0913221cb68ba76a415498baf568e89fffa6bbcc24faf82daf940ee3e22cc62317ab6c8e0eb332eaae8d4fca83d508df4bc5
6
+ metadata.gz: d0a9c94952ccf4144110962b0088b3d1346deab696a7eaf03d4d7827388c43d1571264dc3b758ca33ce4f960d084c7c79d2df360b0df1a2e1a4f95af9bdc1685
7
+ data.tar.gz: 9bd4798a4eb87550a4e948a563a5056e962882888957d4a144e32bd34e47893b7aa9ac53ad9b0c7d82c139fd353d2f4904f5ecca21e5a27a3c2d53566324d04c
data/ChangeLog.md CHANGED
@@ -54,6 +54,10 @@
54
54
  * Firefox 29 is moved to released versions.
55
55
  * Add Firefox 32 data.
56
56
 
57
+ ### 20140510
58
+ * Do not add `-ms-` prefix for `transform` with 3D functions.
59
+ * Update browsers global usage statistics.
60
+
57
61
  ## 1.0 “Plus ultra”
58
62
  * Source map support.
59
63
  * Save origin indents and code formatting.
data/Gemfile CHANGED
@@ -9,6 +9,5 @@ gem 'rspec-rails'
9
9
  gem 'therubyrhino', platforms: 'jruby'
10
10
  gem 'therubyracer', platforms: ['mri', 'rbx']
11
11
 
12
- gem 'racc', platforms: 'rbx'
13
- gem 'rubysl', platforms: 'rbx'
14
- gem 'rubysl-test-unit', platforms: 'rbx'
12
+ gem 'racc', platforms: 'rbx'
13
+ gem 'rubysl', platforms: 'rbx'
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = '1.1.20140430'.freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = '1.1.20140510'.freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
@@ -5,46 +5,46 @@
5
5
  prefix: "-webkit-",
6
6
  minor: true,
7
7
  versions: [4.4, 4.3, 4.2, 4.1, 4, 3, 2.3, 2.2, 2.1],
8
- popularity: [0.342673, 0.89871, 0.89871, 2.22414, 0.92457, 0.00646552, 1.15086, 0.0711207, 0.0258621]
8
+ popularity: [0.337062, 0.858555, 0.858555, 2.18772, 0.909432, 0.00635967, 1.13202, 0.0699563, 0.0254387]
9
9
  },
10
10
  bb: {
11
11
  prefix: "-webkit-",
12
12
  minor: true,
13
13
  versions: [10, 7],
14
- popularity: [0, 0.13409]
14
+ popularity: [0, 0.113215]
15
15
  },
16
16
  chrome: {
17
17
  prefix: "-webkit-",
18
18
  future: [37, 36, 35],
19
19
  versions: [34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4],
20
- popularity: [0.171534, 28.4597, 1.56618, 1.07395, 0.253572, 0.440022, 0.201366, 0.328152, 0.193908, 0.089496, 0.052206, 0.067122, 0.126786, 0.454938, 0.03729, 0.029832, 0.067122, 0.022374, 0.03729, 0.052206, 0.044748, 0.044748, 0.052206, 0.119328, 0.029832, 0.014916, 0.022374, 0.022374, 0.029832, 0.022374, 0.022374]
20
+ popularity: [19.4573, 11.5844, 0.71231, 0.809784, 0.239936, 0.41239, 0.172454, 0.457378, 0.172454, 0.082478, 0.052486, 0.067482, 0.11247, 0.48737, 0.03749, 0.022494, 0.067482, 0.022494, 0.029992, 0.052486, 0.03749, 0.044988, 0.052486, 0.11247, 0.029992, 0.014996, 0.022494, 0.014996, 0.022494, 0.022494, 0.022494]
21
21
  },
22
22
  ff: {
23
23
  prefix: "-moz-",
24
24
  future: [32, 31, 30],
25
25
  versions: [29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3.6, 3.5, 3, 2],
26
- popularity: [0.134244, 1.82721, 10.2175, 0.454938, 0.171534, 0.238656, 0.119328, 0.11187, 0.156618, 0.096954, 0.082038, 0.089496, 0.11187, 0.156618, 0.096954, 0.067122, 0.067122, 0.156618, 0.067122, 0.082038, 0.03729, 0.052206, 0.029832, 0.03729, 0.029832, 0.044748, 0.201366, 0.029832, 0.096954, 0.014916]
26
+ popularity: [0.48737, 11.382, 0.63733, 0.269928, 0.134964, 0.232438, 0.097474, 0.104972, 0.22494, 0.089976, 0.07498, 0.059984, 0.104972, 0.142462, 0.082478, 0.059984, 0.059984, 0.142462, 0.059984, 0.067482, 0.03749, 0.052486, 0.029992, 0.03749, 0.029992, 0.044988, 0.179952, 0.029992, 0.07498, 0.007498]
27
27
  },
28
28
  ie: {
29
29
  prefix: "-ms-",
30
30
  versions: [11, 10, 9, 8, 7, 6, 5.5],
31
- popularity: [7.01035, 3.21991, 2.94638, 5.2519, 0.195383, 0.461104, 0.009298]
31
+ popularity: [7.0483, 3.02851, 2.78654, 4.76912, 0.163914, 0.288801, 0.009298]
32
32
  },
33
33
  ios: {
34
34
  prefix: "-webkit-",
35
35
  versions: [7, 6.1, 6, 5.1, 5, 4.3, 4.2, 4.1, 4, 3.2],
36
- popularity: [4.68985, 0.397055, 0.397055, 0.120843, 0.120843, 0.01150885, 0.01150885, 0.0057544, 0.0057544, 0]
36
+ popularity: [4.58455, 0.3607695, 0.3607695, 0.113781, 0.113781, 0.0111006, 0.0111006, 0.0055503, 0.0055503, 0]
37
37
  },
38
38
  opera: {
39
39
  prefix: "-o-",
40
40
  future: [22, 21],
41
41
  versions: [20, 19, 18, 17, 16, 15, 12.1, 12, 11.6, 11.5, 11.1, 11, 10.6, 10.5, 10.1, 10, 9.6, 9.5],
42
- popularity: [0.350526, 0.11187, 0.044748, 0.014916, 0.014916, 0.014916, 0.365442, 0.029832, 0.022374, 0.007458, 0.008219, 0.022374, 0.007458, 0.008392, 0.011187, 0.011187, 0.003729, 0.003729]
42
+ popularity: [0.464876, 0.03749, 0.029992, 0.014996, 0.007498, 0.007498, 0.367402, 0.029992, 0.014996, 0.007498, 0.008219, 0.014996, 0.014996, 0.008392, 0.003749, 0.003749, 0.003749, 0.003749]
43
43
  },
44
44
  safari: {
45
45
  prefix: "-webkit-",
46
46
  versions: [7, 6.1, 6, 5.1, 5, 4, 3.2, 3.1],
47
- popularity: [1.42448, 0.723426, 0.432564, 0.842754, 0.246114, 0.134244, 0.008692, 0]
47
+ popularity: [1.57458, 0.67482, 0.41239, 0.794788, 0.232438, 0.11247, 0.008692, 0]
48
48
  }
49
49
  };
50
50
 
@@ -2092,6 +2092,8 @@
2092
2092
 
2093
2093
  TransformDecl.names = ['transform', 'transform-origin'];
2094
2094
 
2095
+ TransformDecl.functions3d = ['matrix3d', 'translate3d', 'translateZ', 'scale3d', 'scaleZ', 'rotate3d', 'rotateX', 'rotateY', 'rotateZ', 'perspective'];
2096
+
2095
2097
  TransformDecl.prototype.keykrameParents = function(decl) {
2096
2098
  var parent;
2097
2099
  parent = decl.parent;
@@ -2104,8 +2106,24 @@
2104
2106
  return false;
2105
2107
  };
2106
2108
 
2109
+ TransformDecl.prototype.contain3d = function(decl) {
2110
+ var func, _i, _len, _ref;
2111
+ _ref = TransformDecl.functions3d;
2112
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
2113
+ func = _ref[_i];
2114
+ if (decl.value.indexOf("" + func + "(") !== -1) {
2115
+ return true;
2116
+ }
2117
+ }
2118
+ return false;
2119
+ };
2120
+
2107
2121
  TransformDecl.prototype.insert = function(decl, prefix, prefixes) {
2108
- if (prefix !== '-ms-' || !this.keykrameParents(decl)) {
2122
+ if (prefix === '-ms-') {
2123
+ if (!this.contain3d(decl) && !this.keykrameParents(decl)) {
2124
+ return TransformDecl.__super__.insert.apply(this, arguments);
2125
+ }
2126
+ } else {
2109
2127
  return TransformDecl.__super__.insert.apply(this, arguments);
2110
2128
  }
2111
2129
  };
@@ -3248,68 +3266,6 @@
3248
3266
  },{"./old-value":34,"./prefixer":35,"./utils":39,"postcss/lib/vendor":59}],41:[function(_dereq_,module,exports){
3249
3267
 
3250
3268
  },{}],42:[function(_dereq_,module,exports){
3251
- // shim for using process in browser
3252
-
3253
- var process = module.exports = {};
3254
-
3255
- process.nextTick = (function () {
3256
- var canSetImmediate = typeof window !== 'undefined'
3257
- && window.setImmediate;
3258
- var canPost = typeof window !== 'undefined'
3259
- && window.postMessage && window.addEventListener
3260
- ;
3261
-
3262
- if (canSetImmediate) {
3263
- return function (f) { return window.setImmediate(f) };
3264
- }
3265
-
3266
- if (canPost) {
3267
- var queue = [];
3268
- window.addEventListener('message', function (ev) {
3269
- var source = ev.source;
3270
- if ((source === window || source === null) && ev.data === 'process-tick') {
3271
- ev.stopPropagation();
3272
- if (queue.length > 0) {
3273
- var fn = queue.shift();
3274
- fn();
3275
- }
3276
- }
3277
- }, true);
3278
-
3279
- return function nextTick(fn) {
3280
- queue.push(fn);
3281
- window.postMessage('process-tick', '*');
3282
- };
3283
- }
3284
-
3285
- return function nextTick(fn) {
3286
- setTimeout(fn, 0);
3287
- };
3288
- })();
3289
-
3290
- process.title = 'browser';
3291
- process.browser = true;
3292
- process.env = {};
3293
- process.argv = [];
3294
-
3295
- function noop() {}
3296
-
3297
- process.on = noop;
3298
- process.once = noop;
3299
- process.off = noop;
3300
- process.emit = noop;
3301
-
3302
- process.binding = function (name) {
3303
- throw new Error('process.binding is not supported');
3304
- }
3305
-
3306
- // TODO(shtylman)
3307
- process.cwd = function () { return '/' };
3308
- process.chdir = function (dir) {
3309
- throw new Error('process.chdir is not supported');
3310
- };
3311
-
3312
- },{}],43:[function(_dereq_,module,exports){
3313
3269
  (function (process){
3314
3270
  // Copyright Joyent, Inc. and other Node contributors.
3315
3271
  //
@@ -3536,8 +3492,73 @@ var substr = 'ab'.substr(-1) === 'b'
3536
3492
  }
3537
3493
  ;
3538
3494
 
3539
- }).call(this,_dereq_("/home/ai/Dev/autoprefixer/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))
3540
- },{"/home/ai/Dev/autoprefixer/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":42}],44:[function(_dereq_,module,exports){
3495
+ }).call(this,_dereq_("+xKvab"))
3496
+ },{"+xKvab":43}],43:[function(_dereq_,module,exports){
3497
+ // shim for using process in browser
3498
+
3499
+ var process = module.exports = {};
3500
+
3501
+ process.nextTick = (function () {
3502
+ var canSetImmediate = typeof window !== 'undefined'
3503
+ && window.setImmediate;
3504
+ var canPost = typeof window !== 'undefined'
3505
+ && window.postMessage && window.addEventListener
3506
+ ;
3507
+
3508
+ if (canSetImmediate) {
3509
+ return function (f) { return window.setImmediate(f) };
3510
+ }
3511
+
3512
+ if (canPost) {
3513
+ var queue = [];
3514
+ window.addEventListener('message', function (ev) {
3515
+ var source = ev.source;
3516
+ if ((source === window || source === null) && ev.data === 'process-tick') {
3517
+ ev.stopPropagation();
3518
+ if (queue.length > 0) {
3519
+ var fn = queue.shift();
3520
+ fn();
3521
+ }
3522
+ }
3523
+ }, true);
3524
+
3525
+ return function nextTick(fn) {
3526
+ queue.push(fn);
3527
+ window.postMessage('process-tick', '*');
3528
+ };
3529
+ }
3530
+
3531
+ return function nextTick(fn) {
3532
+ setTimeout(fn, 0);
3533
+ };
3534
+ })();
3535
+
3536
+ process.title = 'browser';
3537
+ process.browser = true;
3538
+ process.env = {};
3539
+ process.argv = [];
3540
+
3541
+ function noop() {}
3542
+
3543
+ process.on = noop;
3544
+ process.addListener = noop;
3545
+ process.once = noop;
3546
+ process.off = noop;
3547
+ process.removeListener = noop;
3548
+ process.removeAllListeners = noop;
3549
+ process.emit = noop;
3550
+
3551
+ process.binding = function (name) {
3552
+ throw new Error('process.binding is not supported');
3553
+ }
3554
+
3555
+ // TODO(shtylman)
3556
+ process.cwd = function () { return '/' };
3557
+ process.chdir = function (dir) {
3558
+ throw new Error('process.chdir is not supported');
3559
+ };
3560
+
3561
+ },{}],44:[function(_dereq_,module,exports){
3541
3562
  (function() {
3542
3563
  var AtRule, Container, name, _fn, _i, _len, _ref,
3543
3564
  __hasProp = {}.hasOwnProperty,
@@ -4391,7 +4412,7 @@ var substr = 'ab'.substr(-1) === 'b'
4391
4412
 
4392
4413
  }).call(this);
4393
4414
 
4394
- },{"./lazy":48,"./result":55,"base64-js":60,"fs":41,"path":43,"source-map":61}],51:[function(_dereq_,module,exports){
4415
+ },{"./lazy":48,"./result":55,"base64-js":60,"fs":41,"path":42,"source-map":61}],51:[function(_dereq_,module,exports){
4395
4416
  (function() {
4396
4417
  var Node, Raw, clone, keys,
4397
4418
  __hasProp = {}.hasOwnProperty;
@@ -7773,7 +7794,7 @@ function amdefine(module, requireFn) {
7773
7794
 
7774
7795
  module.exports = amdefine;
7775
7796
 
7776
- }).call(this,_dereq_("/home/ai/Dev/autoprefixer/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"/../node_modules/postcss/node_modules/source-map/node_modules/amdefine/amdefine.js")
7777
- },{"/home/ai/Dev/autoprefixer/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":42,"path":43}]},{},[3])
7797
+ }).call(this,_dereq_("+xKvab"),"/../node_modules/postcss/node_modules/source-map/node_modules/amdefine/amdefine.js")
7798
+ },{"+xKvab":43,"path":42}]},{},[3])
7778
7799
  (3)
7779
7800
  });
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: 1.1.20140430
4
+ version: 1.1.20140510
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-30 00:00:00.000000000 Z
11
+ date: 2014-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs