autoprefixer-rails 5.1.3.1 → 5.1.4

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: 9c2a75b850fee32edb481670550574834e587462
4
- data.tar.gz: 26f151f28e3be510839af2d290c5cff33c01eea9
3
+ metadata.gz: 0373ccae3a6883c8f737f10811840bceea622d9f
4
+ data.tar.gz: afb2d7ef36447c7120345ba438fbd1121b34c033
5
5
  SHA512:
6
- metadata.gz: 40deb9516a021d9c8d2ac762f8d52c5ed3745392accdb32347e5d2fe51e2e39082c8754d9e90d2833de15f0165698fcd5e54ff9d75e21ac57e7e9c5cb7782cb9
7
- data.tar.gz: b1af2a6d89295472b3211324dce5e7c71f1625283bb0e682e38e7a29b54e7ea4d0a8fdbd8d4b297a070e1904eab65d2310fd305dda8caebaea43f90086ba1113
6
+ metadata.gz: cdd961a79beeeb64e6639544703427200a65acb84848e3b5f402dce492d0667dd687737768b42084a5a0d09bb126349159cd525babc2d4b5ade82f7f61049043
7
+ data.tar.gz: 8daef87d6165fb11cedaba2a47b1d4ab9f1af8e76c0dd2bbad26dd1176e7ad1bea55579369cae5da88827f8c0e150dc073b192ec3a2d9c4e123e0ff28a658b78
@@ -1,3 +1,6 @@
1
+ # 5.1.4
2
+ * Use `-webkit-` prefix for Opera Mobile 24.
3
+
1
4
  # 5.1.3.1
2
5
  * Fix Rails 5 support (by Joshua Peek).
3
6
 
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = '5.1.3.1'.freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = '5.1.4'.freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
@@ -658,8 +658,11 @@
658
658
  Browsers.prototype.prefix = function(browser) {
659
659
  var name, version, _ref;
660
660
  _ref = browser.split(' '), name = _ref[0], version = _ref[1];
661
- if (name === 'opera' && parseFloat(version) < 15) {
661
+ version = parseFloat(version);
662
+ if (name === 'opera' && version < 15) {
662
663
  return '-o-';
664
+ } else if (name === 'op_mob' && version >= 15) {
665
+ return '-webkit-';
663
666
  } else {
664
667
  return '-' + this.data[name].prefix + '-';
665
668
  }
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.3.1
4
+ version: 5.1.4
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-05 00:00:00.000000000 Z
11
+ date: 2015-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs