sass 3.3.13 → 3.3.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/VERSION +1 -1
- data/VERSION_DATE +1 -1
- data/lib/sass/plugin/compiler.rb +2 -1
- data/lib/sass/script/lexer.rb +37 -15
- data/lib/sass/script/parser.rb +9 -16
- data/lib/sass/shared.rb +1 -1
- data/test/sass/script_test.rb +17 -0
- data/test/sass/source_map_test.rb +19 -0
- metadata +285 -285
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 503f195bf2c3fc4bac4decaf569d625239681016
|
4
|
+
data.tar.gz: d00a8da887a958af2fb5a985cb29b8bf23e9cc12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89e6b4e3fd304bdf2c9078b8e331b026cb0e74b1dfc07f1b6b4a4e08d2408301ad2c170eb72d91af9bd0ba9979e2b863b975904b2a15d6b221aa5ffe87374f69
|
7
|
+
data.tar.gz: fd12d1fbfc85b9e5e15b2683873e935dd38117e101f8f74402228c0238f3f60b9672c4bba8d6ce0761b167171fc799548dc53623b2f7b9296f5588a2a7bb49c9
|
data/MIT-LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2006-
|
1
|
+
Copyright (c) 2006-2014 Hampton Catlin, Natalie Weizenbaum, and Chris Eppstein
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.14
|
data/VERSION_DATE
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
02 August 2014 01:35:06 UTC
|
data/lib/sass/plugin/compiler.rb
CHANGED
@@ -248,7 +248,8 @@ module Sass::Plugin
|
|
248
248
|
template_location_array.each do |template_location, css_location|
|
249
249
|
Sass::Util.glob(File.join(template_location, "**", "[^_]*.s[ca]ss")).sort.each do |file|
|
250
250
|
# Get the relative path to the file
|
251
|
-
name =
|
251
|
+
name = Sass::Util.pathname(file).relative_path_from(
|
252
|
+
Sass::Util.pathname(template_location.to_s)).to_s
|
252
253
|
css = css_filename(name, css_location)
|
253
254
|
sourcemap = Sass::Util.sourcemap_name(css) if engine_options[:sourcemap]
|
254
255
|
files << [file, css, sourcemap]
|
data/lib/sass/script/lexer.rb
CHANGED
@@ -246,8 +246,14 @@ module Sass
|
|
246
246
|
end
|
247
247
|
|
248
248
|
def token
|
249
|
-
if after_interpolation? && (
|
250
|
-
|
249
|
+
if after_interpolation? && (interp = @interpolation_stack.pop)
|
250
|
+
interp_type, interp_value = interp
|
251
|
+
if interp_type == :special_fun
|
252
|
+
return special_fun_body(interp_value)
|
253
|
+
else
|
254
|
+
raise "[BUG]: Unknown interp_type #{interp_type}" unless interp_type == :string
|
255
|
+
return string(interp_value, true)
|
256
|
+
end
|
251
257
|
end
|
252
258
|
|
253
259
|
variable || string(:double, false) || string(:single, false) || number || color ||
|
@@ -275,7 +281,7 @@ module Sass
|
|
275
281
|
if @scanner[2] == '#{' # '
|
276
282
|
@scanner.pos -= 2 # Don't actually consume the #{
|
277
283
|
@offset -= 2
|
278
|
-
@interpolation_stack << re
|
284
|
+
@interpolation_stack << [:string, re]
|
279
285
|
end
|
280
286
|
str =
|
281
287
|
if re == :uri
|
@@ -327,18 +333,34 @@ MESSAGE
|
|
327
333
|
end
|
328
334
|
|
329
335
|
def special_fun
|
330
|
-
|
331
|
-
return unless
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
336
|
+
prefix = scan(/((-[\w-]+-)?(calc|element)|expression|progid:[a-z\.]*)\(/i)
|
337
|
+
return unless prefix
|
338
|
+
special_fun_body(1, prefix)
|
339
|
+
end
|
340
|
+
|
341
|
+
def special_fun_body(parens, prefix = nil)
|
342
|
+
str = prefix || ''
|
343
|
+
while (scanned = scan(/.*?([()]|\#{)/m))
|
344
|
+
str << scanned
|
345
|
+
if scanned[-1] == ?(
|
346
|
+
parens += 1
|
347
|
+
next
|
348
|
+
elsif scanned[-1] == ?)
|
349
|
+
parens -= 1
|
350
|
+
next unless parens == 0
|
351
|
+
else
|
352
|
+
raise "[BUG] Unreachable" unless @scanner[1] == '#{' # '
|
353
|
+
str.slice!(-2..-1)
|
354
|
+
@scanner.pos -= 2 # Don't actually consume the #{
|
355
|
+
@offset -= 2
|
356
|
+
@interpolation_stack << [:special_fun, parens]
|
357
|
+
end
|
358
|
+
|
359
|
+
return [:special_fun, Sass::Script::Value::String.new(str)]
|
360
|
+
end
|
361
|
+
|
362
|
+
scan(/.*/)
|
363
|
+
expected!('")"')
|
342
364
|
end
|
343
365
|
|
344
366
|
def special_val
|
data/lib/sass/script/parser.rb
CHANGED
@@ -487,22 +487,14 @@ RUBY
|
|
487
487
|
end
|
488
488
|
|
489
489
|
def special_fun
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
node(
|
499
|
-
Script::Tree::Interpolation.new(
|
500
|
-
l, i,
|
501
|
-
r && literal_node(Script::Value::String.new(r),
|
502
|
-
i.source_range.end_pos, end_pos),
|
503
|
-
false, false),
|
504
|
-
start_pos, end_pos)
|
505
|
-
end
|
490
|
+
first = try_tok(:special_fun)
|
491
|
+
return paren unless first
|
492
|
+
str = literal_node(first.value, first.source_range)
|
493
|
+
return str unless try_tok(:begin_interpolation)
|
494
|
+
mid = parse_interpolated
|
495
|
+
last = assert_expr(:special_fun)
|
496
|
+
node(Tree::Interpolation.new(str, mid, last, false, false),
|
497
|
+
first.source_range.start_pos)
|
506
498
|
end
|
507
499
|
|
508
500
|
def paren
|
@@ -563,6 +555,7 @@ RUBY
|
|
563
555
|
:mixin_arglist => "mixin argument",
|
564
556
|
:fn_arglist => "function argument",
|
565
557
|
:splat => "...",
|
558
|
+
:special_fun => '")"',
|
566
559
|
}
|
567
560
|
|
568
561
|
def assert_expr(name, expected = nil)
|
data/lib/sass/shared.rb
CHANGED
data/test/sass/script_test.rb
CHANGED
@@ -688,6 +688,23 @@ $var1: 1;
|
|
688
688
|
SCSS
|
689
689
|
end
|
690
690
|
|
691
|
+
def test_unclosed_special_fun
|
692
|
+
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "calc(foo()": expected ")", was ""') do
|
693
|
+
resolve("calc(foo()")
|
694
|
+
end
|
695
|
+
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "calc(#{\')\'}": expected ")", was ""') do
|
696
|
+
resolve("calc(\#{')'}")
|
697
|
+
end
|
698
|
+
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "calc(#{foo": expected "}", was ""') do
|
699
|
+
resolve("calc(\#{foo")
|
700
|
+
end
|
701
|
+
end
|
702
|
+
|
703
|
+
def test_special_fun_with_interpolation
|
704
|
+
assert_equal "calc())", resolve("calc(\#{')'})")
|
705
|
+
assert_equal "calc(# {foo})", resolve("calc(# {foo})")
|
706
|
+
end
|
707
|
+
|
691
708
|
# Regression Tests
|
692
709
|
|
693
710
|
def test_inspect_divided_numbers
|
@@ -764,6 +764,25 @@ SCSS
|
|
764
764
|
CSS
|
765
765
|
end
|
766
766
|
|
767
|
+
def test_multiline_interpolation_source_range
|
768
|
+
engine = Sass::Engine.new(<<-SCSS, cache: false, syntax: :scss)
|
769
|
+
p {
|
770
|
+
filter: progid:DXImageTransform(
|
771
|
+
'\#{123}');
|
772
|
+
}
|
773
|
+
SCSS
|
774
|
+
|
775
|
+
interpolated = engine.to_tree.children.
|
776
|
+
first.children.
|
777
|
+
first.value.children[1]
|
778
|
+
assert_equal interpolated.to_sass, "123"
|
779
|
+
range = interpolated.source_range
|
780
|
+
assert_equal 3, range.start_pos.line
|
781
|
+
assert_equal 14, range.start_pos.offset
|
782
|
+
assert_equal 3, range.end_pos.line
|
783
|
+
assert_equal 17, range.end_pos.offset
|
784
|
+
end
|
785
|
+
|
767
786
|
def test_sources_array_is_uri_escaped
|
768
787
|
map = Sass::Source::Map.new
|
769
788
|
importer = Sass::Importers::Filesystem.new('.')
|
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.3.
|
4
|
+
version: 3.3.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Natalie Weizenbaum
|
@@ -10,34 +10,34 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-08-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: yard
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 0.5.3
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - '>='
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 0.5.3
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: maruku
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - '>='
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: 0.5.9
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - '>='
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 0.5.9
|
43
43
|
description: |2
|
@@ -53,303 +53,303 @@ executables:
|
|
53
53
|
extensions: []
|
54
54
|
extra_rdoc_files: []
|
55
55
|
files:
|
56
|
-
-
|
57
|
-
- CONTRIBUTING
|
58
|
-
- MIT-LICENSE
|
59
|
-
- README.md
|
60
|
-
- REVISION
|
61
|
-
- Rakefile
|
62
|
-
- VERSION
|
63
|
-
- VERSION_DATE
|
64
|
-
- VERSION_NAME
|
65
|
-
- bin/sass
|
66
|
-
- bin/sass-convert
|
67
|
-
- bin/scss
|
68
|
-
- extra/update_watch.rb
|
69
|
-
- init.rb
|
56
|
+
- rails/init.rb
|
70
57
|
- lib/sass.rb
|
71
58
|
- lib/sass/cache_stores.rb
|
72
|
-
- lib/sass/cache_stores/base.rb
|
73
|
-
- lib/sass/cache_stores/chain.rb
|
74
|
-
- lib/sass/cache_stores/filesystem.rb
|
75
|
-
- lib/sass/cache_stores/memory.rb
|
76
|
-
- lib/sass/cache_stores/null.rb
|
77
|
-
- lib/sass/callbacks.rb
|
78
|
-
- lib/sass/css.rb
|
79
|
-
- lib/sass/engine.rb
|
80
|
-
- lib/sass/environment.rb
|
81
|
-
- lib/sass/error.rb
|
82
|
-
- lib/sass/exec.rb
|
83
|
-
- lib/sass/features.rb
|
84
|
-
- lib/sass/importers.rb
|
85
|
-
- lib/sass/importers/base.rb
|
86
|
-
- lib/sass/importers/deprecated_path.rb
|
87
|
-
- lib/sass/importers/filesystem.rb
|
88
|
-
- lib/sass/logger.rb
|
89
|
-
- lib/sass/logger/base.rb
|
90
|
-
- lib/sass/logger/log_level.rb
|
91
|
-
- lib/sass/media.rb
|
92
|
-
- lib/sass/plugin.rb
|
93
59
|
- lib/sass/plugin/compiler.rb
|
94
|
-
- lib/sass/plugin/configuration.rb
|
95
|
-
- lib/sass/plugin/generic.rb
|
96
60
|
- lib/sass/plugin/merb.rb
|
61
|
+
- lib/sass/plugin/staleness_checker.rb
|
97
62
|
- lib/sass/plugin/rack.rb
|
98
63
|
- lib/sass/plugin/rails.rb
|
99
|
-
- lib/sass/plugin/
|
100
|
-
- lib/sass/
|
101
|
-
- lib/sass/
|
102
|
-
- lib/sass/root.rb
|
103
|
-
- lib/sass/script.rb
|
104
|
-
- lib/sass/script/css_lexer.rb
|
105
|
-
- lib/sass/script/css_parser.rb
|
106
|
-
- lib/sass/script/functions.rb
|
107
|
-
- lib/sass/script/lexer.rb
|
108
|
-
- lib/sass/script/parser.rb
|
109
|
-
- lib/sass/script/tree.rb
|
110
|
-
- lib/sass/script/tree/funcall.rb
|
111
|
-
- lib/sass/script/tree/interpolation.rb
|
112
|
-
- lib/sass/script/tree/list_literal.rb
|
113
|
-
- lib/sass/script/tree/literal.rb
|
114
|
-
- lib/sass/script/tree/map_literal.rb
|
115
|
-
- lib/sass/script/tree/node.rb
|
116
|
-
- lib/sass/script/tree/operation.rb
|
117
|
-
- lib/sass/script/tree/string_interpolation.rb
|
118
|
-
- lib/sass/script/tree/unary_operation.rb
|
119
|
-
- lib/sass/script/tree/variable.rb
|
120
|
-
- lib/sass/script/value.rb
|
121
|
-
- lib/sass/script/value/arg_list.rb
|
122
|
-
- lib/sass/script/value/base.rb
|
123
|
-
- lib/sass/script/value/bool.rb
|
124
|
-
- lib/sass/script/value/color.rb
|
125
|
-
- lib/sass/script/value/deprecated_false.rb
|
126
|
-
- lib/sass/script/value/helpers.rb
|
127
|
-
- lib/sass/script/value/list.rb
|
128
|
-
- lib/sass/script/value/map.rb
|
129
|
-
- lib/sass/script/value/null.rb
|
130
|
-
- lib/sass/script/value/number.rb
|
131
|
-
- lib/sass/script/value/string.rb
|
132
|
-
- lib/sass/scss.rb
|
133
|
-
- lib/sass/scss/css_parser.rb
|
134
|
-
- lib/sass/scss/parser.rb
|
135
|
-
- lib/sass/scss/rx.rb
|
136
|
-
- lib/sass/scss/script_lexer.rb
|
137
|
-
- lib/sass/scss/script_parser.rb
|
138
|
-
- lib/sass/scss/static_parser.rb
|
139
|
-
- lib/sass/selector.rb
|
140
|
-
- lib/sass/selector/abstract_sequence.rb
|
141
|
-
- lib/sass/selector/comma_sequence.rb
|
142
|
-
- lib/sass/selector/sequence.rb
|
143
|
-
- lib/sass/selector/simple.rb
|
144
|
-
- lib/sass/selector/simple_sequence.rb
|
145
|
-
- lib/sass/shared.rb
|
146
|
-
- lib/sass/source/map.rb
|
147
|
-
- lib/sass/source/position.rb
|
148
|
-
- lib/sass/source/range.rb
|
149
|
-
- lib/sass/stack.rb
|
64
|
+
- lib/sass/plugin/configuration.rb
|
65
|
+
- lib/sass/plugin/generic.rb
|
66
|
+
- lib/sass/version.rb
|
150
67
|
- lib/sass/supports.rb
|
151
|
-
- lib/sass/
|
68
|
+
- lib/sass/media.rb
|
69
|
+
- lib/sass/stack.rb
|
70
|
+
- lib/sass/cache_stores/chain.rb
|
71
|
+
- lib/sass/cache_stores/memory.rb
|
72
|
+
- lib/sass/cache_stores/null.rb
|
73
|
+
- lib/sass/cache_stores/filesystem.rb
|
74
|
+
- lib/sass/cache_stores/base.rb
|
75
|
+
- lib/sass/shared.rb
|
76
|
+
- lib/sass/repl.rb
|
77
|
+
- lib/sass/error.rb
|
78
|
+
- lib/sass/tree/import_node.rb
|
79
|
+
- lib/sass/tree/trace_node.rb
|
80
|
+
- lib/sass/tree/return_node.rb
|
81
|
+
- lib/sass/tree/root_node.rb
|
82
|
+
- lib/sass/tree/if_node.rb
|
152
83
|
- lib/sass/tree/charset_node.rb
|
153
|
-
- lib/sass/tree/comment_node.rb
|
154
|
-
- lib/sass/tree/content_node.rb
|
155
84
|
- lib/sass/tree/css_import_node.rb
|
156
|
-
- lib/sass/tree/
|
85
|
+
- lib/sass/tree/function_node.rb
|
86
|
+
- lib/sass/tree/media_node.rb
|
87
|
+
- lib/sass/tree/while_node.rb
|
88
|
+
- lib/sass/tree/for_node.rb
|
157
89
|
- lib/sass/tree/directive_node.rb
|
90
|
+
- lib/sass/tree/rule_node.rb
|
158
91
|
- lib/sass/tree/each_node.rb
|
92
|
+
- lib/sass/tree/at_root_node.rb
|
93
|
+
- lib/sass/tree/node.rb
|
94
|
+
- lib/sass/tree/mixin_node.rb
|
159
95
|
- lib/sass/tree/extend_node.rb
|
160
|
-
- lib/sass/tree/for_node.rb
|
161
|
-
- lib/sass/tree/function_node.rb
|
162
|
-
- lib/sass/tree/if_node.rb
|
163
|
-
- lib/sass/tree/import_node.rb
|
164
|
-
- lib/sass/tree/media_node.rb
|
165
96
|
- lib/sass/tree/mixin_def_node.rb
|
166
|
-
- lib/sass/tree/mixin_node.rb
|
167
|
-
- lib/sass/tree/node.rb
|
168
|
-
- lib/sass/tree/prop_node.rb
|
169
|
-
- lib/sass/tree/return_node.rb
|
170
|
-
- lib/sass/tree/root_node.rb
|
171
|
-
- lib/sass/tree/rule_node.rb
|
172
97
|
- lib/sass/tree/supports_node.rb
|
173
|
-
- lib/sass/tree/
|
174
|
-
- lib/sass/tree/
|
175
|
-
- lib/sass/tree/visitors/base.rb
|
98
|
+
- lib/sass/tree/visitors/perform.rb
|
99
|
+
- lib/sass/tree/visitors/to_css.rb
|
176
100
|
- lib/sass/tree/visitors/check_nesting.rb
|
177
|
-
- lib/sass/tree/visitors/convert.rb
|
178
|
-
- lib/sass/tree/visitors/cssize.rb
|
179
101
|
- lib/sass/tree/visitors/deep_copy.rb
|
180
102
|
- lib/sass/tree/visitors/extend.rb
|
181
|
-
- lib/sass/tree/visitors/perform.rb
|
182
103
|
- lib/sass/tree/visitors/set_options.rb
|
183
|
-
- lib/sass/tree/visitors/
|
104
|
+
- lib/sass/tree/visitors/cssize.rb
|
105
|
+
- lib/sass/tree/visitors/convert.rb
|
106
|
+
- lib/sass/tree/visitors/base.rb
|
107
|
+
- lib/sass/tree/content_node.rb
|
108
|
+
- lib/sass/tree/comment_node.rb
|
184
109
|
- lib/sass/tree/warn_node.rb
|
185
|
-
- lib/sass/tree/
|
186
|
-
- lib/sass/
|
187
|
-
- lib/sass/
|
188
|
-
- lib/sass/
|
110
|
+
- lib/sass/tree/debug_node.rb
|
111
|
+
- lib/sass/tree/prop_node.rb
|
112
|
+
- lib/sass/tree/variable_node.rb
|
113
|
+
- lib/sass/engine.rb
|
114
|
+
- lib/sass/plugin.rb
|
115
|
+
- lib/sass/root.rb
|
116
|
+
- lib/sass/features.rb
|
117
|
+
- lib/sass/importers.rb
|
118
|
+
- lib/sass/source/map.rb
|
119
|
+
- lib/sass/source/range.rb
|
120
|
+
- lib/sass/source/position.rb
|
121
|
+
- lib/sass/logger.rb
|
189
122
|
- lib/sass/util/normalized_map.rb
|
123
|
+
- lib/sass/util/test.rb
|
124
|
+
- lib/sass/util/cross_platform_random.rb
|
190
125
|
- lib/sass/util/ordered_hash.rb
|
126
|
+
- lib/sass/util/multibyte_string_scanner.rb
|
191
127
|
- lib/sass/util/subset_map.rb
|
192
|
-
- lib/sass/
|
193
|
-
- lib/sass/
|
194
|
-
-
|
195
|
-
-
|
196
|
-
-
|
197
|
-
-
|
198
|
-
-
|
199
|
-
-
|
200
|
-
-
|
201
|
-
-
|
202
|
-
-
|
203
|
-
-
|
204
|
-
-
|
205
|
-
-
|
206
|
-
-
|
207
|
-
-
|
208
|
-
-
|
209
|
-
-
|
210
|
-
-
|
211
|
-
-
|
212
|
-
-
|
213
|
-
-
|
214
|
-
-
|
215
|
-
-
|
216
|
-
-
|
217
|
-
-
|
218
|
-
-
|
219
|
-
-
|
220
|
-
-
|
221
|
-
-
|
222
|
-
-
|
223
|
-
-
|
224
|
-
-
|
225
|
-
-
|
226
|
-
-
|
227
|
-
-
|
228
|
-
-
|
229
|
-
-
|
230
|
-
-
|
231
|
-
-
|
232
|
-
-
|
233
|
-
-
|
234
|
-
-
|
235
|
-
-
|
236
|
-
-
|
237
|
-
-
|
238
|
-
-
|
239
|
-
-
|
240
|
-
-
|
241
|
-
-
|
242
|
-
-
|
243
|
-
-
|
244
|
-
-
|
245
|
-
-
|
246
|
-
- test/sass/script_test.rb
|
247
|
-
- test/sass/scss/css_test.rb
|
248
|
-
- test/sass/scss/rx_test.rb
|
249
|
-
- test/sass/scss/scss_test.rb
|
250
|
-
- test/sass/scss/test_helper.rb
|
251
|
-
- test/sass/source_map_test.rb
|
252
|
-
- test/sass/templates/_cached_import_option_partial.scss
|
253
|
-
- test/sass/templates/_double_import_loop2.sass
|
254
|
-
- test/sass/templates/_filename_fn_import.scss
|
255
|
-
- test/sass/templates/_imported_charset_ibm866.sass
|
256
|
-
- test/sass/templates/_imported_charset_utf8.sass
|
257
|
-
- test/sass/templates/_imported_content.sass
|
258
|
-
- test/sass/templates/_partial.sass
|
259
|
-
- test/sass/templates/_same_name_different_partiality.scss
|
260
|
-
- test/sass/templates/alt.sass
|
261
|
-
- test/sass/templates/basic.sass
|
262
|
-
- test/sass/templates/bork1.sass
|
263
|
-
- test/sass/templates/bork2.sass
|
264
|
-
- test/sass/templates/bork3.sass
|
265
|
-
- test/sass/templates/bork4.sass
|
266
|
-
- test/sass/templates/bork5.sass
|
267
|
-
- test/sass/templates/cached_import_option.scss
|
268
|
-
- test/sass/templates/compact.sass
|
269
|
-
- test/sass/templates/complex.sass
|
270
|
-
- test/sass/templates/compressed.sass
|
271
|
-
- test/sass/templates/double_import_loop1.sass
|
272
|
-
- test/sass/templates/expanded.sass
|
273
|
-
- test/sass/templates/filename_fn.scss
|
274
|
-
- test/sass/templates/if.sass
|
275
|
-
- test/sass/templates/import.sass
|
276
|
-
- test/sass/templates/import_charset.sass
|
277
|
-
- test/sass/templates/import_charset_1_8.sass
|
278
|
-
- test/sass/templates/import_charset_ibm866.sass
|
279
|
-
- test/sass/templates/import_content.sass
|
280
|
-
- test/sass/templates/importee.less
|
281
|
-
- test/sass/templates/importee.sass
|
282
|
-
- test/sass/templates/line_numbers.sass
|
283
|
-
- test/sass/templates/mixin_bork.sass
|
284
|
-
- test/sass/templates/mixins.sass
|
285
|
-
- test/sass/templates/multiline.sass
|
286
|
-
- test/sass/templates/nested.sass
|
287
|
-
- test/sass/templates/nested_bork1.sass
|
288
|
-
- test/sass/templates/nested_bork2.sass
|
289
|
-
- test/sass/templates/nested_bork3.sass
|
290
|
-
- test/sass/templates/nested_bork4.sass
|
291
|
-
- test/sass/templates/nested_import.sass
|
292
|
-
- test/sass/templates/nested_mixin_bork.sass
|
293
|
-
- test/sass/templates/options.sass
|
294
|
-
- test/sass/templates/parent_ref.sass
|
295
|
-
- test/sass/templates/same_name_different_ext.sass
|
296
|
-
- test/sass/templates/same_name_different_ext.scss
|
297
|
-
- test/sass/templates/same_name_different_partiality.scss
|
298
|
-
- test/sass/templates/script.sass
|
299
|
-
- test/sass/templates/scss_import.scss
|
300
|
-
- test/sass/templates/scss_importee.scss
|
301
|
-
- test/sass/templates/single_import_loop.sass
|
302
|
-
- test/sass/templates/subdir/import_up1.scss
|
303
|
-
- test/sass/templates/subdir/import_up2.scss
|
304
|
-
- test/sass/templates/subdir/nested_subdir/_nested_partial.sass
|
305
|
-
- test/sass/templates/subdir/nested_subdir/nested_subdir.sass
|
306
|
-
- test/sass/templates/subdir/subdir.sass
|
307
|
-
- test/sass/templates/units.sass
|
308
|
-
- test/sass/templates/warn.sass
|
309
|
-
- test/sass/templates/warn_imported.sass
|
310
|
-
- test/sass/test_helper.rb
|
311
|
-
- test/sass/util/multibyte_string_scanner_test.rb
|
312
|
-
- test/sass/util/normalized_map_test.rb
|
313
|
-
- test/sass/util/subset_map_test.rb
|
314
|
-
- test/sass/util_test.rb
|
315
|
-
- test/sass/value_helpers_test.rb
|
316
|
-
- test/test_helper.rb
|
317
|
-
- vendor/listen/CHANGELOG.md
|
128
|
+
- lib/sass/scss.rb
|
129
|
+
- lib/sass/scss/static_parser.rb
|
130
|
+
- lib/sass/scss/parser.rb
|
131
|
+
- lib/sass/scss/script_lexer.rb
|
132
|
+
- lib/sass/scss/rx.rb
|
133
|
+
- lib/sass/scss/script_parser.rb
|
134
|
+
- lib/sass/scss/css_parser.rb
|
135
|
+
- lib/sass/logger/log_level.rb
|
136
|
+
- lib/sass/logger/base.rb
|
137
|
+
- lib/sass/css.rb
|
138
|
+
- lib/sass/script.rb
|
139
|
+
- lib/sass/util.rb
|
140
|
+
- lib/sass/importers/filesystem.rb
|
141
|
+
- lib/sass/importers/deprecated_path.rb
|
142
|
+
- lib/sass/importers/base.rb
|
143
|
+
- lib/sass/script/parser.rb
|
144
|
+
- lib/sass/script/functions.rb
|
145
|
+
- lib/sass/script/tree/variable.rb
|
146
|
+
- lib/sass/script/tree/operation.rb
|
147
|
+
- lib/sass/script/tree/funcall.rb
|
148
|
+
- lib/sass/script/tree/literal.rb
|
149
|
+
- lib/sass/script/tree/string_interpolation.rb
|
150
|
+
- lib/sass/script/tree/interpolation.rb
|
151
|
+
- lib/sass/script/tree/list_literal.rb
|
152
|
+
- lib/sass/script/tree/node.rb
|
153
|
+
- lib/sass/script/tree/unary_operation.rb
|
154
|
+
- lib/sass/script/tree/map_literal.rb
|
155
|
+
- lib/sass/script/tree.rb
|
156
|
+
- lib/sass/script/lexer.rb
|
157
|
+
- lib/sass/script/css_lexer.rb
|
158
|
+
- lib/sass/script/value.rb
|
159
|
+
- lib/sass/script/value/color.rb
|
160
|
+
- lib/sass/script/value/number.rb
|
161
|
+
- lib/sass/script/value/map.rb
|
162
|
+
- lib/sass/script/value/deprecated_false.rb
|
163
|
+
- lib/sass/script/value/arg_list.rb
|
164
|
+
- lib/sass/script/value/bool.rb
|
165
|
+
- lib/sass/script/value/list.rb
|
166
|
+
- lib/sass/script/value/helpers.rb
|
167
|
+
- lib/sass/script/value/null.rb
|
168
|
+
- lib/sass/script/value/string.rb
|
169
|
+
- lib/sass/script/value/base.rb
|
170
|
+
- lib/sass/script/css_parser.rb
|
171
|
+
- lib/sass/selector.rb
|
172
|
+
- lib/sass/callbacks.rb
|
173
|
+
- lib/sass/selector/simple.rb
|
174
|
+
- lib/sass/selector/sequence.rb
|
175
|
+
- lib/sass/selector/abstract_sequence.rb
|
176
|
+
- lib/sass/selector/comma_sequence.rb
|
177
|
+
- lib/sass/selector/simple_sequence.rb
|
178
|
+
- lib/sass/railtie.rb
|
179
|
+
- lib/sass/environment.rb
|
180
|
+
- lib/sass/exec.rb
|
181
|
+
- vendor/listen/README.md
|
318
182
|
- vendor/listen/CONTRIBUTING.md
|
319
|
-
- vendor/listen/Gemfile
|
320
183
|
- vendor/listen/Guardfile
|
321
|
-
- vendor/listen/
|
322
|
-
- vendor/listen/
|
323
|
-
- vendor/listen/
|
324
|
-
- vendor/listen/
|
325
|
-
- vendor/listen/lib/listen.rb
|
326
|
-
- vendor/listen/lib/listen/
|
327
|
-
- vendor/listen/lib/listen/adapters/bsd.rb
|
184
|
+
- vendor/listen/Gemfile
|
185
|
+
- vendor/listen/lib/listen/turnstile.rb
|
186
|
+
- vendor/listen/lib/listen/directory_record.rb
|
187
|
+
- vendor/listen/lib/listen/version.rb
|
188
|
+
- vendor/listen/lib/listen/listener.rb
|
189
|
+
- vendor/listen/lib/listen/adapters/polling.rb
|
328
190
|
- vendor/listen/lib/listen/adapters/darwin.rb
|
329
191
|
- vendor/listen/lib/listen/adapters/linux.rb
|
330
|
-
- vendor/listen/lib/listen/adapters/
|
192
|
+
- vendor/listen/lib/listen/adapters/bsd.rb
|
331
193
|
- vendor/listen/lib/listen/adapters/windows.rb
|
332
|
-
- vendor/listen/lib/listen/
|
333
|
-
- vendor/listen/lib/listen
|
334
|
-
- vendor/listen/
|
335
|
-
- vendor/listen/
|
194
|
+
- vendor/listen/lib/listen/adapter.rb
|
195
|
+
- vendor/listen/lib/listen.rb
|
196
|
+
- vendor/listen/CHANGELOG.md
|
197
|
+
- vendor/listen/Rakefile
|
198
|
+
- vendor/listen/LICENSE
|
336
199
|
- vendor/listen/listen.gemspec
|
337
|
-
- vendor/listen/
|
338
|
-
- vendor/listen/spec/listen/
|
339
|
-
- vendor/listen/spec/listen/adapters/darwin_spec.rb
|
200
|
+
- vendor/listen/Vagrantfile
|
201
|
+
- vendor/listen/spec/listen/directory_record_spec.rb
|
340
202
|
- vendor/listen/spec/listen/adapters/linux_spec.rb
|
203
|
+
- vendor/listen/spec/listen/adapters/darwin_spec.rb
|
204
|
+
- vendor/listen/spec/listen/adapters/bsd_spec.rb
|
341
205
|
- vendor/listen/spec/listen/adapters/polling_spec.rb
|
342
206
|
- vendor/listen/spec/listen/adapters/windows_spec.rb
|
343
|
-
- vendor/listen/spec/listen/directory_record_spec.rb
|
344
|
-
- vendor/listen/spec/listen/listener_spec.rb
|
345
207
|
- vendor/listen/spec/listen/turnstile_spec.rb
|
208
|
+
- vendor/listen/spec/listen/adapter_spec.rb
|
209
|
+
- vendor/listen/spec/listen/listener_spec.rb
|
346
210
|
- vendor/listen/spec/listen_spec.rb
|
347
211
|
- vendor/listen/spec/spec_helper.rb
|
348
|
-
- vendor/listen/spec/support/adapter_helper.rb
|
349
212
|
- vendor/listen/spec/support/directory_record_helper.rb
|
350
|
-
- vendor/listen/spec/support/fixtures_helper.rb
|
351
213
|
- vendor/listen/spec/support/listeners_helper.rb
|
214
|
+
- vendor/listen/spec/support/adapter_helper.rb
|
352
215
|
- vendor/listen/spec/support/platform_helper.rb
|
216
|
+
- vendor/listen/spec/support/fixtures_helper.rb
|
217
|
+
- bin/sass-convert
|
218
|
+
- bin/scss
|
219
|
+
- bin/sass
|
220
|
+
- test/test_helper.rb
|
221
|
+
- test/sass/engine_test.rb
|
222
|
+
- test/sass/functions_test.rb
|
223
|
+
- test/sass/value_helpers_test.rb
|
224
|
+
- test/sass/fixtures/test_staleness_check_across_importers.scss
|
225
|
+
- test/sass/fixtures/test_staleness_check_across_importers.css
|
226
|
+
- test/sass/data/hsl-rgb.txt
|
227
|
+
- test/sass/extend_test.rb
|
228
|
+
- test/sass/logger_test.rb
|
229
|
+
- test/sass/compiler_test.rb
|
230
|
+
- test/sass/css2sass_test.rb
|
231
|
+
- test/sass/templates/_filename_fn_import.scss
|
232
|
+
- test/sass/templates/basic.sass
|
233
|
+
- test/sass/templates/mixins.sass
|
234
|
+
- test/sass/templates/options.sass
|
235
|
+
- test/sass/templates/scss_import.scss
|
236
|
+
- test/sass/templates/subdir/subdir.sass
|
237
|
+
- test/sass/templates/subdir/import_up2.scss
|
238
|
+
- test/sass/templates/subdir/nested_subdir/_nested_partial.sass
|
239
|
+
- test/sass/templates/subdir/nested_subdir/nested_subdir.sass
|
240
|
+
- test/sass/templates/subdir/import_up1.scss
|
241
|
+
- test/sass/templates/_imported_content.sass
|
242
|
+
- test/sass/templates/filename_fn.scss
|
243
|
+
- test/sass/templates/alt.sass
|
244
|
+
- test/sass/templates/nested_bork1.sass
|
245
|
+
- test/sass/templates/same_name_different_partiality.scss
|
246
|
+
- test/sass/templates/complex.sass
|
247
|
+
- test/sass/templates/units.sass
|
248
|
+
- test/sass/templates/nested_import.sass
|
249
|
+
- test/sass/templates/importee.sass
|
250
|
+
- test/sass/templates/importee.less
|
251
|
+
- test/sass/templates/_cached_import_option_partial.scss
|
252
|
+
- test/sass/templates/scss_importee.scss
|
253
|
+
- test/sass/templates/line_numbers.sass
|
254
|
+
- test/sass/templates/expanded.sass
|
255
|
+
- test/sass/templates/bork3.sass
|
256
|
+
- test/sass/templates/bork5.sass
|
257
|
+
- test/sass/templates/import_content.sass
|
258
|
+
- test/sass/templates/warn_imported.sass
|
259
|
+
- test/sass/templates/import_charset_ibm866.sass
|
260
|
+
- test/sass/templates/bork1.sass
|
261
|
+
- test/sass/templates/warn.sass
|
262
|
+
- test/sass/templates/bork2.sass
|
263
|
+
- test/sass/templates/nested.sass
|
264
|
+
- test/sass/templates/compact.sass
|
265
|
+
- test/sass/templates/single_import_loop.sass
|
266
|
+
- test/sass/templates/_same_name_different_partiality.scss
|
267
|
+
- test/sass/templates/multiline.sass
|
268
|
+
- test/sass/templates/_imported_charset_ibm866.sass
|
269
|
+
- test/sass/templates/double_import_loop1.sass
|
270
|
+
- test/sass/templates/_double_import_loop2.sass
|
271
|
+
- test/sass/templates/import_charset.sass
|
272
|
+
- test/sass/templates/parent_ref.sass
|
273
|
+
- test/sass/templates/import.sass
|
274
|
+
- test/sass/templates/nested_bork3.sass
|
275
|
+
- test/sass/templates/script.sass
|
276
|
+
- test/sass/templates/same_name_different_ext.scss
|
277
|
+
- test/sass/templates/bork4.sass
|
278
|
+
- test/sass/templates/if.sass
|
279
|
+
- test/sass/templates/_partial.sass
|
280
|
+
- test/sass/templates/nested_mixin_bork.sass
|
281
|
+
- test/sass/templates/import_charset_1_8.sass
|
282
|
+
- test/sass/templates/same_name_different_ext.sass
|
283
|
+
- test/sass/templates/nested_bork2.sass
|
284
|
+
- test/sass/templates/mixin_bork.sass
|
285
|
+
- test/sass/templates/compressed.sass
|
286
|
+
- test/sass/templates/nested_bork4.sass
|
287
|
+
- test/sass/templates/cached_import_option.scss
|
288
|
+
- test/sass/templates/_imported_charset_utf8.sass
|
289
|
+
- test/sass/conversion_test.rb
|
290
|
+
- test/sass/script_test.rb
|
291
|
+
- test/sass/exec_test.rb
|
292
|
+
- test/sass/util/subset_map_test.rb
|
293
|
+
- test/sass/util/multibyte_string_scanner_test.rb
|
294
|
+
- test/sass/util/normalized_map_test.rb
|
295
|
+
- test/sass/callbacks_test.rb
|
296
|
+
- test/sass/importer_test.rb
|
297
|
+
- test/sass/scss/css_test.rb
|
298
|
+
- test/sass/scss/scss_test.rb
|
299
|
+
- test/sass/scss/rx_test.rb
|
300
|
+
- test/sass/scss/test_helper.rb
|
301
|
+
- test/sass/util_test.rb
|
302
|
+
- test/sass/results/mixins.css
|
303
|
+
- test/sass/results/warn_imported.css
|
304
|
+
- test/sass/results/expanded.css
|
305
|
+
- test/sass/results/compact.css
|
306
|
+
- test/sass/results/import_content.css
|
307
|
+
- test/sass/results/compressed.css
|
308
|
+
- test/sass/results/scss_importee.css
|
309
|
+
- test/sass/results/basic.css
|
310
|
+
- test/sass/results/subdir/nested_subdir/nested_subdir.css
|
311
|
+
- test/sass/results/subdir/subdir.css
|
312
|
+
- test/sass/results/options.css
|
313
|
+
- test/sass/results/scss_import.css
|
314
|
+
- test/sass/results/units.css
|
315
|
+
- test/sass/results/parent_ref.css
|
316
|
+
- test/sass/results/script.css
|
317
|
+
- test/sass/results/complex.css
|
318
|
+
- test/sass/results/cached_import_option.css
|
319
|
+
- test/sass/results/import_charset.css
|
320
|
+
- test/sass/results/alt.css
|
321
|
+
- test/sass/results/if.css
|
322
|
+
- test/sass/results/multiline.css
|
323
|
+
- test/sass/results/import_charset_1_8.css
|
324
|
+
- test/sass/results/warn.css
|
325
|
+
- test/sass/results/import_charset_ibm866.css
|
326
|
+
- test/sass/results/filename_fn.css
|
327
|
+
- test/sass/results/import.css
|
328
|
+
- test/sass/results/nested.css
|
329
|
+
- test/sass/results/line_numbers.css
|
330
|
+
- test/sass/test_helper.rb
|
331
|
+
- test/sass/more_templates/_more_partial.sass
|
332
|
+
- test/sass/more_templates/more_import.sass
|
333
|
+
- test/sass/more_templates/more1.sass
|
334
|
+
- test/sass/script_conversion_test.rb
|
335
|
+
- test/sass/more_results/more1.css
|
336
|
+
- test/sass/more_results/more1_with_line_comments.css
|
337
|
+
- test/sass/more_results/more_import.css
|
338
|
+
- test/sass/mock_importer.rb
|
339
|
+
- test/sass/cache_test.rb
|
340
|
+
- test/sass/source_map_test.rb
|
341
|
+
- test/sass/plugin_test.rb
|
342
|
+
- extra/update_watch.rb
|
343
|
+
- Rakefile
|
344
|
+
- init.rb
|
345
|
+
- .yardopts
|
346
|
+
- README.md
|
347
|
+
- VERSION_NAME
|
348
|
+
- VERSION_DATE
|
349
|
+
- REVISION
|
350
|
+
- MIT-LICENSE
|
351
|
+
- VERSION
|
352
|
+
- CONTRIBUTING
|
353
353
|
homepage: http://sass-lang.com/
|
354
354
|
licenses:
|
355
355
|
- MIT
|
@@ -360,41 +360,41 @@ require_paths:
|
|
360
360
|
- lib
|
361
361
|
required_ruby_version: !ruby/object:Gem::Requirement
|
362
362
|
requirements:
|
363
|
-
- -
|
363
|
+
- - '>='
|
364
364
|
- !ruby/object:Gem::Version
|
365
365
|
version: 1.8.7
|
366
366
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
367
367
|
requirements:
|
368
|
-
- -
|
368
|
+
- - '>='
|
369
369
|
- !ruby/object:Gem::Version
|
370
370
|
version: '0'
|
371
371
|
requirements: []
|
372
372
|
rubyforge_project: sass
|
373
|
-
rubygems_version: 2.
|
373
|
+
rubygems_version: 2.0.3
|
374
374
|
signing_key:
|
375
375
|
specification_version: 4
|
376
376
|
summary: A powerful but elegant CSS compiler that makes CSS fun again.
|
377
377
|
test_files:
|
378
|
-
- test/sass/cache_test.rb
|
379
|
-
- test/sass/callbacks_test.rb
|
380
|
-
- test/sass/compiler_test.rb
|
381
|
-
- test/sass/conversion_test.rb
|
382
|
-
- test/sass/css2sass_test.rb
|
383
378
|
- test/sass/engine_test.rb
|
384
|
-
- test/sass/exec_test.rb
|
385
|
-
- test/sass/extend_test.rb
|
386
379
|
- test/sass/functions_test.rb
|
387
|
-
- test/sass/
|
380
|
+
- test/sass/value_helpers_test.rb
|
381
|
+
- test/sass/extend_test.rb
|
388
382
|
- test/sass/logger_test.rb
|
389
|
-
- test/sass/
|
390
|
-
- test/sass/
|
383
|
+
- test/sass/compiler_test.rb
|
384
|
+
- test/sass/css2sass_test.rb
|
385
|
+
- test/sass/conversion_test.rb
|
391
386
|
- test/sass/script_test.rb
|
392
|
-
- test/sass/
|
393
|
-
- test/sass/
|
394
|
-
- test/sass/scss/scss_test.rb
|
395
|
-
- test/sass/source_map_test.rb
|
387
|
+
- test/sass/exec_test.rb
|
388
|
+
- test/sass/util/subset_map_test.rb
|
396
389
|
- test/sass/util/multibyte_string_scanner_test.rb
|
397
390
|
- test/sass/util/normalized_map_test.rb
|
398
|
-
- test/sass/
|
391
|
+
- test/sass/callbacks_test.rb
|
392
|
+
- test/sass/importer_test.rb
|
393
|
+
- test/sass/scss/css_test.rb
|
394
|
+
- test/sass/scss/scss_test.rb
|
395
|
+
- test/sass/scss/rx_test.rb
|
399
396
|
- test/sass/util_test.rb
|
400
|
-
- test/sass/
|
397
|
+
- test/sass/script_conversion_test.rb
|
398
|
+
- test/sass/cache_test.rb
|
399
|
+
- test/sass/source_map_test.rb
|
400
|
+
- test/sass/plugin_test.rb
|