gridle 2.0.45 → 2.0.46

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: c92a05bad78d0ee99a46d7a8de0b46c7575bf44a
4
- data.tar.gz: cb0eba8b1f2b143dc87abc3613a998cea9ae725c
3
+ metadata.gz: 6cef087ff25b2ad056296a93292def92de02bd70
4
+ data.tar.gz: a7dcd80b83b20207a782208af3a41d9325ddbcbd
5
5
  SHA512:
6
- metadata.gz: e5e6e0c7da9d366f76c91b6cdb3e4ff327db7873f3ba7ebbc7b37c6132fa206beeedef6de51b9fa4a79bc7ad6d85eb0b0ba0afa2494cf00cad621face2c4e04e
7
- data.tar.gz: 09943c67ae9db9371f64563d9358566688fd9bbe776b47f5c88b26cfde5a436ca3eee8934a453c0a387a8e8dd05a06b1d152b3b677172956d92814b5b8ea595e
6
+ metadata.gz: 7e8ea6d8479dce96470bee379c770ce31d6a42b3d3460b1a8bdbd116fd0894460b563d26d0ccf9be1943bef332aa4ae6962b1104773471dd95c202901fa9c40d
7
+ data.tar.gz: 9e2cb71c9df7ed478691e07cd7afaa21f8e687a5552537eee1cd7634daf2a94a95f81bf02975ef1dc6676bceeb6205d31728604b6836cec5510225f52928e352
@@ -17,8 +17,8 @@ Compass::Frameworks.register('gridle', :path => extension_path)
17
17
  # a prerelease version
18
18
  # Date is in the form of YYYY-MM-DD
19
19
  module Extension
20
- VERSION = "2.0.45"
21
- DATE = "2016-04-18"
20
+ VERSION = "2.0.46"
21
+ DATE = "2016-04-29"
22
22
  end
23
23
 
24
24
  # This is where any custom SassScript should be placed. The functions will be
@@ -1028,11 +1028,13 @@
1028
1028
 
1029
1029
  // loop on each states
1030
1030
  @each $stateName, $props in $map {
1031
- $props_map : _gridle_parse_gridle_mixin_list($props);
1032
- @if type-of($props_map) == map {
1033
- $map : map-set($map, $stateName, $props_map);
1034
- } @else {
1035
- $map : map-set($map, $stateName, null);
1031
+ @if length($props) > 0 {
1032
+ $props_map : _gridle_parse_gridle_mixin_list($props);
1033
+ @if type-of($props_map) == map {
1034
+ $map : map-set($map, $stateName, $props_map);
1035
+ } @else {
1036
+ $map : map-set($map, $stateName, null);
1037
+ }
1036
1038
  }
1037
1039
  }
1038
1040
 
@@ -213,8 +213,10 @@
213
213
  #{_gridle_classname(row, $state)} {
214
214
  @include gridle_row(false);
215
215
  }
216
- #{_gridle_classname(row, $state, reverse)} {
217
- @include gridle_row(true);
216
+ @if gridle_is_driver(flex) {
217
+ #{_gridle_classname(row, $state, reverse)} {
218
+ @include gridle_row(true);
219
+ }
218
220
  }
219
221
  }
220
222
 
@@ -228,8 +230,10 @@
228
230
  #{_gridle_classname(col, $state)} {
229
231
  @include gridle_col(false);
230
232
  }
231
- #{_gridle_classname(col, $state, reverse)} {
232
- @include gridle_col(true);
233
+ @if gridle_is_driver(flex) {
234
+ #{_gridle_classname(col, $state, reverse)} {
235
+ @include gridle_col(true);
236
+ }
233
237
  }
234
238
  }
235
239
 
@@ -1,9 +1,9 @@
1
1
  // |------------------------------------------------------
2
2
  // |------------------------------------------------------
3
3
  // @created 25.03.13
4
- // @updated 18.04.16
4
+ // @updated 29.04.16
5
5
  // @author Olivier Bossel <olivier.bossel@gmail.com>
6
- // @version 2.0.45
6
+ // @version 2.0.46
7
7
  // |------------------------------------------------------
8
8
  // |------------------------------------------------------
9
9
 
@@ -16,7 +16,7 @@
16
16
  // |------------------------------------------------------
17
17
  // |------------------------------------------------------
18
18
 
19
- $_gridle-version : "2.0.45";
19
+ $_gridle-version : "2.0.46";
20
20
 
21
21
 
22
22
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gridle
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.45
4
+ version: 2.0.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Bossel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-18 00:00:00.000000000 Z
11
+ date: 2016-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass