sass 3.2.13 → 3.2.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7a4a53d425f63e866a0453d81e4d1686e1ef626b
4
+ data.tar.gz: e0c059b58cfea6c65015b0a63653df3fdf46a7ea
5
+ SHA512:
6
+ metadata.gz: 7f2361044b41e61aaff33e92feeff8c8c2f834b2ef78b6662062cfa88a58138367ff38ab3078dba83ade07e7c41ac53cffd34d34feeb108b965b9db3ec9702de
7
+ data.tar.gz: 1a818352f93ba1bfaab6c470b57c7c103cc985e1a0d9aec7a8e864c7aab05aa924ddf999942aa83fb3e5bad9334a925e190595dd5de0fa33edc11c06bd851aaf
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ require 'rubygems/package'
2
+
1
3
  # ----- Utility Functions -----
2
4
 
3
5
  def scope(path)
@@ -28,7 +30,7 @@ task :package => [:revision_file, :date_file, :submodules, :permissions] do
28
30
  version = get_version
29
31
  File.open(scope('VERSION'), 'w') {|f| f.puts(version)}
30
32
  load scope('sass.gemspec')
31
- Gem::Builder.new(SASS_GEMSPEC).build
33
+ Gem::Package.build(SASS_GEMSPEC)
32
34
  sh %{git checkout VERSION}
33
35
 
34
36
  pkg = "#{SASS_GEMSPEC.name}-#{SASS_GEMSPEC.version}"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.13
1
+ 3.2.14
@@ -1 +1 @@
1
- 20 December 2013 04:00:49 UTC
1
+ 25 January 2014 03:28:39 UTC
@@ -712,6 +712,8 @@ WARNING
712
712
  when 'media'
713
713
  parser = Sass::SCSS::Parser.new(value, @options[:filename], @line)
714
714
  Tree::MediaNode.new(parser.parse_media_query_list.to_a)
715
+ when nil
716
+ raise SyntaxError.new("Invalid directive: '@'.")
715
717
  else
716
718
  unprefixed_directive = directive.gsub(/^-[a-z0-9]+-/i, '')
717
719
  if unprefixed_directive == 'supports'
@@ -122,7 +122,7 @@ module Sass
122
122
  path = (dir == "." || Pathname.new(f).absolute?) ? f : "#{escape_glob_characters(dir)}/#{f}"
123
123
  Dir[path].map do |full_path|
124
124
  full_path.gsub!(REDUNDANT_DIRECTORY, File::SEPARATOR)
125
- [full_path, s]
125
+ [Pathname.new(full_path).cleanpath.to_s, s]
126
126
  end
127
127
  end
128
128
  found = Sass::Util.flatten(found, 1)
@@ -181,10 +181,6 @@ WARNING
181
181
  options[:importer] = self
182
182
  Sass::Engine.new(File.read(full_filename), options)
183
183
  end
184
-
185
- def join(base, path)
186
- Pathname.new(base).join(path).to_s
187
- end
188
184
  end
189
185
  end
190
186
  end
@@ -69,8 +69,7 @@ module Sass
69
69
 
70
70
  TOKEN_NAMES = Sass::Util.map_hash(OPERATORS_REVERSE) {|k, v| [k, v.inspect]}.merge({
71
71
  :const => "variable (e.g. $foo)",
72
- :ident => "identifier (e.g. middle)",
73
- :bool => "boolean (e.g. true, false)",
72
+ :ident => "identifier (e.g. middle)"
74
73
  })
75
74
 
76
75
  # A list of operator strings ordered with longer names first
@@ -90,8 +89,6 @@ module Sass
90
89
  :ident => /(#{IDENT})(\()?/,
91
90
  :number => /(-)?(?:(\d*\.\d+)|(\d+))([a-zA-Z%]+)?/,
92
91
  :color => HEXCOLOR,
93
- :bool => /(true|false)\b/,
94
- :null => /null\b/,
95
92
  :ident_op => %r{(#{Regexp.union(*IDENT_OP_NAMES.map{|s| Regexp.new(Regexp.escape(s) + "(?!#{NMCHAR}|\Z)")})})},
96
93
  :op => %r{(#{Regexp.union(*OP_NAMES)})},
97
94
  }
@@ -235,9 +232,9 @@ module Sass
235
232
  return string(interp_type, true)
236
233
  end
237
234
 
238
- variable || string(:double, false) || string(:single, false) || number ||
239
- color || bool || null || string(:uri, false) || raw(UNICODERANGE) ||
240
- special_fun || special_val || ident_op || ident || op
235
+ variable || string(:double, false) || string(:single, false) || number || color ||
236
+ string(:uri, false) || raw(UNICODERANGE) || special_fun || special_val || ident_op ||
237
+ ident || op
241
238
  end
242
239
 
243
240
  def variable
@@ -287,16 +284,6 @@ MESSAGE
287
284
  [:color, Script::Color.new(value)]
288
285
  end
289
286
 
290
- def bool
291
- return unless s = scan(REGULAR_EXPRESSIONS[:bool])
292
- [:bool, Script::Bool.new(s == 'true')]
293
- end
294
-
295
- def null
296
- return unless scan(REGULAR_EXPRESSIONS[:null])
297
- [:null, Script::Null.new]
298
- end
299
-
300
287
  def special_fun
301
288
  return unless str1 = scan(/((-[\w-]+-)?(calc|element)|expression|progid:[a-z\.]*)\(/i)
302
289
  str2, _ = Sass::Shared.balance(@scanner, ?(, ?), 1)
@@ -321,9 +321,16 @@ RUBY
321
321
 
322
322
  name = @lexer.next
323
323
  if color = Color::COLOR_NAMES[name.value.downcase]
324
- return node(Color.new(color))
324
+ node(Color.new(color))
325
+ elsif name.value == "true"
326
+ node(Script::Bool.new(true))
327
+ elsif name.value == "false"
328
+ node(Script::Bool.new(false))
329
+ elsif name.value == "null"
330
+ node(Script::Null.new)
331
+ else
332
+ node(Script::String.new(name.value, :identifier))
325
333
  end
326
- node(Script::String.new(name.value, :identifier))
327
334
  end
328
335
 
329
336
  def funcall
@@ -453,7 +460,7 @@ RUBY
453
460
  end
454
461
 
455
462
  def literal
456
- (t = try_tok(:color, :bool, :null)) && (return t.value)
463
+ (t = try_tok(:color)) && (return t.value)
457
464
  end
458
465
 
459
466
  # It would be possible to have unified #assert and #try methods,
@@ -73,17 +73,29 @@ class Sass::Tree::Visitors::Cssize < Sass::Tree::Visitors::Base
73
73
  node.children.unshift charset if charset
74
74
  end
75
75
 
76
- imports = Sass::Util.extract!(node.children) do |c|
77
- c.is_a?(Sass::Tree::DirectiveNode) && !c.is_a?(Sass::Tree::MediaNode) &&
78
- c.resolved_value =~ /^@import /i
76
+ imports_to_move = []
77
+ import_limit = nil
78
+ i = -1
79
+ node.children.reject! do |n|
80
+ i += 1
81
+ if import_limit
82
+ next false unless n.is_a?(Sass::Tree::CssImportNode)
83
+ imports_to_move << n
84
+ next true
85
+ end
86
+
87
+ if !n.is_a?(Sass::Tree::CommentNode) &&
88
+ !n.is_a?(Sass::Tree::CharsetNode) &&
89
+ !n.is_a?(Sass::Tree::CssImportNode)
90
+ import_limit = i
91
+ end
92
+
93
+ false
79
94
  end
80
- charset_and_index = Sass::Util.ruby1_8? &&
81
- node.children.each_with_index.find {|c, _| c.is_a?(Sass::Tree::CharsetNode)}
82
- if charset_and_index
83
- index = charset_and_index.last
84
- node.children = node.children[0..index] + imports + node.children[index+1..-1]
85
- else
86
- node.children = imports + node.children
95
+
96
+ if import_limit
97
+ node.children = node.children[0...import_limit] + imports_to_move +
98
+ node.children[import_limit..-1]
87
99
  end
88
100
  end
89
101
 
@@ -158,6 +158,7 @@ MSG
158
158
  "a\n b:\n c\n d" => ["Illegal nesting: Only properties may be nested beneath properties.", 3],
159
159
  "& foo\n bar: baz\n blat: bang" => ["Base-level rules cannot contain the parent-selector-referencing character '&'.", 1],
160
160
  "a\n b: c\n& foo\n bar: baz\n blat: bang" => ["Base-level rules cannot contain the parent-selector-referencing character '&'.", 3],
161
+ "@" => "Invalid directive: '@'.",
161
162
  }
162
163
 
163
164
  def teardown
@@ -164,6 +164,20 @@ CSS
164
164
  end
165
165
  end
166
166
 
167
+ def test_import_name_cleanup
168
+ File.delete(tempfile_loc('subdir/import_up1'))
169
+ check_for_updates!
170
+ File.open(tempfile_loc('subdir/import_up1')) do |file|
171
+ assert_equal(<<CSS.strip, file.read.split("\n")[0...5].join("\n"))
172
+ /*
173
+ Syntax error: File to import not found or unreadable: ../subdir/import_up3.scss.
174
+ Load path: #{template_loc}
175
+ on line 1 of #{template_loc 'subdir/import_up2'}
176
+ from line 1 of #{template_loc 'subdir/import_up1'}
177
+ CSS
178
+ end
179
+ end
180
+
167
181
  def test_nonfull_exception_handling
168
182
  old_full_exception = Sass::Plugin.options[:full_exception]
169
183
  Sass::Plugin.options[:full_exception] = false
@@ -541,6 +541,13 @@ end
541
541
  assert_equal "teal\\+bang(12)", resolve("teal\\+bang(12)")
542
542
  end
543
543
 
544
+ def test_funcall_has_higher_precedence_than_true_false_null
545
+ assert_equal "teal(12)", resolve("teal(12)")
546
+ assert_equal "tealbang(12)", resolve("tealbang(12)")
547
+ assert_equal "teal-bang(12)", resolve("teal-bang(12)")
548
+ assert_equal "teal\\+bang(12)", resolve("teal\\+bang(12)")
549
+ end
550
+
544
551
  def test_interpolation_after_hash
545
552
  assert_equal "#2", resolve('"##{1 + 1}"')
546
553
  end
@@ -322,6 +322,44 @@ SCSS
322
322
  assert_equal("@import url(fonts.sass);\n", render("@import url(fonts.sass);"))
323
323
  end
324
324
 
325
+ def test_css_import_doesnt_move_through_comments
326
+ assert_equal <<CSS, render(<<SCSS)
327
+ /* Comment 1 */
328
+ @import url("foo.css");
329
+ /* Comment 2 */
330
+ @import url("bar.css");
331
+ CSS
332
+ /* Comment 1 */
333
+ @import url("foo.css");
334
+
335
+ /* Comment 2 */
336
+ @import url("bar.css");
337
+ SCSS
338
+ end
339
+
340
+ def test_css_import_movement_stops_at_comments
341
+ assert_equal <<CSS, render(<<SCSS)
342
+ /* Comment 1 */
343
+ @import url("foo.css");
344
+ /* Comment 2 */
345
+ @import url("bar.css");
346
+ .foo {
347
+ a: b; }
348
+
349
+ /* Comment 3 */
350
+ CSS
351
+ /* Comment 1 */
352
+ @import url("foo.css");
353
+
354
+ /* Comment 2 */
355
+
356
+ .foo {a: b}
357
+
358
+ /* Comment 3 */
359
+ @import url("bar.css");
360
+ SCSS
361
+ end
362
+
325
363
  def test_block_comment_in_script
326
364
  assert_equal <<CSS, render(<<SCSS)
327
365
  foo {
@@ -0,0 +1 @@
1
+ @import "../subdir/import_up2.scss";
@@ -0,0 +1 @@
1
+ @import "../subdir/import_up3.scss";
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.13
5
- prerelease:
4
+ version: 3.2.14
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nathan Weizenbaum
@@ -11,44 +10,41 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-12-20 00:00:00.000000000 Z
13
+ date: 2014-01-25 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: yard
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ! '>='
19
+ - - '>='
22
20
  - !ruby/object:Gem::Version
23
21
  version: 0.5.3
24
22
  type: :development
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ! '>='
26
+ - - '>='
30
27
  - !ruby/object:Gem::Version
31
28
  version: 0.5.3
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: maruku
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ! '>='
33
+ - - '>='
38
34
  - !ruby/object:Gem::Version
39
35
  version: 0.5.9
40
36
  type: :development
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ! '>='
40
+ - - '>='
46
41
  - !ruby/object:Gem::Version
47
42
  version: 0.5.9
48
- description: ! " Sass makes CSS fun again. Sass is an extension of CSS3, adding\n
49
- \ nested rules, variables, mixins, selector inheritance, and more.\n It's
50
- translated to well-formatted, standard CSS using the\n command line tool or
51
- a web-framework plugin.\n"
43
+ description: |2
44
+ Sass makes CSS fun again. Sass is an extension of CSS3, adding
45
+ nested rules, variables, mixins, selector inheritance, and more.
46
+ It's translated to well-formatted, standard CSS using the
47
+ command line tool or a web-framework plugin.
52
48
  email: sass-lang@googlegroups.com
53
49
  executables:
54
50
  - sass
@@ -57,327 +53,328 @@ executables:
57
53
  extensions: []
58
54
  extra_rdoc_files: []
59
55
  files:
60
- - rails/init.rb
56
+ - .yardopts
57
+ - CONTRIBUTING
58
+ - MIT-LICENSE
59
+ - README.md
60
+ - REVISION
61
+ - Rakefile
62
+ - VERSION
63
+ - VERSION_DATE
64
+ - VERSION_NAME
65
+ - bin/sass
66
+ - bin/sass-convert
67
+ - bin/scss
68
+ - extra/update_watch.rb
69
+ - init.rb
61
70
  - lib/sass.rb
62
71
  - lib/sass/cache_stores.rb
63
- - lib/sass/plugin/compiler.rb
64
- - lib/sass/plugin/merb.rb
65
- - lib/sass/plugin/staleness_checker.rb
66
- - lib/sass/plugin/rack.rb
67
- - lib/sass/plugin/rails.rb
68
- - lib/sass/plugin/configuration.rb
69
- - lib/sass/plugin/generic.rb
70
- - lib/sass/version.rb
71
- - lib/sass/supports.rb
72
- - lib/sass/media.rb
72
+ - lib/sass/cache_stores/base.rb
73
73
  - lib/sass/cache_stores/chain.rb
74
+ - lib/sass/cache_stores/filesystem.rb
74
75
  - lib/sass/cache_stores/memory.rb
75
76
  - lib/sass/cache_stores/null.rb
76
- - lib/sass/cache_stores/filesystem.rb
77
- - lib/sass/cache_stores/base.rb
78
- - lib/sass/shared.rb
79
- - lib/sass/repl.rb
80
- - lib/sass/error.rb
81
- - lib/sass/tree/import_node.rb
82
- - lib/sass/tree/trace_node.rb
83
- - lib/sass/tree/return_node.rb
84
- - lib/sass/tree/root_node.rb
85
- - lib/sass/tree/if_node.rb
86
- - lib/sass/tree/charset_node.rb
87
- - lib/sass/tree/css_import_node.rb
88
- - lib/sass/tree/function_node.rb
89
- - lib/sass/tree/media_node.rb
90
- - lib/sass/tree/while_node.rb
91
- - lib/sass/tree/for_node.rb
92
- - lib/sass/tree/directive_node.rb
93
- - lib/sass/tree/rule_node.rb
94
- - lib/sass/tree/each_node.rb
95
- - lib/sass/tree/node.rb
96
- - lib/sass/tree/mixin_node.rb
97
- - lib/sass/tree/extend_node.rb
98
- - lib/sass/tree/mixin_def_node.rb
99
- - lib/sass/tree/supports_node.rb
100
- - lib/sass/tree/visitors/perform.rb
101
- - lib/sass/tree/visitors/to_css.rb
102
- - lib/sass/tree/visitors/check_nesting.rb
103
- - lib/sass/tree/visitors/deep_copy.rb
104
- - lib/sass/tree/visitors/extend.rb
105
- - lib/sass/tree/visitors/set_options.rb
106
- - lib/sass/tree/visitors/cssize.rb
107
- - lib/sass/tree/visitors/convert.rb
108
- - lib/sass/tree/visitors/base.rb
109
- - lib/sass/tree/content_node.rb
110
- - lib/sass/tree/comment_node.rb
111
- - lib/sass/tree/warn_node.rb
112
- - lib/sass/tree/debug_node.rb
113
- - lib/sass/tree/prop_node.rb
114
- - lib/sass/tree/variable_node.rb
77
+ - lib/sass/callbacks.rb
78
+ - lib/sass/css.rb
115
79
  - lib/sass/engine.rb
116
- - lib/sass/plugin.rb
117
- - lib/sass/root.rb
80
+ - lib/sass/environment.rb
81
+ - lib/sass/error.rb
82
+ - lib/sass/exec.rb
118
83
  - lib/sass/importers.rb
84
+ - lib/sass/importers/base.rb
85
+ - lib/sass/importers/filesystem.rb
119
86
  - lib/sass/logger.rb
120
- - lib/sass/util/test.rb
121
- - lib/sass/util/multibyte_string_scanner.rb
122
- - lib/sass/util/subset_map.rb
123
- - lib/sass/scss.rb
124
- - lib/sass/scss/static_parser.rb
125
- - lib/sass/scss/parser.rb
126
- - lib/sass/scss/script_lexer.rb
127
- - lib/sass/scss/rx.rb
128
- - lib/sass/scss/script_parser.rb
129
- - lib/sass/scss/css_parser.rb
130
- - lib/sass/logger/log_level.rb
131
87
  - lib/sass/logger/base.rb
132
- - lib/sass/css.rb
88
+ - lib/sass/logger/log_level.rb
89
+ - lib/sass/media.rb
90
+ - lib/sass/plugin.rb
91
+ - lib/sass/plugin/compiler.rb
92
+ - lib/sass/plugin/configuration.rb
93
+ - lib/sass/plugin/generic.rb
94
+ - lib/sass/plugin/merb.rb
95
+ - lib/sass/plugin/rack.rb
96
+ - lib/sass/plugin/rails.rb
97
+ - lib/sass/plugin/staleness_checker.rb
98
+ - lib/sass/railtie.rb
99
+ - lib/sass/repl.rb
100
+ - lib/sass/root.rb
133
101
  - lib/sass/script.rb
134
- - lib/sass/util.rb
135
- - lib/sass/importers/filesystem.rb
136
- - lib/sass/importers/base.rb
102
+ - lib/sass/script/arg_list.rb
103
+ - lib/sass/script/bool.rb
137
104
  - lib/sass/script/color.rb
138
- - lib/sass/script/variable.rb
139
- - lib/sass/script/operation.rb
105
+ - lib/sass/script/css_lexer.rb
106
+ - lib/sass/script/css_parser.rb
140
107
  - lib/sass/script/funcall.rb
141
- - lib/sass/script/literal.rb
142
- - lib/sass/script/parser.rb
143
108
  - lib/sass/script/functions.rb
144
- - lib/sass/script/number.rb
145
- - lib/sass/script/string_interpolation.rb
146
109
  - lib/sass/script/interpolation.rb
147
- - lib/sass/script/arg_list.rb
148
- - lib/sass/script/node.rb
149
- - lib/sass/script/bool.rb
150
- - lib/sass/script/unary_operation.rb
151
110
  - lib/sass/script/lexer.rb
152
111
  - lib/sass/script/list.rb
153
- - lib/sass/script/css_lexer.rb
112
+ - lib/sass/script/literal.rb
113
+ - lib/sass/script/node.rb
154
114
  - lib/sass/script/null.rb
115
+ - lib/sass/script/number.rb
116
+ - lib/sass/script/operation.rb
117
+ - lib/sass/script/parser.rb
155
118
  - lib/sass/script/string.rb
156
- - lib/sass/script/css_parser.rb
119
+ - lib/sass/script/string_interpolation.rb
120
+ - lib/sass/script/unary_operation.rb
121
+ - lib/sass/script/variable.rb
122
+ - lib/sass/scss.rb
123
+ - lib/sass/scss/css_parser.rb
124
+ - lib/sass/scss/parser.rb
125
+ - lib/sass/scss/rx.rb
126
+ - lib/sass/scss/script_lexer.rb
127
+ - lib/sass/scss/script_parser.rb
128
+ - lib/sass/scss/static_parser.rb
157
129
  - lib/sass/selector.rb
158
- - lib/sass/callbacks.rb
159
- - lib/sass/selector/simple.rb
160
- - lib/sass/selector/sequence.rb
161
130
  - lib/sass/selector/abstract_sequence.rb
162
131
  - lib/sass/selector/comma_sequence.rb
132
+ - lib/sass/selector/sequence.rb
133
+ - lib/sass/selector/simple.rb
163
134
  - lib/sass/selector/simple_sequence.rb
164
- - lib/sass/railtie.rb
165
- - lib/sass/environment.rb
166
- - lib/sass/exec.rb
167
- - vendor/listen/README.md
168
- - vendor/listen/CONTRIBUTING.md
169
- - vendor/listen/Guardfile
170
- - vendor/listen/Gemfile
171
- - vendor/listen/lib/listen/turnstile.rb
172
- - vendor/listen/lib/listen/directory_record.rb
173
- - vendor/listen/lib/listen/version.rb
174
- - vendor/listen/lib/listen/dependency_manager.rb
175
- - vendor/listen/lib/listen/multi_listener.rb
176
- - vendor/listen/lib/listen/listener.rb
177
- - vendor/listen/lib/listen/adapters/polling.rb
178
- - vendor/listen/lib/listen/adapters/darwin.rb
179
- - vendor/listen/lib/listen/adapters/linux.rb
180
- - vendor/listen/lib/listen/adapters/bsd.rb
181
- - vendor/listen/lib/listen/adapters/windows.rb
182
- - vendor/listen/lib/listen/adapter.rb
183
- - vendor/listen/lib/listen.rb
184
- - vendor/listen/CHANGELOG.md
185
- - vendor/listen/Rakefile
186
- - vendor/listen/LICENSE
187
- - vendor/listen/listen.gemspec
188
- - vendor/listen/Vagrantfile
189
- - vendor/listen/spec/listen/dependency_manager_spec.rb
190
- - vendor/listen/spec/listen/directory_record_spec.rb
191
- - vendor/listen/spec/listen/adapters/linux_spec.rb
192
- - vendor/listen/spec/listen/adapters/darwin_spec.rb
193
- - vendor/listen/spec/listen/adapters/bsd_spec.rb
194
- - vendor/listen/spec/listen/adapters/polling_spec.rb
195
- - vendor/listen/spec/listen/adapters/windows_spec.rb
196
- - vendor/listen/spec/listen/turnstile_spec.rb
197
- - vendor/listen/spec/listen/adapter_spec.rb
198
- - vendor/listen/spec/listen/listener_spec.rb
199
- - vendor/listen/spec/listen/multi_listener_spec.rb
200
- - vendor/listen/spec/listen_spec.rb
201
- - vendor/listen/spec/spec_helper.rb
202
- - vendor/listen/spec/support/directory_record_helper.rb
203
- - vendor/listen/spec/support/listeners_helper.rb
204
- - vendor/listen/spec/support/adapter_helper.rb
205
- - vendor/listen/spec/support/platform_helper.rb
206
- - vendor/listen/spec/support/fixtures_helper.rb
207
- - bin/sass-convert
208
- - bin/scss
209
- - bin/sass
135
+ - lib/sass/shared.rb
136
+ - lib/sass/supports.rb
137
+ - lib/sass/tree/charset_node.rb
138
+ - lib/sass/tree/comment_node.rb
139
+ - lib/sass/tree/content_node.rb
140
+ - lib/sass/tree/css_import_node.rb
141
+ - lib/sass/tree/debug_node.rb
142
+ - lib/sass/tree/directive_node.rb
143
+ - lib/sass/tree/each_node.rb
144
+ - lib/sass/tree/extend_node.rb
145
+ - lib/sass/tree/for_node.rb
146
+ - lib/sass/tree/function_node.rb
147
+ - lib/sass/tree/if_node.rb
148
+ - lib/sass/tree/import_node.rb
149
+ - lib/sass/tree/media_node.rb
150
+ - lib/sass/tree/mixin_def_node.rb
151
+ - lib/sass/tree/mixin_node.rb
152
+ - lib/sass/tree/node.rb
153
+ - lib/sass/tree/prop_node.rb
154
+ - lib/sass/tree/return_node.rb
155
+ - lib/sass/tree/root_node.rb
156
+ - lib/sass/tree/rule_node.rb
157
+ - lib/sass/tree/supports_node.rb
158
+ - lib/sass/tree/trace_node.rb
159
+ - lib/sass/tree/variable_node.rb
160
+ - lib/sass/tree/visitors/base.rb
161
+ - lib/sass/tree/visitors/check_nesting.rb
162
+ - lib/sass/tree/visitors/convert.rb
163
+ - lib/sass/tree/visitors/cssize.rb
164
+ - lib/sass/tree/visitors/deep_copy.rb
165
+ - lib/sass/tree/visitors/extend.rb
166
+ - lib/sass/tree/visitors/perform.rb
167
+ - lib/sass/tree/visitors/set_options.rb
168
+ - lib/sass/tree/visitors/to_css.rb
169
+ - lib/sass/tree/warn_node.rb
170
+ - lib/sass/tree/while_node.rb
171
+ - lib/sass/util.rb
172
+ - lib/sass/util/multibyte_string_scanner.rb
173
+ - lib/sass/util/subset_map.rb
174
+ - lib/sass/util/test.rb
175
+ - lib/sass/version.rb
176
+ - rails/init.rb
210
177
  - test/Gemfile
211
178
  - test/Gemfile.lock
212
- - test/test_helper.rb
213
- - test/sass/engine_test.rb
214
- - test/sass/functions_test.rb
215
- - test/sass/fixtures/test_staleness_check_across_importers.scss
216
- - test/sass/fixtures/test_staleness_check_across_importers.css
179
+ - test/sass/cache_test.rb
180
+ - test/sass/callbacks_test.rb
181
+ - test/sass/conversion_test.rb
182
+ - test/sass/css2sass_test.rb
217
183
  - test/sass/data/hsl-rgb.txt
184
+ - test/sass/engine_test.rb
185
+ - test/sass/exec_test.rb
218
186
  - test/sass/extend_test.rb
187
+ - test/sass/fixtures/test_staleness_check_across_importers.css
188
+ - test/sass/fixtures/test_staleness_check_across_importers.scss
189
+ - test/sass/functions_test.rb
190
+ - test/sass/importer_test.rb
219
191
  - test/sass/logger_test.rb
220
- - test/sass/css2sass_test.rb
192
+ - test/sass/mock_importer.rb
193
+ - test/sass/more_results/more1.css
194
+ - test/sass/more_results/more1_with_line_comments.css
195
+ - test/sass/more_results/more_import.css
196
+ - test/sass/more_templates/_more_partial.sass
197
+ - test/sass/more_templates/more1.sass
198
+ - test/sass/more_templates/more_import.sass
199
+ - test/sass/plugin_test.rb
200
+ - test/sass/results/alt.css
201
+ - test/sass/results/basic.css
202
+ - test/sass/results/cached_import_option.css
203
+ - test/sass/results/compact.css
204
+ - test/sass/results/complex.css
205
+ - test/sass/results/compressed.css
206
+ - test/sass/results/expanded.css
207
+ - test/sass/results/filename_fn.css
208
+ - test/sass/results/if.css
209
+ - test/sass/results/import.css
210
+ - test/sass/results/import_charset.css
211
+ - test/sass/results/import_charset_1_8.css
212
+ - test/sass/results/import_charset_ibm866.css
213
+ - test/sass/results/import_content.css
214
+ - test/sass/results/line_numbers.css
215
+ - test/sass/results/mixins.css
216
+ - test/sass/results/multiline.css
217
+ - test/sass/results/nested.css
218
+ - test/sass/results/options.css
219
+ - test/sass/results/parent_ref.css
220
+ - test/sass/results/script.css
221
+ - test/sass/results/scss_import.css
222
+ - test/sass/results/scss_importee.css
223
+ - test/sass/results/subdir/nested_subdir/nested_subdir.css
224
+ - test/sass/results/subdir/subdir.css
225
+ - test/sass/results/units.css
226
+ - test/sass/results/warn.css
227
+ - test/sass/results/warn_imported.css
228
+ - test/sass/script_conversion_test.rb
229
+ - test/sass/script_test.rb
230
+ - test/sass/scss/css_test.rb
231
+ - test/sass/scss/rx_test.rb
232
+ - test/sass/scss/scss_test.rb
233
+ - test/sass/scss/test_helper.rb
234
+ - test/sass/templates/_cached_import_option_partial.scss
235
+ - test/sass/templates/_double_import_loop2.sass
221
236
  - test/sass/templates/_filename_fn_import.scss
222
- - test/sass/templates/basic.sass
223
- - test/sass/templates/mixins.sass
224
- - test/sass/templates/options.sass
225
- - test/sass/templates/scss_import.scss
226
- - test/sass/templates/subdir/subdir.sass
227
- - test/sass/templates/subdir/nested_subdir/_nested_partial.sass
228
- - test/sass/templates/subdir/nested_subdir/nested_subdir.sass
237
+ - test/sass/templates/_imported_charset_ibm866.sass
238
+ - test/sass/templates/_imported_charset_utf8.sass
229
239
  - test/sass/templates/_imported_content.sass
230
- - test/sass/templates/filename_fn.scss
240
+ - test/sass/templates/_partial.sass
241
+ - test/sass/templates/_same_name_different_partiality.scss
231
242
  - test/sass/templates/alt.sass
232
- - test/sass/templates/nested_bork1.sass
233
- - test/sass/templates/same_name_different_partiality.scss
234
- - test/sass/templates/complex.sass
235
- - test/sass/templates/units.sass
236
- - test/sass/templates/nested_import.sass
237
- - test/sass/templates/importee.sass
238
- - test/sass/templates/importee.less
239
- - test/sass/templates/_cached_import_option_partial.scss
240
- - test/sass/templates/scss_importee.scss
241
- - test/sass/templates/line_numbers.sass
242
- - test/sass/templates/expanded.sass
243
- - test/sass/templates/bork3.sass
244
- - test/sass/templates/bork5.sass
245
- - test/sass/templates/import_content.sass
246
- - test/sass/templates/warn_imported.sass
247
- - test/sass/templates/import_charset_ibm866.sass
243
+ - test/sass/templates/basic.sass
248
244
  - test/sass/templates/bork1.sass
249
- - test/sass/templates/warn.sass
250
245
  - test/sass/templates/bork2.sass
251
- - test/sass/templates/nested.sass
246
+ - test/sass/templates/bork3.sass
247
+ - test/sass/templates/bork4.sass
248
+ - test/sass/templates/bork5.sass
249
+ - test/sass/templates/cached_import_option.scss
252
250
  - test/sass/templates/compact.sass
253
- - test/sass/templates/single_import_loop.sass
254
- - test/sass/templates/_same_name_different_partiality.scss
255
- - test/sass/templates/multiline.sass
256
- - test/sass/templates/_imported_charset_ibm866.sass
251
+ - test/sass/templates/complex.sass
252
+ - test/sass/templates/compressed.sass
257
253
  - test/sass/templates/double_import_loop1.sass
258
- - test/sass/templates/_double_import_loop2.sass
259
- - test/sass/templates/import_charset.sass
260
- - test/sass/templates/parent_ref.sass
261
- - test/sass/templates/import.sass
262
- - test/sass/templates/nested_bork3.sass
263
- - test/sass/templates/script.sass
264
- - test/sass/templates/same_name_different_ext.scss
265
- - test/sass/templates/bork4.sass
254
+ - test/sass/templates/expanded.sass
255
+ - test/sass/templates/filename_fn.scss
266
256
  - test/sass/templates/if.sass
267
- - test/sass/templates/_partial.sass
268
- - test/sass/templates/nested_mixin_bork.sass
257
+ - test/sass/templates/import.sass
258
+ - test/sass/templates/import_charset.sass
269
259
  - test/sass/templates/import_charset_1_8.sass
270
- - test/sass/templates/same_name_different_ext.sass
271
- - test/sass/templates/nested_bork2.sass
260
+ - test/sass/templates/import_charset_ibm866.sass
261
+ - test/sass/templates/import_content.sass
262
+ - test/sass/templates/importee.less
263
+ - test/sass/templates/importee.sass
264
+ - test/sass/templates/line_numbers.sass
272
265
  - test/sass/templates/mixin_bork.sass
273
- - test/sass/templates/compressed.sass
266
+ - test/sass/templates/mixins.sass
267
+ - test/sass/templates/multiline.sass
268
+ - test/sass/templates/nested.sass
269
+ - test/sass/templates/nested_bork1.sass
270
+ - test/sass/templates/nested_bork2.sass
271
+ - test/sass/templates/nested_bork3.sass
274
272
  - test/sass/templates/nested_bork4.sass
275
- - test/sass/templates/cached_import_option.scss
276
- - test/sass/templates/_imported_charset_utf8.sass
277
- - test/sass/conversion_test.rb
278
- - test/sass/script_test.rb
279
- - test/sass/exec_test.rb
280
- - test/sass/util/subset_map_test.rb
273
+ - test/sass/templates/nested_import.sass
274
+ - test/sass/templates/nested_mixin_bork.sass
275
+ - test/sass/templates/options.sass
276
+ - test/sass/templates/parent_ref.sass
277
+ - test/sass/templates/same_name_different_ext.sass
278
+ - test/sass/templates/same_name_different_ext.scss
279
+ - test/sass/templates/same_name_different_partiality.scss
280
+ - test/sass/templates/script.sass
281
+ - test/sass/templates/scss_import.scss
282
+ - test/sass/templates/scss_importee.scss
283
+ - test/sass/templates/single_import_loop.sass
284
+ - test/sass/templates/subdir/import_up1.scss
285
+ - test/sass/templates/subdir/import_up2.scss
286
+ - test/sass/templates/subdir/nested_subdir/_nested_partial.sass
287
+ - test/sass/templates/subdir/nested_subdir/nested_subdir.sass
288
+ - test/sass/templates/subdir/subdir.sass
289
+ - test/sass/templates/units.sass
290
+ - test/sass/templates/warn.sass
291
+ - test/sass/templates/warn_imported.sass
292
+ - test/sass/test_helper.rb
281
293
  - test/sass/util/multibyte_string_scanner_test.rb
282
- - test/sass/callbacks_test.rb
283
- - test/sass/importer_test.rb
284
- - test/sass/scss/css_test.rb
285
- - test/sass/scss/scss_test.rb
286
- - test/sass/scss/rx_test.rb
287
- - test/sass/scss/test_helper.rb
294
+ - test/sass/util/subset_map_test.rb
288
295
  - test/sass/util_test.rb
289
- - test/sass/results/mixins.css
290
- - test/sass/results/warn_imported.css
291
- - test/sass/results/expanded.css
292
- - test/sass/results/compact.css
293
- - test/sass/results/import_content.css
294
- - test/sass/results/compressed.css
295
- - test/sass/results/scss_importee.css
296
- - test/sass/results/basic.css
297
- - test/sass/results/subdir/nested_subdir/nested_subdir.css
298
- - test/sass/results/subdir/subdir.css
299
- - test/sass/results/options.css
300
- - test/sass/results/scss_import.css
301
- - test/sass/results/units.css
302
- - test/sass/results/parent_ref.css
303
- - test/sass/results/script.css
304
- - test/sass/results/complex.css
305
- - test/sass/results/cached_import_option.css
306
- - test/sass/results/import_charset.css
307
- - test/sass/results/alt.css
308
- - test/sass/results/if.css
309
- - test/sass/results/multiline.css
310
- - test/sass/results/import_charset_1_8.css
311
- - test/sass/results/warn.css
312
- - test/sass/results/import_charset_ibm866.css
313
- - test/sass/results/filename_fn.css
314
- - test/sass/results/import.css
315
- - test/sass/results/nested.css
316
- - test/sass/results/line_numbers.css
317
- - test/sass/test_helper.rb
318
- - test/sass/more_templates/_more_partial.sass
319
- - test/sass/more_templates/more_import.sass
320
- - test/sass/more_templates/more1.sass
321
- - test/sass/script_conversion_test.rb
322
- - test/sass/more_results/more1.css
323
- - test/sass/more_results/more1_with_line_comments.css
324
- - test/sass/more_results/more_import.css
325
- - test/sass/mock_importer.rb
326
- - test/sass/cache_test.rb
327
- - test/sass/plugin_test.rb
328
- - extra/update_watch.rb
329
- - Rakefile
330
- - init.rb
331
- - .yardopts
332
- - README.md
333
- - VERSION_NAME
334
- - VERSION_DATE
335
- - REVISION
336
- - MIT-LICENSE
337
- - VERSION
338
- - CONTRIBUTING
296
+ - test/test_helper.rb
297
+ - vendor/listen/CHANGELOG.md
298
+ - vendor/listen/CONTRIBUTING.md
299
+ - vendor/listen/Gemfile
300
+ - vendor/listen/Guardfile
301
+ - vendor/listen/LICENSE
302
+ - vendor/listen/README.md
303
+ - vendor/listen/Rakefile
304
+ - vendor/listen/Vagrantfile
305
+ - vendor/listen/lib/listen.rb
306
+ - vendor/listen/lib/listen/adapter.rb
307
+ - vendor/listen/lib/listen/adapters/bsd.rb
308
+ - vendor/listen/lib/listen/adapters/darwin.rb
309
+ - vendor/listen/lib/listen/adapters/linux.rb
310
+ - vendor/listen/lib/listen/adapters/polling.rb
311
+ - vendor/listen/lib/listen/adapters/windows.rb
312
+ - vendor/listen/lib/listen/dependency_manager.rb
313
+ - vendor/listen/lib/listen/directory_record.rb
314
+ - vendor/listen/lib/listen/listener.rb
315
+ - vendor/listen/lib/listen/multi_listener.rb
316
+ - vendor/listen/lib/listen/turnstile.rb
317
+ - vendor/listen/lib/listen/version.rb
318
+ - vendor/listen/listen.gemspec
319
+ - vendor/listen/spec/listen/adapter_spec.rb
320
+ - vendor/listen/spec/listen/adapters/bsd_spec.rb
321
+ - vendor/listen/spec/listen/adapters/darwin_spec.rb
322
+ - vendor/listen/spec/listen/adapters/linux_spec.rb
323
+ - vendor/listen/spec/listen/adapters/polling_spec.rb
324
+ - vendor/listen/spec/listen/adapters/windows_spec.rb
325
+ - vendor/listen/spec/listen/dependency_manager_spec.rb
326
+ - vendor/listen/spec/listen/directory_record_spec.rb
327
+ - vendor/listen/spec/listen/listener_spec.rb
328
+ - vendor/listen/spec/listen/multi_listener_spec.rb
329
+ - vendor/listen/spec/listen/turnstile_spec.rb
330
+ - vendor/listen/spec/listen_spec.rb
331
+ - vendor/listen/spec/spec_helper.rb
332
+ - vendor/listen/spec/support/adapter_helper.rb
333
+ - vendor/listen/spec/support/directory_record_helper.rb
334
+ - vendor/listen/spec/support/fixtures_helper.rb
335
+ - vendor/listen/spec/support/listeners_helper.rb
336
+ - vendor/listen/spec/support/platform_helper.rb
339
337
  homepage: http://sass-lang.com/
340
338
  licenses:
341
339
  - MIT
340
+ metadata: {}
342
341
  post_install_message:
343
342
  rdoc_options: []
344
343
  require_paths:
345
344
  - lib
346
345
  required_ruby_version: !ruby/object:Gem::Requirement
347
- none: false
348
346
  requirements:
349
- - - ! '>='
347
+ - - '>='
350
348
  - !ruby/object:Gem::Version
351
349
  version: 1.8.7
352
350
  required_rubygems_version: !ruby/object:Gem::Requirement
353
- none: false
354
351
  requirements:
355
- - - ! '>='
352
+ - - '>='
356
353
  - !ruby/object:Gem::Version
357
354
  version: '0'
358
355
  requirements: []
359
356
  rubyforge_project: sass
360
- rubygems_version: 1.8.24
357
+ rubygems_version: 2.2.1
361
358
  signing_key:
362
- specification_version: 3
359
+ specification_version: 4
363
360
  summary: A powerful but elegant CSS compiler that makes CSS fun again.
364
361
  test_files:
362
+ - test/sass/util_test.rb
363
+ - test/sass/scss/scss_test.rb
364
+ - test/sass/scss/rx_test.rb
365
+ - test/sass/scss/css_test.rb
366
+ - test/sass/callbacks_test.rb
367
+ - test/sass/cache_test.rb
365
368
  - test/sass/engine_test.rb
366
- - test/sass/functions_test.rb
367
- - test/sass/extend_test.rb
368
- - test/sass/logger_test.rb
369
369
  - test/sass/css2sass_test.rb
370
370
  - test/sass/conversion_test.rb
371
- - test/sass/script_test.rb
372
- - test/sass/exec_test.rb
373
371
  - test/sass/util/subset_map_test.rb
374
372
  - test/sass/util/multibyte_string_scanner_test.rb
375
- - test/sass/callbacks_test.rb
376
- - test/sass/importer_test.rb
377
- - test/sass/scss/css_test.rb
378
- - test/sass/scss/scss_test.rb
379
- - test/sass/scss/rx_test.rb
380
- - test/sass/util_test.rb
381
- - test/sass/script_conversion_test.rb
382
- - test/sass/cache_test.rb
383
373
  - test/sass/plugin_test.rb
374
+ - test/sass/functions_test.rb
375
+ - test/sass/extend_test.rb
376
+ - test/sass/script_conversion_test.rb
377
+ - test/sass/logger_test.rb
378
+ - test/sass/importer_test.rb
379
+ - test/sass/script_test.rb
380
+ - test/sass/exec_test.rb