autoprefixer-rails 7.2.0 → 7.2.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: 7069c92fb41dbede9955cbc4581e7e7eec5da20a
4
- data.tar.gz: c9d69a15704a7b313fcd5807084be602b088ba3e
3
+ metadata.gz: 74bc6d0d67db63106ff3c9dd601dffd1f0990cac
4
+ data.tar.gz: 570af2e470fa82dab56f9535413fde0508f68e93
5
5
  SHA512:
6
- metadata.gz: cdce9cc1607e53c8cad1109b8c53015e73cb6a3cc0fa3f2bdc471e9749ff10ce4b35aa2d9495b91edc070a3a48386fa1a7065b185c12b5bd7dafb6fc11fc23b0
7
- data.tar.gz: aa000f664ebd66ccb698b12c5ccb1571014dd079818bacca777c8e9ec714c7c5e0e97f08821116a4457b9510ee0c2d247687054ddda94ba57d95e7ca3c7e496e
6
+ metadata.gz: 056f41adeec6d5537beeb89b46a431105f8532dd8ffe7167ed4564d19ac6e0f959c97ac8c762e9ab6d1a585c3d1f02ae75fbe506aa3868243d378c81a5e17736
7
+ data.tar.gz: 74478792a74a0abce6bae640f41cbe1af3a623177375fcbacefe77739cfce6fe4bde612ca5e2f0383b678ebe974e35fafd15974d103019fe8bc9986164998098
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.2.1
4
+ * Fix IE and other old JS runtimes support.
5
+
3
6
  ## 7.2 “Ordem e Progresso”
4
7
  * Add `grid-template-areas` support (by Evgeny Petukhov).
5
8
  * Add `grid-template` support (by Evgeny Petukhov).
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = '7.2.0'.freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = '7.2.1'.freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
data/spec/railtie_spec.rb CHANGED
@@ -18,7 +18,7 @@ describe AutoprefixedRails::Railtie do
18
18
  allow(::YAML).to receive(:load_file).with(file_path) { false } # empty yaml
19
19
  end
20
20
 
21
- it 'skips empty yaml' do
21
+ it 'skips empty YAML' do
22
22
  expect { @railtie.config }.not_to raise_error
23
23
  end
24
24
 
@@ -1689,10 +1689,17 @@ var Animation = function (_Declaration) {
1689
1689
  * Don’t add prefixes for modern values.
1690
1690
  */
1691
1691
  Animation.prototype.check = function check(decl) {
1692
- return !decl.value.split(/\s+/).find(function (i) {
1692
+ var found = false;
1693
+ decl.value.split(/\s+/).forEach(function (i) {
1693
1694
  var lower = i.toLowerCase();
1694
- return lower === 'reverse' || lower === 'alternate-reverse';
1695
+ if (lower === 'reverse' || lower === 'alternate-reverse') {
1696
+ found = true;
1697
+ return false;
1698
+ } else {
1699
+ return true;
1700
+ }
1695
1701
  });
1702
+ return !found;
1696
1703
  };
1697
1704
 
1698
1705
  return Animation;
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: 7.2.0
4
+ version: 7.2.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: 2017-12-03 00:00:00.000000000 Z
11
+ date: 2017-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs