haml-edge 3.1.75 → 3.1.76

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 (4) hide show
  1. data/EDGE_GEM_VERSION +1 -1
  2. data/VERSION +1 -1
  3. data/lib/haml/exec.rb +2 -2
  4. metadata +1 -1
data/EDGE_GEM_VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.75
1
+ 3.1.76
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.75
1
+ 3.1.76
data/lib/haml/exec.rb CHANGED
@@ -283,7 +283,7 @@ END
283
283
  @options[:syntax] ||= :scss if input.is_a?(File) && input.path =~ /\.scss$/
284
284
  engine =
285
285
  if input.is_a?(File) && !@options[:check_syntax]
286
- ::Sass::Files.engine_for(input.path, @options[:for_engine])
286
+ ::Sass::Engine.for_file(input.path, @options[:for_engine])
287
287
  else
288
288
  # We don't need to do any special handling of @options[:check_syntax] here,
289
289
  # because the Sass syntax checking happens alongside evaluation
@@ -769,7 +769,7 @@ END
769
769
  Less::Engine.new(input).to_tree.to_sass_tree.send("to_#{@options[:to]}", @options[:for_tree])
770
770
  else
771
771
  if input.is_a?(File)
772
- ::Sass::Files.engine_for(input.path, @options[:for_engine])
772
+ ::Sass::Engine.for_file(input.path, @options[:for_engine])
773
773
  else
774
774
  ::Sass::Engine.new(input.read, @options[:for_engine])
775
775
  end.to_tree.send("to_#{@options[:to]}", @options[:for_tree])
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.75
4
+ version: 3.1.76
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum