haml-edge 3.1.74 → 3.1.75
Sign up to get free protection for your applications and to get access to all the features.
- data/EDGE_GEM_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/sass.rb +1 -1
- data/lib/sass/plugin/compiler.rb +1 -1
- metadata +1 -1
data/EDGE_GEM_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.75
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.75
|
data/lib/sass.rb
CHANGED
@@ -53,7 +53,7 @@ module Sass
|
|
53
53
|
options = args.last.is_a?(Hash) ? args.pop : {}
|
54
54
|
css_filename ||= args.shift
|
55
55
|
options[:css_filename] = css_filename
|
56
|
-
result = Sass::
|
56
|
+
result = Sass::Engine.for_file(filename, options).render
|
57
57
|
if css_filename
|
58
58
|
open(css_filename,"w") {|css_file| css_file.write(result) }
|
59
59
|
nil
|
data/lib/sass/plugin/compiler.rb
CHANGED
@@ -308,7 +308,7 @@ module Sass::Plugin
|
|
308
308
|
begin
|
309
309
|
File.read(filename) unless File.readable?(filename) # triggers an error for handling
|
310
310
|
engine_opts = engine_options(:css_filename => css, :filename => filename)
|
311
|
-
result = Sass::
|
311
|
+
result = Sass::Engine.for_file(filename, engine_opts).render
|
312
312
|
rescue Exception => e
|
313
313
|
run_compilation_error e, filename, css
|
314
314
|
result = Sass::SyntaxError.exception_to_css(e, options)
|