sass 3.2.0.alpha.278 → 3.2.0.alpha.291
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/REVISION +1 -1
- data/VERSION +1 -1
- data/VERSION_DATE +1 -1
- data/lib/sass/engine.rb +15 -9
- data/lib/sass/script/arg_list.rb +52 -0
- data/lib/sass/script/funcall.rb +45 -38
- data/lib/sass/script/lexer.rb +1 -0
- data/lib/sass/script/list.rb +1 -1
- data/lib/sass/script/literal.rb +1 -0
- data/lib/sass/script/number.rb +7 -6
- data/lib/sass/script/parser.rb +32 -34
- data/lib/sass/scss/parser.rb +6 -6
- data/lib/sass/tree/function_node.rb +8 -1
- data/lib/sass/tree/mixin_def_node.rb +8 -1
- data/lib/sass/tree/mixin_node.rb +8 -1
- data/lib/sass/tree/visitors/convert.rb +22 -6
- data/lib/sass/tree/visitors/perform.rb +88 -33
- data/test/sass/conversion_test.rb +54 -0
- data/test/sass/engine_test.rb +15 -13
- data/test/sass/functions_test.rb +3 -2
- data/test/sass/results/script.css +1 -1
- data/test/sass/results/units.css +2 -2
- data/test/sass/script_conversion_test.rb +1 -1
- data/test/sass/script_test.rb +2 -1
- data/test/sass/scss/scss_test.rb +359 -1
- metadata +21 -20
data/test/sass/functions_test.rb
CHANGED
@@ -897,7 +897,8 @@ MSG
|
|
897
897
|
assert_equal(%Q{"px"}, evaluate("unit(100px)"))
|
898
898
|
assert_equal(%Q{"em*px"}, evaluate("unit(10px * 5em)"))
|
899
899
|
assert_equal(%Q{"em*px"}, evaluate("unit(5em * 10px)"))
|
900
|
-
assert_equal(%Q{"em
|
900
|
+
assert_equal(%Q{"em/rem"}, evaluate("unit(10px * 5em / 30cm / 1rem)"))
|
901
|
+
assert_equal(%Q{"em*vh/cm*rem"}, evaluate("unit(10vh * 5em / 30cm / 1rem)"))
|
901
902
|
assert_equal(%Q{"px"}, evaluate("unit($number: 100px)"))
|
902
903
|
assert_error_message("#ff0000 is not a number for `unit'", "unit(#f00)")
|
903
904
|
end
|
@@ -1081,7 +1082,7 @@ MSG
|
|
1081
1082
|
evaluate("rgb($red: 255, 255, 255)")
|
1082
1083
|
flunk("Expected exception")
|
1083
1084
|
rescue Sass::SyntaxError => e
|
1084
|
-
assert_equal("Positional arguments must come before keyword arguments", e.message)
|
1085
|
+
assert_equal("Positional arguments must come before keyword arguments.", e.message)
|
1085
1086
|
end
|
1086
1087
|
|
1087
1088
|
def test_only_var_args
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
#times { num-num: 7; num-col: #7496b8; col-num: #092345; col-col: #243648; }
|
9
9
|
|
10
|
-
#div { num-num: 3.
|
10
|
+
#div { num-num: 3.33333; num-num2: 3.33333; col-num: #092345; col-col: #0b0d0f; comp: 1px; }
|
11
11
|
|
12
12
|
#mod { num-num: 2; col-col: #0f0e05; col-num: #020001; }
|
13
13
|
|
data/test/sass/results/units.css
CHANGED
data/test/sass/script_test.rb
CHANGED
@@ -82,7 +82,7 @@ class SassScriptTest < Test::Unit::TestCase
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def test_rgba_rounding
|
85
|
-
assert_equal "rgba(10, 1, 0, 0.
|
85
|
+
assert_equal "rgba(10, 1, 0, 0.12346)", resolve("rgba(10.0, 1.23456789, 0.0, 0.1234567)")
|
86
86
|
end
|
87
87
|
|
88
88
|
def test_compressed_colors
|
@@ -413,6 +413,7 @@ SASS
|
|
413
413
|
|
414
414
|
def test_operator_unit_conversion
|
415
415
|
assert_equal "1.1cm", resolve("1cm + 1mm")
|
416
|
+
assert_equal "2in", resolve("1in + 96px")
|
416
417
|
assert_equal "true", resolve("2mm < 1cm")
|
417
418
|
assert_equal "true", resolve("10mm == 1cm")
|
418
419
|
assert_equal "true", resolve("1 == 1cm")
|
data/test/sass/scss/scss_test.rb
CHANGED
@@ -767,6 +767,364 @@ bar {
|
|
767
767
|
SASS
|
768
768
|
end
|
769
769
|
|
770
|
+
## Var Args
|
771
|
+
|
772
|
+
def test_mixin_var_args
|
773
|
+
assert_equal <<CSS, render(<<SCSS)
|
774
|
+
.foo {
|
775
|
+
a: 1;
|
776
|
+
b: 2, 3, 4; }
|
777
|
+
CSS
|
778
|
+
@mixin foo($a, $b...) {
|
779
|
+
a: $a;
|
780
|
+
b: $b;
|
781
|
+
}
|
782
|
+
|
783
|
+
.foo {@include foo(1, 2, 3, 4)}
|
784
|
+
SCSS
|
785
|
+
end
|
786
|
+
|
787
|
+
def test_mixin_empty_var_args
|
788
|
+
assert_equal <<CSS, render(<<SCSS)
|
789
|
+
.foo {
|
790
|
+
a: 1;
|
791
|
+
b: 0; }
|
792
|
+
CSS
|
793
|
+
@mixin foo($a, $b...) {
|
794
|
+
a: $a;
|
795
|
+
b: length($b);
|
796
|
+
}
|
797
|
+
|
798
|
+
.foo {@include foo(1)}
|
799
|
+
SCSS
|
800
|
+
end
|
801
|
+
|
802
|
+
def test_mixin_var_args_act_like_list
|
803
|
+
assert_equal <<CSS, render(<<SCSS)
|
804
|
+
.foo {
|
805
|
+
a: 3;
|
806
|
+
b: 3; }
|
807
|
+
CSS
|
808
|
+
@mixin foo($a, $b...) {
|
809
|
+
a: length($b);
|
810
|
+
b: nth($b, 2);
|
811
|
+
}
|
812
|
+
|
813
|
+
.foo {@include foo(1, 2, 3, 4)}
|
814
|
+
SCSS
|
815
|
+
end
|
816
|
+
|
817
|
+
def test_mixin_splat_args
|
818
|
+
assert_equal <<CSS, render(<<SCSS)
|
819
|
+
.foo {
|
820
|
+
a: 1;
|
821
|
+
b: 2;
|
822
|
+
c: 3;
|
823
|
+
d: 4; }
|
824
|
+
CSS
|
825
|
+
@mixin foo($a, $b, $c, $d) {
|
826
|
+
a: $a;
|
827
|
+
b: $b;
|
828
|
+
c: $c;
|
829
|
+
d: $d;
|
830
|
+
}
|
831
|
+
|
832
|
+
$list: 2, 3, 4;
|
833
|
+
.foo {@include foo(1, $list...)}
|
834
|
+
SCSS
|
835
|
+
end
|
836
|
+
|
837
|
+
def test_mixin_splat_expression
|
838
|
+
assert_equal <<CSS, render(<<SCSS)
|
839
|
+
.foo {
|
840
|
+
a: 1;
|
841
|
+
b: 2;
|
842
|
+
c: 3;
|
843
|
+
d: 4; }
|
844
|
+
CSS
|
845
|
+
@mixin foo($a, $b, $c, $d) {
|
846
|
+
a: $a;
|
847
|
+
b: $b;
|
848
|
+
c: $c;
|
849
|
+
d: $d;
|
850
|
+
}
|
851
|
+
|
852
|
+
.foo {@include foo(1, (2, 3, 4)...)}
|
853
|
+
SCSS
|
854
|
+
end
|
855
|
+
|
856
|
+
def test_mixin_splat_args_with_var_args
|
857
|
+
assert_equal <<CSS, render(<<SCSS)
|
858
|
+
.foo {
|
859
|
+
a: 1;
|
860
|
+
b: 2, 3, 4; }
|
861
|
+
CSS
|
862
|
+
@mixin foo($a, $b...) {
|
863
|
+
a: $a;
|
864
|
+
b: $b;
|
865
|
+
}
|
866
|
+
|
867
|
+
$list: 2, 3, 4;
|
868
|
+
.foo {@include foo(1, $list...)}
|
869
|
+
SCSS
|
870
|
+
end
|
871
|
+
|
872
|
+
def test_mixin_splat_args_with_var_args_and_normal_args
|
873
|
+
assert_equal <<CSS, render(<<SCSS)
|
874
|
+
.foo {
|
875
|
+
a: 1;
|
876
|
+
b: 2;
|
877
|
+
c: 3, 4; }
|
878
|
+
CSS
|
879
|
+
@mixin foo($a, $b, $c...) {
|
880
|
+
a: $a;
|
881
|
+
b: $b;
|
882
|
+
c: $c;
|
883
|
+
}
|
884
|
+
|
885
|
+
$list: 2, 3, 4;
|
886
|
+
.foo {@include foo(1, $list...)}
|
887
|
+
SCSS
|
888
|
+
end
|
889
|
+
|
890
|
+
def test_mixin_splat_args_with_var_args_preserves_separator
|
891
|
+
assert_equal <<CSS, render(<<SCSS)
|
892
|
+
.foo {
|
893
|
+
a: 1;
|
894
|
+
b: 2 3 4 5; }
|
895
|
+
CSS
|
896
|
+
@mixin foo($a, $b...) {
|
897
|
+
a: $a;
|
898
|
+
b: $b;
|
899
|
+
}
|
900
|
+
|
901
|
+
$list: 3 4 5;
|
902
|
+
.foo {@include foo(1, 2, $list...)}
|
903
|
+
SCSS
|
904
|
+
end
|
905
|
+
|
906
|
+
def test_mixin_var_and_splat_args_pass_through_keywords
|
907
|
+
assert_equal <<CSS, render(<<SCSS)
|
908
|
+
.foo {
|
909
|
+
a: 3;
|
910
|
+
b: 1;
|
911
|
+
c: 2; }
|
912
|
+
CSS
|
913
|
+
@mixin foo($a...) {
|
914
|
+
@include bar($a...);
|
915
|
+
}
|
916
|
+
|
917
|
+
@mixin bar($b, $c, $a) {
|
918
|
+
a: $a;
|
919
|
+
b: $b;
|
920
|
+
c: $c;
|
921
|
+
}
|
922
|
+
|
923
|
+
.foo {@include foo(1, $c: 2, $a: 3)}
|
924
|
+
SCSS
|
925
|
+
end
|
926
|
+
|
927
|
+
def test_mixin_var_args_with_keyword
|
928
|
+
assert_raise_message(Sass::SyntaxError, "Positional arguments must come before keyword arguments.") {render <<SCSS}
|
929
|
+
@mixin foo($a, $b...) {
|
930
|
+
a: $a;
|
931
|
+
b: $b;
|
932
|
+
}
|
933
|
+
|
934
|
+
.foo {@include foo($a: 1, 2, 3, 4)}
|
935
|
+
SCSS
|
936
|
+
end
|
937
|
+
|
938
|
+
def test_mixin_keyword_for_var_arg
|
939
|
+
assert_raise_message(Sass::SyntaxError, "Argument $b of mixin foo cannot be used as a named argument.") {render <<SCSS}
|
940
|
+
@mixin foo($a, $b...) {
|
941
|
+
a: $a;
|
942
|
+
b: $b;
|
943
|
+
}
|
944
|
+
|
945
|
+
.foo {@include foo(1, $b: 2 3 4)}
|
946
|
+
SCSS
|
947
|
+
end
|
948
|
+
|
949
|
+
def test_mixin_keyword_for_unknown_arg_with_var_args
|
950
|
+
assert_raise_message(Sass::SyntaxError, "Mixin foo doesn't have an argument named $c.") {render <<SCSS}
|
951
|
+
@mixin foo($a, $b...) {
|
952
|
+
a: $a;
|
953
|
+
b: $b;
|
954
|
+
}
|
955
|
+
|
956
|
+
.foo {@include foo(1, $c: 2 3 4)}
|
957
|
+
SCSS
|
958
|
+
end
|
959
|
+
|
960
|
+
def test_function_var_args
|
961
|
+
assert_equal <<CSS, render(<<SCSS)
|
962
|
+
.foo {
|
963
|
+
val: "a: 1, b: 2, 3, 4"; }
|
964
|
+
CSS
|
965
|
+
@function foo($a, $b...) {
|
966
|
+
@return "a: \#{$a}, b: \#{$b}";
|
967
|
+
}
|
968
|
+
|
969
|
+
.foo {val: foo(1, 2, 3, 4)}
|
970
|
+
SCSS
|
971
|
+
end
|
972
|
+
|
973
|
+
def test_function_empty_var_args
|
974
|
+
assert_equal <<CSS, render(<<SCSS)
|
975
|
+
.foo {
|
976
|
+
val: "a: 1, b: 0"; }
|
977
|
+
CSS
|
978
|
+
@function foo($a, $b...) {
|
979
|
+
@return "a: \#{$a}, b: \#{length($b)}";
|
980
|
+
}
|
981
|
+
|
982
|
+
.foo {val: foo(1)}
|
983
|
+
SCSS
|
984
|
+
end
|
985
|
+
|
986
|
+
def test_function_var_args_act_like_list
|
987
|
+
assert_equal <<CSS, render(<<SCSS)
|
988
|
+
.foo {
|
989
|
+
val: "a: 3, b: 3"; }
|
990
|
+
CSS
|
991
|
+
@function foo($a, $b...) {
|
992
|
+
@return "a: \#{length($b)}, b: \#{nth($b, 2)}";
|
993
|
+
}
|
994
|
+
|
995
|
+
.foo {val: foo(1, 2, 3, 4)}
|
996
|
+
SCSS
|
997
|
+
end
|
998
|
+
|
999
|
+
def test_function_splat_args
|
1000
|
+
assert_equal <<CSS, render(<<SCSS)
|
1001
|
+
.foo {
|
1002
|
+
val: "a: 1, b: 2, c: 3, d: 4"; }
|
1003
|
+
CSS
|
1004
|
+
@function foo($a, $b, $c, $d) {
|
1005
|
+
@return "a: \#{$a}, b: \#{$b}, c: \#{$c}, d: \#{$d}";
|
1006
|
+
}
|
1007
|
+
|
1008
|
+
$list: 2, 3, 4;
|
1009
|
+
.foo {val: foo(1, $list...)}
|
1010
|
+
SCSS
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
def test_function_splat_expression
|
1014
|
+
assert_equal <<CSS, render(<<SCSS)
|
1015
|
+
.foo {
|
1016
|
+
val: "a: 1, b: 2, c: 3, d: 4"; }
|
1017
|
+
CSS
|
1018
|
+
@function foo($a, $b, $c, $d) {
|
1019
|
+
@return "a: \#{$a}, b: \#{$b}, c: \#{$c}, d: \#{$d}";
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
.foo {val: foo(1, (2, 3, 4)...)}
|
1023
|
+
SCSS
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
def test_function_splat_args_with_var_args
|
1027
|
+
assert_equal <<CSS, render(<<SCSS)
|
1028
|
+
.foo {
|
1029
|
+
val: "a: 1, b: 2, 3, 4"; }
|
1030
|
+
CSS
|
1031
|
+
@function foo($a, $b...) {
|
1032
|
+
@return "a: \#{$a}, b: \#{$b}";
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
$list: 2, 3, 4;
|
1036
|
+
.foo {val: foo(1, $list...)}
|
1037
|
+
SCSS
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
def test_function_splat_args_with_var_args_and_normal_args
|
1041
|
+
assert_equal <<CSS, render(<<SCSS)
|
1042
|
+
.foo {
|
1043
|
+
val: "a: 1, b: 2, c: 3, 4"; }
|
1044
|
+
CSS
|
1045
|
+
@function foo($a, $b, $c...) {
|
1046
|
+
@return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
$list: 2, 3, 4;
|
1050
|
+
.foo {val: foo(1, $list...)}
|
1051
|
+
SCSS
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
def test_function_splat_args_with_var_args_preserves_separator
|
1055
|
+
assert_equal <<CSS, render(<<SCSS)
|
1056
|
+
.foo {
|
1057
|
+
val: "a: 1, b: 2 3 4 5"; }
|
1058
|
+
CSS
|
1059
|
+
@function foo($a, $b...) {
|
1060
|
+
@return "a: \#{$a}, b: \#{$b}";
|
1061
|
+
}
|
1062
|
+
|
1063
|
+
$list: 3 4 5;
|
1064
|
+
.foo {val: foo(1, 2, $list...)}
|
1065
|
+
SCSS
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
def test_function_var_and_splat_args_pass_through_keywords
|
1069
|
+
assert_equal <<CSS, render(<<SCSS)
|
1070
|
+
.foo {
|
1071
|
+
val: "a: 3, b: 1, c: 2"; }
|
1072
|
+
CSS
|
1073
|
+
@function foo($a...) {
|
1074
|
+
@return bar($a...);
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
@function bar($b, $c, $a) {
|
1078
|
+
@return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
|
1079
|
+
}
|
1080
|
+
|
1081
|
+
.foo {val: foo(1, $c: 2, $a: 3)}
|
1082
|
+
SCSS
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
def test_function_var_args_with_keyword
|
1086
|
+
assert_raise_message(Sass::SyntaxError, "Positional arguments must come before keyword arguments.") {render <<SCSS}
|
1087
|
+
@function foo($a, $b...) {
|
1088
|
+
@return "a: \#{$a}, b: $b";
|
1089
|
+
}
|
1090
|
+
|
1091
|
+
.foo {val: foo($a: 1, 2, 3, 4)}
|
1092
|
+
SCSS
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
def test_function_keyword_for_var_arg
|
1096
|
+
assert_raise_message(Sass::SyntaxError, "Argument $b of function foo cannot be used as a named argument.") {render <<SCSS}
|
1097
|
+
@function foo($a, $b...) {
|
1098
|
+
@return "a: \#{$a}, b: \#{$b}";
|
1099
|
+
}
|
1100
|
+
|
1101
|
+
.foo {val: foo(1, $b: 2 3 4)}
|
1102
|
+
SCSS
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
def test_function_keyword_for_unknown_arg_with_var_args
|
1106
|
+
assert_raise_message(Sass::SyntaxError, "Function foo doesn't have an argument named $c.") {render <<SCSS}
|
1107
|
+
@function foo($a, $b...) {
|
1108
|
+
@return "a: \#{$a}, b: \#{$b}";
|
1109
|
+
}
|
1110
|
+
|
1111
|
+
.foo {val: foo(1, $c: 2 3 4)}
|
1112
|
+
SCSS
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
def test_function_var_args_passed_to_native
|
1116
|
+
assert_equal <<CSS, render(<<SCSS)
|
1117
|
+
.foo {
|
1118
|
+
val: #102035; }
|
1119
|
+
CSS
|
1120
|
+
@function foo($args...) {
|
1121
|
+
@return adjust-color($args...);
|
1122
|
+
}
|
1123
|
+
|
1124
|
+
.foo {val: foo(#102030, $blue: 5)}
|
1125
|
+
SCSS
|
1126
|
+
end
|
1127
|
+
|
770
1128
|
## Interpolation
|
771
1129
|
|
772
1130
|
def test_basic_selector_interpolation
|
@@ -1499,7 +1857,7 @@ SCSS
|
|
1499
1857
|
end
|
1500
1858
|
|
1501
1859
|
def test_unknown_keyword_arg_raises_error
|
1502
|
-
assert_raise_message(Sass::SyntaxError, "Mixin a doesn't have an argument named $c") {render <<SCSS}
|
1860
|
+
assert_raise_message(Sass::SyntaxError, "Mixin a doesn't have an argument named $c.") {render <<SCSS}
|
1503
1861
|
@mixin a($b: 1) { a: $b; }
|
1504
1862
|
div { @include a(1, $c: 3); }
|
1505
1863
|
SCSS
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 592302427
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 2
|
9
9
|
- 0
|
10
10
|
- alpha
|
11
|
-
-
|
12
|
-
version: 3.2.0.alpha.
|
11
|
+
- 291
|
12
|
+
version: 3.2.0.alpha.291
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Nathan Weizenbaum
|
@@ -19,7 +19,7 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date: 2012-08-
|
22
|
+
date: 2012-08-10 00:00:00 -04:00
|
23
23
|
default_executable:
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
@@ -83,10 +83,9 @@ files:
|
|
83
83
|
- lib/sass/importers/base.rb
|
84
84
|
- lib/sass/importers/filesystem.rb
|
85
85
|
- lib/sass/logger.rb
|
86
|
-
- lib/sass/media.rb
|
87
86
|
- lib/sass/logger/base.rb
|
88
87
|
- lib/sass/logger/log_level.rb
|
89
|
-
- lib/sass/
|
88
|
+
- lib/sass/media.rb
|
90
89
|
- lib/sass/plugin.rb
|
91
90
|
- lib/sass/plugin/compiler.rb
|
92
91
|
- lib/sass/plugin/configuration.rb
|
@@ -118,7 +117,8 @@ files:
|
|
118
117
|
- lib/sass/script/string_interpolation.rb
|
119
118
|
- lib/sass/script/unary_operation.rb
|
120
119
|
- lib/sass/script/variable.rb
|
121
|
-
- lib/sass/
|
120
|
+
- lib/sass/script/arg_list.rb
|
121
|
+
- lib/sass/scss.rb
|
122
122
|
- lib/sass/scss/css_parser.rb
|
123
123
|
- lib/sass/scss/parser.rb
|
124
124
|
- lib/sass/scss/rx.rb
|
@@ -132,7 +132,7 @@ files:
|
|
132
132
|
- lib/sass/selector/simple.rb
|
133
133
|
- lib/sass/selector/simple_sequence.rb
|
134
134
|
- lib/sass/shared.rb
|
135
|
-
- lib/sass/
|
135
|
+
- lib/sass/util.rb
|
136
136
|
- lib/sass/tree/charset_node.rb
|
137
137
|
- lib/sass/tree/comment_node.rb
|
138
138
|
- lib/sass/tree/directive_node.rb
|
@@ -154,7 +154,6 @@ files:
|
|
154
154
|
- lib/sass/tree/content_node.rb
|
155
155
|
- lib/sass/tree/css_import_node.rb
|
156
156
|
- lib/sass/tree/variable_node.rb
|
157
|
-
- lib/sass/tree/warn_node.rb
|
158
157
|
- lib/sass/tree/visitors/base.rb
|
159
158
|
- lib/sass/tree/visitors/check_nesting.rb
|
160
159
|
- lib/sass/tree/visitors/convert.rb
|
@@ -164,11 +163,13 @@ files:
|
|
164
163
|
- lib/sass/tree/visitors/perform.rb
|
165
164
|
- lib/sass/tree/visitors/set_options.rb
|
166
165
|
- lib/sass/tree/visitors/to_css.rb
|
166
|
+
- lib/sass/tree/warn_node.rb
|
167
167
|
- lib/sass/tree/while_node.rb
|
168
168
|
- lib/sass/tree/supports_node.rb
|
169
169
|
- lib/sass/tree/trace_node.rb
|
170
170
|
- lib/sass/util/multibyte_string_scanner.rb
|
171
171
|
- lib/sass/util/subset_map.rb
|
172
|
+
- lib/sass/version.rb
|
172
173
|
- lib/sass/supports.rb
|
173
174
|
- vendor/listen/CHANGELOG.md
|
174
175
|
- vendor/listen/Gemfile
|
@@ -223,20 +224,20 @@ files:
|
|
223
224
|
- test/sass/importer_test.rb
|
224
225
|
- test/sass/logger_test.rb
|
225
226
|
- test/sass/mock_importer.rb
|
226
|
-
- test/sass/plugin_test.rb
|
227
227
|
- test/sass/more_results/more1.css
|
228
228
|
- test/sass/more_results/more1_with_line_comments.css
|
229
229
|
- test/sass/more_results/more_import.css
|
230
230
|
- test/sass/more_templates/_more_partial.sass
|
231
231
|
- test/sass/more_templates/more1.sass
|
232
232
|
- test/sass/more_templates/more_import.sass
|
233
|
-
- test/sass/
|
233
|
+
- test/sass/plugin_test.rb
|
234
234
|
- test/sass/results/alt.css
|
235
235
|
- test/sass/results/basic.css
|
236
236
|
- test/sass/results/compact.css
|
237
237
|
- test/sass/results/complex.css
|
238
238
|
- test/sass/results/compressed.css
|
239
239
|
- test/sass/results/expanded.css
|
240
|
+
- test/sass/results/units.css
|
240
241
|
- test/sass/results/if.css
|
241
242
|
- test/sass/results/import.css
|
242
243
|
- test/sass/results/import_charset.css
|
@@ -254,20 +255,20 @@ files:
|
|
254
255
|
- test/sass/results/scss_importee.css
|
255
256
|
- test/sass/results/subdir/nested_subdir/nested_subdir.css
|
256
257
|
- test/sass/results/subdir/subdir.css
|
257
|
-
- test/sass/results/units.css
|
258
258
|
- test/sass/results/warn.css
|
259
259
|
- test/sass/results/warn_imported.css
|
260
260
|
- test/sass/results/import_content.css
|
261
261
|
- test/sass/script_conversion_test.rb
|
262
|
-
- test/sass/
|
262
|
+
- test/sass/script_test.rb
|
263
263
|
- test/sass/scss/css_test.rb
|
264
264
|
- test/sass/scss/rx_test.rb
|
265
265
|
- test/sass/scss/scss_test.rb
|
266
266
|
- test/sass/scss/test_helper.rb
|
267
267
|
- test/sass/templates/_double_import_loop2.sass
|
268
|
+
- test/sass/templates/_filename_fn_import.scss
|
268
269
|
- test/sass/templates/_imported_charset_ibm866.sass
|
269
270
|
- test/sass/templates/_imported_charset_utf8.sass
|
270
|
-
- test/sass/templates/
|
271
|
+
- test/sass/templates/_imported_content.sass
|
271
272
|
- test/sass/templates/_partial.sass
|
272
273
|
- test/sass/templates/alt.sass
|
273
274
|
- test/sass/templates/basic.sass
|
@@ -280,12 +281,13 @@ files:
|
|
280
281
|
- test/sass/templates/compressed.sass
|
281
282
|
- test/sass/templates/double_import_loop1.sass
|
282
283
|
- test/sass/templates/expanded.sass
|
284
|
+
- test/sass/templates/filename_fn.scss
|
283
285
|
- test/sass/templates/if.sass
|
284
286
|
- test/sass/templates/import.sass
|
285
287
|
- test/sass/templates/import_charset.sass
|
286
288
|
- test/sass/templates/import_charset_1_8.sass
|
287
289
|
- test/sass/templates/import_charset_ibm866.sass
|
288
|
-
- test/sass/templates/
|
290
|
+
- test/sass/templates/import_content.sass
|
289
291
|
- test/sass/templates/importee.less
|
290
292
|
- test/sass/templates/importee.sass
|
291
293
|
- test/sass/templates/line_numbers.sass
|
@@ -311,11 +313,10 @@ files:
|
|
311
313
|
- test/sass/templates/units.sass
|
312
314
|
- test/sass/templates/warn.sass
|
313
315
|
- test/sass/templates/warn_imported.sass
|
314
|
-
- test/sass/
|
315
|
-
- test/sass/templates/import_content.sass
|
316
|
-
- test/sass/util_test.rb
|
316
|
+
- test/sass/test_helper.rb
|
317
317
|
- test/sass/util/multibyte_string_scanner_test.rb
|
318
318
|
- test/sass/util/subset_map_test.rb
|
319
|
+
- test/sass/util_test.rb
|
319
320
|
- test/test_helper.rb
|
320
321
|
- extra/update_watch.rb
|
321
322
|
- Rakefile
|
@@ -377,11 +378,11 @@ test_files:
|
|
377
378
|
- test/sass/importer_test.rb
|
378
379
|
- test/sass/logger_test.rb
|
379
380
|
- test/sass/plugin_test.rb
|
380
|
-
- test/sass/script_test.rb
|
381
381
|
- test/sass/script_conversion_test.rb
|
382
|
+
- test/sass/script_test.rb
|
382
383
|
- test/sass/scss/css_test.rb
|
383
384
|
- test/sass/scss/rx_test.rb
|
384
385
|
- test/sass/scss/scss_test.rb
|
385
|
-
- test/sass/util_test.rb
|
386
386
|
- test/sass/util/multibyte_string_scanner_test.rb
|
387
387
|
- test/sass/util/subset_map_test.rb
|
388
|
+
- test/sass/util_test.rb
|