sass 3.4.2 → 3.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c15e8b1e1cc6aeec6cb23242ee301a9eaba9559f
4
- data.tar.gz: 5938a99d15de88feb82aa2f63999ab4650c10ce8
3
+ metadata.gz: 2247321bf696ce2fefd8b57e4312ddc885595cdc
4
+ data.tar.gz: 7267469a257cb4ee1447ced88ae5b7460ed2e8b6
5
5
  SHA512:
6
- metadata.gz: 316cd088ed4308e05f7c32ff0a5a7ae0ab255b6ff196bf114f30a92b6c87a538294a54c332a752cd05c9de8eb81aea3342c925dfef89b1cf88ac51d26114d74d
7
- data.tar.gz: c29ea469217ff7fcfa198e2e446a57a9be9bde3d848015138d0d5d307984dc6c3370659cd68d3168c2301e831f1fcb5d156712283d1a13a09eb02ae953e231c7
6
+ metadata.gz: 4773c1e62448e7ebb59025e7525bf7ac16c3b74366201d311d07de749c6f43745cdf6114a9a0be7b1f8f5bdaf79d40db423d997bfa0f0f35812dc1c4902b149f
7
+ data.tar.gz: 0014b9b892d70af234d5f79d8828f0ce6dc5ac87e95f1dd1803f0b15073d30fabffecaba56b79498355e5af9bc408ff2627520056a614d64c5200a1257c791d7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.4.2
1
+ 3.4.3
@@ -1 +1 @@
1
- 29 August 2014 00:35:55 UTC
1
+ 05 September 2014 01:13:33 UTC
@@ -203,6 +203,11 @@ WARNING
203
203
  full_filename, syntax = Sass::Util.destructure(find_real_file(dir, name, options))
204
204
  return unless full_filename && File.readable?(full_filename)
205
205
 
206
+ # TODO: this preserves historical behavior, but it's possible
207
+ # :filename should be either normalized to the native format
208
+ # or consistently URI-format.
209
+ full_filename = full_filename.tr("\\", "/") if Sass::Util.windows?
210
+
206
211
  options[:syntax] = syntax
207
212
  options[:filename] = full_filename
208
213
  options[:importer] = self
@@ -241,7 +241,7 @@ module Sass::Script::Tree
241
241
  end
242
242
 
243
243
  def perform_sass_fn(function, args, splat, environment)
244
- Sass::Tree::Visitors::Perform.perform_arguments(function, args, splat) do |env|
244
+ Sass::Tree::Visitors::Perform.perform_arguments(function, args, splat, environment) do |env|
245
245
  env.caller = Sass::Environment.new(environment)
246
246
 
247
247
  val = catch :_sass_return do
@@ -11,7 +11,7 @@ class Sass::Tree::Visitors::Perform < Sass::Tree::Visitors::Base
11
11
  # @api private
12
12
  # @comment
13
13
  # rubocop:disable MethodLength
14
- def perform_arguments(callable, args, splat)
14
+ def perform_arguments(callable, args, splat, environment)
15
15
  desc = "#{callable.type.capitalize} #{callable.name}"
16
16
  downcase_desc = "#{callable.type} #{callable.name}"
17
17
 
@@ -41,20 +41,26 @@ class Sass::Tree::Visitors::Perform < Sass::Tree::Visitors::Base
41
41
  # raising happens in the ensure clause at the end of this function.
42
42
  return if keyword_exception && !callable.splat
43
43
 
44
- if args.size > callable.args.size && !callable.splat
45
- takes = callable.args.size
46
- passed = args.size
47
- raise Sass::SyntaxError.new(
48
- "#{desc} takes #{takes} argument#{'s' unless takes == 1} " +
49
- "but #{passed} #{passed == 1 ? 'was' : 'were'} passed.")
50
- end
51
-
52
44
  splat_sep = :comma
53
45
  if splat
54
46
  args += splat.to_a
55
47
  splat_sep = splat.separator
56
48
  end
57
49
 
50
+ if args.size > callable.args.size && !callable.splat
51
+ extra_args_because_of_splat = splat && args.size - splat.to_a.size <= callable.args.size
52
+
53
+ takes = callable.args.size
54
+ passed = args.size
55
+ message = "#{desc} takes #{takes} argument#{'s' unless takes == 1} " +
56
+ "but #{passed} #{passed == 1 ? 'was' : 'were'} passed."
57
+ raise Sass::SyntaxError.new(message) unless extra_args_because_of_splat
58
+ # TODO: when the deprecation period is over, make this an error.
59
+ Sass::Util.sass_warn("WARNING: #{message}\n" +
60
+ environment.stack.to_s.gsub(/^/m, " " * 8) + "\n" +
61
+ "This will be an error in future versions of Sass.")
62
+ end
63
+
58
64
  env = Sass::Environment.new(callable.environment)
59
65
  callable.args.zip(args[0...callable.args.length]) do |(var, default), value|
60
66
  if value && keywords.has_key?(var.name)
@@ -339,7 +345,7 @@ class Sass::Tree::Visitors::Perform < Sass::Tree::Visitors::Base
339
345
  keywords = Sass::Util.map_vals(node.keywords) {|v| v.perform(@environment)}
340
346
  splat = self.class.perform_splat(node.splat, keywords, node.kwarg_splat, @environment)
341
347
 
342
- self.class.perform_arguments(mixin, args, splat) do |env|
348
+ self.class.perform_arguments(mixin, args, splat, @environment) do |env|
343
349
  env.caller = Sass::Environment.new(@environment)
344
350
  env.content = [node.children, @environment] if node.has_children
345
351
 
@@ -410,7 +410,7 @@ module Sass
410
410
  def caller_info(entry = nil)
411
411
  # JRuby evaluates `caller` incorrectly when it's in an actual default argument.
412
412
  entry ||= caller[1]
413
- info = entry.scan(/^(.*?):(-?.*?)(?::.*`(.+)')?$/).first
413
+ info = entry.scan(/^((?:[A-Za-z]:)?.*?):(-?.*?)(?::.*`(.+)')?$/).first
414
414
  info[1] = info[1].to_i
415
415
  # This is added by Rubinius to designate a block, but we don't care about it.
416
416
  info[2].sub!(/ \{\}\Z/, '') if info[2]
@@ -667,7 +667,18 @@ module Sass
667
667
  # @return [Pathanme]
668
668
  def realpath(path)
669
669
  path = Pathname.new(path) unless path.is_a?(Pathname)
670
- pathname(path.realpath.to_s)
670
+
671
+ # Explicitly DON'T run #pathname here. We don't want to convert
672
+ # to Windows directory separators because we're comparing these
673
+ # against the paths returned by Listen, which use forward
674
+ # slashes everywhere.
675
+ begin
676
+ path.realpath
677
+ rescue SystemCallError
678
+ # If [path] doesn't actually exist, don't bail, just
679
+ # return the original.
680
+ path
681
+ end
671
682
  end
672
683
 
673
684
  # Converts `path` to a "file:" URI. This handles Windows paths correctly.
@@ -676,13 +687,29 @@ module Sass
676
687
  # @return [String]
677
688
  def file_uri_from_path(path)
678
689
  path = path.to_s if path.is_a?(Pathname)
690
+ path = path.tr('\\', '/') if windows?
679
691
  path = Sass::Util.escape_uri(path)
680
692
  return path.start_with?('/') ? "file://" + path : path unless windows?
681
693
  return "file:///" + path.tr("\\", "/") if path =~ /^[a-zA-Z]:[\/\\]/
682
- return "file://" + path.tr("\\", "/") if path =~ /\\\\[^\\]+\\[^\\\/]+/
694
+ return "file:" + path.tr("\\", "/") if path =~ /\\\\[^\\]+\\[^\\\/]+/
683
695
  path.tr("\\", "/")
684
696
  end
685
697
 
698
+ # Retries a filesystem operation if it fails on Windows. Windows
699
+ # has weird and flaky locking rules that can cause operations to fail.
700
+ #
701
+ # @yield [] The filesystem operation.
702
+ def retry_on_windows
703
+ return yield unless windows?
704
+
705
+ begin
706
+ yield
707
+ rescue SystemCallError
708
+ sleep 0.1
709
+ yield
710
+ end
711
+ end
712
+
686
713
  # Prepare a value for a destructuring assignment (e.g. `a, b =
687
714
  # val`). This works around a performance bug when using
688
715
  # ActiveSupport, and only needs to be called when `val` is likely
@@ -29,8 +29,8 @@ class SassPluginTest < MiniTest::Test
29
29
  @@cache_store = Sass::CacheStores::Memory.new
30
30
 
31
31
  def setup
32
- FileUtils.mkdir_p tempfile_loc
33
- FileUtils.mkdir_p tempfile_loc(nil,"more_")
32
+ Sass::Util.retry_on_windows {FileUtils.mkdir_p tempfile_loc}
33
+ Sass::Util.retry_on_windows {FileUtils.mkdir_p tempfile_loc(nil,"more_")}
34
34
  set_plugin_opts
35
35
  check_for_updates!
36
36
  reset_mtimes
@@ -39,8 +39,8 @@ class SassPluginTest < MiniTest::Test
39
39
  def teardown
40
40
  clean_up_sassc
41
41
  Sass::Plugin.reset!
42
- FileUtils.rm_r tempfile_loc
43
- FileUtils.rm_r tempfile_loc(nil,"more_")
42
+ Sass::Util.retry_on_windows {FileUtils.rm_r tempfile_loc}
43
+ Sass::Util.retry_on_windows {FileUtils.rm_r tempfile_loc(nil,"more_")}
44
44
  end
45
45
 
46
46
  @@templates.each do |name|
@@ -501,7 +501,9 @@ WARNING
501
501
  Sass::Plugin::StalenessChecker.dependencies_cache = {}
502
502
  atime = Time.now
503
503
  mtime = Time.now - 5
504
- Dir["{#{template_loc},#{tempfile_loc}}/**/*.{css,sass,scss}"].each {|f| File.utime(atime, mtime, f)}
504
+ Dir["{#{template_loc},#{tempfile_loc}}/**/*.{css,sass,scss}"].each do |f|
505
+ Sass::Util.retry_on_windows {File.utime(atime, mtime, f)}
506
+ end
505
507
  end
506
508
 
507
509
  def template_loc(name = nil, prefix = nil)
@@ -1529,6 +1529,17 @@ SCSS
1529
1529
  SCSS
1530
1530
  end
1531
1531
 
1532
+ def test_mixin_splat_too_many_args
1533
+ assert_warning(<<WARNING) {render <<SCSS}
1534
+ WARNING: Mixin foo takes 2 arguments but 4 were passed.
1535
+ on line 2 of #{filename_for_test(:scss)}
1536
+ This will be an error in future versions of Sass.
1537
+ WARNING
1538
+ @mixin foo($a, $b) {}
1539
+ @include foo((1, 2, 3, 4)...);
1540
+ SCSS
1541
+ end
1542
+
1532
1543
  def test_function_var_args
1533
1544
  assert_equal <<CSS, render(<<SCSS)
1534
1545
  .foo {
@@ -1950,6 +1961,17 @@ MESSAGE
1950
1961
  SCSS
1951
1962
  end
1952
1963
 
1964
+ def test_function_splat_too_many_args
1965
+ assert_warning(<<WARNING) {render <<SCSS}
1966
+ WARNING: Function foo takes 2 arguments but 4 were passed.
1967
+ on line 2 of #{filename_for_test(:scss)}
1968
+ This will be an error in future versions of Sass.
1969
+ WARNING
1970
+ @function foo($a, $b) {@return null}
1971
+ $var: foo((1, 2, 3, 4)...);
1972
+ SCSS
1973
+ end
1974
+
1953
1975
  ## Interpolation
1954
1976
 
1955
1977
  def test_basic_selector_interpolation
@@ -280,10 +280,12 @@ class UtilTest < MiniTest::Test
280
280
  def test_caller_info
281
281
  assert_equal(["/tmp/foo.rb", 12, "fizzle"], caller_info("/tmp/foo.rb:12: in `fizzle'"))
282
282
  assert_equal(["/tmp/foo.rb", 12, nil], caller_info("/tmp/foo.rb:12"))
283
+ assert_equal(["C:/tmp/foo.rb", 12, nil], caller_info("C:/tmp/foo.rb:12"))
283
284
  assert_equal(["(sass)", 12, "blah"], caller_info("(sass):12: in `blah'"))
284
285
  assert_equal(["", 12, "boop"], caller_info(":12: in `boop'"))
285
286
  assert_equal(["/tmp/foo.rb", -12, "fizzle"], caller_info("/tmp/foo.rb:-12: in `fizzle'"))
286
287
  assert_equal(["/tmp/foo.rb", 12, "fizzle"], caller_info("/tmp/foo.rb:12: in `fizzle {}'"))
288
+ assert_equal(["C:/tmp/foo.rb", 12, "fizzle"], caller_info("C:/tmp/foo.rb:12: in `fizzle {}'"))
287
289
 
288
290
  info = nested_caller_info_fn
289
291
  assert_equal(__FILE__, info[0])
@@ -426,6 +428,8 @@ WARNING
426
428
  end
427
429
  threads.each {|t| t.join}
428
430
  end
431
+ ensure
432
+ Sass::Util.retry_on_windows {File.delete filename if File.exist?(filename)}
429
433
  end
430
434
 
431
435
  def test_atomic_write_permissions
@@ -47,7 +47,7 @@ class MiniTest::Test
47
47
 
48
48
  def clean_up_sassc
49
49
  path = File.dirname(__FILE__) + "/../.sass-cache"
50
- FileUtils.rm_r(path) if File.exist?(path)
50
+ Sass::Util.retry_on_windows {FileUtils.rm_r(path) if File.exist?(path)}
51
51
  end
52
52
 
53
53
  def assert_warning(message)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.2
4
+ version: 3.4.3
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-08-29 00:00:00.000000000 Z
13
+ date: 2014-09-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: yard
@@ -67,310 +67,310 @@ executables:
67
67
  extensions: []
68
68
  extra_rdoc_files: []
69
69
  files:
70
- - .yardopts
71
- - CONTRIBUTING
72
- - MIT-LICENSE
73
- - README.md
74
- - REVISION
75
- - Rakefile
76
- - VERSION
77
- - VERSION_DATE
78
- - VERSION_NAME
79
- - bin/sass
80
- - bin/sass-convert
81
- - bin/scss
82
- - extra/update_watch.rb
83
- - init.rb
70
+ - rails/init.rb
84
71
  - lib/sass.rb
85
72
  - lib/sass/cache_stores.rb
86
- - lib/sass/cache_stores/base.rb
87
- - lib/sass/cache_stores/chain.rb
88
- - lib/sass/cache_stores/filesystem.rb
89
- - lib/sass/cache_stores/memory.rb
90
- - lib/sass/cache_stores/null.rb
91
- - lib/sass/callbacks.rb
92
- - lib/sass/css.rb
93
- - lib/sass/engine.rb
94
- - lib/sass/environment.rb
95
- - lib/sass/error.rb
96
- - lib/sass/exec.rb
97
- - lib/sass/exec/base.rb
98
- - lib/sass/exec/sass_convert.rb
99
- - lib/sass/exec/sass_scss.rb
100
- - lib/sass/features.rb
101
- - lib/sass/importers.rb
102
- - lib/sass/importers/base.rb
103
- - lib/sass/importers/filesystem.rb
104
- - lib/sass/logger.rb
105
- - lib/sass/logger/base.rb
106
- - lib/sass/logger/log_level.rb
107
- - lib/sass/media.rb
108
- - lib/sass/plugin.rb
109
73
  - lib/sass/plugin/compiler.rb
110
- - lib/sass/plugin/configuration.rb
111
- - lib/sass/plugin/generic.rb
112
74
  - lib/sass/plugin/merb.rb
75
+ - lib/sass/plugin/staleness_checker.rb
113
76
  - lib/sass/plugin/rack.rb
114
77
  - lib/sass/plugin/rails.rb
115
- - lib/sass/plugin/staleness_checker.rb
116
- - lib/sass/railtie.rb
117
- - lib/sass/repl.rb
118
- - lib/sass/root.rb
119
- - lib/sass/script.rb
120
- - lib/sass/script/css_lexer.rb
121
- - lib/sass/script/css_parser.rb
122
- - lib/sass/script/functions.rb
123
- - lib/sass/script/lexer.rb
124
- - lib/sass/script/parser.rb
125
- - lib/sass/script/tree.rb
126
- - lib/sass/script/tree/funcall.rb
127
- - lib/sass/script/tree/interpolation.rb
128
- - lib/sass/script/tree/list_literal.rb
129
- - lib/sass/script/tree/literal.rb
130
- - lib/sass/script/tree/map_literal.rb
131
- - lib/sass/script/tree/node.rb
132
- - lib/sass/script/tree/operation.rb
133
- - lib/sass/script/tree/selector.rb
134
- - lib/sass/script/tree/string_interpolation.rb
135
- - lib/sass/script/tree/unary_operation.rb
136
- - lib/sass/script/tree/variable.rb
137
- - lib/sass/script/value.rb
138
- - lib/sass/script/value/arg_list.rb
139
- - lib/sass/script/value/base.rb
140
- - lib/sass/script/value/bool.rb
141
- - lib/sass/script/value/color.rb
142
- - lib/sass/script/value/helpers.rb
143
- - lib/sass/script/value/list.rb
144
- - lib/sass/script/value/map.rb
145
- - lib/sass/script/value/null.rb
146
- - lib/sass/script/value/number.rb
147
- - lib/sass/script/value/string.rb
148
- - lib/sass/scss.rb
149
- - lib/sass/scss/css_parser.rb
150
- - lib/sass/scss/parser.rb
151
- - lib/sass/scss/rx.rb
152
- - lib/sass/scss/script_lexer.rb
153
- - lib/sass/scss/script_parser.rb
154
- - lib/sass/scss/static_parser.rb
155
- - lib/sass/selector.rb
156
- - lib/sass/selector/abstract_sequence.rb
157
- - lib/sass/selector/comma_sequence.rb
158
- - lib/sass/selector/pseudo.rb
159
- - lib/sass/selector/sequence.rb
160
- - lib/sass/selector/simple.rb
161
- - lib/sass/selector/simple_sequence.rb
162
- - lib/sass/shared.rb
163
- - lib/sass/source/map.rb
164
- - lib/sass/source/position.rb
165
- - lib/sass/source/range.rb
166
- - lib/sass/stack.rb
78
+ - lib/sass/plugin/configuration.rb
79
+ - lib/sass/plugin/generic.rb
80
+ - lib/sass/version.rb
167
81
  - lib/sass/supports.rb
168
- - lib/sass/tree/at_root_node.rb
82
+ - lib/sass/media.rb
83
+ - lib/sass/stack.rb
84
+ - lib/sass/cache_stores/chain.rb
85
+ - lib/sass/cache_stores/memory.rb
86
+ - lib/sass/cache_stores/null.rb
87
+ - lib/sass/cache_stores/filesystem.rb
88
+ - lib/sass/cache_stores/base.rb
89
+ - lib/sass/shared.rb
90
+ - lib/sass/repl.rb
91
+ - lib/sass/error.rb
92
+ - lib/sass/tree/import_node.rb
93
+ - lib/sass/tree/trace_node.rb
94
+ - lib/sass/tree/return_node.rb
95
+ - lib/sass/tree/root_node.rb
96
+ - lib/sass/tree/keyframe_rule_node.rb
97
+ - lib/sass/tree/if_node.rb
169
98
  - lib/sass/tree/charset_node.rb
170
- - lib/sass/tree/comment_node.rb
171
- - lib/sass/tree/content_node.rb
172
99
  - lib/sass/tree/css_import_node.rb
173
- - lib/sass/tree/debug_node.rb
100
+ - lib/sass/tree/function_node.rb
101
+ - lib/sass/tree/media_node.rb
102
+ - lib/sass/tree/while_node.rb
103
+ - lib/sass/tree/for_node.rb
174
104
  - lib/sass/tree/directive_node.rb
105
+ - lib/sass/tree/rule_node.rb
175
106
  - lib/sass/tree/each_node.rb
107
+ - lib/sass/tree/at_root_node.rb
108
+ - lib/sass/tree/node.rb
109
+ - lib/sass/tree/mixin_node.rb
176
110
  - lib/sass/tree/error_node.rb
177
111
  - lib/sass/tree/extend_node.rb
178
- - lib/sass/tree/for_node.rb
179
- - lib/sass/tree/function_node.rb
180
- - lib/sass/tree/if_node.rb
181
- - lib/sass/tree/import_node.rb
182
- - lib/sass/tree/keyframe_rule_node.rb
183
- - lib/sass/tree/media_node.rb
184
112
  - lib/sass/tree/mixin_def_node.rb
185
- - lib/sass/tree/mixin_node.rb
186
- - lib/sass/tree/node.rb
187
- - lib/sass/tree/prop_node.rb
188
- - lib/sass/tree/return_node.rb
189
- - lib/sass/tree/root_node.rb
190
- - lib/sass/tree/rule_node.rb
191
113
  - lib/sass/tree/supports_node.rb
192
- - lib/sass/tree/trace_node.rb
193
- - lib/sass/tree/variable_node.rb
194
- - lib/sass/tree/visitors/base.rb
114
+ - lib/sass/tree/visitors/perform.rb
115
+ - lib/sass/tree/visitors/to_css.rb
195
116
  - lib/sass/tree/visitors/check_nesting.rb
196
- - lib/sass/tree/visitors/convert.rb
197
- - lib/sass/tree/visitors/cssize.rb
198
117
  - lib/sass/tree/visitors/deep_copy.rb
199
118
  - lib/sass/tree/visitors/extend.rb
200
- - lib/sass/tree/visitors/perform.rb
201
119
  - lib/sass/tree/visitors/set_options.rb
202
- - lib/sass/tree/visitors/to_css.rb
120
+ - lib/sass/tree/visitors/cssize.rb
121
+ - lib/sass/tree/visitors/convert.rb
122
+ - lib/sass/tree/visitors/base.rb
123
+ - lib/sass/tree/content_node.rb
124
+ - lib/sass/tree/comment_node.rb
203
125
  - lib/sass/tree/warn_node.rb
204
- - lib/sass/tree/while_node.rb
205
- - lib/sass/util.rb
206
- - lib/sass/util/cross_platform_random.rb
207
- - lib/sass/util/multibyte_string_scanner.rb
126
+ - lib/sass/tree/debug_node.rb
127
+ - lib/sass/tree/prop_node.rb
128
+ - lib/sass/tree/variable_node.rb
129
+ - lib/sass/engine.rb
130
+ - lib/sass/exec/sass_scss.rb
131
+ - lib/sass/exec/base.rb
132
+ - lib/sass/exec/sass_convert.rb
133
+ - lib/sass/plugin.rb
134
+ - lib/sass/root.rb
135
+ - lib/sass/features.rb
136
+ - lib/sass/importers.rb
137
+ - lib/sass/source/map.rb
138
+ - lib/sass/source/range.rb
139
+ - lib/sass/source/position.rb
140
+ - lib/sass/logger.rb
208
141
  - lib/sass/util/normalized_map.rb
142
+ - lib/sass/util/test.rb
143
+ - lib/sass/util/cross_platform_random.rb
209
144
  - lib/sass/util/ordered_hash.rb
145
+ - lib/sass/util/multibyte_string_scanner.rb
210
146
  - lib/sass/util/subset_map.rb
211
- - lib/sass/util/test.rb
212
- - lib/sass/version.rb
213
- - rails/init.rb
214
- - test/sass/cache_test.rb
215
- - test/sass/callbacks_test.rb
216
- - test/sass/compiler_test.rb
217
- - test/sass/conversion_test.rb
218
- - test/sass/css2sass_test.rb
219
- - test/sass/data/hsl-rgb.txt
220
- - test/sass/encoding_test.rb
221
- - test/sass/engine_test.rb
222
- - test/sass/exec_test.rb
223
- - test/sass/extend_test.rb
224
- - test/sass/fixtures/test_staleness_check_across_importers.css
225
- - test/sass/fixtures/test_staleness_check_across_importers.scss
226
- - test/sass/functions_test.rb
227
- - test/sass/importer_test.rb
228
- - test/sass/logger_test.rb
229
- - test/sass/mock_importer.rb
230
- - test/sass/more_results/more1.css
231
- - test/sass/more_results/more1_with_line_comments.css
232
- - test/sass/more_results/more_import.css
233
- - test/sass/more_templates/_more_partial.sass
234
- - test/sass/more_templates/more1.sass
235
- - test/sass/more_templates/more_import.sass
236
- - test/sass/plugin_test.rb
237
- - test/sass/results/alt.css
238
- - test/sass/results/basic.css
239
- - test/sass/results/cached_import_option.css
240
- - test/sass/results/compact.css
241
- - test/sass/results/complex.css
242
- - test/sass/results/compressed.css
243
- - test/sass/results/expanded.css
244
- - test/sass/results/filename_fn.css
245
- - test/sass/results/if.css
246
- - test/sass/results/import.css
247
- - test/sass/results/import_charset.css
248
- - test/sass/results/import_charset_1_8.css
249
- - test/sass/results/import_charset_ibm866.css
250
- - test/sass/results/import_content.css
251
- - test/sass/results/line_numbers.css
252
- - test/sass/results/mixins.css
253
- - test/sass/results/multiline.css
254
- - test/sass/results/nested.css
255
- - test/sass/results/options.css
256
- - test/sass/results/parent_ref.css
257
- - test/sass/results/script.css
258
- - test/sass/results/scss_import.css
259
- - test/sass/results/scss_importee.css
260
- - test/sass/results/subdir/nested_subdir/nested_subdir.css
261
- - test/sass/results/subdir/subdir.css
262
- - test/sass/results/units.css
263
- - test/sass/results/warn.css
264
- - test/sass/results/warn_imported.css
265
- - test/sass/script_conversion_test.rb
266
- - test/sass/script_test.rb
267
- - test/sass/scss/css_test.rb
268
- - test/sass/scss/rx_test.rb
269
- - test/sass/scss/scss_test.rb
270
- - test/sass/scss/test_helper.rb
271
- - test/sass/source_map_test.rb
272
- - test/sass/superselector_test.rb
273
- - test/sass/templates/_cached_import_option_partial.scss
274
- - test/sass/templates/_double_import_loop2.sass
275
- - test/sass/templates/_filename_fn_import.scss
276
- - test/sass/templates/_imported_charset_ibm866.sass
277
- - test/sass/templates/_imported_charset_utf8.sass
278
- - test/sass/templates/_imported_content.sass
279
- - test/sass/templates/_partial.sass
280
- - test/sass/templates/_same_name_different_partiality.scss
281
- - test/sass/templates/alt.sass
282
- - test/sass/templates/basic.sass
283
- - test/sass/templates/bork1.sass
284
- - test/sass/templates/bork2.sass
285
- - test/sass/templates/bork3.sass
286
- - test/sass/templates/bork4.sass
287
- - test/sass/templates/bork5.sass
288
- - test/sass/templates/cached_import_option.scss
289
- - test/sass/templates/compact.sass
290
- - test/sass/templates/complex.sass
291
- - test/sass/templates/compressed.sass
292
- - test/sass/templates/double_import_loop1.sass
293
- - test/sass/templates/expanded.sass
294
- - test/sass/templates/filename_fn.scss
295
- - test/sass/templates/if.sass
296
- - test/sass/templates/import.sass
297
- - test/sass/templates/import_charset.sass
298
- - test/sass/templates/import_charset_1_8.sass
299
- - test/sass/templates/import_charset_ibm866.sass
300
- - test/sass/templates/import_content.sass
301
- - test/sass/templates/importee.less
302
- - test/sass/templates/importee.sass
303
- - test/sass/templates/line_numbers.sass
304
- - test/sass/templates/mixin_bork.sass
305
- - test/sass/templates/mixins.sass
306
- - test/sass/templates/multiline.sass
307
- - test/sass/templates/nested.sass
308
- - test/sass/templates/nested_bork1.sass
309
- - test/sass/templates/nested_bork2.sass
310
- - test/sass/templates/nested_bork3.sass
311
- - test/sass/templates/nested_bork4.sass
312
- - test/sass/templates/nested_import.sass
313
- - test/sass/templates/nested_mixin_bork.sass
314
- - test/sass/templates/options.sass
315
- - test/sass/templates/parent_ref.sass
316
- - test/sass/templates/same_name_different_ext.sass
317
- - test/sass/templates/same_name_different_ext.scss
318
- - test/sass/templates/same_name_different_partiality.scss
319
- - test/sass/templates/script.sass
320
- - test/sass/templates/scss_import.scss
321
- - test/sass/templates/scss_importee.scss
322
- - test/sass/templates/single_import_loop.sass
323
- - test/sass/templates/subdir/import_up1.scss
324
- - test/sass/templates/subdir/import_up2.scss
325
- - test/sass/templates/subdir/nested_subdir/_nested_partial.sass
326
- - test/sass/templates/subdir/nested_subdir/nested_subdir.sass
327
- - test/sass/templates/subdir/subdir.sass
328
- - test/sass/templates/units.sass
329
- - test/sass/templates/warn.sass
330
- - test/sass/templates/warn_imported.sass
331
- - test/sass/test_helper.rb
332
- - test/sass/util/multibyte_string_scanner_test.rb
333
- - test/sass/util/normalized_map_test.rb
334
- - test/sass/util/subset_map_test.rb
335
- - test/sass/util_test.rb
336
- - test/sass/value_helpers_test.rb
337
- - test/test_helper.rb
338
- - vendor/listen/CHANGELOG.md
147
+ - lib/sass/scss.rb
148
+ - lib/sass/scss/static_parser.rb
149
+ - lib/sass/scss/parser.rb
150
+ - lib/sass/scss/script_lexer.rb
151
+ - lib/sass/scss/rx.rb
152
+ - lib/sass/scss/script_parser.rb
153
+ - lib/sass/scss/css_parser.rb
154
+ - lib/sass/logger/log_level.rb
155
+ - lib/sass/logger/base.rb
156
+ - lib/sass/css.rb
157
+ - lib/sass/script.rb
158
+ - lib/sass/util.rb
159
+ - lib/sass/importers/filesystem.rb
160
+ - lib/sass/importers/base.rb
161
+ - lib/sass/script/parser.rb
162
+ - lib/sass/script/functions.rb
163
+ - lib/sass/script/tree/variable.rb
164
+ - lib/sass/script/tree/operation.rb
165
+ - lib/sass/script/tree/funcall.rb
166
+ - lib/sass/script/tree/literal.rb
167
+ - lib/sass/script/tree/string_interpolation.rb
168
+ - lib/sass/script/tree/interpolation.rb
169
+ - lib/sass/script/tree/list_literal.rb
170
+ - lib/sass/script/tree/node.rb
171
+ - lib/sass/script/tree/unary_operation.rb
172
+ - lib/sass/script/tree/selector.rb
173
+ - lib/sass/script/tree/map_literal.rb
174
+ - lib/sass/script/tree.rb
175
+ - lib/sass/script/lexer.rb
176
+ - lib/sass/script/css_lexer.rb
177
+ - lib/sass/script/value.rb
178
+ - lib/sass/script/value/color.rb
179
+ - lib/sass/script/value/number.rb
180
+ - lib/sass/script/value/map.rb
181
+ - lib/sass/script/value/arg_list.rb
182
+ - lib/sass/script/value/bool.rb
183
+ - lib/sass/script/value/list.rb
184
+ - lib/sass/script/value/helpers.rb
185
+ - lib/sass/script/value/null.rb
186
+ - lib/sass/script/value/string.rb
187
+ - lib/sass/script/value/base.rb
188
+ - lib/sass/script/css_parser.rb
189
+ - lib/sass/selector.rb
190
+ - lib/sass/callbacks.rb
191
+ - lib/sass/selector/simple.rb
192
+ - lib/sass/selector/pseudo.rb
193
+ - lib/sass/selector/sequence.rb
194
+ - lib/sass/selector/abstract_sequence.rb
195
+ - lib/sass/selector/comma_sequence.rb
196
+ - lib/sass/selector/simple_sequence.rb
197
+ - lib/sass/railtie.rb
198
+ - lib/sass/environment.rb
199
+ - lib/sass/exec.rb
200
+ - vendor/listen/README.md
339
201
  - vendor/listen/CONTRIBUTING.md
340
- - vendor/listen/Gemfile
341
202
  - vendor/listen/Guardfile
342
- - vendor/listen/LICENSE
343
- - vendor/listen/README.md
344
- - vendor/listen/Rakefile
345
- - vendor/listen/Vagrantfile
346
- - vendor/listen/lib/listen.rb
347
- - vendor/listen/lib/listen/adapter.rb
348
- - vendor/listen/lib/listen/adapters/bsd.rb
203
+ - vendor/listen/Gemfile
204
+ - vendor/listen/lib/listen/turnstile.rb
205
+ - vendor/listen/lib/listen/directory_record.rb
206
+ - vendor/listen/lib/listen/version.rb
207
+ - vendor/listen/lib/listen/listener.rb
208
+ - vendor/listen/lib/listen/adapters/polling.rb
349
209
  - vendor/listen/lib/listen/adapters/darwin.rb
350
210
  - vendor/listen/lib/listen/adapters/linux.rb
351
- - vendor/listen/lib/listen/adapters/polling.rb
211
+ - vendor/listen/lib/listen/adapters/bsd.rb
352
212
  - vendor/listen/lib/listen/adapters/windows.rb
353
- - vendor/listen/lib/listen/directory_record.rb
354
- - vendor/listen/lib/listen/listener.rb
355
- - vendor/listen/lib/listen/turnstile.rb
356
- - vendor/listen/lib/listen/version.rb
213
+ - vendor/listen/lib/listen/adapter.rb
214
+ - vendor/listen/lib/listen.rb
215
+ - vendor/listen/CHANGELOG.md
216
+ - vendor/listen/Rakefile
217
+ - vendor/listen/LICENSE
357
218
  - vendor/listen/listen.gemspec
358
- - vendor/listen/spec/listen/adapter_spec.rb
359
- - vendor/listen/spec/listen/adapters/bsd_spec.rb
360
- - vendor/listen/spec/listen/adapters/darwin_spec.rb
219
+ - vendor/listen/Vagrantfile
220
+ - vendor/listen/spec/listen/directory_record_spec.rb
361
221
  - vendor/listen/spec/listen/adapters/linux_spec.rb
222
+ - vendor/listen/spec/listen/adapters/darwin_spec.rb
223
+ - vendor/listen/spec/listen/adapters/bsd_spec.rb
362
224
  - vendor/listen/spec/listen/adapters/polling_spec.rb
363
225
  - vendor/listen/spec/listen/adapters/windows_spec.rb
364
- - vendor/listen/spec/listen/directory_record_spec.rb
365
- - vendor/listen/spec/listen/listener_spec.rb
366
226
  - vendor/listen/spec/listen/turnstile_spec.rb
227
+ - vendor/listen/spec/listen/adapter_spec.rb
228
+ - vendor/listen/spec/listen/listener_spec.rb
367
229
  - vendor/listen/spec/listen_spec.rb
368
230
  - vendor/listen/spec/spec_helper.rb
369
- - vendor/listen/spec/support/adapter_helper.rb
370
231
  - vendor/listen/spec/support/directory_record_helper.rb
371
- - vendor/listen/spec/support/fixtures_helper.rb
372
232
  - vendor/listen/spec/support/listeners_helper.rb
233
+ - vendor/listen/spec/support/adapter_helper.rb
373
234
  - vendor/listen/spec/support/platform_helper.rb
235
+ - vendor/listen/spec/support/fixtures_helper.rb
236
+ - bin/sass-convert
237
+ - bin/scss
238
+ - bin/sass
239
+ - test/test_helper.rb
240
+ - test/sass/engine_test.rb
241
+ - test/sass/functions_test.rb
242
+ - test/sass/value_helpers_test.rb
243
+ - test/sass/fixtures/test_staleness_check_across_importers.scss
244
+ - test/sass/fixtures/test_staleness_check_across_importers.css
245
+ - test/sass/data/hsl-rgb.txt
246
+ - test/sass/extend_test.rb
247
+ - test/sass/logger_test.rb
248
+ - test/sass/compiler_test.rb
249
+ - test/sass/css2sass_test.rb
250
+ - test/sass/templates/_filename_fn_import.scss
251
+ - test/sass/templates/basic.sass
252
+ - test/sass/templates/mixins.sass
253
+ - test/sass/templates/options.sass
254
+ - test/sass/templates/scss_import.scss
255
+ - test/sass/templates/subdir/subdir.sass
256
+ - test/sass/templates/subdir/import_up2.scss
257
+ - test/sass/templates/subdir/nested_subdir/_nested_partial.sass
258
+ - test/sass/templates/subdir/nested_subdir/nested_subdir.sass
259
+ - test/sass/templates/subdir/import_up1.scss
260
+ - test/sass/templates/_imported_content.sass
261
+ - test/sass/templates/filename_fn.scss
262
+ - test/sass/templates/alt.sass
263
+ - test/sass/templates/nested_bork1.sass
264
+ - test/sass/templates/same_name_different_partiality.scss
265
+ - test/sass/templates/complex.sass
266
+ - test/sass/templates/units.sass
267
+ - test/sass/templates/nested_import.sass
268
+ - test/sass/templates/importee.sass
269
+ - test/sass/templates/importee.less
270
+ - test/sass/templates/_cached_import_option_partial.scss
271
+ - test/sass/templates/scss_importee.scss
272
+ - test/sass/templates/line_numbers.sass
273
+ - test/sass/templates/expanded.sass
274
+ - test/sass/templates/bork3.sass
275
+ - test/sass/templates/bork5.sass
276
+ - test/sass/templates/import_content.sass
277
+ - test/sass/templates/warn_imported.sass
278
+ - test/sass/templates/import_charset_ibm866.sass
279
+ - test/sass/templates/bork1.sass
280
+ - test/sass/templates/warn.sass
281
+ - test/sass/templates/bork2.sass
282
+ - test/sass/templates/nested.sass
283
+ - test/sass/templates/compact.sass
284
+ - test/sass/templates/single_import_loop.sass
285
+ - test/sass/templates/_same_name_different_partiality.scss
286
+ - test/sass/templates/multiline.sass
287
+ - test/sass/templates/_imported_charset_ibm866.sass
288
+ - test/sass/templates/double_import_loop1.sass
289
+ - test/sass/templates/_double_import_loop2.sass
290
+ - test/sass/templates/import_charset.sass
291
+ - test/sass/templates/parent_ref.sass
292
+ - test/sass/templates/import.sass
293
+ - test/sass/templates/nested_bork3.sass
294
+ - test/sass/templates/script.sass
295
+ - test/sass/templates/same_name_different_ext.scss
296
+ - test/sass/templates/bork4.sass
297
+ - test/sass/templates/if.sass
298
+ - test/sass/templates/_partial.sass
299
+ - test/sass/templates/nested_mixin_bork.sass
300
+ - test/sass/templates/import_charset_1_8.sass
301
+ - test/sass/templates/same_name_different_ext.sass
302
+ - test/sass/templates/nested_bork2.sass
303
+ - test/sass/templates/mixin_bork.sass
304
+ - test/sass/templates/compressed.sass
305
+ - test/sass/templates/nested_bork4.sass
306
+ - test/sass/templates/cached_import_option.scss
307
+ - test/sass/templates/_imported_charset_utf8.sass
308
+ - test/sass/conversion_test.rb
309
+ - test/sass/script_test.rb
310
+ - test/sass/exec_test.rb
311
+ - test/sass/util/subset_map_test.rb
312
+ - test/sass/util/multibyte_string_scanner_test.rb
313
+ - test/sass/util/normalized_map_test.rb
314
+ - test/sass/callbacks_test.rb
315
+ - test/sass/importer_test.rb
316
+ - test/sass/scss/css_test.rb
317
+ - test/sass/scss/scss_test.rb
318
+ - test/sass/scss/rx_test.rb
319
+ - test/sass/scss/test_helper.rb
320
+ - test/sass/util_test.rb
321
+ - test/sass/results/mixins.css
322
+ - test/sass/results/warn_imported.css
323
+ - test/sass/results/expanded.css
324
+ - test/sass/results/compact.css
325
+ - test/sass/results/import_content.css
326
+ - test/sass/results/compressed.css
327
+ - test/sass/results/scss_importee.css
328
+ - test/sass/results/basic.css
329
+ - test/sass/results/subdir/nested_subdir/nested_subdir.css
330
+ - test/sass/results/subdir/subdir.css
331
+ - test/sass/results/options.css
332
+ - test/sass/results/scss_import.css
333
+ - test/sass/results/units.css
334
+ - test/sass/results/parent_ref.css
335
+ - test/sass/results/script.css
336
+ - test/sass/results/complex.css
337
+ - test/sass/results/cached_import_option.css
338
+ - test/sass/results/import_charset.css
339
+ - test/sass/results/alt.css
340
+ - test/sass/results/if.css
341
+ - test/sass/results/multiline.css
342
+ - test/sass/results/import_charset_1_8.css
343
+ - test/sass/results/warn.css
344
+ - test/sass/results/import_charset_ibm866.css
345
+ - test/sass/results/filename_fn.css
346
+ - test/sass/results/import.css
347
+ - test/sass/results/nested.css
348
+ - test/sass/results/line_numbers.css
349
+ - test/sass/test_helper.rb
350
+ - test/sass/more_templates/_more_partial.sass
351
+ - test/sass/more_templates/more_import.sass
352
+ - test/sass/more_templates/more1.sass
353
+ - test/sass/script_conversion_test.rb
354
+ - test/sass/superselector_test.rb
355
+ - test/sass/encoding_test.rb
356
+ - test/sass/more_results/more1.css
357
+ - test/sass/more_results/more1_with_line_comments.css
358
+ - test/sass/more_results/more_import.css
359
+ - test/sass/mock_importer.rb
360
+ - test/sass/cache_test.rb
361
+ - test/sass/source_map_test.rb
362
+ - test/sass/plugin_test.rb
363
+ - extra/update_watch.rb
364
+ - Rakefile
365
+ - init.rb
366
+ - .yardopts
367
+ - README.md
368
+ - VERSION_NAME
369
+ - VERSION_DATE
370
+ - REVISION
371
+ - MIT-LICENSE
372
+ - VERSION
373
+ - CONTRIBUTING
374
374
  homepage: http://sass-lang.com/
375
375
  licenses:
376
376
  - MIT
@@ -391,33 +391,33 @@ required_rubygems_version: !ruby/object:Gem::Requirement
391
391
  version: '0'
392
392
  requirements: []
393
393
  rubyforge_project: sass
394
- rubygems_version: 2.2.2
394
+ rubygems_version: 2.0.3
395
395
  signing_key:
396
396
  specification_version: 4
397
397
  summary: A powerful but elegant CSS compiler that makes CSS fun again.
398
398
  test_files:
399
+ - test/sass/engine_test.rb
400
+ - test/sass/functions_test.rb
399
401
  - test/sass/value_helpers_test.rb
402
+ - test/sass/extend_test.rb
403
+ - test/sass/logger_test.rb
404
+ - test/sass/compiler_test.rb
405
+ - test/sass/css2sass_test.rb
400
406
  - test/sass/conversion_test.rb
401
- - test/sass/cache_test.rb
402
407
  - test/sass/script_test.rb
403
- - test/sass/superselector_test.rb
408
+ - test/sass/exec_test.rb
409
+ - test/sass/util/subset_map_test.rb
410
+ - test/sass/util/multibyte_string_scanner_test.rb
411
+ - test/sass/util/normalized_map_test.rb
404
412
  - test/sass/callbacks_test.rb
405
- - test/sass/source_map_test.rb
406
- - test/sass/script_conversion_test.rb
407
- - test/sass/util_test.rb
408
- - test/sass/plugin_test.rb
409
- - test/sass/extend_test.rb
410
- - test/sass/scss/rx_test.rb
413
+ - test/sass/importer_test.rb
411
414
  - test/sass/scss/css_test.rb
412
415
  - test/sass/scss/scss_test.rb
413
- - test/sass/logger_test.rb
414
- - test/sass/importer_test.rb
416
+ - test/sass/scss/rx_test.rb
417
+ - test/sass/util_test.rb
418
+ - test/sass/script_conversion_test.rb
419
+ - test/sass/superselector_test.rb
415
420
  - test/sass/encoding_test.rb
416
- - test/sass/engine_test.rb
417
- - test/sass/exec_test.rb
418
- - test/sass/util/normalized_map_test.rb
419
- - test/sass/util/subset_map_test.rb
420
- - test/sass/util/multibyte_string_scanner_test.rb
421
- - test/sass/functions_test.rb
422
- - test/sass/compiler_test.rb
423
- - test/sass/css2sass_test.rb
421
+ - test/sass/cache_test.rb
422
+ - test/sass/source_map_test.rb
423
+ - test/sass/plugin_test.rb