haml-edge 2.3.100 → 2.3.148

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 (54) hide show
  1. data/.yardopts +3 -0
  2. data/EDGE_GEM_VERSION +1 -1
  3. data/Rakefile +14 -2
  4. data/VERSION +1 -1
  5. data/extra/haml-mode.el +97 -11
  6. data/extra/sass-mode.el +2 -2
  7. data/lib/haml/engine.rb +2 -2
  8. data/lib/haml/exec.rb +121 -25
  9. data/lib/haml/filters.rb +1 -1
  10. data/lib/haml/helpers/action_view_mods.rb +2 -1
  11. data/lib/haml/helpers/xss_mods.rb +43 -13
  12. data/lib/haml/helpers.rb +38 -17
  13. data/lib/haml/html.rb +13 -4
  14. data/lib/haml/precompiler.rb +24 -3
  15. data/lib/haml/template/plugin.rb +7 -3
  16. data/lib/haml/template.rb +3 -3
  17. data/lib/haml/util.rb +40 -0
  18. data/lib/sass/callbacks.rb +50 -0
  19. data/lib/sass/css.rb +1 -1
  20. data/lib/sass/engine.rb +45 -5
  21. data/lib/sass/error.rb +6 -3
  22. data/lib/sass/files.rb +8 -1
  23. data/lib/sass/plugin/rails.rb +2 -2
  24. data/lib/sass/plugin.rb +260 -28
  25. data/lib/sass/script/color.rb +216 -30
  26. data/lib/sass/script/functions.rb +356 -74
  27. data/lib/sass/script/lexer.rb +7 -4
  28. data/lib/sass/script/number.rb +2 -0
  29. data/lib/sass/script/parser.rb +1 -1
  30. data/lib/sass/script.rb +3 -0
  31. data/lib/sass/tree/node.rb +1 -1
  32. data/lib/sass/tree/root_node.rb +6 -0
  33. data/lib/sass/tree/rule_node.rb +1 -0
  34. data/lib/sass.rb +4 -0
  35. data/test/haml/engine_test.rb +25 -0
  36. data/test/haml/helper_test.rb +81 -1
  37. data/test/haml/html2haml_test.rb +13 -0
  38. data/test/haml/spec/README.md +97 -0
  39. data/test/haml/spec/lua_haml_spec.lua +30 -0
  40. data/test/haml/spec/ruby_haml_test.rb +19 -0
  41. data/test/haml/spec/tests.json +534 -0
  42. data/test/haml/spec_test.rb +0 -0
  43. data/test/haml/template_test.rb +18 -4
  44. data/test/haml/util_test.rb +0 -0
  45. data/test/sass/callbacks_test.rb +61 -0
  46. data/test/sass/css2sass_test.rb +1 -0
  47. data/test/sass/engine_test.rb +70 -14
  48. data/test/sass/functions_test.rb +223 -3
  49. data/test/sass/plugin_test.rb +193 -25
  50. data/test/sass/results/options.css +1 -0
  51. data/test/sass/script_test.rb +5 -5
  52. data/test/sass/templates/options.sass +2 -0
  53. data/test/test_helper.rb +12 -5
  54. metadata +19 -9
@@ -7,6 +7,7 @@ class SassPluginTest < Test::Unit::TestCase
7
7
  @@templates = %w{
8
8
  complex script parent_ref import alt
9
9
  subdir/subdir subdir/nested_subdir/nested_subdir
10
+ options
10
11
  }
11
12
 
12
13
  def setup
@@ -14,10 +15,12 @@ class SassPluginTest < Test::Unit::TestCase
14
15
  FileUtils.mkdir tempfile_loc(nil,"more_")
15
16
  set_plugin_opts
16
17
  Sass::Plugin.update_stylesheets
18
+ reset_mtimes
17
19
  end
18
20
 
19
21
  def teardown
20
22
  clean_up_sassc
23
+ clear_callbacks
21
24
  FileUtils.rm_r tempfile_loc
22
25
  FileUtils.rm_r tempfile_loc(nil,"more_")
23
26
  end
@@ -30,25 +33,23 @@ class SassPluginTest < Test::Unit::TestCase
30
33
 
31
34
  def test_no_update
32
35
  File.delete(tempfile_loc('basic'))
33
- assert Sass::Plugin.stylesheet_needs_update?('basic', template_loc, tempfile_loc)
36
+ assert_needs_update 'basic'
34
37
  Sass::Plugin.update_stylesheets
35
- assert !Sass::Plugin.stylesheet_needs_update?('basic', template_loc, tempfile_loc)
38
+ assert_stylesheet_updated 'basic'
36
39
  end
37
40
 
38
41
  def test_update_needed_when_modified
39
- sleep 1
40
- FileUtils.touch(template_loc('basic'))
41
- assert Sass::Plugin.stylesheet_needs_update?('basic', template_loc, tempfile_loc)
42
+ touch 'basic'
43
+ assert_needs_update 'basic'
42
44
  Sass::Plugin.update_stylesheets
43
- assert !Sass::Plugin.stylesheet_needs_update?('basic', template_loc, tempfile_loc)
45
+ assert_stylesheet_updated 'basic'
44
46
  end
45
47
 
46
48
  def test_update_needed_when_dependency_modified
47
- sleep 1
48
- FileUtils.touch(template_loc('basic'))
49
- assert Sass::Plugin.stylesheet_needs_update?('import', template_loc, tempfile_loc)
49
+ touch 'basic'
50
+ assert_needs_update 'import'
50
51
  Sass::Plugin.update_stylesheets
51
- assert !Sass::Plugin.stylesheet_needs_update?('import', template_loc, tempfile_loc)
52
+ assert_stylesheet_updated 'basic'
52
53
  end
53
54
 
54
55
  def test_full_exception_handling
@@ -68,14 +69,13 @@ CSS
68
69
  end
69
70
 
70
71
  def test_nonfull_exception_handling
72
+ old_full_exception = Sass::Plugin.options[:full_exception]
71
73
  Sass::Plugin.options[:full_exception] = false
72
74
 
73
75
  File.delete(tempfile_loc('bork1'))
74
- Sass::Plugin.update_stylesheets
75
- assert_equal("/* Internal stylesheet error */", File.read(tempfile_loc('bork1')))
76
- File.delete(tempfile_loc('bork1'))
77
-
78
- Sass::Plugin.options[:full_exception] = true
76
+ assert_raise(Sass::SyntaxError) {Sass::Plugin.update_stylesheets}
77
+ ensure
78
+ Sass::Plugin.options[:full_exception] = old_full_exception
79
79
  end
80
80
 
81
81
  def test_two_template_directories
@@ -116,7 +116,7 @@ CSS
116
116
  set_plugin_opts
117
117
 
118
118
  File.delete(tempfile_loc('basic'))
119
- assert Sass::Plugin.stylesheet_needs_update?('basic', template_loc, tempfile_loc)
119
+ assert_needs_update 'basic'
120
120
 
121
121
  if defined?(MerbHandler)
122
122
  MerbHandler.new('.').process nil, nil
@@ -124,22 +124,113 @@ CSS
124
124
  Merb::Rack::Application.new.call(::Rack::MockRequest.env_for('/'))
125
125
  end
126
126
 
127
- assert !Sass::Plugin.stylesheet_needs_update?('basic', template_loc, tempfile_loc)
127
+ assert_stylesheet_updated 'basic'
128
128
  end
129
129
 
130
130
  def test_doesnt_render_partials
131
131
  assert !File.exists?(tempfile_loc('_partial'))
132
132
  end
133
133
 
134
+ # Callbacks
135
+
136
+ def test_updating_stylesheets_callback
137
+ # Should run even when there's nothing to update
138
+ assert_callback :updating_stylesheets, []
139
+ end
140
+
141
+ def test_updating_stylesheets_callback_with_individual_files
142
+ files = [[template_loc("basic"), tempfile_loc("basic")]]
143
+ assert_callback(:updating_stylesheets, files) {Sass::Plugin.update_stylesheets(files)}
144
+ end
145
+
146
+ def test_updating_stylesheets_callback_with_never_update
147
+ Sass::Plugin.options[:never_update] = true
148
+ assert_no_callback :updating_stylesheets
149
+ end
150
+
151
+ def test_updating_stylesheet_callback_for_updated_template
152
+ Sass::Plugin.options[:always_update] = false
153
+ touch 'basic'
154
+ assert_no_callback :updating_stylesheet, template_loc("complex"), tempfile_loc("complex") do
155
+ assert_callbacks(
156
+ [:updating_stylesheet, template_loc("basic"), tempfile_loc("basic")],
157
+ [:updating_stylesheet, template_loc("import"), tempfile_loc("import")])
158
+ end
159
+ end
160
+
161
+ def test_updating_stylesheet_callback_for_fresh_template
162
+ Sass::Plugin.options[:always_update] = false
163
+ assert_no_callback :updating_stylesheet
164
+ end
165
+
166
+ def test_updating_stylesheet_callback_for_error_template
167
+ Sass::Plugin.options[:always_update] = false
168
+ touch 'bork1'
169
+ assert_no_callback :updating_stylesheet
170
+ end
171
+
172
+ def test_not_updating_stylesheet_callback_for_fresh_template
173
+ Sass::Plugin.options[:always_update] = false
174
+ assert_callback :not_updating_stylesheet, template_loc("basic"), tempfile_loc("basic")
175
+ end
176
+
177
+ def test_not_updating_stylesheet_callback_for_updated_template
178
+ Sass::Plugin.options[:always_update] = false
179
+ assert_callback :not_updating_stylesheet, template_loc("complex"), tempfile_loc("complex") do
180
+ assert_no_callbacks(
181
+ [:updating_stylesheet, template_loc("basic"), tempfile_loc("basic")],
182
+ [:updating_stylesheet, template_loc("import"), tempfile_loc("import")])
183
+ end
184
+ end
185
+
186
+ def test_not_updating_stylesheet_callback_with_never_update
187
+ Sass::Plugin.options[:never_update] = true
188
+ assert_no_callback :not_updating_stylesheet
189
+ end
190
+
191
+ def test_not_updating_stylesheet_callback_for_partial
192
+ Sass::Plugin.options[:always_update] = false
193
+ assert_no_callback :not_updating_stylesheet, template_loc("_partial"), tempfile_loc("_partial")
194
+ end
195
+
196
+ def test_not_updating_stylesheet_callback_for_error
197
+ Sass::Plugin.options[:always_update] = false
198
+ touch 'bork1'
199
+ assert_no_callback :not_updating_stylesheet, template_loc("bork1"), tempfile_loc("bork1")
200
+ end
201
+
202
+ def test_compilation_error_callback
203
+ Sass::Plugin.options[:always_update] = false
204
+ touch 'bork1'
205
+ assert_callback(:compilation_error,
206
+ lambda {|e| e.message == 'Undefined variable: "!bork".'},
207
+ template_loc("bork1"), tempfile_loc("bork1"))
208
+ end
209
+
210
+ def test_compilation_error_callback_for_file_access
211
+ Sass::Plugin.options[:always_update] = false
212
+ assert_callback(:compilation_error,
213
+ lambda {|e| e.is_a?(Errno::ENOENT)},
214
+ template_loc("nonexistent"), tempfile_loc("nonexistent")) do
215
+ Sass::Plugin.update_stylesheets([[template_loc("nonexistent"), tempfile_loc("nonexistent")]])
216
+ end
217
+ end
218
+
219
+ def test_creating_directory_callback
220
+ Sass::Plugin.options[:always_update] = false
221
+ dir = File.join(tempfile_loc, "subdir", "nested_subdir")
222
+ FileUtils.rm_r dir
223
+ assert_callback :creating_directory, dir
224
+ end
225
+
134
226
  ## Regression
135
227
 
136
228
  def test_cached_dependencies_update
137
229
  FileUtils.mv(template_loc("basic"), template_loc("basic", "more_"))
138
230
  set_plugin_opts :load_paths => [result_loc, template_loc(nil, "more_")]
139
231
 
140
- sleep 1
141
- FileUtils.touch(template_loc("basic", "more_"))
142
- assert Sass::Plugin.stylesheet_needs_update?("import", template_loc, tempfile_loc)
232
+ touch 'basic', 'more_'
233
+ assert_needs_update "import"
143
234
  Sass::Plugin.update_stylesheets
144
235
  assert_renders_correctly("import")
145
236
  ensure
@@ -169,6 +260,87 @@ CSS
169
260
  end
170
261
  end
171
262
 
263
+ def assert_stylesheet_updated(name)
264
+ assert_doesnt_need_update name
265
+
266
+ # Make sure it isn't an exception
267
+ expected_lines = File.read(result_loc(name)).split("\n")
268
+ actual_lines = File.read(tempfile_loc(name)).split("\n")
269
+ if actual_lines.first == "/*" && expected_lines.first != "/*"
270
+ assert(false, actual_lines[0..actual_lines.enum_with_index.find {|l, i| l == "*/"}.last].join("\n"))
271
+ end
272
+ end
273
+
274
+ def assert_callback(name, *expected_args)
275
+ run = false
276
+ Sass::Plugin.send("on_#{name}") do |*args|
277
+ run ||= expected_args.zip(args).all? do |ea, a|
278
+ ea.respond_to?(:call) ? ea.call(a) : ea == a
279
+ end
280
+ end
281
+
282
+ if block_given?
283
+ yield
284
+ else
285
+ Sass::Plugin.update_stylesheets
286
+ end
287
+
288
+ assert run, "Expected #{name} callback to be run with arguments:\n #{expected_args.inspect}"
289
+ end
290
+
291
+ def assert_no_callback(name, *unexpected_args)
292
+ Sass::Plugin.send("on_#{name}") do |*a|
293
+ next unless unexpected_args.empty? || a == unexpected_args
294
+
295
+ msg = "Expected #{name} callback not to be run"
296
+ if !unexpected_args.empty?
297
+ msg << " with arguments #{unexpected_args.inspect}"
298
+ elsif !a.empty?
299
+ msg << ",\n was run with arguments #{a.inspect}"
300
+ end
301
+
302
+ flunk msg
303
+ end
304
+
305
+ if block_given?
306
+ yield
307
+ else
308
+ Sass::Plugin.update_stylesheets
309
+ end
310
+ end
311
+
312
+ def assert_callbacks(*args)
313
+ return Sass::Plugin.update_stylesheets if args.empty?
314
+ assert_callback(*args.pop) {assert_callbacks(*args)}
315
+ end
316
+
317
+ def assert_no_callbacks(*args)
318
+ return Sass::Plugin.update_stylesheets if args.empty?
319
+ assert_no_callback(*args.pop) {assert_no_callbacks(*args)}
320
+ end
321
+
322
+ def clear_callbacks
323
+ Sass::Plugin.instance_variable_set('@_sass_callbacks', {})
324
+ end
325
+
326
+ def assert_needs_update(name)
327
+ assert(Sass::Plugin.stylesheet_needs_update?(name, template_loc, tempfile_loc),
328
+ "Expected #{template_loc(name)} to need an update.")
329
+ end
330
+
331
+ def assert_doesnt_need_update(name)
332
+ assert(!Sass::Plugin.stylesheet_needs_update?(name, template_loc, tempfile_loc),
333
+ "Expected #{template_loc(name)} not to need an update.")
334
+ end
335
+
336
+ def touch(*args)
337
+ FileUtils.touch(template_loc(*args))
338
+ end
339
+
340
+ def reset_mtimes
341
+ Dir["{#{template_loc},#{tempfile_loc}}/**/*.{css,sass}"].each {|f| File.utime(Time.now, Time.now - 1, f)}
342
+ end
343
+
172
344
  def template_loc(name = nil, prefix = nil)
173
345
  if name
174
346
  absolutize "#{prefix}templates/#{name}.sass"
@@ -204,13 +376,9 @@ CSS
204
376
  :style => :compact,
205
377
  :load_paths => [result_loc],
206
378
  :always_update => true,
379
+ :never_update => false,
207
380
  }.merge(overrides)
208
381
  end
209
-
210
- def wait_a_tick
211
- time = Time.now
212
- loop {break if Time.now.sec != time.sec}
213
- end
214
382
  end
215
383
 
216
384
  module Sass::Plugin
@@ -0,0 +1 @@
1
+ foo { style: compact; }
@@ -134,19 +134,19 @@ SASS
134
134
  assert_warning(<<WARN) {eval("foo")}
135
135
  DEPRECATION WARNING:
136
136
  On line 1, character 1 of 'test_implicit_string_warning_inline.sass'
137
- Implicit strings have been deprecated and will be removed in version 2.4.
137
+ Implicit strings have been deprecated and will be removed in version 3.0.
138
138
  'foo' was not quoted. Please add double quotes (e.g. "foo").
139
139
  WARN
140
140
  assert_warning(<<WARN) {eval("1 + foo")}
141
141
  DEPRECATION WARNING:
142
142
  On line 1, character 5 of 'test_implicit_string_warning_inline.sass'
143
- Implicit strings have been deprecated and will be removed in version 2.4.
143
+ Implicit strings have been deprecated and will be removed in version 3.0.
144
144
  'foo' was not quoted. Please add double quotes (e.g. "foo").
145
145
  WARN
146
146
  assert_warning(<<WARN) {render("@if 1 + foo")}
147
147
  DEPRECATION WARNING:
148
148
  On line 1, character 9 of 'test_implicit_string_warning_inline.sass'
149
- Implicit strings have been deprecated and will be removed in version 2.4.
149
+ Implicit strings have been deprecated and will be removed in version 3.0.
150
150
  'foo' was not quoted. Please add double quotes (e.g. "foo").
151
151
  WARN
152
152
 
@@ -154,7 +154,7 @@ WARN
154
154
  assert_warning(<<WARN) {render("@if if")}
155
155
  DEPRECATION WARNING:
156
156
  On line 1, character 5 of 'test_implicit_string_warning_inline.sass'
157
- Implicit strings have been deprecated and will be removed in version 2.4.
157
+ Implicit strings have been deprecated and will be removed in version 3.0.
158
158
  'if' was not quoted. Please add double quotes (e.g. "if").
159
159
  WARN
160
160
  end
@@ -163,7 +163,7 @@ WARN
163
163
  assert_warning <<WARN do
164
164
  DEPRECATION WARNING:
165
165
  On line 2, character 6 of 'test_inaccessible_functions_inline.sass'
166
- Implicit strings have been deprecated and will be removed in version 2.4.
166
+ Implicit strings have been deprecated and will be removed in version 3.0.
167
167
  'to_s' was not quoted. Please add double quotes (e.g. "to_s").
168
168
  WARN
169
169
  assert_equal "send(to_s)", resolve("send(to_s)", :line => 2)
@@ -0,0 +1,2 @@
1
+ foo
2
+ style= option("style")
data/test/test_helper.rb CHANGED
@@ -12,17 +12,24 @@ Sass::RAILS_LOADED = true unless defined?(Sass::RAILS_LOADED)
12
12
  module Sass::Script::Functions
13
13
  module UserFunctions; end
14
14
  include UserFunctions
15
+
16
+ def option(name)
17
+ Sass::Script::String.new(@options[name.value.to_sym].to_s)
18
+ end
15
19
  end
16
20
 
17
21
  class Test::Unit::TestCase
18
22
  def munge_filename(opts)
19
- return if opts[:filename]
20
- opts[:filename] = test_filename(caller[1])
23
+ return if opts.has_key?(:filename)
24
+ opts[:filename] = filename_for_test
21
25
  end
22
26
 
23
- def test_filename(entry = caller.first)
24
- test_name = Haml::Util.caller_info(entry)[2]
25
- test_name.sub!(/^(block|rescue) in /, '')
27
+ def filename_for_test
28
+ test_name = caller.
29
+ map {|c| Haml::Util.caller_info(c)[2]}.
30
+ compact.
31
+ map {|c| c.sub(/^(block|rescue) in /, '')}.
32
+ find {|c| c =~ /^test_/}
26
33
  "#{test_name}_inline.sass"
27
34
  end
28
35
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-edge
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.100
4
+ version: 2.3.148
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-12-03 00:00:00 -05:00
13
+ date: 2010-02-05 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -21,7 +21,7 @@ dependencies:
21
21
  requirements:
22
22
  - - ">="
23
23
  - !ruby/object:Gem::Version
24
- version: 0.4.0
24
+ version: 0.5.3
25
25
  version:
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: maruku
@@ -45,9 +45,9 @@ extensions: []
45
45
  extra_rdoc_files:
46
46
  - README.md
47
47
  - VERSION
48
+ - CONTRIBUTING
48
49
  - REVISION
49
50
  - VERSION_NAME
50
- - CONTRIBUTING
51
51
  - MIT-LICENSE
52
52
  - EDGE_GEM_VERSION
53
53
  files:
@@ -74,8 +74,8 @@ files:
74
74
  - lib/sass.rb
75
75
  - lib/sass/css.rb
76
76
  - lib/sass/engine.rb
77
- - lib/sass/environment.rb
78
77
  - lib/sass/error.rb
78
+ - lib/sass/environment.rb
79
79
  - lib/sass/files.rb
80
80
  - lib/sass/plugin.rb
81
81
  - lib/sass/plugin/merb.rb
@@ -110,6 +110,7 @@ files:
110
110
  - lib/sass/tree/root_node.rb
111
111
  - lib/sass/tree/variable_node.rb
112
112
  - lib/sass/tree/while_node.rb
113
+ - lib/sass/callbacks.rb
113
114
  - bin/css2sass
114
115
  - bin/haml
115
116
  - bin/html2haml
@@ -122,6 +123,7 @@ files:
122
123
  - test/haml/erb/_av_partial_2.erb
123
124
  - test/haml/erb/action_view.erb
124
125
  - test/haml/erb/standard.erb
126
+ - test/haml/html2haml/erb_tests.rb
125
127
  - test/haml/markaby/standard.mab
126
128
  - test/haml/mocks/article.rb
127
129
  - test/haml/results/content_for_layout.xhtml
@@ -142,6 +144,10 @@ files:
142
144
  - test/haml/results/tag_parsing.xhtml
143
145
  - test/haml/results/very_basic.xhtml
144
146
  - test/haml/results/whitespace_handling.xhtml
147
+ - test/haml/spec/README.md
148
+ - test/haml/spec/lua_haml_spec.lua
149
+ - test/haml/spec/ruby_haml_test.rb
150
+ - test/haml/spec/tests.json
145
151
  - test/haml/util_test.rb
146
152
  - test/haml/template_test.rb
147
153
  - test/haml/templates/_av_partial_1.haml
@@ -175,12 +181,12 @@ files:
175
181
  - test/haml/templates/tag_parsing.haml
176
182
  - test/haml/templates/very_basic.haml
177
183
  - test/haml/templates/whitespace_handling.haml
178
- - test/haml/html2haml/erb_tests.rb
179
184
  - test/haml/spec_test.rb
180
185
  - test/linked_rails.rb
181
186
  - test/sass/css2sass_test.rb
182
187
  - test/sass/engine_test.rb
183
188
  - test/sass/functions_test.rb
189
+ - test/sass/plugin_test.rb
184
190
  - test/sass/data/hsl-rgb.txt
185
191
  - test/sass/more_results/more1.css
186
192
  - test/sass/more_results/more1_with_line_comments.css
@@ -188,7 +194,7 @@ files:
188
194
  - test/sass/more_templates/_more_partial.sass
189
195
  - test/sass/more_templates/more1.sass
190
196
  - test/sass/more_templates/more_import.sass
191
- - test/sass/plugin_test.rb
197
+ - test/sass/script_test.rb
192
198
  - test/sass/results/alt.css
193
199
  - test/sass/results/basic.css
194
200
  - test/sass/results/compact.css
@@ -200,12 +206,12 @@ files:
200
206
  - test/sass/results/mixins.css
201
207
  - test/sass/results/multiline.css
202
208
  - test/sass/results/nested.css
209
+ - test/sass/results/options.css
203
210
  - test/sass/results/parent_ref.css
204
211
  - test/sass/results/script.css
205
212
  - test/sass/results/subdir/nested_subdir/nested_subdir.css
206
213
  - test/sass/results/subdir/subdir.css
207
214
  - test/sass/results/units.css
208
- - test/sass/script_test.rb
209
215
  - test/sass/templates/_partial.sass
210
216
  - test/sass/templates/alt.sass
211
217
  - test/sass/templates/basic.sass
@@ -229,12 +235,14 @@ files:
229
235
  - test/sass/templates/nested_bork3.sass
230
236
  - test/sass/templates/nested_bork4.sass
231
237
  - test/sass/templates/nested_mixin_bork.sass
238
+ - test/sass/templates/options.sass
232
239
  - test/sass/templates/parent_ref.sass
233
240
  - test/sass/templates/script.sass
234
241
  - test/sass/templates/subdir/nested_subdir/_nested_partial.sass
235
242
  - test/sass/templates/subdir/nested_subdir/nested_subdir.sass
236
243
  - test/sass/templates/subdir/subdir.sass
237
244
  - test/sass/templates/units.sass
245
+ - test/sass/callbacks_test.rb
238
246
  - test/test_helper.rb
239
247
  - extra/haml-mode.el
240
248
  - extra/sass-mode.el
@@ -244,9 +252,9 @@ files:
244
252
  - .yardopts
245
253
  - README.md
246
254
  - VERSION
255
+ - CONTRIBUTING
247
256
  - REVISION
248
257
  - VERSION_NAME
249
- - CONTRIBUTING
250
258
  - MIT-LICENSE
251
259
  - EDGE_GEM_VERSION
252
260
  has_rdoc: true
@@ -288,6 +296,7 @@ test_files:
288
296
  - test/haml/engine_test.rb
289
297
  - test/haml/helper_test.rb
290
298
  - test/haml/html2haml_test.rb
299
+ - test/haml/spec/ruby_haml_test.rb
291
300
  - test/haml/util_test.rb
292
301
  - test/haml/template_test.rb
293
302
  - test/haml/spec_test.rb
@@ -296,3 +305,4 @@ test_files:
296
305
  - test/sass/functions_test.rb
297
306
  - test/sass/plugin_test.rb
298
307
  - test/sass/script_test.rb
308
+ - test/sass/callbacks_test.rb