SassyCast 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +1 -1
- data/lib/SassyCast.rb +2 -2
- data/stylesheets/private/bool/_bool.scss +1 -1
- data/stylesheets/private/color/_color.scss +11 -9
- data/stylesheets/private/color/helpers/_from-hex.scss +4 -4
- data/stylesheets/private/color/helpers/_from-hsl.scss +22 -15
- data/stylesheets/private/color/helpers/_from-rgb.scss +25 -17
- data/stylesheets/private/color/helpers/_get-color-value.scss +6 -2
- data/stylesheets/private/color/helpers/_hex-to-dec.scss +7 -3
- data/stylesheets/private/list/_list.scss +15 -17
- data/stylesheets/private/map/_map.scss +17 -7
- data/stylesheets/private/number/_number.scss +12 -10
- data/stylesheets/private/number/helpers/_find-digits.scss +10 -12
- data/stylesheets/private/number/helpers/_find-integer.scss +7 -10
- data/stylesheets/private/number/helpers/_length.scss +2 -2
- data/stylesheets/private/number/helpers/_pow.scss +2 -2
- data/stylesheets/private/string/_string.scss +10 -3
- metadata +20 -22
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9fe251b1a6ffe01552a24e60f604cb0db3410350
|
4
|
+
data.tar.gz: 4daa38ecdf06c9ccc8e1efef82e48b6730a905c2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d382f9bdc42cf267841cc0ae619b1aa0835516c3ac33cb0196e745791f0c66b291ef7e34a25339eb8d0c9d12f5e6fd1fca4ff9fb4a53d4e6460561ca3cd4a109
|
7
|
+
data.tar.gz: ca3bfe36dbbb6e1c2f700f780c86d9cfcdc1fe75e746d62e61c501573915c94318f44b203d4e6b7c2fb69b4704452176df607ed97156c0e9d57d5ec2a9745540
|
data/README.md
CHANGED
data/lib/SassyCast.rb
CHANGED
@@ -5,8 +5,8 @@ Compass::Frameworks.register('SassyCast', :path => extension_path)
|
|
5
5
|
# Version is a number. If a version contains alphas, it will be created as a prerelease version
|
6
6
|
# Date is in the form of YYYY-MM-DD
|
7
7
|
module SassyCast
|
8
|
-
VERSION = "1.1.
|
9
|
-
DATE = "
|
8
|
+
VERSION = "1.1.2"
|
9
|
+
DATE = "2016-04-12"
|
10
10
|
end
|
11
11
|
|
12
12
|
module Sass::Script::Functions
|
@@ -2,12 +2,14 @@
|
|
2
2
|
/// @param {*} $value - value to cast
|
3
3
|
/// @return {color | null}
|
4
4
|
@function _sc-to-color($value) {
|
5
|
-
|
5
|
+
$type: type-of($value);
|
6
|
+
|
7
|
+
@if ($type == 'color') {
|
6
8
|
@return $value;
|
7
9
|
}
|
8
10
|
|
9
|
-
@if
|
10
|
-
//@warn
|
11
|
+
@if ($type != 'string') {
|
12
|
+
//@warn 'Could not cast `#{inspect($value)}` to color.';
|
11
13
|
@return null;
|
12
14
|
}
|
13
15
|
|
@@ -17,11 +19,11 @@
|
|
17
19
|
|
18
20
|
// Filling $keywords with stringified color keywords
|
19
21
|
@each $color in $colors {
|
20
|
-
$keywords: append($keywords, $color +
|
22
|
+
$keywords: append($keywords, $color + '');
|
21
23
|
}
|
22
24
|
|
23
25
|
// Deal with inherit keyword
|
24
|
-
@if $value-lower ==
|
26
|
+
@if ($value-lower == 'inherit') {
|
25
27
|
@return unquote($value);
|
26
28
|
}
|
27
29
|
|
@@ -31,23 +33,23 @@
|
|
31
33
|
}
|
32
34
|
|
33
35
|
// Deal with hexadecimal triplets
|
34
|
-
@else if str-slice($value-lower, 1, 1) ==
|
36
|
+
@else if (str-slice($value-lower, 1, 1) == '#') {
|
35
37
|
@return _sc-from-hex($value);
|
36
38
|
}
|
37
39
|
|
38
40
|
// Deal with rgb(a) colors
|
39
|
-
@else if str-slice($value-lower, 1, 3) ==
|
41
|
+
@else if (str-slice($value-lower, 1, 3) == 'rgb') {
|
40
42
|
@return _sc-from-rgb($value);
|
41
43
|
}
|
42
44
|
|
43
45
|
// Deal with hsl(a) colors
|
44
|
-
@else if str-slice($value-lower, 1, 3) ==
|
46
|
+
@else if (str-slice($value-lower, 1, 3) == 'hsl') {
|
45
47
|
@return _sc-from-hsl($value);
|
46
48
|
}
|
47
49
|
|
48
50
|
// Return value
|
49
51
|
@else {
|
50
|
-
//@warn
|
52
|
+
//@warn 'Could not cast `#{inspect($value)}` to color.';
|
51
53
|
@return null;
|
52
54
|
}
|
53
55
|
}
|
@@ -5,13 +5,13 @@
|
|
5
5
|
/// @require {function} _hex-to-dec
|
6
6
|
@function _sc-from-hex($string) {
|
7
7
|
$string-lower: to-lower-case($string);
|
8
|
-
$r:
|
9
|
-
$hex:
|
8
|
+
$r: ''; $g: ''; $b: '';
|
9
|
+
$hex: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9' 'a' 'b' 'c' 'd' 'e' 'f';
|
10
10
|
$length: str-length($string);
|
11
11
|
$max: if($length == 4, 1, 2);
|
12
12
|
|
13
13
|
// Check for length accuracy
|
14
|
-
@if $length != 4 and $length != 7 {
|
14
|
+
@if ($length != 4 and $length != 7) {
|
15
15
|
@return $string;
|
16
16
|
}
|
17
17
|
|
@@ -35,5 +35,5 @@
|
|
35
35
|
$b: $b + $b;
|
36
36
|
}
|
37
37
|
|
38
|
-
@return rgb(
|
38
|
+
@return rgb(_sc-hex-to-dec($r), _sc-hex-to-dec($g), _sc-hex-to-dec($b));
|
39
39
|
}
|
@@ -12,32 +12,39 @@
|
|
12
12
|
|
13
13
|
@for $i from $start through $length {
|
14
14
|
$token: str-slice($string-lower, $i, $i);
|
15
|
-
@if $token == ' ' {
|
15
|
+
@if ($token == ' ') {
|
16
16
|
// @continue;
|
17
|
-
}
|
18
|
-
@else if $token == '(' or $token == ',' {
|
17
|
+
} @else if ($token == '(' or $token == ',') {
|
19
18
|
$frags: append($frags, "");
|
20
|
-
}
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
$
|
19
|
+
} @else if ($token == ')') {
|
20
|
+
@if (length($frags) != if($is-alpha, 4, 3)) {
|
21
|
+
@return $string; // Parsing error
|
22
|
+
}
|
23
|
+
|
24
|
+
$hue: _sc-get-color-value(nth($frags, 1));
|
25
|
+
$saturation: _sc-get-color-value(nth($frags, 2));
|
26
|
+
$lightness: _sc-get-color-value(nth($frags, 3));
|
26
27
|
|
27
|
-
@if not $hue or not $saturation or not $lightness {
|
28
|
+
@if (not $hue or not $saturation or not $lightness) {
|
28
29
|
@return $string;
|
29
30
|
}
|
30
31
|
|
31
32
|
@if $is-alpha {
|
32
|
-
@if length($frags) != 4 {
|
33
|
-
|
34
|
-
|
33
|
+
@if (length($frags) != 4) {
|
34
|
+
@return $string; // No alpha channel found
|
35
|
+
}
|
36
|
+
|
37
|
+
$alpha: _sc-get-color-value(nth($frags, 4));
|
38
|
+
|
39
|
+
@if not $alpha {
|
40
|
+
@return $string; // Error parsing alpha channel
|
41
|
+
}
|
42
|
+
|
35
43
|
@return hsla($hue, $saturation, $lightness, $alpha);
|
36
44
|
}
|
37
45
|
|
38
46
|
@return hsl($hue, $saturation, $lightness);
|
39
|
-
}
|
40
|
-
@else {
|
47
|
+
} @else {
|
41
48
|
$frags: set-nth($frags, length($frags), nth($frags, length($frags)) + $token);
|
42
49
|
}
|
43
50
|
}
|
@@ -7,37 +7,45 @@
|
|
7
7
|
$string-lower: to-lower-case($string);
|
8
8
|
$frags: ();
|
9
9
|
$is-alpha: str-slice($string-lower, 4, 4) == 'a';
|
10
|
-
$start: str-index($string,
|
10
|
+
$start: str-index($string, '(');
|
11
11
|
$length: str-length($string);
|
12
12
|
|
13
13
|
@for $i from $start through $length {
|
14
14
|
$token: str-slice($string-lower, $i, $i);
|
15
|
-
|
15
|
+
|
16
|
+
@if ($token == ' ') {
|
16
17
|
// @continue;
|
17
|
-
}
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
$
|
25
|
-
$
|
18
|
+
} @else if ($token == '(' or $token == ',') {
|
19
|
+
$frags: append($frags, '');
|
20
|
+
} @else if ($token == ')') {
|
21
|
+
@if length($frags) != if($is-alpha, 4, 3) {
|
22
|
+
@return $string; // Parsing error
|
23
|
+
}
|
24
|
+
|
25
|
+
$red: _sc-get-color-value(nth($frags, 1));
|
26
|
+
$green: _sc-get-color-value(nth($frags, 2));
|
27
|
+
$blue: _sc-get-color-value(nth($frags, 3));
|
26
28
|
|
27
|
-
@if not $red or not $green or not $blue {
|
29
|
+
@if (not $red or not $green or not $blue) {
|
28
30
|
@return $string;
|
29
31
|
}
|
30
32
|
|
31
33
|
@if $is-alpha {
|
32
|
-
@if length($frags) != 4 {
|
33
|
-
|
34
|
-
|
34
|
+
@if length($frags) != 4 {
|
35
|
+
@return $string; // No alpha channel found
|
36
|
+
}
|
37
|
+
|
38
|
+
$alpha: _sc-get-color-value(nth($frags, 4));
|
39
|
+
|
40
|
+
@if not $alpha {
|
41
|
+
@return $string; // Error parsing alpha channel
|
42
|
+
}
|
43
|
+
|
35
44
|
@return rgba($red, $green, $blue, $alpha);
|
36
45
|
}
|
37
46
|
|
38
47
|
@return rgb($red, $green, $blue);
|
39
|
-
}
|
40
|
-
@else {
|
48
|
+
} @else {
|
41
49
|
$frags: set-nth($frags, length($frags), nth($frags, length($frags)) + $token);
|
42
50
|
}
|
43
51
|
}
|
@@ -7,11 +7,15 @@
|
|
7
7
|
$first: str-slice($string, 1, 1);
|
8
8
|
|
9
9
|
// Pad <1 values with a leading 0
|
10
|
-
@if $first == '.' {
|
10
|
+
@if ($first == '.') {
|
11
11
|
$string: '0' + $string;
|
12
12
|
}
|
13
13
|
|
14
14
|
$last: str-slice($string, -1, -1);
|
15
15
|
|
16
|
-
@
|
16
|
+
@if ($last == '%') {
|
17
|
+
@return _sc-to-number(str-slice($string, 1, -2), 2) * 1%;
|
18
|
+
}
|
19
|
+
|
20
|
+
@return _sc-to-number($string);
|
17
21
|
}
|
@@ -2,14 +2,18 @@
|
|
2
2
|
/// @access private
|
3
3
|
/// @param {String} $string - hexadecimal value
|
4
4
|
/// @return {Number} - decimal number
|
5
|
-
@function _sc-hex-to-dec($string){
|
6
|
-
$hex: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "a" "b" "c" "d" "e" "f";
|
5
|
+
@function _sc-hex-to-dec($string) {
|
7
6
|
$string: to-lower-case($string);
|
8
7
|
$length: str-length($string);
|
8
|
+
$hex: (
|
9
|
+
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
|
10
|
+
'a', 'b', 'c', 'd', 'e', 'f'
|
11
|
+
);
|
9
12
|
|
10
13
|
$dec: 0;
|
14
|
+
|
11
15
|
@for $i from 1 through $length {
|
12
|
-
$factor: 1 + (
|
16
|
+
$factor: 1 + (15 * ($length - $i));
|
13
17
|
$index: index($hex, str-slice($string, $i, $i));
|
14
18
|
$dec: $dec + $factor * ($index - 1);
|
15
19
|
}
|
@@ -1,28 +1,26 @@
|
|
1
1
|
/// Convert to list
|
2
2
|
/// @param {*} $value - value to cast
|
3
|
-
/// @param {String} $keep (
|
3
|
+
/// @param {String} $keep ('both') - whether to keep `keys`, `values` or `both` when casting a map
|
4
4
|
/// @return {List}
|
5
|
-
@function _sc-to-list($value, $keep:
|
6
|
-
$
|
5
|
+
@function _sc-to-list($value, $keep: 'both') {
|
6
|
+
$type: type-of($value);
|
7
7
|
|
8
|
-
@if
|
9
|
-
$
|
10
|
-
|
11
|
-
@each $key, $val in $value {
|
12
|
-
$keys: append($keys, $key);
|
13
|
-
$values: append($values, $val);
|
14
|
-
}
|
8
|
+
@if ($type == 'list') {
|
9
|
+
@return $value;
|
10
|
+
}
|
15
11
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
12
|
+
@if ($type == 'map') {
|
13
|
+
$keys: map-keys($value);
|
14
|
+
$values: map-values($value);
|
15
|
+
|
16
|
+
@if ($keep == 'values') {
|
20
17
|
@return $values;
|
21
|
-
}
|
22
|
-
|
18
|
+
} @else if ($keep == 'keys') {
|
19
|
+
@return $keys;
|
20
|
+
} @else {
|
23
21
|
@return zip($keys, $values);
|
24
22
|
}
|
25
23
|
}
|
26
24
|
|
27
|
-
@return
|
25
|
+
@return ($value,);
|
28
26
|
}
|
@@ -2,17 +2,27 @@
|
|
2
2
|
/// @param {*} $value - value to cast
|
3
3
|
/// @return {Map}
|
4
4
|
@function _sc-to-map($value) {
|
5
|
-
|
6
|
-
$map: ();
|
5
|
+
$type: type-of($value);
|
7
6
|
|
8
|
-
|
9
|
-
|
7
|
+
@if ($type == 'map') {
|
8
|
+
@return $value;
|
9
|
+
}
|
10
|
+
|
11
|
+
@if ($type == 'list') {
|
12
|
+
$length: length($value);
|
13
|
+
|
14
|
+
@if ($length == 0) {
|
15
|
+
@return ();
|
16
|
+
} @else {
|
17
|
+
$map: ();
|
18
|
+
|
19
|
+
@for $i from 1 through $length {
|
10
20
|
$map: map-merge($map, ($i: nth($value, $i)));
|
11
21
|
}
|
12
|
-
}
|
13
22
|
|
14
|
-
|
23
|
+
@return $map;
|
24
|
+
}
|
15
25
|
}
|
16
26
|
|
17
|
-
@return
|
27
|
+
@return (1: $value);
|
18
28
|
}
|
@@ -2,31 +2,33 @@
|
|
2
2
|
/// @param {String} $value - complete source
|
3
3
|
/// @return {Number}
|
4
4
|
@function _sc-to-number($value) {
|
5
|
+
$type: type-of($value);
|
6
|
+
|
5
7
|
// In case everything's good
|
6
|
-
@if
|
8
|
+
@if ($type == 'number') {
|
7
9
|
@return $value;
|
8
10
|
}
|
9
11
|
|
10
12
|
// Boolean to number
|
11
|
-
@if $value == true {
|
13
|
+
@if ($value == true) {
|
12
14
|
@return 1;
|
13
15
|
}
|
14
16
|
|
15
17
|
// Fail
|
16
|
-
@if
|
18
|
+
@if ($type != 'string') {
|
17
19
|
@return 0;
|
18
20
|
}
|
19
21
|
|
20
22
|
// Trying to cast
|
21
23
|
$pointer: 1;
|
22
24
|
$result: 0;
|
23
|
-
$allowed:
|
25
|
+
$allowed: ('-', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'); // Allowed characted to start with
|
24
26
|
$first: str-slice($value, $pointer, $pointer); // First character of the number
|
25
|
-
$minus: $first ==
|
27
|
+
$minus: $first == '-'; // Is it negative?
|
26
28
|
|
27
29
|
// Early check for errors
|
28
30
|
@if not index($allowed, $first) {
|
29
|
-
@warn
|
31
|
+
@warn 'Could not cast `#{inspect($value)}` into number.';
|
30
32
|
@return 0;
|
31
33
|
}
|
32
34
|
|
@@ -36,20 +38,20 @@
|
|
36
38
|
$result: nth($find-integer, 2);
|
37
39
|
|
38
40
|
// Find digits
|
39
|
-
@if str-slice($value, $pointer, $pointer) ==
|
41
|
+
@if (str-slice($value, $pointer, $pointer) == '.') {
|
40
42
|
$find-digits: _sc-find-digits($value, $pointer);
|
41
43
|
$pointer: nth($find-digits, 1);
|
42
44
|
$digits: nth($find-digits, 2);
|
43
|
-
$result: $result + $digits;
|
45
|
+
$result: ($result + $digits);
|
44
46
|
}
|
45
47
|
|
46
48
|
// In case of negative
|
47
49
|
@if $minus {
|
48
|
-
$result: $result * -1;
|
50
|
+
$result: ($result * -1);
|
49
51
|
}
|
50
52
|
|
51
53
|
// In case of possible CSS unit
|
52
|
-
@if $pointer < str-length($value) {
|
54
|
+
@if ($pointer < str-length($value)) {
|
53
55
|
$result: _sc-length($result, str-slice($value, $pointer));
|
54
56
|
}
|
55
57
|
|
@@ -6,27 +6,25 @@
|
|
6
6
|
@function _sc-find-digits($source, $pointer) {
|
7
7
|
$source: to-lower-case($source);
|
8
8
|
$length: str-length($source);
|
9
|
-
$numbers:
|
9
|
+
$numbers: ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9');
|
10
10
|
$result: 0;
|
11
11
|
$runs: 1;
|
12
12
|
|
13
|
-
@while $pointer <= $length {
|
13
|
+
@while ($pointer <= $length) {
|
14
14
|
$token: str-slice($source, $pointer, $pointer);
|
15
15
|
$index: index($numbers, $token);
|
16
16
|
|
17
|
-
@if $token ==
|
17
|
+
@if ($token == '.') {
|
18
18
|
// @continue;
|
19
|
-
}
|
20
|
-
|
21
|
-
$
|
22
|
-
|
23
|
-
|
24
|
-
@else {
|
25
|
-
@return $pointer, $result / $runs;
|
19
|
+
} @else if ($index and $index > 0) {
|
20
|
+
$runs: ($runs * 10);
|
21
|
+
$result: ($result * 10) + ($index - 1);
|
22
|
+
} @else {
|
23
|
+
@return $pointer, ($result / $runs);
|
26
24
|
}
|
27
25
|
|
28
|
-
$pointer: $pointer + 1;
|
26
|
+
$pointer: ($pointer + 1);
|
29
27
|
}
|
30
28
|
|
31
|
-
@return $pointer, $result / $runs;
|
29
|
+
@return $pointer, ($result / $runs);
|
32
30
|
}
|
@@ -6,26 +6,23 @@
|
|
6
6
|
@function _sc-find-integer($source, $pointer) {
|
7
7
|
$source: to-lower-case($source);
|
8
8
|
$length: str-length($source);
|
9
|
-
$numbers:
|
9
|
+
$numbers: ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9');
|
10
10
|
$result: 0;
|
11
11
|
|
12
|
-
@while $pointer <= $length {
|
12
|
+
@while ($pointer <= $length) {
|
13
13
|
$token: str-slice($source, $pointer, $pointer);
|
14
14
|
$index: index($numbers, $token);
|
15
15
|
|
16
|
-
@if $token ==
|
16
|
+
@if ($token == '-') {
|
17
17
|
// @continue;
|
18
|
-
}
|
19
|
-
|
20
|
-
|
21
|
-
}
|
22
|
-
@else {
|
18
|
+
} @else if $index {
|
19
|
+
$result: ($result * 10) + ($index - 1);
|
20
|
+
} @else {
|
23
21
|
@return $pointer, $result;
|
24
22
|
}
|
25
23
|
|
26
|
-
$pointer: $pointer + 1;
|
24
|
+
$pointer: ($pointer + 1);
|
27
25
|
}
|
28
26
|
|
29
27
|
@return $pointer, $result;
|
30
28
|
}
|
31
|
-
|
@@ -9,9 +9,9 @@
|
|
9
9
|
$index: index($strings, $unit);
|
10
10
|
|
11
11
|
@if not $index {
|
12
|
-
@warn
|
12
|
+
@warn 'Unknown unit `#{inspect($unit)}`.';
|
13
13
|
@return 0;
|
14
14
|
}
|
15
15
|
|
16
|
-
@return $number * nth($units, $index);
|
16
|
+
@return ($number * nth($units, $index));
|
17
17
|
}
|
@@ -2,9 +2,16 @@
|
|
2
2
|
/// @param {*} $value - value to cast
|
3
3
|
/// @return {String}
|
4
4
|
@function _sc-to-string($value) {
|
5
|
-
|
6
|
-
|
5
|
+
$type: type-of($value);
|
6
|
+
|
7
|
+
@if ($type == 'string') {
|
8
|
+
@return $value;
|
9
|
+
}
|
10
|
+
|
11
|
+
@if type-of($value) == 'color' {
|
12
|
+
@warn 'Beware! Sass does some color conversion. The resulting string may be different from the color input.';
|
7
13
|
}
|
8
14
|
|
9
|
-
|
15
|
+
|
16
|
+
@return inspect($value);
|
10
17
|
}
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: SassyCast
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Hugo Giraudel
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-04-12 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: Sass API for type conversion.
|
15
14
|
email:
|
@@ -18,57 +17,56 @@ executables: []
|
|
18
17
|
extensions: []
|
19
18
|
extra_rdoc_files: []
|
20
19
|
files:
|
21
|
-
- README.md
|
22
20
|
- CHANGELOG.md
|
21
|
+
- README.md
|
23
22
|
- lib/SassyCast.rb
|
24
23
|
- stylesheets/SassyCast.scss
|
24
|
+
- stylesheets/private/_all.scss
|
25
25
|
- stylesheets/private/bool/_bool.scss
|
26
|
+
- stylesheets/private/color/_color.scss
|
27
|
+
- stylesheets/private/color/helpers/_from-hex.scss
|
28
|
+
- stylesheets/private/color/helpers/_from-hsl.scss
|
29
|
+
- stylesheets/private/color/helpers/_from-rgb.scss
|
30
|
+
- stylesheets/private/color/helpers/_get-color-value.scss
|
31
|
+
- stylesheets/private/color/helpers/_hex-to-dec.scss
|
26
32
|
- stylesheets/private/list/_list.scss
|
27
|
-
- stylesheets/private/_all.scss
|
28
33
|
- stylesheets/private/map/_map.scss
|
29
|
-
- stylesheets/private/string/_string.scss
|
30
34
|
- stylesheets/private/null/_null.scss
|
31
35
|
- stylesheets/private/number/_number.scss
|
32
|
-
- stylesheets/private/number/helpers/_find-integer.scss
|
33
36
|
- stylesheets/private/number/helpers/_find-digits.scss
|
37
|
+
- stylesheets/private/number/helpers/_find-integer.scss
|
34
38
|
- stylesheets/private/number/helpers/_length.scss
|
35
39
|
- stylesheets/private/number/helpers/_pow.scss
|
36
|
-
- stylesheets/private/
|
37
|
-
- stylesheets/
|
38
|
-
- stylesheets/private/color/helpers/_from-hsl.scss
|
39
|
-
- stylesheets/private/color/helpers/_get-color-value.scss
|
40
|
-
- stylesheets/private/color/helpers/_hex-to-dec.scss
|
41
|
-
- stylesheets/private/color/helpers/_from-hex.scss
|
40
|
+
- stylesheets/private/string/_string.scss
|
41
|
+
- stylesheets/public/_all.scss
|
42
42
|
- stylesheets/public/bool/_bool.scss
|
43
|
+
- stylesheets/public/color/_color.scss
|
43
44
|
- stylesheets/public/list/_list.scss
|
44
|
-
- stylesheets/public/_all.scss
|
45
45
|
- stylesheets/public/map/_map.scss
|
46
|
-
- stylesheets/public/string/_string.scss
|
47
46
|
- stylesheets/public/null/_null.scss
|
48
47
|
- stylesheets/public/number/_number.scss
|
49
|
-
- stylesheets/public/
|
48
|
+
- stylesheets/public/string/_string.scss
|
50
49
|
homepage: https://github.com/HugoGiraudel/SassyCast/
|
51
50
|
licenses: []
|
51
|
+
metadata: {}
|
52
52
|
post_install_message:
|
53
53
|
rdoc_options: []
|
54
54
|
require_paths:
|
55
55
|
- lib
|
56
56
|
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
57
|
requirements:
|
59
|
-
- -
|
58
|
+
- - ">="
|
60
59
|
- !ruby/object:Gem::Version
|
61
60
|
version: '0'
|
62
61
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
-
none: false
|
64
62
|
requirements:
|
65
|
-
- -
|
63
|
+
- - ">="
|
66
64
|
- !ruby/object:Gem::Version
|
67
65
|
version: 1.3.6
|
68
66
|
requirements: []
|
69
67
|
rubyforge_project: SassyCast
|
70
|
-
rubygems_version:
|
68
|
+
rubygems_version: 2.5.2
|
71
69
|
signing_key:
|
72
|
-
specification_version:
|
70
|
+
specification_version: 4
|
73
71
|
summary: SassyCast is a Sass-powered API for type conversion.
|
74
72
|
test_files: []
|