gridle 1.3.35 → 1.3.36

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: 0c5a36c9fa41af697b19cd1aff401fb5ada19ab8
4
- data.tar.gz: 96a7e6e48adc58689efa3f0746d7260647a1ee4b
3
+ metadata.gz: 5d68396f1c693b71b910522dea610bc26bdd919a
4
+ data.tar.gz: 16a62efe88e3ec35a7608a159ea4e4c165a219bf
5
5
  SHA512:
6
- metadata.gz: 9893c0c849a4731d464bca731496e4aee8807e3f9df9eb85f0d83477d6a6d6265bfea30e571d1e67db9af7e3cadc285970a15896c8ad490885b112faa7434cc9
7
- data.tar.gz: b7d5f9d76fef43c30af08700633fe036411622c309a14d837e7d56e0f017a3ba7c47f5eb8e34d98b6cb76e60623b9ed8af52d655b3afc124af456fa31d9e9c31
6
+ metadata.gz: 5a7beb95cc5f34ccc8c14f8102bb85dabfc6190ea9356416ef25464592ca8987d91c2d1d5be5df226144b71d57417a9c95aa30256a5d6f24f80b57652e33df26
7
+ data.tar.gz: f8e1a705ab5a2b1fd4406dc14348e1e3719e7598032c625fb40da391d74366c9ebb80db5d2d619bb9e14f864e0a7df40719564b2a5b560192a8c27852ed55314
@@ -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 = "1.3.35"
21
- DATE = "2015-01-06"
20
+ VERSION = "1.3.36"
21
+ DATE = "2015-01-29"
22
22
  end
23
23
 
24
24
  # This is where any custom SassScript should be placed. The functions will be
@@ -80,10 +80,10 @@
80
80
  ) {
81
81
  // check if has a state named like this
82
82
  @if (type-of($stateMap-or-stateName) == string
83
- and map-has-key($_gridle_states, unquote($stateMap-or-stateName)))
83
+ and map-has-key($_gridle_states, unquote("#{$stateMap-or-stateName}")))
84
84
  {
85
- @return map-get($_gridle_states, unquote($stateMap-or-stateName));
86
- }
85
+ @return map-get($_gridle_states, unquote("#{$stateMap-or-stateName}"));
86
+ }
87
87
 
88
88
  // a map is passed, so it's a state himself
89
89
  @if $stateMap-or-stateName
@@ -112,7 +112,7 @@
112
112
  @function _gridle_has_state(
113
113
  $stateName
114
114
  ) {
115
- @if map-has-key($_gridle_states, unquote($stateName)) {
115
+ @if map-has-key($_gridle_states, unquote("#{$stateName}")) {
116
116
  @return true;
117
117
  } @else {
118
118
  @return false;
@@ -137,9 +137,9 @@
137
137
 
138
138
  // check ig state and if has the variable :
139
139
  @if $state
140
- and map-has-key($state,unquote($var))
140
+ and map-has-key($state,unquote("#{$var}"))
141
141
  {
142
- @return map-get($state,unquote($var));
142
+ @return map-get($state,unquote("#{$var}"));
143
143
  }
144
144
 
145
145
  // nothing getted :
@@ -166,9 +166,9 @@
166
166
 
167
167
  // extend default state with given state :
168
168
  $props : map-merge($_gridle-settings, $state);
169
-
170
- @if map-has-key($props, unquote($varName)) {
171
- @return map-get($state, unquote($varName));
169
+
170
+ @if map-has-key($props, unquote("#{$varName}")) {
171
+ @return map-get($state, unquote("#{$varName}"));
172
172
  }
173
173
 
174
174
  // nothing finded :
@@ -193,13 +193,13 @@
193
193
 
194
194
  // check ig state and if has the variable :
195
195
  @if $state
196
- and map-has-key($state,unquote($var))
196
+ and map-has-key($state,unquote("#{$var}"))
197
197
  {
198
198
  // set new value in state :
199
- $state : map-set($state, unquote($var), $newValue);
199
+ $state : map-set($state, unquote("#{$var}"), $newValue);
200
200
 
201
201
  // set states :
202
- $_gridle_states : map-set($_gridle_states, unquote($stateName), $state);
202
+ $_gridle_states : map-set($_gridle_states, unquote("#{$stateName}"), $state);
203
203
 
204
204
  // return new state :
205
205
  @return $state;
@@ -250,7 +250,7 @@
250
250
  $sel : ".";
251
251
 
252
252
  // delete default :
253
- @if unquote($state) == default {
253
+ @if unquote("#{$state}") == default {
254
254
  $state : null;
255
255
  }
256
256
 
@@ -268,7 +268,7 @@
268
268
  } @elseif type-of($value) == bool {
269
269
  $gridle-settings-states : "#{$gridle-settings-states} \"#{$varName}\" : #{$value},";
270
270
  } @else {
271
- $gridle-settings-states : "#{$gridle-settings-states} \"#{$varName}\" : \"#{$value}\",";
271
+ $gridle-settings-states : "#{$gridle-settings-states} \"#{$varName}\" : \"#{$value}\",";
272
272
  }
273
273
  }
274
274
 
@@ -381,7 +381,7 @@ $_gridle_generateOnlyOnce : true; // keep track of generate once classes
381
381
  @if $what == null or index($what, container) or index($what, default)
382
382
  {
383
383
  $container-selector : ();
384
- $container-selector : append( $container-selector, unquote(_gridle_classname($gridle-container-name-pattern)), comma);
384
+ $container-selector : append( $container-selector, unquote("#{_gridle_classname($gridle-container-name-pattern)}"), comma);
385
385
  #{$container-selector} {
386
386
  @include gridle_container();
387
387
  }
@@ -479,19 +479,19 @@ $_gridle_generateOnlyOnce : true; // keep track of generate once classes
479
479
 
480
480
  // add selector :
481
481
  @if $what == null or index($what, grid) or index($what, default) {
482
- $grid-common-selector : append( $grid-common-selector, unquote(_gridle_classname($gridle-grid-name-pattern, $media, $columnName)), comma );
482
+ $grid-common-selector : append( $grid-common-selector, unquote("#{_gridle_classname($gridle-grid-name-pattern, $media, $columnName)}"), comma );
483
483
  }
484
484
  @if $generate-push-classes and ($what == null or index($what, push) or index($what, default)) {
485
- $push-common-selector : append( $push-common-selector, unquote(_gridle_classname($gridle-push-name-pattern, $media, $columnName)), comma );
485
+ $push-common-selector : append( $push-common-selector, unquote("#{_gridle_classname($gridle-push-name-pattern, $media, $columnName)}"), comma );
486
486
  }
487
487
  @if $generate-pull-classes and ($what == null or index($what, pull) or index($what, default)) {
488
- $pull-common-selector : append( $pull-common-selector, unquote(_gridle_classname($gridle-pull-name-pattern, $media, $columnName)), comma );
488
+ $pull-common-selector : append( $pull-common-selector, unquote("#{_gridle_classname($gridle-pull-name-pattern, $media, $columnName)}"), comma );
489
489
  }
490
490
  @if $generate-prefix-classes and ($what == null or index($what, prefix) or index($what, default)) {
491
- $prefix-common-selector : append( $prefix-common-selector, unquote(_gridle_classname($gridle-prefix-name-pattern, $media, $columnName)), comma );
491
+ $prefix-common-selector : append( $prefix-common-selector, unquote("#{_gridle_classname($gridle-prefix-name-pattern, $media, $columnName)}"), comma );
492
492
  }
493
493
  @if $generate-suffix-classes and ($what == null or index($what, suffix) or index($what, default)) {
494
- $suffix-common-selector : append( $suffix-common-selector, unquote(_gridle_classname($gridle-suffix-name-pattern, $media, $columnName)), comma );
494
+ $suffix-common-selector : append( $suffix-common-selector, unquote("#{_gridle_classname($gridle-suffix-name-pattern, $media, $columnName)}"), comma );
495
495
  }
496
496
  }
497
497
  }
@@ -29,13 +29,13 @@
29
29
  // |------------------------------------------------------
30
30
  // |------------------------------------------------------
31
31
  // @created 25.03.13
32
- // @updated 06.01.15
32
+ // @updated 29.01.15
33
33
  // @author Olivier Bossel <olivier.bossel@gmail.com>
34
- // @version 1.3.34
34
+ // @version 1.3.36
35
35
  // |------------------------------------------------------
36
36
  // |------------------------------------------------------
37
37
 
38
- $_gridle-version : "1.3.34";
38
+ $_gridle-version : "1.3.36";
39
39
 
40
40
 
41
41
 
@@ -13,7 +13,7 @@
13
13
  // loop on each settings
14
14
  @each $settingName, $settingValue in $settings
15
15
  {
16
- $sn : unquote($settingName);
16
+ $sn : unquote("#{$settingName}");
17
17
  $sv : $settingValue;
18
18
 
19
19
  // check if setting name is a state :
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: 1.3.35
4
+ version: 1.3.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Bossel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-06 00:00:00.000000000 Z
11
+ date: 2015-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass