sass 3.4.5 → 3.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/VERSION_DATE +1 -1
- data/lib/sass/importers/filesystem.rb +1 -1
- data/lib/sass/script/value/number.rb +1 -1
- data/lib/sass/selector/comma_sequence.rb +8 -6
- data/lib/sass/selector/sequence.rb +14 -3
- data/lib/sass/selector/simple_sequence.rb +7 -2
- data/test/sass/importer_test.rb +9 -0
- data/test/sass/scss/scss_test.rb +46 -0
- metadata +281 -282
- data/test/foo.scss +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25939bfbe2548dc0bc9ce36e84b69cb2097defab
|
4
|
+
data.tar.gz: 70b91642e6e2f72c388d664ab4a322de692d70a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ccbfbd420d684612d1826af5744004b728f480161f4fa241f417fd5edc78177c05de259520e26a4c4cab01779ee4e423043d6d2060c8cc1fec765bf6389acfc
|
7
|
+
data.tar.gz: 11e59d8d04b67c8272533ec4081e2119c5ffe3cd0f652507cbf80ee400d2465bfe7aa4380bdde2225f6eea9d7112487871fc31016e96a0002d41990ff7ab919f
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.4.
|
1
|
+
3.4.6
|
data/VERSION_DATE
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
17 October 2014 01:32:48 UTC
|
@@ -25,12 +25,7 @@ module Sass
|
|
25
25
|
# @raise [Sass::SyntaxError] If a parent selector is invalid
|
26
26
|
def resolve_parent_refs(super_cseq, implicit_parent = true)
|
27
27
|
if super_cseq.nil?
|
28
|
-
if
|
29
|
-
sel.members.any? do |sel_or_op|
|
30
|
-
sel_or_op.is_a?(SimpleSequence) &&
|
31
|
-
sel_or_op.members.any? {|ssel| ssel.is_a?(Parent)}
|
32
|
-
end
|
33
|
-
end
|
28
|
+
if contains_parent_ref?
|
34
29
|
raise Sass::SyntaxError.new(
|
35
30
|
"Base-level rules cannot contain the parent-selector-referencing character '&'.")
|
36
31
|
end
|
@@ -42,6 +37,13 @@ module Sass
|
|
42
37
|
end))
|
43
38
|
end
|
44
39
|
|
40
|
+
# Returns whether there's a {Parent} selector anywhere in this sequence.
|
41
|
+
#
|
42
|
+
# @return [Boolean]
|
43
|
+
def contains_parent_ref?
|
44
|
+
@members.any? {|sel| sel.contains_parent_ref?}
|
45
|
+
end
|
46
|
+
|
45
47
|
# Non-destrucively extends this selector with the extensions specified in a hash
|
46
48
|
# (which should come from {Sass::Tree::Visitors::Cssize}).
|
47
49
|
#
|
@@ -52,9 +52,7 @@ module Sass
|
|
52
52
|
def resolve_parent_refs(super_cseq, implicit_parent)
|
53
53
|
members = @members.dup
|
54
54
|
nl = (members.first == "\n" && members.shift)
|
55
|
-
contains_parent_ref =
|
56
|
-
seq_or_op.is_a?(SimpleSequence) && seq_or_op.members.first.is_a?(Parent)
|
57
|
-
end
|
55
|
+
contains_parent_ref = contains_parent_ref?
|
58
56
|
return CommaSequence.new([self]) if !implicit_parent && !contains_parent_ref
|
59
57
|
|
60
58
|
unless contains_parent_ref
|
@@ -75,6 +73,19 @@ module Sass
|
|
75
73
|
end)
|
76
74
|
end
|
77
75
|
|
76
|
+
# Returns whether there's a {Parent} selector anywhere in this sequence.
|
77
|
+
#
|
78
|
+
# @return [Boolean]
|
79
|
+
def contains_parent_ref?
|
80
|
+
members.any? do |sseq_or_op|
|
81
|
+
next false unless sseq_or_op.is_a?(SimpleSequence)
|
82
|
+
next true if sseq_or_op.members.first.is_a?(Parent)
|
83
|
+
sseq_or_op.members.any? do |sel|
|
84
|
+
sel.is_a?(Pseudo) && sel.selector && sel.selector.contains_parent_ref?
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
78
89
|
# Non-destructively extends this selector with the extensions specified in a hash
|
79
90
|
# (which should come from {Sass::Tree::Visitors::Cssize}).
|
80
91
|
#
|
@@ -86,9 +86,14 @@ module Sass
|
|
86
86
|
# @return [CommaSequence] This selector, with parent references resolved
|
87
87
|
# @raise [Sass::SyntaxError] If a parent selector is invalid
|
88
88
|
def resolve_parent_refs(super_cseq)
|
89
|
+
resolved_members = @members.map do |sel|
|
90
|
+
next sel unless sel.is_a?(Pseudo) && sel.selector
|
91
|
+
sel.with_selector(sel.selector.resolve_parent_refs(super_cseq, !:implicit_parent))
|
92
|
+
end
|
93
|
+
|
89
94
|
# Parent selector only appears as the first selector in the sequence
|
90
|
-
unless (parent =
|
91
|
-
return CommaSequence.new([Sequence.new([
|
95
|
+
unless (parent = resolved_members.first).is_a?(Parent)
|
96
|
+
return CommaSequence.new([Sequence.new([SimpleSequence.new(resolved_members, subject?)])])
|
92
97
|
end
|
93
98
|
|
94
99
|
return super_cseq if @members.size == 1 && parent.suffix.nil?
|
data/test/sass/importer_test.rb
CHANGED
@@ -405,6 +405,15 @@ MESSAGE
|
|
405
405
|
File.join(fixture_dir, path)
|
406
406
|
end
|
407
407
|
|
408
|
+
def test_filesystem_importer_eql
|
409
|
+
importer = Sass::Importers::Filesystem.new('.')
|
410
|
+
assert importer.eql?(Sass::Importers::Filesystem.new('.'))
|
411
|
+
assert importer.eql?(ReversedExtImporter.new('.'))
|
412
|
+
assert !importer.eql?(Sass::Importers::Filesystem.new('foo'))
|
413
|
+
assert !importer.eql?(nil)
|
414
|
+
assert !importer.eql?('foo')
|
415
|
+
end
|
416
|
+
|
408
417
|
def test_absolute_files_across_template_locations
|
409
418
|
importer = Sass::Importers::Filesystem.new(absolutize 'templates')
|
410
419
|
refute_nil importer.mtime(absolutize('more_templates/more1.sass'), {})
|
data/test/sass/scss/scss_test.rb
CHANGED
@@ -3570,6 +3570,52 @@ SCSS
|
|
3570
3570
|
|
3571
3571
|
# Regression
|
3572
3572
|
|
3573
|
+
def test_for_directive_with_float_bounds
|
3574
|
+
assert_equal(<<CSS, render(<<SCSS))
|
3575
|
+
.a {
|
3576
|
+
b: 0;
|
3577
|
+
b: 1;
|
3578
|
+
b: 2;
|
3579
|
+
b: 3;
|
3580
|
+
b: 4;
|
3581
|
+
b: 5; }
|
3582
|
+
CSS
|
3583
|
+
.a {
|
3584
|
+
@for $i from 0.0 through 5.0 {b: $i}
|
3585
|
+
}
|
3586
|
+
SCSS
|
3587
|
+
|
3588
|
+
assert_raise_message(Sass::SyntaxError, "0.5 is not an integer.") {render(<<SCSS)}
|
3589
|
+
.a {
|
3590
|
+
@for $i from 0.5 through 5.0 {b: $i}
|
3591
|
+
}
|
3592
|
+
SCSS
|
3593
|
+
|
3594
|
+
assert_raise_message(Sass::SyntaxError, "5.5 is not an integer.") {render(<<SCSS)}
|
3595
|
+
.a {
|
3596
|
+
@for $i from 0.0 through 5.5 {b: $i}
|
3597
|
+
}
|
3598
|
+
SCSS
|
3599
|
+
end
|
3600
|
+
|
3601
|
+
def test_parent_selector_in_function_pseudo_selector
|
3602
|
+
assert_equal <<CSS, render(<<SCSS)
|
3603
|
+
.bar:not(.foo) {
|
3604
|
+
a: b; }
|
3605
|
+
|
3606
|
+
.qux:nth-child(2n of .baz .bang) {
|
3607
|
+
c: d; }
|
3608
|
+
CSS
|
3609
|
+
.foo {
|
3610
|
+
.bar:not(&) {a: b}
|
3611
|
+
}
|
3612
|
+
|
3613
|
+
.baz .bang {
|
3614
|
+
.qux:nth-child(2n of &) {c: d}
|
3615
|
+
}
|
3616
|
+
SCSS
|
3617
|
+
end
|
3618
|
+
|
3573
3619
|
def test_attribute_selector_in_selector_pseudoclass
|
3574
3620
|
# Even though this is plain CSS, it only failed when given to the SCSS
|
3575
3621
|
# parser.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Natalie Weizenbaum
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-10-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: yard
|
@@ -67,311 +67,310 @@ executables:
|
|
67
67
|
extensions: []
|
68
68
|
extra_rdoc_files: []
|
69
69
|
files:
|
70
|
-
-
|
70
|
+
- .yardopts
|
71
|
+
- CONTRIBUTING
|
72
|
+
- MIT-LICENSE
|
73
|
+
- README.md
|
74
|
+
- REVISION
|
75
|
+
- Rakefile
|
76
|
+
- VERSION
|
77
|
+
- VERSION_DATE
|
78
|
+
- VERSION_NAME
|
79
|
+
- bin/sass
|
80
|
+
- bin/sass-convert
|
81
|
+
- bin/scss
|
82
|
+
- extra/update_watch.rb
|
83
|
+
- init.rb
|
71
84
|
- lib/sass.rb
|
72
85
|
- lib/sass/cache_stores.rb
|
73
|
-
- lib/sass/
|
74
|
-
- lib/sass/plugin/merb.rb
|
75
|
-
- lib/sass/plugin/staleness_checker.rb
|
76
|
-
- lib/sass/plugin/rack.rb
|
77
|
-
- lib/sass/plugin/rails.rb
|
78
|
-
- lib/sass/plugin/configuration.rb
|
79
|
-
- lib/sass/plugin/generic.rb
|
80
|
-
- lib/sass/version.rb
|
81
|
-
- lib/sass/supports.rb
|
82
|
-
- lib/sass/media.rb
|
83
|
-
- lib/sass/stack.rb
|
86
|
+
- lib/sass/cache_stores/base.rb
|
84
87
|
- lib/sass/cache_stores/chain.rb
|
88
|
+
- lib/sass/cache_stores/filesystem.rb
|
85
89
|
- lib/sass/cache_stores/memory.rb
|
86
90
|
- lib/sass/cache_stores/null.rb
|
87
|
-
- lib/sass/
|
88
|
-
- lib/sass/
|
89
|
-
- lib/sass/shared.rb
|
90
|
-
- lib/sass/repl.rb
|
91
|
-
- lib/sass/error.rb
|
92
|
-
- lib/sass/tree/import_node.rb
|
93
|
-
- lib/sass/tree/trace_node.rb
|
94
|
-
- lib/sass/tree/return_node.rb
|
95
|
-
- lib/sass/tree/root_node.rb
|
96
|
-
- lib/sass/tree/keyframe_rule_node.rb
|
97
|
-
- lib/sass/tree/if_node.rb
|
98
|
-
- lib/sass/tree/charset_node.rb
|
99
|
-
- lib/sass/tree/css_import_node.rb
|
100
|
-
- lib/sass/tree/function_node.rb
|
101
|
-
- lib/sass/tree/media_node.rb
|
102
|
-
- lib/sass/tree/while_node.rb
|
103
|
-
- lib/sass/tree/for_node.rb
|
104
|
-
- lib/sass/tree/directive_node.rb
|
105
|
-
- lib/sass/tree/rule_node.rb
|
106
|
-
- lib/sass/tree/each_node.rb
|
107
|
-
- lib/sass/tree/at_root_node.rb
|
108
|
-
- lib/sass/tree/node.rb
|
109
|
-
- lib/sass/tree/mixin_node.rb
|
110
|
-
- lib/sass/tree/error_node.rb
|
111
|
-
- lib/sass/tree/extend_node.rb
|
112
|
-
- lib/sass/tree/mixin_def_node.rb
|
113
|
-
- lib/sass/tree/supports_node.rb
|
114
|
-
- lib/sass/tree/visitors/perform.rb
|
115
|
-
- lib/sass/tree/visitors/to_css.rb
|
116
|
-
- lib/sass/tree/visitors/check_nesting.rb
|
117
|
-
- lib/sass/tree/visitors/deep_copy.rb
|
118
|
-
- lib/sass/tree/visitors/extend.rb
|
119
|
-
- lib/sass/tree/visitors/set_options.rb
|
120
|
-
- lib/sass/tree/visitors/cssize.rb
|
121
|
-
- lib/sass/tree/visitors/convert.rb
|
122
|
-
- lib/sass/tree/visitors/base.rb
|
123
|
-
- lib/sass/tree/content_node.rb
|
124
|
-
- lib/sass/tree/comment_node.rb
|
125
|
-
- lib/sass/tree/warn_node.rb
|
126
|
-
- lib/sass/tree/debug_node.rb
|
127
|
-
- lib/sass/tree/prop_node.rb
|
128
|
-
- lib/sass/tree/variable_node.rb
|
91
|
+
- lib/sass/callbacks.rb
|
92
|
+
- lib/sass/css.rb
|
129
93
|
- lib/sass/engine.rb
|
130
|
-
- lib/sass/
|
94
|
+
- lib/sass/environment.rb
|
95
|
+
- lib/sass/error.rb
|
96
|
+
- lib/sass/exec.rb
|
131
97
|
- lib/sass/exec/base.rb
|
132
98
|
- lib/sass/exec/sass_convert.rb
|
133
|
-
- lib/sass/
|
134
|
-
- lib/sass/root.rb
|
99
|
+
- lib/sass/exec/sass_scss.rb
|
135
100
|
- lib/sass/features.rb
|
136
101
|
- lib/sass/importers.rb
|
137
|
-
- lib/sass/
|
138
|
-
- lib/sass/
|
139
|
-
- lib/sass/source/position.rb
|
102
|
+
- lib/sass/importers/base.rb
|
103
|
+
- lib/sass/importers/filesystem.rb
|
140
104
|
- lib/sass/logger.rb
|
141
|
-
- lib/sass/util/normalized_map.rb
|
142
|
-
- lib/sass/util/test.rb
|
143
|
-
- lib/sass/util/cross_platform_random.rb
|
144
|
-
- lib/sass/util/ordered_hash.rb
|
145
|
-
- lib/sass/util/multibyte_string_scanner.rb
|
146
|
-
- lib/sass/util/subset_map.rb
|
147
|
-
- lib/sass/scss.rb
|
148
|
-
- lib/sass/scss/static_parser.rb
|
149
|
-
- lib/sass/scss/parser.rb
|
150
|
-
- lib/sass/scss/script_lexer.rb
|
151
|
-
- lib/sass/scss/rx.rb
|
152
|
-
- lib/sass/scss/script_parser.rb
|
153
|
-
- lib/sass/scss/css_parser.rb
|
154
|
-
- lib/sass/logger/log_level.rb
|
155
105
|
- lib/sass/logger/base.rb
|
156
|
-
- lib/sass/
|
106
|
+
- lib/sass/logger/log_level.rb
|
107
|
+
- lib/sass/media.rb
|
108
|
+
- lib/sass/plugin.rb
|
109
|
+
- lib/sass/plugin/compiler.rb
|
110
|
+
- lib/sass/plugin/configuration.rb
|
111
|
+
- lib/sass/plugin/generic.rb
|
112
|
+
- lib/sass/plugin/merb.rb
|
113
|
+
- lib/sass/plugin/rack.rb
|
114
|
+
- lib/sass/plugin/rails.rb
|
115
|
+
- lib/sass/plugin/staleness_checker.rb
|
116
|
+
- lib/sass/railtie.rb
|
117
|
+
- lib/sass/repl.rb
|
118
|
+
- lib/sass/root.rb
|
157
119
|
- lib/sass/script.rb
|
158
|
-
- lib/sass/
|
159
|
-
- lib/sass/
|
160
|
-
- lib/sass/importers/base.rb
|
161
|
-
- lib/sass/script/parser.rb
|
120
|
+
- lib/sass/script/css_lexer.rb
|
121
|
+
- lib/sass/script/css_parser.rb
|
162
122
|
- lib/sass/script/functions.rb
|
163
|
-
- lib/sass/script/
|
164
|
-
- lib/sass/script/
|
123
|
+
- lib/sass/script/lexer.rb
|
124
|
+
- lib/sass/script/parser.rb
|
125
|
+
- lib/sass/script/tree.rb
|
165
126
|
- lib/sass/script/tree/funcall.rb
|
166
|
-
- lib/sass/script/tree/literal.rb
|
167
|
-
- lib/sass/script/tree/string_interpolation.rb
|
168
127
|
- lib/sass/script/tree/interpolation.rb
|
169
128
|
- lib/sass/script/tree/list_literal.rb
|
129
|
+
- lib/sass/script/tree/literal.rb
|
130
|
+
- lib/sass/script/tree/map_literal.rb
|
170
131
|
- lib/sass/script/tree/node.rb
|
171
|
-
- lib/sass/script/tree/
|
132
|
+
- lib/sass/script/tree/operation.rb
|
172
133
|
- lib/sass/script/tree/selector.rb
|
173
|
-
- lib/sass/script/tree/
|
174
|
-
- lib/sass/script/tree.rb
|
175
|
-
- lib/sass/script/
|
176
|
-
- lib/sass/script/css_lexer.rb
|
134
|
+
- lib/sass/script/tree/string_interpolation.rb
|
135
|
+
- lib/sass/script/tree/unary_operation.rb
|
136
|
+
- lib/sass/script/tree/variable.rb
|
177
137
|
- lib/sass/script/value.rb
|
178
|
-
- lib/sass/script/value/color.rb
|
179
|
-
- lib/sass/script/value/number.rb
|
180
|
-
- lib/sass/script/value/map.rb
|
181
138
|
- lib/sass/script/value/arg_list.rb
|
139
|
+
- lib/sass/script/value/base.rb
|
182
140
|
- lib/sass/script/value/bool.rb
|
183
|
-
- lib/sass/script/value/
|
141
|
+
- lib/sass/script/value/color.rb
|
184
142
|
- lib/sass/script/value/helpers.rb
|
143
|
+
- lib/sass/script/value/list.rb
|
144
|
+
- lib/sass/script/value/map.rb
|
185
145
|
- lib/sass/script/value/null.rb
|
146
|
+
- lib/sass/script/value/number.rb
|
186
147
|
- lib/sass/script/value/string.rb
|
187
|
-
- lib/sass/
|
188
|
-
- lib/sass/
|
148
|
+
- lib/sass/scss.rb
|
149
|
+
- lib/sass/scss/css_parser.rb
|
150
|
+
- lib/sass/scss/parser.rb
|
151
|
+
- lib/sass/scss/rx.rb
|
152
|
+
- lib/sass/scss/script_lexer.rb
|
153
|
+
- lib/sass/scss/script_parser.rb
|
154
|
+
- lib/sass/scss/static_parser.rb
|
189
155
|
- lib/sass/selector.rb
|
190
|
-
- lib/sass/callbacks.rb
|
191
|
-
- lib/sass/selector/simple.rb
|
192
|
-
- lib/sass/selector/pseudo.rb
|
193
|
-
- lib/sass/selector/sequence.rb
|
194
156
|
- lib/sass/selector/abstract_sequence.rb
|
195
157
|
- lib/sass/selector/comma_sequence.rb
|
158
|
+
- lib/sass/selector/pseudo.rb
|
159
|
+
- lib/sass/selector/sequence.rb
|
160
|
+
- lib/sass/selector/simple.rb
|
196
161
|
- lib/sass/selector/simple_sequence.rb
|
197
|
-
- lib/sass/
|
198
|
-
- lib/sass/
|
199
|
-
- lib/sass/
|
200
|
-
-
|
162
|
+
- lib/sass/shared.rb
|
163
|
+
- lib/sass/source/map.rb
|
164
|
+
- lib/sass/source/position.rb
|
165
|
+
- lib/sass/source/range.rb
|
166
|
+
- lib/sass/stack.rb
|
167
|
+
- lib/sass/supports.rb
|
168
|
+
- lib/sass/tree/at_root_node.rb
|
169
|
+
- lib/sass/tree/charset_node.rb
|
170
|
+
- lib/sass/tree/comment_node.rb
|
171
|
+
- lib/sass/tree/content_node.rb
|
172
|
+
- lib/sass/tree/css_import_node.rb
|
173
|
+
- lib/sass/tree/debug_node.rb
|
174
|
+
- lib/sass/tree/directive_node.rb
|
175
|
+
- lib/sass/tree/each_node.rb
|
176
|
+
- lib/sass/tree/error_node.rb
|
177
|
+
- lib/sass/tree/extend_node.rb
|
178
|
+
- lib/sass/tree/for_node.rb
|
179
|
+
- lib/sass/tree/function_node.rb
|
180
|
+
- lib/sass/tree/if_node.rb
|
181
|
+
- lib/sass/tree/import_node.rb
|
182
|
+
- lib/sass/tree/keyframe_rule_node.rb
|
183
|
+
- lib/sass/tree/media_node.rb
|
184
|
+
- lib/sass/tree/mixin_def_node.rb
|
185
|
+
- lib/sass/tree/mixin_node.rb
|
186
|
+
- lib/sass/tree/node.rb
|
187
|
+
- lib/sass/tree/prop_node.rb
|
188
|
+
- lib/sass/tree/return_node.rb
|
189
|
+
- lib/sass/tree/root_node.rb
|
190
|
+
- lib/sass/tree/rule_node.rb
|
191
|
+
- lib/sass/tree/supports_node.rb
|
192
|
+
- lib/sass/tree/trace_node.rb
|
193
|
+
- lib/sass/tree/variable_node.rb
|
194
|
+
- lib/sass/tree/visitors/base.rb
|
195
|
+
- lib/sass/tree/visitors/check_nesting.rb
|
196
|
+
- lib/sass/tree/visitors/convert.rb
|
197
|
+
- lib/sass/tree/visitors/cssize.rb
|
198
|
+
- lib/sass/tree/visitors/deep_copy.rb
|
199
|
+
- lib/sass/tree/visitors/extend.rb
|
200
|
+
- lib/sass/tree/visitors/perform.rb
|
201
|
+
- lib/sass/tree/visitors/set_options.rb
|
202
|
+
- lib/sass/tree/visitors/to_css.rb
|
203
|
+
- lib/sass/tree/warn_node.rb
|
204
|
+
- lib/sass/tree/while_node.rb
|
205
|
+
- lib/sass/util.rb
|
206
|
+
- lib/sass/util/cross_platform_random.rb
|
207
|
+
- lib/sass/util/multibyte_string_scanner.rb
|
208
|
+
- lib/sass/util/normalized_map.rb
|
209
|
+
- lib/sass/util/ordered_hash.rb
|
210
|
+
- lib/sass/util/subset_map.rb
|
211
|
+
- lib/sass/util/test.rb
|
212
|
+
- lib/sass/version.rb
|
213
|
+
- rails/init.rb
|
214
|
+
- test/sass/cache_test.rb
|
215
|
+
- test/sass/callbacks_test.rb
|
216
|
+
- test/sass/compiler_test.rb
|
217
|
+
- test/sass/conversion_test.rb
|
218
|
+
- test/sass/css2sass_test.rb
|
219
|
+
- test/sass/data/hsl-rgb.txt
|
220
|
+
- test/sass/encoding_test.rb
|
221
|
+
- test/sass/engine_test.rb
|
222
|
+
- test/sass/exec_test.rb
|
223
|
+
- test/sass/extend_test.rb
|
224
|
+
- test/sass/fixtures/test_staleness_check_across_importers.css
|
225
|
+
- test/sass/fixtures/test_staleness_check_across_importers.scss
|
226
|
+
- test/sass/functions_test.rb
|
227
|
+
- test/sass/importer_test.rb
|
228
|
+
- test/sass/logger_test.rb
|
229
|
+
- test/sass/mock_importer.rb
|
230
|
+
- test/sass/more_results/more1.css
|
231
|
+
- test/sass/more_results/more1_with_line_comments.css
|
232
|
+
- test/sass/more_results/more_import.css
|
233
|
+
- test/sass/more_templates/_more_partial.sass
|
234
|
+
- test/sass/more_templates/more1.sass
|
235
|
+
- test/sass/more_templates/more_import.sass
|
236
|
+
- test/sass/plugin_test.rb
|
237
|
+
- test/sass/results/alt.css
|
238
|
+
- test/sass/results/basic.css
|
239
|
+
- test/sass/results/cached_import_option.css
|
240
|
+
- test/sass/results/compact.css
|
241
|
+
- test/sass/results/complex.css
|
242
|
+
- test/sass/results/compressed.css
|
243
|
+
- test/sass/results/expanded.css
|
244
|
+
- test/sass/results/filename_fn.css
|
245
|
+
- test/sass/results/if.css
|
246
|
+
- test/sass/results/import.css
|
247
|
+
- test/sass/results/import_charset.css
|
248
|
+
- test/sass/results/import_charset_1_8.css
|
249
|
+
- test/sass/results/import_charset_ibm866.css
|
250
|
+
- test/sass/results/import_content.css
|
251
|
+
- test/sass/results/line_numbers.css
|
252
|
+
- test/sass/results/mixins.css
|
253
|
+
- test/sass/results/multiline.css
|
254
|
+
- test/sass/results/nested.css
|
255
|
+
- test/sass/results/options.css
|
256
|
+
- test/sass/results/parent_ref.css
|
257
|
+
- test/sass/results/script.css
|
258
|
+
- test/sass/results/scss_import.css
|
259
|
+
- test/sass/results/scss_importee.css
|
260
|
+
- test/sass/results/subdir/nested_subdir/nested_subdir.css
|
261
|
+
- test/sass/results/subdir/subdir.css
|
262
|
+
- test/sass/results/units.css
|
263
|
+
- test/sass/results/warn.css
|
264
|
+
- test/sass/results/warn_imported.css
|
265
|
+
- test/sass/script_conversion_test.rb
|
266
|
+
- test/sass/script_test.rb
|
267
|
+
- test/sass/scss/css_test.rb
|
268
|
+
- test/sass/scss/rx_test.rb
|
269
|
+
- test/sass/scss/scss_test.rb
|
270
|
+
- test/sass/scss/test_helper.rb
|
271
|
+
- test/sass/source_map_test.rb
|
272
|
+
- test/sass/superselector_test.rb
|
273
|
+
- test/sass/templates/_cached_import_option_partial.scss
|
274
|
+
- test/sass/templates/_double_import_loop2.sass
|
275
|
+
- test/sass/templates/_filename_fn_import.scss
|
276
|
+
- test/sass/templates/_imported_charset_ibm866.sass
|
277
|
+
- test/sass/templates/_imported_charset_utf8.sass
|
278
|
+
- test/sass/templates/_imported_content.sass
|
279
|
+
- test/sass/templates/_partial.sass
|
280
|
+
- test/sass/templates/_same_name_different_partiality.scss
|
281
|
+
- test/sass/templates/alt.sass
|
282
|
+
- test/sass/templates/basic.sass
|
283
|
+
- test/sass/templates/bork1.sass
|
284
|
+
- test/sass/templates/bork2.sass
|
285
|
+
- test/sass/templates/bork3.sass
|
286
|
+
- test/sass/templates/bork4.sass
|
287
|
+
- test/sass/templates/bork5.sass
|
288
|
+
- test/sass/templates/cached_import_option.scss
|
289
|
+
- test/sass/templates/compact.sass
|
290
|
+
- test/sass/templates/complex.sass
|
291
|
+
- test/sass/templates/compressed.sass
|
292
|
+
- test/sass/templates/double_import_loop1.sass
|
293
|
+
- test/sass/templates/expanded.sass
|
294
|
+
- test/sass/templates/filename_fn.scss
|
295
|
+
- test/sass/templates/if.sass
|
296
|
+
- test/sass/templates/import.sass
|
297
|
+
- test/sass/templates/import_charset.sass
|
298
|
+
- test/sass/templates/import_charset_1_8.sass
|
299
|
+
- test/sass/templates/import_charset_ibm866.sass
|
300
|
+
- test/sass/templates/import_content.sass
|
301
|
+
- test/sass/templates/importee.less
|
302
|
+
- test/sass/templates/importee.sass
|
303
|
+
- test/sass/templates/line_numbers.sass
|
304
|
+
- test/sass/templates/mixin_bork.sass
|
305
|
+
- test/sass/templates/mixins.sass
|
306
|
+
- test/sass/templates/multiline.sass
|
307
|
+
- test/sass/templates/nested.sass
|
308
|
+
- test/sass/templates/nested_bork1.sass
|
309
|
+
- test/sass/templates/nested_bork2.sass
|
310
|
+
- test/sass/templates/nested_bork3.sass
|
311
|
+
- test/sass/templates/nested_bork4.sass
|
312
|
+
- test/sass/templates/nested_import.sass
|
313
|
+
- test/sass/templates/nested_mixin_bork.sass
|
314
|
+
- test/sass/templates/options.sass
|
315
|
+
- test/sass/templates/parent_ref.sass
|
316
|
+
- test/sass/templates/same_name_different_ext.sass
|
317
|
+
- test/sass/templates/same_name_different_ext.scss
|
318
|
+
- test/sass/templates/same_name_different_partiality.scss
|
319
|
+
- test/sass/templates/script.sass
|
320
|
+
- test/sass/templates/scss_import.scss
|
321
|
+
- test/sass/templates/scss_importee.scss
|
322
|
+
- test/sass/templates/single_import_loop.sass
|
323
|
+
- test/sass/templates/subdir/import_up1.scss
|
324
|
+
- test/sass/templates/subdir/import_up2.scss
|
325
|
+
- test/sass/templates/subdir/nested_subdir/_nested_partial.sass
|
326
|
+
- test/sass/templates/subdir/nested_subdir/nested_subdir.sass
|
327
|
+
- test/sass/templates/subdir/subdir.sass
|
328
|
+
- test/sass/templates/units.sass
|
329
|
+
- test/sass/templates/warn.sass
|
330
|
+
- test/sass/templates/warn_imported.sass
|
331
|
+
- test/sass/test_helper.rb
|
332
|
+
- test/sass/util/multibyte_string_scanner_test.rb
|
333
|
+
- test/sass/util/normalized_map_test.rb
|
334
|
+
- test/sass/util/subset_map_test.rb
|
335
|
+
- test/sass/util_test.rb
|
336
|
+
- test/sass/value_helpers_test.rb
|
337
|
+
- test/test_helper.rb
|
338
|
+
- vendor/listen/CHANGELOG.md
|
201
339
|
- vendor/listen/CONTRIBUTING.md
|
202
|
-
- vendor/listen/Guardfile
|
203
340
|
- vendor/listen/Gemfile
|
204
|
-
- vendor/listen/
|
205
|
-
- vendor/listen/
|
206
|
-
- vendor/listen/
|
207
|
-
- vendor/listen/
|
208
|
-
- vendor/listen/
|
341
|
+
- vendor/listen/Guardfile
|
342
|
+
- vendor/listen/LICENSE
|
343
|
+
- vendor/listen/README.md
|
344
|
+
- vendor/listen/Rakefile
|
345
|
+
- vendor/listen/Vagrantfile
|
346
|
+
- vendor/listen/lib/listen.rb
|
347
|
+
- vendor/listen/lib/listen/adapter.rb
|
348
|
+
- vendor/listen/lib/listen/adapters/bsd.rb
|
209
349
|
- vendor/listen/lib/listen/adapters/darwin.rb
|
210
350
|
- vendor/listen/lib/listen/adapters/linux.rb
|
211
|
-
- vendor/listen/lib/listen/adapters/
|
351
|
+
- vendor/listen/lib/listen/adapters/polling.rb
|
212
352
|
- vendor/listen/lib/listen/adapters/windows.rb
|
213
|
-
- vendor/listen/lib/listen/
|
214
|
-
- vendor/listen/lib/listen.rb
|
215
|
-
- vendor/listen/
|
216
|
-
- vendor/listen/
|
217
|
-
- vendor/listen/LICENSE
|
353
|
+
- vendor/listen/lib/listen/directory_record.rb
|
354
|
+
- vendor/listen/lib/listen/listener.rb
|
355
|
+
- vendor/listen/lib/listen/turnstile.rb
|
356
|
+
- vendor/listen/lib/listen/version.rb
|
218
357
|
- vendor/listen/listen.gemspec
|
219
|
-
- vendor/listen/
|
220
|
-
- vendor/listen/spec/listen/directory_record_spec.rb
|
221
|
-
- vendor/listen/spec/listen/adapters/linux_spec.rb
|
222
|
-
- vendor/listen/spec/listen/adapters/darwin_spec.rb
|
358
|
+
- vendor/listen/spec/listen/adapter_spec.rb
|
223
359
|
- vendor/listen/spec/listen/adapters/bsd_spec.rb
|
360
|
+
- vendor/listen/spec/listen/adapters/darwin_spec.rb
|
361
|
+
- vendor/listen/spec/listen/adapters/linux_spec.rb
|
224
362
|
- vendor/listen/spec/listen/adapters/polling_spec.rb
|
225
363
|
- vendor/listen/spec/listen/adapters/windows_spec.rb
|
226
|
-
- vendor/listen/spec/listen/
|
227
|
-
- vendor/listen/spec/listen/adapter_spec.rb
|
364
|
+
- vendor/listen/spec/listen/directory_record_spec.rb
|
228
365
|
- vendor/listen/spec/listen/listener_spec.rb
|
366
|
+
- vendor/listen/spec/listen/turnstile_spec.rb
|
229
367
|
- vendor/listen/spec/listen_spec.rb
|
230
368
|
- vendor/listen/spec/spec_helper.rb
|
369
|
+
- vendor/listen/spec/support/adapter_helper.rb
|
231
370
|
- vendor/listen/spec/support/directory_record_helper.rb
|
371
|
+
- vendor/listen/spec/support/fixtures_helper.rb
|
232
372
|
- vendor/listen/spec/support/listeners_helper.rb
|
233
|
-
- vendor/listen/spec/support/adapter_helper.rb
|
234
373
|
- vendor/listen/spec/support/platform_helper.rb
|
235
|
-
- vendor/listen/spec/support/fixtures_helper.rb
|
236
|
-
- bin/sass-convert
|
237
|
-
- bin/scss
|
238
|
-
- bin/sass
|
239
|
-
- test/test_helper.rb
|
240
|
-
- test/foo.scss
|
241
|
-
- test/sass/engine_test.rb
|
242
|
-
- test/sass/functions_test.rb
|
243
|
-
- test/sass/value_helpers_test.rb
|
244
|
-
- test/sass/fixtures/test_staleness_check_across_importers.scss
|
245
|
-
- test/sass/fixtures/test_staleness_check_across_importers.css
|
246
|
-
- test/sass/data/hsl-rgb.txt
|
247
|
-
- test/sass/extend_test.rb
|
248
|
-
- test/sass/logger_test.rb
|
249
|
-
- test/sass/compiler_test.rb
|
250
|
-
- test/sass/css2sass_test.rb
|
251
|
-
- test/sass/templates/_filename_fn_import.scss
|
252
|
-
- test/sass/templates/basic.sass
|
253
|
-
- test/sass/templates/mixins.sass
|
254
|
-
- test/sass/templates/options.sass
|
255
|
-
- test/sass/templates/scss_import.scss
|
256
|
-
- test/sass/templates/subdir/subdir.sass
|
257
|
-
- test/sass/templates/subdir/import_up2.scss
|
258
|
-
- test/sass/templates/subdir/nested_subdir/_nested_partial.sass
|
259
|
-
- test/sass/templates/subdir/nested_subdir/nested_subdir.sass
|
260
|
-
- test/sass/templates/subdir/import_up1.scss
|
261
|
-
- test/sass/templates/_imported_content.sass
|
262
|
-
- test/sass/templates/filename_fn.scss
|
263
|
-
- test/sass/templates/alt.sass
|
264
|
-
- test/sass/templates/nested_bork1.sass
|
265
|
-
- test/sass/templates/same_name_different_partiality.scss
|
266
|
-
- test/sass/templates/complex.sass
|
267
|
-
- test/sass/templates/units.sass
|
268
|
-
- test/sass/templates/nested_import.sass
|
269
|
-
- test/sass/templates/importee.sass
|
270
|
-
- test/sass/templates/importee.less
|
271
|
-
- test/sass/templates/_cached_import_option_partial.scss
|
272
|
-
- test/sass/templates/scss_importee.scss
|
273
|
-
- test/sass/templates/line_numbers.sass
|
274
|
-
- test/sass/templates/expanded.sass
|
275
|
-
- test/sass/templates/bork3.sass
|
276
|
-
- test/sass/templates/bork5.sass
|
277
|
-
- test/sass/templates/import_content.sass
|
278
|
-
- test/sass/templates/warn_imported.sass
|
279
|
-
- test/sass/templates/import_charset_ibm866.sass
|
280
|
-
- test/sass/templates/bork1.sass
|
281
|
-
- test/sass/templates/warn.sass
|
282
|
-
- test/sass/templates/bork2.sass
|
283
|
-
- test/sass/templates/nested.sass
|
284
|
-
- test/sass/templates/compact.sass
|
285
|
-
- test/sass/templates/single_import_loop.sass
|
286
|
-
- test/sass/templates/_same_name_different_partiality.scss
|
287
|
-
- test/sass/templates/multiline.sass
|
288
|
-
- test/sass/templates/_imported_charset_ibm866.sass
|
289
|
-
- test/sass/templates/double_import_loop1.sass
|
290
|
-
- test/sass/templates/_double_import_loop2.sass
|
291
|
-
- test/sass/templates/import_charset.sass
|
292
|
-
- test/sass/templates/parent_ref.sass
|
293
|
-
- test/sass/templates/import.sass
|
294
|
-
- test/sass/templates/nested_bork3.sass
|
295
|
-
- test/sass/templates/script.sass
|
296
|
-
- test/sass/templates/same_name_different_ext.scss
|
297
|
-
- test/sass/templates/bork4.sass
|
298
|
-
- test/sass/templates/if.sass
|
299
|
-
- test/sass/templates/_partial.sass
|
300
|
-
- test/sass/templates/nested_mixin_bork.sass
|
301
|
-
- test/sass/templates/import_charset_1_8.sass
|
302
|
-
- test/sass/templates/same_name_different_ext.sass
|
303
|
-
- test/sass/templates/nested_bork2.sass
|
304
|
-
- test/sass/templates/mixin_bork.sass
|
305
|
-
- test/sass/templates/compressed.sass
|
306
|
-
- test/sass/templates/nested_bork4.sass
|
307
|
-
- test/sass/templates/cached_import_option.scss
|
308
|
-
- test/sass/templates/_imported_charset_utf8.sass
|
309
|
-
- test/sass/conversion_test.rb
|
310
|
-
- test/sass/script_test.rb
|
311
|
-
- test/sass/exec_test.rb
|
312
|
-
- test/sass/util/subset_map_test.rb
|
313
|
-
- test/sass/util/multibyte_string_scanner_test.rb
|
314
|
-
- test/sass/util/normalized_map_test.rb
|
315
|
-
- test/sass/callbacks_test.rb
|
316
|
-
- test/sass/importer_test.rb
|
317
|
-
- test/sass/scss/css_test.rb
|
318
|
-
- test/sass/scss/scss_test.rb
|
319
|
-
- test/sass/scss/rx_test.rb
|
320
|
-
- test/sass/scss/test_helper.rb
|
321
|
-
- test/sass/util_test.rb
|
322
|
-
- test/sass/results/mixins.css
|
323
|
-
- test/sass/results/warn_imported.css
|
324
|
-
- test/sass/results/expanded.css
|
325
|
-
- test/sass/results/compact.css
|
326
|
-
- test/sass/results/import_content.css
|
327
|
-
- test/sass/results/compressed.css
|
328
|
-
- test/sass/results/scss_importee.css
|
329
|
-
- test/sass/results/basic.css
|
330
|
-
- test/sass/results/subdir/nested_subdir/nested_subdir.css
|
331
|
-
- test/sass/results/subdir/subdir.css
|
332
|
-
- test/sass/results/options.css
|
333
|
-
- test/sass/results/scss_import.css
|
334
|
-
- test/sass/results/units.css
|
335
|
-
- test/sass/results/parent_ref.css
|
336
|
-
- test/sass/results/script.css
|
337
|
-
- test/sass/results/complex.css
|
338
|
-
- test/sass/results/cached_import_option.css
|
339
|
-
- test/sass/results/import_charset.css
|
340
|
-
- test/sass/results/alt.css
|
341
|
-
- test/sass/results/if.css
|
342
|
-
- test/sass/results/multiline.css
|
343
|
-
- test/sass/results/import_charset_1_8.css
|
344
|
-
- test/sass/results/warn.css
|
345
|
-
- test/sass/results/import_charset_ibm866.css
|
346
|
-
- test/sass/results/filename_fn.css
|
347
|
-
- test/sass/results/import.css
|
348
|
-
- test/sass/results/nested.css
|
349
|
-
- test/sass/results/line_numbers.css
|
350
|
-
- test/sass/test_helper.rb
|
351
|
-
- test/sass/more_templates/_more_partial.sass
|
352
|
-
- test/sass/more_templates/more_import.sass
|
353
|
-
- test/sass/more_templates/more1.sass
|
354
|
-
- test/sass/script_conversion_test.rb
|
355
|
-
- test/sass/superselector_test.rb
|
356
|
-
- test/sass/encoding_test.rb
|
357
|
-
- test/sass/more_results/more1.css
|
358
|
-
- test/sass/more_results/more1_with_line_comments.css
|
359
|
-
- test/sass/more_results/more_import.css
|
360
|
-
- test/sass/mock_importer.rb
|
361
|
-
- test/sass/cache_test.rb
|
362
|
-
- test/sass/source_map_test.rb
|
363
|
-
- test/sass/plugin_test.rb
|
364
|
-
- extra/update_watch.rb
|
365
|
-
- Rakefile
|
366
|
-
- init.rb
|
367
|
-
- .yardopts
|
368
|
-
- README.md
|
369
|
-
- VERSION_NAME
|
370
|
-
- VERSION_DATE
|
371
|
-
- REVISION
|
372
|
-
- MIT-LICENSE
|
373
|
-
- VERSION
|
374
|
-
- CONTRIBUTING
|
375
374
|
homepage: http://sass-lang.com/
|
376
375
|
licenses:
|
377
376
|
- MIT
|
@@ -392,33 +391,33 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
392
391
|
version: '0'
|
393
392
|
requirements: []
|
394
393
|
rubyforge_project: sass
|
395
|
-
rubygems_version: 2.
|
394
|
+
rubygems_version: 2.2.2
|
396
395
|
signing_key:
|
397
396
|
specification_version: 4
|
398
397
|
summary: A powerful but elegant CSS compiler that makes CSS fun again.
|
399
398
|
test_files:
|
400
|
-
- test/sass/engine_test.rb
|
401
|
-
- test/sass/functions_test.rb
|
402
399
|
- test/sass/value_helpers_test.rb
|
403
|
-
- test/sass/extend_test.rb
|
404
|
-
- test/sass/logger_test.rb
|
405
|
-
- test/sass/compiler_test.rb
|
406
|
-
- test/sass/css2sass_test.rb
|
407
400
|
- test/sass/conversion_test.rb
|
401
|
+
- test/sass/cache_test.rb
|
408
402
|
- test/sass/script_test.rb
|
409
|
-
- test/sass/
|
410
|
-
- test/sass/util/subset_map_test.rb
|
411
|
-
- test/sass/util/multibyte_string_scanner_test.rb
|
412
|
-
- test/sass/util/normalized_map_test.rb
|
403
|
+
- test/sass/superselector_test.rb
|
413
404
|
- test/sass/callbacks_test.rb
|
414
|
-
- test/sass/
|
405
|
+
- test/sass/source_map_test.rb
|
406
|
+
- test/sass/script_conversion_test.rb
|
407
|
+
- test/sass/util_test.rb
|
408
|
+
- test/sass/plugin_test.rb
|
409
|
+
- test/sass/extend_test.rb
|
410
|
+
- test/sass/scss/rx_test.rb
|
415
411
|
- test/sass/scss/css_test.rb
|
416
412
|
- test/sass/scss/scss_test.rb
|
417
|
-
- test/sass/
|
418
|
-
- test/sass/
|
419
|
-
- test/sass/script_conversion_test.rb
|
420
|
-
- test/sass/superselector_test.rb
|
413
|
+
- test/sass/logger_test.rb
|
414
|
+
- test/sass/importer_test.rb
|
421
415
|
- test/sass/encoding_test.rb
|
422
|
-
- test/sass/
|
423
|
-
- test/sass/
|
424
|
-
- test/sass/
|
416
|
+
- test/sass/engine_test.rb
|
417
|
+
- test/sass/exec_test.rb
|
418
|
+
- test/sass/util/normalized_map_test.rb
|
419
|
+
- test/sass/util/subset_map_test.rb
|
420
|
+
- test/sass/util/multibyte_string_scanner_test.rb
|
421
|
+
- test/sass/functions_test.rb
|
422
|
+
- test/sass/compiler_test.rb
|
423
|
+
- test/sass/css2sass_test.rb
|
data/test/foo.scss
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
foo {a: x}
|