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.
- data/EDGE_GEM_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/haml/exec.rb +2 -2
- metadata +1 -1
data/EDGE_GEM_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.76
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
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::
|
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::
|
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])
|