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.
@@ -1 +1 @@
1
- 3.1.74
1
+ 3.1.75
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.74
1
+ 3.1.75
@@ -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::Files.engine_for(filename, options).render
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
@@ -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::Files.engine_for(filename, engine_opts).render
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)
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: 3.1.74
4
+ version: 3.1.75
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum