sass 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sass/cache_stores/base.rb +3 -1
- data/lib/sass/engine.rb +1 -1
- data/lib/sass/importers/filesystem.rb +8 -8
- data/lib/sass/script/functions.rb +43 -0
- data/test/sass/functions_test.rb +13 -0
- data/vendor/fssm/pkg/fssm-0.0.8.gem +0 -0
- metadata +187 -208
- data/REVISION +0 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.2
|
@@ -49,6 +49,8 @@ module Sass
|
|
49
49
|
# @param obj [Object] The object to cache.
|
50
50
|
def store(key, sha, root)
|
51
51
|
_store(key, Sass::VERSION, sha, Marshal.dump(root))
|
52
|
+
rescue TypeError, LoadError => e
|
53
|
+
Sass::Util.sass_warn "Warning. Error encountered while saving cache #{path_to(key)}: #{e}"
|
52
54
|
end
|
53
55
|
|
54
56
|
# Retrieve a {Sass::Tree::RootNode}.
|
@@ -59,7 +61,7 @@ module Sass
|
|
59
61
|
def retrieve(key, sha)
|
60
62
|
contents = _retrieve(key, Sass::VERSION, sha)
|
61
63
|
Marshal.load(contents) if contents
|
62
|
-
rescue EOFError, TypeError, ArgumentError => e
|
64
|
+
rescue EOFError, TypeError, ArgumentError, LoadError => e
|
63
65
|
Sass::Util.sass_warn "Warning. Error encountered while reading cache #{path_to(key)}: #{e}"
|
64
66
|
end
|
65
67
|
|
data/lib/sass/engine.rb
CHANGED
@@ -326,7 +326,7 @@ module Sass
|
|
326
326
|
if @options[:cache] && key && sha
|
327
327
|
begin
|
328
328
|
old_options = root.options
|
329
|
-
root.options = {
|
329
|
+
root.options = {}
|
330
330
|
@options[:cache_store].store(key, sha, root)
|
331
331
|
ensure
|
332
332
|
root.options = old_options
|
@@ -45,6 +45,14 @@ module Sass
|
|
45
45
|
@root
|
46
46
|
end
|
47
47
|
|
48
|
+
def hash
|
49
|
+
@root.hash
|
50
|
+
end
|
51
|
+
|
52
|
+
def eql?(other)
|
53
|
+
root.eql?(other.root)
|
54
|
+
end
|
55
|
+
|
48
56
|
protected
|
49
57
|
|
50
58
|
# If a full uri is passed, this removes the root from it
|
@@ -116,14 +124,6 @@ module Sass
|
|
116
124
|
[dirname, basename, extension]
|
117
125
|
end
|
118
126
|
|
119
|
-
def hash
|
120
|
-
@root.hash
|
121
|
-
end
|
122
|
-
|
123
|
-
def eql?(other)
|
124
|
-
root.eql?(other.root)
|
125
|
-
end
|
126
|
-
|
127
127
|
private
|
128
128
|
|
129
129
|
def _find(dir, name, options)
|
@@ -1299,6 +1299,49 @@ module Sass::Script
|
|
1299
1299
|
declare :append, [:list, :val]
|
1300
1300
|
declare :append, [:list, :val, :separator]
|
1301
1301
|
|
1302
|
+
# Combines several lists into a single comma separated list
|
1303
|
+
# space separated lists.
|
1304
|
+
#
|
1305
|
+
# The length of the resulting list is the length of the
|
1306
|
+
# shortest list.
|
1307
|
+
#
|
1308
|
+
# @example
|
1309
|
+
# zip(1px 1px 3px, solid dashed solid, red green blue)
|
1310
|
+
# => 1px solid red, 1px dashed green, 3px solid blue
|
1311
|
+
def zip(*lists)
|
1312
|
+
length = nil
|
1313
|
+
values = []
|
1314
|
+
lists.each do |list|
|
1315
|
+
assert_type list, :List
|
1316
|
+
values << list.value.dup
|
1317
|
+
length = length.nil? ? list.value.length : [length, list.value.length].min
|
1318
|
+
end
|
1319
|
+
values.each do |value|
|
1320
|
+
value.slice!(length)
|
1321
|
+
end
|
1322
|
+
new_list_value = values.first.zip(*values[1..-1])
|
1323
|
+
List.new(new_list_value.map{|list| List.new(list, :space)}, :comma)
|
1324
|
+
end
|
1325
|
+
declare :zip, [], :var_args => true
|
1326
|
+
|
1327
|
+
|
1328
|
+
# Returns the position of the given value within the given
|
1329
|
+
# list. If not found, returns false.
|
1330
|
+
#
|
1331
|
+
# @example
|
1332
|
+
# index(1px solid red, solid) => 2
|
1333
|
+
# index(1px solid red, dashed) => false
|
1334
|
+
def index(list, value)
|
1335
|
+
assert_type list, :List
|
1336
|
+
index = list.value.index {|e| e.eq(value).to_bool }
|
1337
|
+
if index
|
1338
|
+
Number.new(index + 1)
|
1339
|
+
else
|
1340
|
+
Bool.new(false)
|
1341
|
+
end
|
1342
|
+
end
|
1343
|
+
declare :index, [:list, :value]
|
1344
|
+
|
1302
1345
|
# Returns one of two values based on the truth value of the first argument.
|
1303
1346
|
#
|
1304
1347
|
# @example
|
data/test/sass/functions_test.rb
CHANGED
@@ -965,6 +965,19 @@ MSG
|
|
965
965
|
assert_error_message("Separator name must be space, comma, or auto for `append'", "append(1, 2, baboon)")
|
966
966
|
end
|
967
967
|
|
968
|
+
def test_zip
|
969
|
+
assert_equal("1 3 5, 2 4 6", evaluate("zip(1 2, 3 4, 5 6)"))
|
970
|
+
assert_equal("1 4 7, 2 5 8", evaluate("zip(1 2 3, 4 5 6, 7 8)"))
|
971
|
+
end
|
972
|
+
|
973
|
+
def test_index
|
974
|
+
assert_equal("1", evaluate("index(1px solid blue, 1px)"))
|
975
|
+
assert_equal("2", evaluate("index(1px solid blue, solid)"))
|
976
|
+
assert_equal("3", evaluate("index(1px solid blue, #00f)"))
|
977
|
+
assert_equal("false", evaluate("index(1px solid blue, 1em)"))
|
978
|
+
assert_equal("false", evaluate("index(1px solid blue, notfound)"))
|
979
|
+
end
|
980
|
+
|
968
981
|
def test_if
|
969
982
|
assert_equal("1px", evaluate("if(true, 1px, 2px)"))
|
970
983
|
assert_equal("2px", evaluate("if(false, 1px, 2px)"))
|
Binary file
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 3
|
8
|
-
- 1
|
9
|
-
- 1
|
10
|
-
version: 3.1.1
|
4
|
+
prerelease:
|
5
|
+
version: 3.1.2
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Nathan Weizenbaum
|
@@ -17,7 +12,7 @@ autorequire:
|
|
17
12
|
bindir: bin
|
18
13
|
cert_chain: []
|
19
14
|
|
20
|
-
date: 2011-
|
15
|
+
date: 2011-05-31 00:00:00 -07:00
|
21
16
|
default_executable:
|
22
17
|
dependencies:
|
23
18
|
- !ruby/object:Gem::Dependency
|
@@ -28,11 +23,6 @@ dependencies:
|
|
28
23
|
requirements:
|
29
24
|
- - ">="
|
30
25
|
- !ruby/object:Gem::Version
|
31
|
-
hash: 13
|
32
|
-
segments:
|
33
|
-
- 0
|
34
|
-
- 5
|
35
|
-
- 3
|
36
26
|
version: 0.5.3
|
37
27
|
type: :development
|
38
28
|
version_requirements: *id001
|
@@ -44,11 +34,6 @@ dependencies:
|
|
44
34
|
requirements:
|
45
35
|
- - ">="
|
46
36
|
- !ruby/object:Gem::Version
|
47
|
-
hash: 25
|
48
|
-
segments:
|
49
|
-
- 0
|
50
|
-
- 5
|
51
|
-
- 9
|
52
37
|
version: 0.5.9
|
53
38
|
type: :development
|
54
39
|
version_requirements: *id002
|
@@ -63,237 +48,237 @@ extra_rdoc_files: []
|
|
63
48
|
|
64
49
|
files:
|
65
50
|
- rails/init.rb
|
66
|
-
- lib/sass/
|
67
|
-
- lib/sass/shared.rb
|
68
|
-
- lib/sass/error.rb
|
69
|
-
- lib/sass/importers.rb
|
70
|
-
- lib/sass/cache_stores/filesystem.rb
|
51
|
+
- lib/sass/cache_stores/base.rb
|
71
52
|
- lib/sass/cache_stores/chain.rb
|
53
|
+
- lib/sass/cache_stores/filesystem.rb
|
72
54
|
- lib/sass/cache_stores/memory.rb
|
73
55
|
- lib/sass/cache_stores/null.rb
|
74
|
-
- lib/sass/cache_stores
|
56
|
+
- lib/sass/cache_stores.rb
|
57
|
+
- lib/sass/callbacks.rb
|
58
|
+
- lib/sass/css.rb
|
59
|
+
- lib/sass/engine.rb
|
75
60
|
- lib/sass/environment.rb
|
76
|
-
- lib/sass/
|
77
|
-
- lib/sass/
|
61
|
+
- lib/sass/error.rb
|
62
|
+
- lib/sass/exec.rb
|
63
|
+
- lib/sass/importers/base.rb
|
64
|
+
- lib/sass/importers/filesystem.rb
|
65
|
+
- lib/sass/importers.rb
|
66
|
+
- lib/sass/less.rb
|
78
67
|
- lib/sass/plugin/compiler.rb
|
79
68
|
- lib/sass/plugin/configuration.rb
|
69
|
+
- lib/sass/plugin/generic.rb
|
80
70
|
- lib/sass/plugin/merb.rb
|
71
|
+
- lib/sass/plugin/rack.rb
|
81
72
|
- lib/sass/plugin/rails.rb
|
82
|
-
- lib/sass/plugin/
|
73
|
+
- lib/sass/plugin/staleness_checker.rb
|
74
|
+
- lib/sass/plugin.rb
|
83
75
|
- lib/sass/railtie.rb
|
84
|
-
- lib/sass/
|
85
|
-
- lib/sass/
|
86
|
-
- lib/sass/script/node.rb
|
87
|
-
- lib/sass/script/lexer.rb
|
88
|
-
- lib/sass/script/string_interpolation.rb
|
89
|
-
- lib/sass/script/css_parser.rb
|
90
|
-
- lib/sass/script/variable.rb
|
91
|
-
- lib/sass/script/literal.rb
|
76
|
+
- lib/sass/repl.rb
|
77
|
+
- lib/sass/root.rb
|
92
78
|
- lib/sass/script/bool.rb
|
93
|
-
- lib/sass/script/
|
94
|
-
- lib/sass/script/unary_operation.rb
|
79
|
+
- lib/sass/script/color.rb
|
95
80
|
- lib/sass/script/css_lexer.rb
|
96
|
-
- lib/sass/script/
|
97
|
-
- lib/sass/script/parser.rb
|
81
|
+
- lib/sass/script/css_parser.rb
|
98
82
|
- lib/sass/script/funcall.rb
|
99
|
-
- lib/sass/script/
|
83
|
+
- lib/sass/script/functions.rb
|
100
84
|
- lib/sass/script/interpolation.rb
|
85
|
+
- lib/sass/script/lexer.rb
|
101
86
|
- lib/sass/script/list.rb
|
102
|
-
- lib/sass/script/
|
103
|
-
- lib/sass/
|
104
|
-
- lib/sass/
|
105
|
-
- lib/sass/
|
106
|
-
- lib/sass/
|
107
|
-
- lib/sass/
|
108
|
-
- lib/sass/
|
109
|
-
- lib/sass/
|
110
|
-
- lib/sass/
|
111
|
-
- lib/sass/
|
112
|
-
- lib/sass/
|
87
|
+
- lib/sass/script/literal.rb
|
88
|
+
- lib/sass/script/node.rb
|
89
|
+
- lib/sass/script/number.rb
|
90
|
+
- lib/sass/script/operation.rb
|
91
|
+
- lib/sass/script/parser.rb
|
92
|
+
- lib/sass/script/string.rb
|
93
|
+
- lib/sass/script/string_interpolation.rb
|
94
|
+
- lib/sass/script/unary_operation.rb
|
95
|
+
- lib/sass/script/variable.rb
|
96
|
+
- lib/sass/script.rb
|
97
|
+
- lib/sass/scss/css_parser.rb
|
98
|
+
- lib/sass/scss/parser.rb
|
99
|
+
- lib/sass/scss/rx.rb
|
100
|
+
- lib/sass/scss/sass_parser.rb
|
101
|
+
- lib/sass/scss/script_lexer.rb
|
102
|
+
- lib/sass/scss/script_parser.rb
|
103
|
+
- lib/sass/scss/static_parser.rb
|
104
|
+
- lib/sass/scss.rb
|
105
|
+
- lib/sass/selector/abstract_sequence.rb
|
106
|
+
- lib/sass/selector/comma_sequence.rb
|
107
|
+
- lib/sass/selector/sequence.rb
|
108
|
+
- lib/sass/selector/simple.rb
|
109
|
+
- lib/sass/selector/simple_sequence.rb
|
110
|
+
- lib/sass/selector.rb
|
111
|
+
- lib/sass/shared.rb
|
113
112
|
- lib/sass/tree/charset_node.rb
|
113
|
+
- lib/sass/tree/comment_node.rb
|
114
|
+
- lib/sass/tree/debug_node.rb
|
115
|
+
- lib/sass/tree/directive_node.rb
|
116
|
+
- lib/sass/tree/each_node.rb
|
114
117
|
- lib/sass/tree/extend_node.rb
|
115
|
-
- lib/sass/tree/
|
118
|
+
- lib/sass/tree/for_node.rb
|
119
|
+
- lib/sass/tree/function_node.rb
|
120
|
+
- lib/sass/tree/if_node.rb
|
121
|
+
- lib/sass/tree/import_node.rb
|
122
|
+
- lib/sass/tree/media_node.rb
|
116
123
|
- lib/sass/tree/mixin_def_node.rb
|
117
|
-
- lib/sass/tree/return_node.rb
|
118
124
|
- lib/sass/tree/mixin_node.rb
|
125
|
+
- lib/sass/tree/node.rb
|
119
126
|
- lib/sass/tree/prop_node.rb
|
120
|
-
- lib/sass/tree/
|
121
|
-
- lib/sass/tree/
|
122
|
-
- lib/sass/tree/
|
123
|
-
- lib/sass/tree/comment_node.rb
|
124
|
-
- lib/sass/tree/media_node.rb
|
127
|
+
- lib/sass/tree/return_node.rb
|
128
|
+
- lib/sass/tree/root_node.rb
|
129
|
+
- lib/sass/tree/rule_node.rb
|
125
130
|
- lib/sass/tree/variable_node.rb
|
126
|
-
- lib/sass/tree/
|
127
|
-
- lib/sass/tree/
|
128
|
-
- lib/sass/tree/
|
131
|
+
- lib/sass/tree/visitors/base.rb
|
132
|
+
- lib/sass/tree/visitors/check_nesting.rb
|
133
|
+
- lib/sass/tree/visitors/convert.rb
|
134
|
+
- lib/sass/tree/visitors/cssize.rb
|
135
|
+
- lib/sass/tree/visitors/perform.rb
|
136
|
+
- lib/sass/tree/visitors/to_css.rb
|
137
|
+
- lib/sass/tree/warn_node.rb
|
129
138
|
- lib/sass/tree/while_node.rb
|
130
|
-
- lib/sass/
|
131
|
-
- lib/sass/scss/sass_parser.rb
|
132
|
-
- lib/sass/scss/script_parser.rb
|
133
|
-
- lib/sass/scss/css_parser.rb
|
134
|
-
- lib/sass/scss/script_lexer.rb
|
135
|
-
- lib/sass/scss/rx.rb
|
136
|
-
- lib/sass/scss/parser.rb
|
137
|
-
- lib/sass/scss/static_parser.rb
|
138
|
-
- lib/sass/less.rb
|
139
|
-
- lib/sass/selector/simple_sequence.rb
|
140
|
-
- lib/sass/selector/simple.rb
|
141
|
-
- lib/sass/selector/sequence.rb
|
142
|
-
- lib/sass/selector/abstract_sequence.rb
|
143
|
-
- lib/sass/selector/comma_sequence.rb
|
144
|
-
- lib/sass/root.rb
|
145
|
-
- lib/sass/importers/filesystem.rb
|
146
|
-
- lib/sass/importers/base.rb
|
147
|
-
- lib/sass/css.rb
|
148
|
-
- lib/sass/selector.rb
|
149
|
-
- lib/sass/engine.rb
|
150
|
-
- lib/sass/plugin.rb
|
151
|
-
- lib/sass/repl.rb
|
152
|
-
- lib/sass/scss.rb
|
153
|
-
- lib/sass/exec.rb
|
139
|
+
- lib/sass/util/subset_map.rb
|
154
140
|
- lib/sass/util.rb
|
155
|
-
- lib/sass/
|
156
|
-
- lib/sass/script.rb
|
141
|
+
- lib/sass/version.rb
|
157
142
|
- lib/sass.rb
|
158
|
-
- vendor/fssm/
|
159
|
-
- vendor/fssm/
|
160
|
-
- vendor/fssm/lib/fssm/tree.rb
|
161
|
-
- vendor/fssm/lib/fssm/monitor.rb
|
162
|
-
- vendor/fssm/lib/fssm/support.rb
|
163
|
-
- vendor/fssm/lib/fssm/pathname.rb
|
164
|
-
- vendor/fssm/lib/fssm/state/file.rb
|
165
|
-
- vendor/fssm/lib/fssm/state/directory.rb
|
143
|
+
- vendor/fssm/example.rb
|
144
|
+
- vendor/fssm/fssm.gemspec
|
166
145
|
- vendor/fssm/lib/fssm/backends/fsevents.rb
|
167
|
-
- vendor/fssm/lib/fssm/backends/polling.rb
|
168
146
|
- vendor/fssm/lib/fssm/backends/inotify.rb
|
147
|
+
- vendor/fssm/lib/fssm/backends/polling.rb
|
169
148
|
- vendor/fssm/lib/fssm/backends/rubycocoa/fsevents.rb
|
170
|
-
- vendor/fssm/
|
149
|
+
- vendor/fssm/lib/fssm/monitor.rb
|
150
|
+
- vendor/fssm/lib/fssm/path.rb
|
151
|
+
- vendor/fssm/lib/fssm/pathname.rb
|
152
|
+
- vendor/fssm/lib/fssm/state/directory.rb
|
153
|
+
- vendor/fssm/lib/fssm/state/file.rb
|
154
|
+
- vendor/fssm/lib/fssm/support.rb
|
155
|
+
- vendor/fssm/lib/fssm/tree.rb
|
156
|
+
- vendor/fssm/lib/fssm.rb
|
171
157
|
- vendor/fssm/LICENSE
|
172
|
-
- vendor/fssm/
|
173
|
-
- vendor/fssm/
|
158
|
+
- vendor/fssm/pkg/fssm-0.0.8.gem
|
159
|
+
- vendor/fssm/profile/prof-cache.rb
|
174
160
|
- vendor/fssm/profile/prof-fssm-pathname.html
|
175
161
|
- vendor/fssm/profile/prof-pathname.rb
|
176
162
|
- vendor/fssm/profile/prof-plain-pathname.html
|
177
|
-
- vendor/fssm/profile/prof-cache.rb
|
178
163
|
- vendor/fssm/profile/prof.html
|
179
|
-
- vendor/fssm/
|
180
|
-
- vendor/fssm/
|
181
|
-
- vendor/fssm/spec/spec_helper.rb
|
164
|
+
- vendor/fssm/Rakefile
|
165
|
+
- vendor/fssm/README.markdown
|
182
166
|
- vendor/fssm/spec/path_spec.rb
|
183
167
|
- vendor/fssm/spec/root/duck/quack.txt
|
184
|
-
- vendor/fssm/spec/root/moo/cow.txt
|
185
|
-
- vendor/fssm/spec/root/file.rb
|
186
168
|
- vendor/fssm/spec/root/file.css
|
169
|
+
- vendor/fssm/spec/root/file.rb
|
187
170
|
- vendor/fssm/spec/root/file.yml
|
171
|
+
- vendor/fssm/spec/root/moo/cow.txt
|
172
|
+
- vendor/fssm/spec/spec_helper.rb
|
173
|
+
- vendor/fssm/VERSION.yml
|
188
174
|
- bin/sass
|
189
|
-
- bin/scss
|
190
175
|
- bin/sass-convert
|
191
|
-
-
|
192
|
-
- test/sass/
|
193
|
-
- test/sass/
|
194
|
-
- test/sass/
|
195
|
-
- test/sass/
|
196
|
-
- test/sass/
|
197
|
-
- test/sass/
|
198
|
-
- test/sass/
|
199
|
-
- test/sass/templates/importee.less
|
200
|
-
- test/sass/templates/warn.sass
|
201
|
-
- test/sass/templates/parent_ref.sass
|
202
|
-
- test/sass/templates/nested_bork3.sass
|
203
|
-
- test/sass/templates/script.sass
|
204
|
-
- test/sass/templates/import.sass
|
205
|
-
- test/sass/templates/scss_importee.scss
|
206
|
-
- test/sass/templates/bork1.sass
|
207
|
-
- test/sass/templates/compressed.sass
|
208
|
-
- test/sass/templates/importee.sass
|
209
|
-
- test/sass/templates/_partial.sass
|
210
|
-
- test/sass/templates/units.sass
|
211
|
-
- test/sass/templates/nested_bork1.sass
|
212
|
-
- test/sass/templates/bork3.sass
|
213
|
-
- test/sass/templates/nested_mixin_bork.sass
|
214
|
-
- test/sass/templates/complex.sass
|
215
|
-
- test/sass/templates/if.sass
|
216
|
-
- test/sass/templates/import_charset_ibm866.sass
|
217
|
-
- test/sass/templates/alt.sass
|
218
|
-
- test/sass/templates/scss_import.scss
|
219
|
-
- test/sass/templates/compact.sass
|
220
|
-
- test/sass/templates/_imported_charset_ibm866.sass
|
221
|
-
- test/sass/templates/nested.sass
|
222
|
-
- test/sass/templates/subdir/subdir.sass
|
223
|
-
- test/sass/templates/subdir/nested_subdir/_nested_partial.sass
|
224
|
-
- test/sass/templates/subdir/nested_subdir/nested_subdir.sass
|
225
|
-
- test/sass/templates/warn_imported.sass
|
226
|
-
- test/sass/templates/options.sass
|
227
|
-
- test/sass/templates/bork4.sass
|
228
|
-
- test/sass/templates/import_charset_1_8.sass
|
229
|
-
- test/sass/templates/nested_bork4.sass
|
230
|
-
- test/sass/templates/nested_import.sass
|
231
|
-
- test/sass/templates/multiline.sass
|
232
|
-
- test/sass/templates/expanded.sass
|
233
|
-
- test/sass/templates/mixins.sass
|
234
|
-
- test/sass/templates/bork2.sass
|
235
|
-
- test/sass/script_conversion_test.rb
|
236
|
-
- test/sass/mock_importer.rb
|
237
|
-
- test/sass/test_helper.rb
|
176
|
+
- bin/scss
|
177
|
+
- test/sass/cache_test.rb
|
178
|
+
- test/sass/callbacks_test.rb
|
179
|
+
- test/sass/conversion_test.rb
|
180
|
+
- test/sass/css2sass_test.rb
|
181
|
+
- test/sass/data/hsl-rgb.txt
|
182
|
+
- test/sass/engine_test.rb
|
183
|
+
- test/sass/extend_test.rb
|
238
184
|
- test/sass/functions_test.rb
|
239
|
-
- test/sass/
|
185
|
+
- test/sass/importer_test.rb
|
240
186
|
- test/sass/less_conversion_test.rb
|
187
|
+
- test/sass/mock_importer.rb
|
241
188
|
- test/sass/more_results/more1.css
|
242
189
|
- test/sass/more_results/more1_with_line_comments.css
|
243
190
|
- test/sass/more_results/more_import.css
|
244
|
-
- test/sass/data/hsl-rgb.txt
|
245
|
-
- test/sass/scss/test_helper.rb
|
246
|
-
- test/sass/scss/css_test.rb
|
247
|
-
- test/sass/scss/rx_test.rb
|
248
|
-
- test/sass/scss/scss_test.rb
|
249
|
-
- test/sass/script_test.rb
|
250
|
-
- test/sass/importer_test.rb
|
251
|
-
- test/sass/cache_test.rb
|
252
|
-
- test/sass/conversion_test.rb
|
253
|
-
- test/sass/more_templates/more1.sass
|
254
191
|
- test/sass/more_templates/_more_partial.sass
|
192
|
+
- test/sass/more_templates/more1.sass
|
255
193
|
- test/sass/more_templates/more_import.sass
|
256
|
-
- test/sass/
|
257
|
-
- test/sass/engine_test.rb
|
258
|
-
- test/sass/css2sass_test.rb
|
259
|
-
- test/sass/callbacks_test.rb
|
260
|
-
- test/sass/results/units.css
|
194
|
+
- test/sass/plugin_test.rb
|
261
195
|
- test/sass/results/alt.css
|
262
|
-
- test/sass/results/
|
263
|
-
- test/sass/results/
|
264
|
-
- test/sass/results/
|
196
|
+
- test/sass/results/basic.css
|
197
|
+
- test/sass/results/compact.css
|
198
|
+
- test/sass/results/complex.css
|
199
|
+
- test/sass/results/compressed.css
|
265
200
|
- test/sass/results/expanded.css
|
266
|
-
- test/sass/results/warn.css
|
267
|
-
- test/sass/results/script.css
|
268
201
|
- test/sass/results/if.css
|
269
|
-
- test/sass/results/
|
202
|
+
- test/sass/results/import.css
|
203
|
+
- test/sass/results/import_charset.css
|
204
|
+
- test/sass/results/import_charset_1_8.css
|
205
|
+
- test/sass/results/import_charset_ibm866.css
|
206
|
+
- test/sass/results/line_numbers.css
|
207
|
+
- test/sass/results/mixins.css
|
208
|
+
- test/sass/results/multiline.css
|
270
209
|
- test/sass/results/nested.css
|
271
210
|
- test/sass/results/options.css
|
272
|
-
- test/sass/results/import_charset_1_8.css
|
273
211
|
- test/sass/results/parent_ref.css
|
274
|
-
- test/sass/results/
|
275
|
-
- test/sass/results/
|
276
|
-
- test/sass/results/
|
212
|
+
- test/sass/results/script.css
|
213
|
+
- test/sass/results/scss_import.css
|
214
|
+
- test/sass/results/scss_importee.css
|
277
215
|
- test/sass/results/subdir/nested_subdir/nested_subdir.css
|
216
|
+
- test/sass/results/subdir/subdir.css
|
217
|
+
- test/sass/results/units.css
|
218
|
+
- test/sass/results/warn.css
|
278
219
|
- test/sass/results/warn_imported.css
|
279
|
-
- test/sass/
|
280
|
-
- test/sass/
|
281
|
-
- test/sass/
|
282
|
-
- test/sass/
|
283
|
-
- test/sass/
|
284
|
-
- test/sass/
|
220
|
+
- test/sass/script_conversion_test.rb
|
221
|
+
- test/sass/script_test.rb
|
222
|
+
- test/sass/scss/css_test.rb
|
223
|
+
- test/sass/scss/rx_test.rb
|
224
|
+
- test/sass/scss/scss_test.rb
|
225
|
+
- test/sass/scss/test_helper.rb
|
226
|
+
- test/sass/templates/_imported_charset_ibm866.sass
|
227
|
+
- test/sass/templates/_imported_charset_utf8.sass
|
228
|
+
- test/sass/templates/_partial.sass
|
229
|
+
- test/sass/templates/alt.sass
|
230
|
+
- test/sass/templates/basic.sass
|
231
|
+
- test/sass/templates/bork1.sass
|
232
|
+
- test/sass/templates/bork2.sass
|
233
|
+
- test/sass/templates/bork3.sass
|
234
|
+
- test/sass/templates/bork4.sass
|
235
|
+
- test/sass/templates/compact.sass
|
236
|
+
- test/sass/templates/complex.sass
|
237
|
+
- test/sass/templates/compressed.sass
|
238
|
+
- test/sass/templates/expanded.sass
|
239
|
+
- test/sass/templates/if.sass
|
240
|
+
- test/sass/templates/import.sass
|
241
|
+
- test/sass/templates/import_charset.sass
|
242
|
+
- test/sass/templates/import_charset_1_8.sass
|
243
|
+
- test/sass/templates/import_charset_ibm866.sass
|
244
|
+
- test/sass/templates/importee.less
|
245
|
+
- test/sass/templates/importee.sass
|
246
|
+
- test/sass/templates/line_numbers.sass
|
247
|
+
- test/sass/templates/mixin_bork.sass
|
248
|
+
- test/sass/templates/mixins.sass
|
249
|
+
- test/sass/templates/multiline.sass
|
250
|
+
- test/sass/templates/nested.sass
|
251
|
+
- test/sass/templates/nested_bork1.sass
|
252
|
+
- test/sass/templates/nested_bork2.sass
|
253
|
+
- test/sass/templates/nested_bork3.sass
|
254
|
+
- test/sass/templates/nested_bork4.sass
|
255
|
+
- test/sass/templates/nested_import.sass
|
256
|
+
- test/sass/templates/nested_mixin_bork.sass
|
257
|
+
- test/sass/templates/options.sass
|
258
|
+
- test/sass/templates/parent_ref.sass
|
259
|
+
- test/sass/templates/script.sass
|
260
|
+
- test/sass/templates/scss_import.scss
|
261
|
+
- test/sass/templates/scss_importee.scss
|
262
|
+
- test/sass/templates/subdir/nested_subdir/_nested_partial.sass
|
263
|
+
- test/sass/templates/subdir/nested_subdir/nested_subdir.sass
|
264
|
+
- test/sass/templates/subdir/subdir.sass
|
265
|
+
- test/sass/templates/units.sass
|
266
|
+
- test/sass/templates/warn.sass
|
267
|
+
- test/sass/templates/warn_imported.sass
|
268
|
+
- test/sass/test_helper.rb
|
269
|
+
- test/sass/util/subset_map_test.rb
|
270
|
+
- test/sass/util_test.rb
|
285
271
|
- test/test_helper.rb
|
286
272
|
- extra/update_watch.rb
|
287
273
|
- Rakefile
|
288
274
|
- init.rb
|
289
275
|
- .yardopts
|
276
|
+
- CONTRIBUTING
|
290
277
|
- MIT-LICENSE
|
291
|
-
-
|
278
|
+
- README.md
|
292
279
|
- VERSION
|
293
280
|
- VERSION_NAME
|
294
|
-
|
295
|
-
- CONTRIBUTING
|
296
|
-
has_rdoc: false
|
281
|
+
has_rdoc: true
|
297
282
|
homepage: http://sass-lang.com/
|
298
283
|
licenses: []
|
299
284
|
|
@@ -307,41 +292,35 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
307
292
|
requirements:
|
308
293
|
- - ">="
|
309
294
|
- !ruby/object:Gem::Version
|
310
|
-
hash: 3
|
311
|
-
segments:
|
312
|
-
- 0
|
313
295
|
version: "0"
|
314
296
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
315
297
|
none: false
|
316
298
|
requirements:
|
317
299
|
- - ">="
|
318
300
|
- !ruby/object:Gem::Version
|
319
|
-
hash: 3
|
320
|
-
segments:
|
321
|
-
- 0
|
322
301
|
version: "0"
|
323
302
|
requirements: []
|
324
303
|
|
325
304
|
rubyforge_project: sass
|
326
|
-
rubygems_version: 1.3
|
305
|
+
rubygems_version: 1.5.3
|
327
306
|
signing_key:
|
328
307
|
specification_version: 3
|
329
308
|
summary: A powerful but elegant CSS compiler that makes CSS fun again.
|
330
309
|
test_files:
|
331
|
-
- test/sass/
|
332
|
-
- test/sass/
|
333
|
-
- test/sass/
|
310
|
+
- test/sass/cache_test.rb
|
311
|
+
- test/sass/callbacks_test.rb
|
312
|
+
- test/sass/conversion_test.rb
|
313
|
+
- test/sass/css2sass_test.rb
|
314
|
+
- test/sass/engine_test.rb
|
315
|
+
- test/sass/extend_test.rb
|
334
316
|
- test/sass/functions_test.rb
|
335
|
-
- test/sass/
|
317
|
+
- test/sass/importer_test.rb
|
336
318
|
- test/sass/less_conversion_test.rb
|
319
|
+
- test/sass/plugin_test.rb
|
320
|
+
- test/sass/script_conversion_test.rb
|
321
|
+
- test/sass/script_test.rb
|
337
322
|
- test/sass/scss/css_test.rb
|
338
323
|
- test/sass/scss/rx_test.rb
|
339
324
|
- test/sass/scss/scss_test.rb
|
340
|
-
- test/sass/
|
341
|
-
- test/sass/
|
342
|
-
- test/sass/cache_test.rb
|
343
|
-
- test/sass/conversion_test.rb
|
344
|
-
- test/sass/extend_test.rb
|
345
|
-
- test/sass/engine_test.rb
|
346
|
-
- test/sass/css2sass_test.rb
|
347
|
-
- test/sass/callbacks_test.rb
|
325
|
+
- test/sass/util/subset_map_test.rb
|
326
|
+
- test/sass/util_test.rb
|
data/REVISION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
(release)
|