sass 3.3.11 → 3.3.12

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/VERSION_DATE +1 -1
  4. data/lib/sass/plugin/compiler.rb +127 -26
  5. metadata +249 -249
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a981178f0b9b79efb080912e5319f70ee922be4
4
- data.tar.gz: 18a2bb68e6fcd0e65aa792bb80549e02cdad8c59
3
+ metadata.gz: e09208cb9b1f61cc5d109eaff82f9d42adf80c17
4
+ data.tar.gz: 73e867ad4df43b7abb7b807c06b29ca7363bc540
5
5
  SHA512:
6
- metadata.gz: 7dc6a99885a42a5037403bfa6664fe0744853bbb7e94e5c864b252935613727010eaedf5d09a82b1bc72ca09f6e57e49a41d70f8304ea6a3c792084633a3ac5f
7
- data.tar.gz: eed4ac9845225d4f829ff10381ac9ed312e5f43490728033df217c4abb466c85bd2b4867df65c7015d390e464ef6f6e253ce4a4094cddb72a8b6cd5f230c049e
6
+ metadata.gz: 592a928b9b6d3a1687e1296cb5ae4ad6f01308504c2c716b013e8c942993293c0ef097e1bc6a8125fb2d8785d1584b0dada2c0e977244ae0a87ce9d49229c019
7
+ data.tar.gz: 555d99757814b87eb02698426ad7d74511e327dfcc5d5c44537debe788b54c93412fb264eb5deca52b6e7e4a193411007924ff08ba8ae3d180b3f0a49ccc8284
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.3.11
1
+ 3.3.12
@@ -1 +1 @@
1
- 26 July 2014 00:39:12 UTC
1
+ 30 July 2014 00:56:41 UTC
@@ -36,19 +36,30 @@ module Sass::Plugin
36
36
  options.merge!(opts)
37
37
  end
38
38
 
39
- # Register a callback to be run after stylesheets are mass-updated.
39
+ # Register a callback to be run before stylesheets are mass-updated.
40
40
  # This is run whenever \{#update\_stylesheets} is called,
41
41
  # unless the \{file:SASS_REFERENCE.md#never_update-option `:never_update` option}
42
42
  # is enabled.
43
43
  #
44
- # @yield [individual_files]
45
- # @yieldparam individual_files [<(String, String)>]
46
- # Individual files to be updated, in addition to the directories
47
- # specified in the options.
44
+ # @yield [files]
45
+ # @yieldparam files [<(String, String, String)>]
46
+ # Individual files to be updated. Files in directories specified are included in this list.
48
47
  # The first element of each pair is the source file,
49
- # the second is the target CSS file.
48
+ # the second is the target CSS file,
49
+ # the third is the target sourcemap file.
50
50
  define_callback :updating_stylesheets
51
51
 
52
+ # Register a callback to be run after stylesheets are mass-updated.
53
+ # This is run whenever \{#update\_stylesheets} is called,
54
+ # unless the \{file:SASS_REFERENCE.md#never_update-option `:never_update` option}
55
+ # is enabled.
56
+ #
57
+ # @yield [updated_files]
58
+ # @yieldparam updated_files [<(String, String)>]
59
+ # Individual files that were updated.
60
+ # The first element of each pair is the source file, the second is the target CSS file.
61
+ define_callback :updated_stylesheets
62
+
52
63
  # Register a callback to be run after a single stylesheet is updated.
53
64
  # The callback is only run if the stylesheet is really updated;
54
65
  # if the CSS file is fresh, this won't be run.
@@ -67,6 +78,21 @@ module Sass::Plugin
67
78
  # The location of the sourcemap being generated, if any.
68
79
  define_callback :updated_stylesheet
69
80
 
81
+ # Register a callback to be run when compilation starts.
82
+ #
83
+ # In combination with on_updated_stylesheet, this could be used
84
+ # to collect compilation statistics like timing or to take a
85
+ # diff of the changes to the output file.
86
+ #
87
+ # @yield [template, css, sourcemap]
88
+ # @yieldparam template [String]
89
+ # The location of the Sass/SCSS file being updated.
90
+ # @yieldparam css [String]
91
+ # The location of the CSS file being generated.
92
+ # @yieldparam sourcemap [String]
93
+ # The location of the sourcemap being generated, if any.
94
+ define_callback :compilation_starting
95
+
70
96
  # Register a callback to be run when Sass decides not to update a stylesheet.
71
97
  # In particular, the callback is run when Sass finds that
72
98
  # the template file and none of its dependencies
@@ -139,7 +165,8 @@ module Sass::Plugin
139
165
  define_callback :template_deleted
140
166
 
141
167
  # Register a callback to be run when Sass deletes a CSS file.
142
- # This happens when the corresponding Sass/SCSS file has been deleted.
168
+ # This happens when the corresponding Sass/SCSS file has been deleted
169
+ # and when the compiler cleans the output files.
143
170
  #
144
171
  # @yield [filename]
145
172
  # @yieldparam filename [String]
@@ -147,7 +174,8 @@ module Sass::Plugin
147
174
  define_callback :deleting_css
148
175
 
149
176
  # Register a callback to be run when Sass deletes a sourcemap file.
150
- # This happens when the corresponding Sass/SCSS file has been deleted.
177
+ # This happens when the corresponding Sass/SCSS file has been deleted
178
+ # and when the compiler cleans the output files.
151
179
  #
152
180
  # @yield [filename]
153
181
  # @yieldparam filename [String]
@@ -162,35 +190,71 @@ module Sass::Plugin
162
190
  # in {file:SASS_REFERENCE.md#css_location-option `:css_location`}.
163
191
  # If it has, it updates the CSS file.
164
192
  #
165
- # @param individual_files [Array<(String, String)>]
193
+ # @param individual_files [Array<(String, String[, String])>]
166
194
  # A list of files to check for updates
167
195
  # **in addition to those specified by the
168
196
  # {file:SASS_REFERENCE.md#template_location-option `:template_location` option}.**
169
197
  # The first string in each pair is the location of the Sass/SCSS file,
170
198
  # the second is the location of the CSS file that it should be compiled to.
199
+ # The third string, if provided, is the location of the Sourcemap file.
171
200
  def update_stylesheets(individual_files = [])
172
- individual_files = individual_files.dup
173
201
  Sass::Plugin.checked_for_updates = true
174
202
  staleness_checker = StalenessChecker.new(engine_options)
175
203
 
176
- template_location_array.each do |template_location, css_location|
177
- Sass::Util.glob(File.join(template_location, "**", "[^_]*.s[ca]ss")).sort.each do |file|
178
- # Get the relative path to the file
179
- name = file.sub(template_location.to_s.sub(/\/*$/, '/'), "")
180
- css = css_filename(name, css_location)
181
- sourcemap = Sass::Util.sourcemap_name(css) if engine_options[:sourcemap]
182
- individual_files << [file, css, sourcemap]
183
- end
184
- end
204
+ files = file_list(individual_files)
205
+ run_updating_stylesheets(files)
185
206
 
186
- individual_files.each do |file, css, sourcemap|
207
+ updated_stylesheets = []
208
+ files.each do |file, css, sourcemap|
187
209
  # TODO: Does staleness_checker need to check the sourcemap file as well?
188
210
  if options[:always_update] || staleness_checker.stylesheet_needs_update?(css, file)
211
+ # XXX For consistency, this should return the sourcemap too, but it would
212
+ # XXX be an API change.
213
+ updated_stylesheets << [file, css]
189
214
  update_stylesheet(file, css, sourcemap)
190
215
  else
191
216
  run_not_updating_stylesheet(file, css, sourcemap)
192
217
  end
193
218
  end
219
+ run_updated_stylesheets(updated_stylesheets)
220
+ end
221
+
222
+ # Construct a list of files that might need to be compiled
223
+ # from the provided individual_files and the template_locations.
224
+ #
225
+ # Note: this method does not cache the results as they can change
226
+ # across invocations when sass files are added or removed.
227
+ #
228
+ # @param individual_files [Array<(String, String[, String])>]
229
+ # A list of files to check for updates
230
+ # **in addition to those specified by the
231
+ # {file:SASS_REFERENCE.md#template_location-option `:template_location` option}.**
232
+ # The first string in each pair is the location of the Sass/SCSS file,
233
+ # the second is the location of the CSS file that it should be compiled to.
234
+ # The third string, if provided, is the location of the Sourcemap file.
235
+ # @return [Array<(String, String, String)>]
236
+ # A list of [sass_file, css_file, sourcemap_file] tuples similar
237
+ # to what was passed in, but expanded to include the current state
238
+ # of the directories being updated.
239
+ def file_list(individual_files = [])
240
+ files = individual_files.map do |tuple|
241
+ if tuple.size < 3
242
+ [tuple[0], tuple[1], Sass::Util.sourcemap_name(tuple[1])]
243
+ else
244
+ tuple
245
+ end
246
+ end
247
+
248
+ template_location_array.each do |template_location, css_location|
249
+ Sass::Util.glob(File.join(template_location, "**", "[^_]*.s[ca]ss")).sort.each do |file|
250
+ # Get the relative path to the file
251
+ name = file.sub(template_location.to_s.sub(/\/*$/, '/'), "")
252
+ css = css_filename(name, css_location)
253
+ sourcemap = Sass::Util.sourcemap_name(css) if engine_options[:sourcemap]
254
+ files << [file, css, sourcemap]
255
+ end
256
+ end
257
+ files
194
258
  end
195
259
 
196
260
  # Watches the template directory (or directories)
@@ -211,14 +275,19 @@ module Sass::Plugin
211
275
  # The version of Listen distributed with Sass is loaded by default,
212
276
  # but if another version has already been loaded that will be used instead.
213
277
  #
214
- # @param individual_files [Array<(String, String)>]
215
- # A list of files to watch for updates
278
+ # @param individual_files [Array<(String, String[, String])>]
279
+ # A list of files to check for updates
216
280
  # **in addition to those specified by the
217
281
  # {file:SASS_REFERENCE.md#template_location-option `:template_location` option}.**
218
282
  # The first string in each pair is the location of the Sass/SCSS file,
219
283
  # the second is the location of the CSS file that it should be compiled to.
220
- def watch(individual_files = [])
221
- update_stylesheets(individual_files)
284
+ # The third string, if provided, is the location of the Sourcemap file.
285
+ # @param options [Hash] The options that control how watching works.
286
+ # @option options [Boolean] :skip_initial_update
287
+ # Don't do an initial update when starting the watcher when true
288
+ def watch(individual_files = [], options = {})
289
+ options, individual_files = individual_files, [] if individual_files.is_a?(Hash)
290
+ update_stylesheets(individual_files) unless options[:skip_initial_update]
222
291
 
223
292
  directories = watched_paths
224
293
  individual_files.each do |(source, _, _)|
@@ -235,7 +304,11 @@ module Sass::Plugin
235
304
 
236
305
  # TODO: Keep better track of what depends on what
237
306
  # so we don't have to run a global update every time anything changes.
238
- listener_args = directories + [{:relative_paths => false}]
307
+ # XXX The :additional_watch_paths option exists for Compass to use until
308
+ # a deprecated feature is removed. It may be removed without warning.
309
+ listener_args = directories +
310
+ Array(options[:additional_watch_paths]) +
311
+ [{:relative_paths => false}]
239
312
 
240
313
  # The native windows listener is much slower than the polling option, according to
241
314
  # https://github.com/nex3/sass/commit/a3031856b22bc834a5417dedecb038b7be9b9e3e
@@ -248,6 +321,7 @@ module Sass::Plugin
248
321
 
249
322
  listener = create_listener(*listener_args) do |modified, added, removed|
250
323
  on_file_changed(individual_files, modified, added, removed)
324
+ yield(modified, added, removed) if block_given?
251
325
  end
252
326
 
253
327
  if poll && !Sass::Util.listen_geq_2?
@@ -275,6 +349,32 @@ module Sass::Plugin
275
349
  StalenessChecker.stylesheet_needs_update?(css_file, template_file)
276
350
  end
277
351
 
352
+ # Remove all output files that would be created by calling update_stylesheets, if they exist.
353
+ #
354
+ # This method runs the deleting_css and deleting_sourcemap callbacks for
355
+ # the files that are deleted.
356
+ #
357
+ # @param individual_files [Array<(String, String[, String])>]
358
+ # A list of files to check for updates
359
+ # **in addition to those specified by the
360
+ # {file:SASS_REFERENCE.md#template_location-option `:template_location` option}.**
361
+ # The first string in each pair is the location of the Sass/SCSS file,
362
+ # the second is the location of the CSS file that it should be compiled to.
363
+ # The third string, if provided, is the location of the Sourcemap file.
364
+ def clean(individual_files = [])
365
+ file_list(individual_files).each do |(_, css_file, sourcemap_file)|
366
+ if File.exist?(css_file)
367
+ run_deleting_css css_file
368
+ File.delete(css_file)
369
+ end
370
+ if sourcemap_file && File.exist?(sourcemap_file)
371
+ run_deleting_sourcemap sourcemap_file
372
+ File.delete(sourcemap_file)
373
+ end
374
+ end
375
+ nil
376
+ end
377
+
278
378
  private
279
379
 
280
380
  def create_listener(*args, &block)
@@ -328,6 +428,7 @@ module Sass::Plugin
328
428
  end
329
429
 
330
430
  removed.uniq.each do |f|
431
+ run_template_deleted(relative_to_pwd(f))
331
432
  if (files = individual_files.find {|(source, _, _)| File.expand_path(source) == f})
332
433
  recompile_required = true
333
434
  # This was a file we were watching explicitly and compiling to a particular location.
@@ -347,7 +448,6 @@ module Sass::Plugin
347
448
  end
348
449
  end
349
450
  end
350
- run_template_deleted(relative_to_pwd(f))
351
451
  end
352
452
 
353
453
  if recompile_required
@@ -371,6 +471,7 @@ module Sass::Plugin
371
471
  :filename => filename,
372
472
  :sourcemap_filename => sourcemap)
373
473
  mapping = nil
474
+ run_compilation_starting(filename, css, sourcemap)
374
475
  engine = Sass::Engine.for_file(filename, engine_opts)
375
476
  if sourcemap
376
477
  rendered, mapping = engine.render_with_sourcemap(File.basename(sourcemap))
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.11
4
+ version: 3.3.12
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-07-26 00:00:00.000000000 Z
13
+ date: 2014-07-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: yard
@@ -54,302 +54,302 @@ extensions: []
54
54
  extra_rdoc_files: []
55
55
  files:
56
56
  - rails/init.rb
57
- - lib/sass.rb
58
- - lib/sass/cache_stores.rb
59
- - lib/sass/plugin/compiler.rb
60
- - lib/sass/plugin/merb.rb
61
- - lib/sass/plugin/staleness_checker.rb
62
- - lib/sass/plugin/rack.rb
63
- - lib/sass/plugin/rails.rb
64
- - lib/sass/plugin/configuration.rb
65
- - lib/sass/plugin/generic.rb
66
- - lib/sass/version.rb
67
- - lib/sass/supports.rb
68
- - lib/sass/media.rb
69
- - lib/sass/stack.rb
57
+ - lib/sass/cache_stores/base.rb
70
58
  - lib/sass/cache_stores/chain.rb
59
+ - lib/sass/cache_stores/filesystem.rb
71
60
  - lib/sass/cache_stores/memory.rb
72
61
  - 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
83
- - lib/sass/tree/charset_node.rb
84
- - lib/sass/tree/css_import_node.rb
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
89
- - lib/sass/tree/directive_node.rb
90
- - lib/sass/tree/rule_node.rb
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
95
- - lib/sass/tree/extend_node.rb
96
- - lib/sass/tree/mixin_def_node.rb
97
- - lib/sass/tree/supports_node.rb
98
- - lib/sass/tree/visitors/perform.rb
99
- - lib/sass/tree/visitors/to_css.rb
100
- - lib/sass/tree/visitors/check_nesting.rb
101
- - lib/sass/tree/visitors/deep_copy.rb
102
- - lib/sass/tree/visitors/extend.rb
103
- - lib/sass/tree/visitors/set_options.rb
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
109
- - lib/sass/tree/warn_node.rb
110
- - lib/sass/tree/debug_node.rb
111
- - lib/sass/tree/prop_node.rb
112
- - lib/sass/tree/variable_node.rb
62
+ - lib/sass/cache_stores.rb
63
+ - lib/sass/callbacks.rb
64
+ - lib/sass/css.rb
113
65
  - lib/sass/engine.rb
114
- - lib/sass/plugin.rb
115
- - lib/sass/root.rb
66
+ - lib/sass/environment.rb
67
+ - lib/sass/error.rb
68
+ - lib/sass/exec.rb
116
69
  - lib/sass/features.rb
70
+ - lib/sass/importers/base.rb
71
+ - lib/sass/importers/deprecated_path.rb
72
+ - lib/sass/importers/filesystem.rb
117
73
  - 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
122
- - lib/sass/util/normalized_map.rb
123
- - lib/sass/util/test.rb
124
- - lib/sass/util/cross_platform_random.rb
125
- - lib/sass/util/ordered_hash.rb
126
- - lib/sass/util/multibyte_string_scanner.rb
127
- - lib/sass/util/subset_map.rb
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
74
  - 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
75
+ - lib/sass/logger/log_level.rb
76
+ - lib/sass/logger.rb
77
+ - lib/sass/media.rb
78
+ - lib/sass/plugin/compiler.rb
79
+ - lib/sass/plugin/configuration.rb
80
+ - lib/sass/plugin/generic.rb
81
+ - lib/sass/plugin/merb.rb
82
+ - lib/sass/plugin/rack.rb
83
+ - lib/sass/plugin/rails.rb
84
+ - lib/sass/plugin/staleness_checker.rb
85
+ - lib/sass/plugin.rb
86
+ - lib/sass/railtie.rb
87
+ - lib/sass/repl.rb
88
+ - lib/sass/root.rb
89
+ - lib/sass/script/css_lexer.rb
90
+ - lib/sass/script/css_parser.rb
144
91
  - lib/sass/script/functions.rb
145
- - lib/sass/script/tree/variable.rb
146
- - lib/sass/script/tree/operation.rb
92
+ - lib/sass/script/lexer.rb
93
+ - lib/sass/script/parser.rb
147
94
  - lib/sass/script/tree/funcall.rb
148
- - lib/sass/script/tree/literal.rb
149
- - lib/sass/script/tree/string_interpolation.rb
150
95
  - lib/sass/script/tree/interpolation.rb
151
96
  - lib/sass/script/tree/list_literal.rb
97
+ - lib/sass/script/tree/literal.rb
98
+ - lib/sass/script/tree/map_literal.rb
152
99
  - lib/sass/script/tree/node.rb
100
+ - lib/sass/script/tree/operation.rb
101
+ - lib/sass/script/tree/string_interpolation.rb
153
102
  - lib/sass/script/tree/unary_operation.rb
154
- - lib/sass/script/tree/map_literal.rb
103
+ - lib/sass/script/tree/variable.rb
155
104
  - 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
105
  - lib/sass/script/value/arg_list.rb
106
+ - lib/sass/script/value/base.rb
164
107
  - lib/sass/script/value/bool.rb
165
- - lib/sass/script/value/list.rb
108
+ - lib/sass/script/value/color.rb
109
+ - lib/sass/script/value/deprecated_false.rb
166
110
  - lib/sass/script/value/helpers.rb
111
+ - lib/sass/script/value/list.rb
112
+ - lib/sass/script/value/map.rb
167
113
  - lib/sass/script/value/null.rb
114
+ - lib/sass/script/value/number.rb
168
115
  - 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
116
+ - lib/sass/script/value.rb
117
+ - lib/sass/script.rb
118
+ - lib/sass/scss/css_parser.rb
119
+ - lib/sass/scss/parser.rb
120
+ - lib/sass/scss/rx.rb
121
+ - lib/sass/scss/script_lexer.rb
122
+ - lib/sass/scss/script_parser.rb
123
+ - lib/sass/scss/static_parser.rb
124
+ - lib/sass/scss.rb
175
125
  - lib/sass/selector/abstract_sequence.rb
176
126
  - lib/sass/selector/comma_sequence.rb
127
+ - lib/sass/selector/sequence.rb
128
+ - lib/sass/selector/simple.rb
177
129
  - 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
130
+ - lib/sass/selector.rb
131
+ - lib/sass/shared.rb
132
+ - lib/sass/source/map.rb
133
+ - lib/sass/source/position.rb
134
+ - lib/sass/source/range.rb
135
+ - lib/sass/stack.rb
136
+ - lib/sass/supports.rb
137
+ - lib/sass/tree/at_root_node.rb
138
+ - lib/sass/tree/charset_node.rb
139
+ - lib/sass/tree/comment_node.rb
140
+ - lib/sass/tree/content_node.rb
141
+ - lib/sass/tree/css_import_node.rb
142
+ - lib/sass/tree/debug_node.rb
143
+ - lib/sass/tree/directive_node.rb
144
+ - lib/sass/tree/each_node.rb
145
+ - lib/sass/tree/extend_node.rb
146
+ - lib/sass/tree/for_node.rb
147
+ - lib/sass/tree/function_node.rb
148
+ - lib/sass/tree/if_node.rb
149
+ - lib/sass/tree/import_node.rb
150
+ - lib/sass/tree/media_node.rb
151
+ - lib/sass/tree/mixin_def_node.rb
152
+ - lib/sass/tree/mixin_node.rb
153
+ - lib/sass/tree/node.rb
154
+ - lib/sass/tree/prop_node.rb
155
+ - lib/sass/tree/return_node.rb
156
+ - lib/sass/tree/root_node.rb
157
+ - lib/sass/tree/rule_node.rb
158
+ - lib/sass/tree/supports_node.rb
159
+ - lib/sass/tree/trace_node.rb
160
+ - lib/sass/tree/variable_node.rb
161
+ - lib/sass/tree/visitors/base.rb
162
+ - lib/sass/tree/visitors/check_nesting.rb
163
+ - lib/sass/tree/visitors/convert.rb
164
+ - lib/sass/tree/visitors/cssize.rb
165
+ - lib/sass/tree/visitors/deep_copy.rb
166
+ - lib/sass/tree/visitors/extend.rb
167
+ - lib/sass/tree/visitors/perform.rb
168
+ - lib/sass/tree/visitors/set_options.rb
169
+ - lib/sass/tree/visitors/to_css.rb
170
+ - lib/sass/tree/warn_node.rb
171
+ - lib/sass/tree/while_node.rb
172
+ - lib/sass/util/cross_platform_random.rb
173
+ - lib/sass/util/multibyte_string_scanner.rb
174
+ - lib/sass/util/normalized_map.rb
175
+ - lib/sass/util/ordered_hash.rb
176
+ - lib/sass/util/subset_map.rb
177
+ - lib/sass/util/test.rb
178
+ - lib/sass/util.rb
179
+ - lib/sass/version.rb
180
+ - lib/sass.rb
181
+ - vendor/listen/CHANGELOG.md
182
182
  - vendor/listen/CONTRIBUTING.md
183
- - vendor/listen/Guardfile
184
183
  - 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
184
+ - vendor/listen/Guardfile
185
+ - vendor/listen/lib/listen/adapter.rb
186
+ - vendor/listen/lib/listen/adapters/bsd.rb
190
187
  - vendor/listen/lib/listen/adapters/darwin.rb
191
188
  - vendor/listen/lib/listen/adapters/linux.rb
192
- - vendor/listen/lib/listen/adapters/bsd.rb
189
+ - vendor/listen/lib/listen/adapters/polling.rb
193
190
  - vendor/listen/lib/listen/adapters/windows.rb
194
- - vendor/listen/lib/listen/adapter.rb
191
+ - vendor/listen/lib/listen/directory_record.rb
192
+ - vendor/listen/lib/listen/listener.rb
193
+ - vendor/listen/lib/listen/turnstile.rb
194
+ - vendor/listen/lib/listen/version.rb
195
195
  - vendor/listen/lib/listen.rb
196
- - vendor/listen/CHANGELOG.md
197
- - vendor/listen/Rakefile
198
196
  - vendor/listen/LICENSE
199
197
  - vendor/listen/listen.gemspec
200
- - vendor/listen/Vagrantfile
201
- - vendor/listen/spec/listen/directory_record_spec.rb
202
- - vendor/listen/spec/listen/adapters/linux_spec.rb
203
- - vendor/listen/spec/listen/adapters/darwin_spec.rb
198
+ - vendor/listen/Rakefile
199
+ - vendor/listen/README.md
200
+ - vendor/listen/spec/listen/adapter_spec.rb
204
201
  - vendor/listen/spec/listen/adapters/bsd_spec.rb
202
+ - vendor/listen/spec/listen/adapters/darwin_spec.rb
203
+ - vendor/listen/spec/listen/adapters/linux_spec.rb
205
204
  - vendor/listen/spec/listen/adapters/polling_spec.rb
206
205
  - vendor/listen/spec/listen/adapters/windows_spec.rb
207
- - vendor/listen/spec/listen/turnstile_spec.rb
208
- - vendor/listen/spec/listen/adapter_spec.rb
206
+ - vendor/listen/spec/listen/directory_record_spec.rb
209
207
  - vendor/listen/spec/listen/listener_spec.rb
208
+ - vendor/listen/spec/listen/turnstile_spec.rb
210
209
  - vendor/listen/spec/listen_spec.rb
211
210
  - vendor/listen/spec/spec_helper.rb
211
+ - vendor/listen/spec/support/adapter_helper.rb
212
212
  - vendor/listen/spec/support/directory_record_helper.rb
213
+ - vendor/listen/spec/support/fixtures_helper.rb
213
214
  - vendor/listen/spec/support/listeners_helper.rb
214
- - vendor/listen/spec/support/adapter_helper.rb
215
215
  - vendor/listen/spec/support/platform_helper.rb
216
- - vendor/listen/spec/support/fixtures_helper.rb
216
+ - vendor/listen/Vagrantfile
217
+ - bin/sass
217
218
  - bin/sass-convert
218
219
  - 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
220
+ - test/sass/cache_test.rb
221
+ - test/sass/callbacks_test.rb
222
+ - test/sass/compiler_test.rb
223
+ - test/sass/conversion_test.rb
224
+ - test/sass/css2sass_test.rb
226
225
  - test/sass/data/hsl-rgb.txt
226
+ - test/sass/engine_test.rb
227
+ - test/sass/exec_test.rb
227
228
  - test/sass/extend_test.rb
229
+ - test/sass/fixtures/test_staleness_check_across_importers.css
230
+ - test/sass/fixtures/test_staleness_check_across_importers.scss
231
+ - test/sass/functions_test.rb
232
+ - test/sass/importer_test.rb
228
233
  - test/sass/logger_test.rb
229
- - test/sass/compiler_test.rb
230
- - test/sass/css2sass_test.rb
234
+ - test/sass/mock_importer.rb
235
+ - test/sass/more_results/more1.css
236
+ - test/sass/more_results/more1_with_line_comments.css
237
+ - test/sass/more_results/more_import.css
238
+ - test/sass/more_templates/_more_partial.sass
239
+ - test/sass/more_templates/more1.sass
240
+ - test/sass/more_templates/more_import.sass
241
+ - test/sass/plugin_test.rb
242
+ - test/sass/results/alt.css
243
+ - test/sass/results/basic.css
244
+ - test/sass/results/cached_import_option.css
245
+ - test/sass/results/compact.css
246
+ - test/sass/results/complex.css
247
+ - test/sass/results/compressed.css
248
+ - test/sass/results/expanded.css
249
+ - test/sass/results/filename_fn.css
250
+ - test/sass/results/if.css
251
+ - test/sass/results/import.css
252
+ - test/sass/results/import_charset.css
253
+ - test/sass/results/import_charset_1_8.css
254
+ - test/sass/results/import_charset_ibm866.css
255
+ - test/sass/results/import_content.css
256
+ - test/sass/results/line_numbers.css
257
+ - test/sass/results/mixins.css
258
+ - test/sass/results/multiline.css
259
+ - test/sass/results/nested.css
260
+ - test/sass/results/options.css
261
+ - test/sass/results/parent_ref.css
262
+ - test/sass/results/script.css
263
+ - test/sass/results/scss_import.css
264
+ - test/sass/results/scss_importee.css
265
+ - test/sass/results/subdir/nested_subdir/nested_subdir.css
266
+ - test/sass/results/subdir/subdir.css
267
+ - test/sass/results/units.css
268
+ - test/sass/results/warn.css
269
+ - test/sass/results/warn_imported.css
270
+ - test/sass/script_conversion_test.rb
271
+ - test/sass/script_test.rb
272
+ - test/sass/scss/css_test.rb
273
+ - test/sass/scss/rx_test.rb
274
+ - test/sass/scss/scss_test.rb
275
+ - test/sass/scss/test_helper.rb
276
+ - test/sass/source_map_test.rb
277
+ - test/sass/templates/_cached_import_option_partial.scss
278
+ - test/sass/templates/_double_import_loop2.sass
231
279
  - 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
280
+ - test/sass/templates/_imported_charset_ibm866.sass
281
+ - test/sass/templates/_imported_charset_utf8.sass
241
282
  - test/sass/templates/_imported_content.sass
242
- - test/sass/templates/filename_fn.scss
283
+ - test/sass/templates/_partial.sass
284
+ - test/sass/templates/_same_name_different_partiality.scss
243
285
  - 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
286
+ - test/sass/templates/basic.sass
260
287
  - test/sass/templates/bork1.sass
261
- - test/sass/templates/warn.sass
262
288
  - test/sass/templates/bork2.sass
263
- - test/sass/templates/nested.sass
289
+ - test/sass/templates/bork3.sass
290
+ - test/sass/templates/bork4.sass
291
+ - test/sass/templates/bork5.sass
292
+ - test/sass/templates/cached_import_option.scss
264
293
  - 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
294
+ - test/sass/templates/complex.sass
295
+ - test/sass/templates/compressed.sass
269
296
  - 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
297
+ - test/sass/templates/expanded.sass
298
+ - test/sass/templates/filename_fn.scss
278
299
  - test/sass/templates/if.sass
279
- - test/sass/templates/_partial.sass
280
- - test/sass/templates/nested_mixin_bork.sass
300
+ - test/sass/templates/import.sass
301
+ - test/sass/templates/import_charset.sass
281
302
  - test/sass/templates/import_charset_1_8.sass
282
- - test/sass/templates/same_name_different_ext.sass
283
- - test/sass/templates/nested_bork2.sass
303
+ - test/sass/templates/import_charset_ibm866.sass
304
+ - test/sass/templates/import_content.sass
305
+ - test/sass/templates/importee.less
306
+ - test/sass/templates/importee.sass
307
+ - test/sass/templates/line_numbers.sass
284
308
  - test/sass/templates/mixin_bork.sass
285
- - test/sass/templates/compressed.sass
309
+ - test/sass/templates/mixins.sass
310
+ - test/sass/templates/multiline.sass
311
+ - test/sass/templates/nested.sass
312
+ - test/sass/templates/nested_bork1.sass
313
+ - test/sass/templates/nested_bork2.sass
314
+ - test/sass/templates/nested_bork3.sass
286
315
  - 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
316
+ - test/sass/templates/nested_import.sass
317
+ - test/sass/templates/nested_mixin_bork.sass
318
+ - test/sass/templates/options.sass
319
+ - test/sass/templates/parent_ref.sass
320
+ - test/sass/templates/same_name_different_ext.sass
321
+ - test/sass/templates/same_name_different_ext.scss
322
+ - test/sass/templates/same_name_different_partiality.scss
323
+ - test/sass/templates/script.sass
324
+ - test/sass/templates/scss_import.scss
325
+ - test/sass/templates/scss_importee.scss
326
+ - test/sass/templates/single_import_loop.sass
327
+ - test/sass/templates/subdir/import_up1.scss
328
+ - test/sass/templates/subdir/import_up2.scss
329
+ - test/sass/templates/subdir/nested_subdir/_nested_partial.sass
330
+ - test/sass/templates/subdir/nested_subdir/nested_subdir.sass
331
+ - test/sass/templates/subdir/subdir.sass
332
+ - test/sass/templates/units.sass
333
+ - test/sass/templates/warn.sass
334
+ - test/sass/templates/warn_imported.sass
335
+ - test/sass/test_helper.rb
293
336
  - test/sass/util/multibyte_string_scanner_test.rb
294
337
  - 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
338
+ - test/sass/util/subset_map_test.rb
301
339
  - 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
340
+ - test/sass/value_helpers_test.rb
341
+ - test/test_helper.rb
342
342
  - extra/update_watch.rb
343
343
  - Rakefile
344
344
  - init.rb
345
345
  - .yardopts
346
+ - CONTRIBUTING
347
+ - MIT-LICENSE
346
348
  - README.md
347
- - VERSION_NAME
348
- - VERSION_DATE
349
349
  - REVISION
350
- - MIT-LICENSE
351
350
  - VERSION
352
- - CONTRIBUTING
351
+ - VERSION_DATE
352
+ - VERSION_NAME
353
353
  homepage: http://sass-lang.com/
354
354
  licenses:
355
355
  - MIT
@@ -375,26 +375,26 @@ 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/engine_test.rb
379
- - test/sass/functions_test.rb
380
- - test/sass/value_helpers_test.rb
381
- - test/sass/extend_test.rb
382
- - test/sass/logger_test.rb
378
+ - test/sass/cache_test.rb
379
+ - test/sass/callbacks_test.rb
383
380
  - test/sass/compiler_test.rb
384
- - test/sass/css2sass_test.rb
385
381
  - test/sass/conversion_test.rb
386
- - test/sass/script_test.rb
382
+ - test/sass/css2sass_test.rb
383
+ - test/sass/engine_test.rb
387
384
  - test/sass/exec_test.rb
388
- - test/sass/util/subset_map_test.rb
389
- - test/sass/util/multibyte_string_scanner_test.rb
390
- - test/sass/util/normalized_map_test.rb
391
- - test/sass/callbacks_test.rb
385
+ - test/sass/extend_test.rb
386
+ - test/sass/functions_test.rb
392
387
  - test/sass/importer_test.rb
388
+ - test/sass/logger_test.rb
389
+ - test/sass/plugin_test.rb
390
+ - test/sass/script_conversion_test.rb
391
+ - test/sass/script_test.rb
393
392
  - test/sass/scss/css_test.rb
394
- - test/sass/scss/scss_test.rb
395
393
  - test/sass/scss/rx_test.rb
396
- - test/sass/util_test.rb
397
- - test/sass/script_conversion_test.rb
398
- - test/sass/cache_test.rb
394
+ - test/sass/scss/scss_test.rb
399
395
  - test/sass/source_map_test.rb
400
- - test/sass/plugin_test.rb
396
+ - test/sass/util/multibyte_string_scanner_test.rb
397
+ - test/sass/util/normalized_map_test.rb
398
+ - test/sass/util/subset_map_test.rb
399
+ - test/sass/util_test.rb
400
+ - test/sass/value_helpers_test.rb