autoprefixer-rails 8.5.1 → 8.5.2

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
  SHA256:
3
- metadata.gz: 601c363ea962cfc08ed01acbd245a24b79fb25dd1765b20148ebe83c67bf70b2
4
- data.tar.gz: 381551a4a1c10b1cbed5cfd79a8894333839b630dcd0e3c35512f55bdce18414
3
+ metadata.gz: 77850adf4a5a02c41bc792138db29e4296f0eefcfac941fcaf2c7c809591960a
4
+ data.tar.gz: f46425ef4a91ca6c156f2daa5e54fdb693d39bf7102174ca53e74fe403adaa9d
5
5
  SHA512:
6
- metadata.gz: b2413c7e1f7175d72294bd6389440da134450242847471a220b73187349572af8c08bb1042b9f82d25265995de87ee812ca105aac60fb14a1dfbd8b294b737bc
7
- data.tar.gz: 423e5135a0dff6684cf06c63b6af6395927c2f5d5f6ce5ede157c871149299f46deaeed271f8caae45570bee666c2e160ca148b62e432a23e78ff1357d1b8c00
6
+ metadata.gz: e25a9a31d5a777dd36818cd11a73a92ffc245aaa678b3e4e5cfba2966a0dbc0015f6bf5455ac7938fd26555596da7bfb32c4d0604f04057c1f5381a114003ef1
7
+ data.tar.gz: a18ee15ec3ca3c740577fcd9ef61378bf061cd08120517784ec7e6d423d0b86006b7d4235e004850690790e3bea27ce0bc1f535e7821c9885186bbb6cfccfeee
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.5.2
4
+ * Fix `grid-template` support wit auto row sizes (by Yury Timofeev).
5
+
3
6
  ## 8.5.1
4
7
  * Remove unnecessary warning on `-webkit-fill-available`.
5
8
 
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = '8.5.1'.freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = '8.5.2'.freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
@@ -5085,6 +5085,13 @@ function testTrack(node) {
5085
5085
  return node.type === 'word' && /^\[.+\]$/.test(node.value);
5086
5086
  }
5087
5087
 
5088
+ function verifyRowSize(result) {
5089
+ if (result.areas.length > result.rows.length) {
5090
+ result.rows.push('auto');
5091
+ }
5092
+ return result;
5093
+ }
5094
+
5088
5095
  function parseTemplate(_ref7) {
5089
5096
  var decl = _ref7.decl,
5090
5097
  gap = _ref7.gap;
@@ -5097,6 +5104,7 @@ function parseTemplate(_ref7) {
5097
5104
 
5098
5105
  // area
5099
5106
  if (type === 'string') {
5107
+ result = verifyRowSize(result);
5100
5108
  result.areas.push(value);
5101
5109
  }
5102
5110
 
@@ -5108,6 +5116,7 @@ function parseTemplate(_ref7) {
5108
5116
  // devider(/)
5109
5117
  if (type === 'div' && value === '/') {
5110
5118
  result.key = 'columns';
5119
+ result = verifyRowSize(result);
5111
5120
  }
5112
5121
 
5113
5122
  return result;
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: 8.5.1
4
+ version: 8.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-25 00:00:00.000000000 Z
11
+ date: 2018-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs