autoprefixer-rails 5.1.4 → 5.1.5

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: 0373ccae3a6883c8f737f10811840bceea622d9f
4
- data.tar.gz: afb2d7ef36447c7120345ba438fbd1121b34c033
3
+ metadata.gz: e1ef860a86e8117d666a2ceeb08e2cf248e50ae1
4
+ data.tar.gz: 182b6ada535028fc3219a7e8fbb5500b1011b8b5
5
5
  SHA512:
6
- metadata.gz: cdd961a79beeeb64e6639544703427200a65acb84848e3b5f402dce492d0667dd687737768b42084a5a0d09bb126349159cd525babc2d4b5ade82f7f61049043
7
- data.tar.gz: 8daef87d6165fb11cedaba2a47b1d4ab9f1af8e76c0dd2bbad26dd1176e7ad1bea55579369cae5da88827f8c0e150dc073b192ec3a2d9c4e123e0ff28a658b78
6
+ metadata.gz: d3e127e80908858b6341b53ed89463b8d44d38fba5feb940c378f9a9da3ae73f65877b2ec31804d008ea3fb291ab739aa66e32361e7bee695d92b4b3bba826a1
7
+ data.tar.gz: 40f3942d036e92bdcf49519c15be3d27bd47071d0a313096e7dd2dba37f733ecad915b0742f0041fe90d9ad5d634c4761a995c036ed6c19944c86f360eef39ab
data/ChangeLog.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 5.1.5
2
+ * Add transition support for CSS Masks properties.
3
+
1
4
  # 5.1.4
2
5
  * Use `-webkit-` prefix for Opera Mobile 24.
3
6
 
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = '5.1.4'.freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = '5.1.5'.freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
@@ -444,7 +444,11 @@
444
444
  });
445
445
 
446
446
  feature(require('caniuse-db/features-json/css-masks'), function(browsers) {
447
- return prefix('clip-path', 'mask', 'mask-clip', 'mask-composite', 'mask-image', 'mask-origin', 'mask-position', 'mask-repeat', 'mask-size', {
447
+ prefix('mask-clip', 'mask-composite', 'mask-image', 'mask-origin', 'mask-repeat', {
448
+ browsers: browsers
449
+ });
450
+ return prefix('clip-path', 'mask', 'mask-position', 'mask-size', {
451
+ transition: true,
448
452
  browsers: browsers
449
453
  });
450
454
  });
@@ -656,16 +660,14 @@
656
660
  };
657
661
 
658
662
  Browsers.prototype.prefix = function(browser) {
659
- var name, version, _ref;
663
+ var data, name, prefix, version, _ref;
660
664
  _ref = browser.split(' '), name = _ref[0], version = _ref[1];
661
- version = parseFloat(version);
662
- if (name === 'opera' && version < 15) {
663
- return '-o-';
664
- } else if (name === 'op_mob' && version >= 15) {
665
- return '-webkit-';
666
- } else {
667
- return '-' + this.data[name].prefix + '-';
665
+ data = this.data[name];
666
+ if (data.prefix_exceptions) {
667
+ prefix = data.prefix_exceptions[version];
668
668
  }
669
+ prefix || (prefix = data.prefix);
670
+ return '-' + prefix + '-';
669
671
  };
670
672
 
671
673
  Browsers.prototype.isSelected = function(browser) {
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.1.4
4
+ version: 5.1.5
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-02-07 00:00:00.000000000 Z
11
+ date: 2015-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs