haml-edge 3.1.29 → 3.1.32

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 CHANGED
@@ -1 +1 @@
1
- 3.1.29
1
+ 3.1.32
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.29
1
+ 3.1.32
data/lib/haml/exec.rb CHANGED
@@ -710,6 +710,8 @@ END
710
710
  end
711
711
  @options[:output] ||= @options[:input]
712
712
 
713
+ from = @options[:from]
714
+ from = :sass if from == :sass2
713
715
  if @options[:to] == @options[:from] && !@options[:in_place]
714
716
  fmt = @options[:from]
715
717
  raise "Error: converting from #{fmt} to #{fmt} without --in-place"
data/lib/haml/template.rb CHANGED
@@ -46,7 +46,7 @@ unless Haml::Util.rails_env == "development"
46
46
  Haml::Template.options[:ugly] ||= true
47
47
  end
48
48
 
49
- if ActionPack::VERSION::MAJOR >= 3
49
+ if Haml::Util.ap_geq_3?
50
50
  Haml::Template.options[:format] ||= :html5
51
51
  end
52
52
 
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.29
4
+ version: 3.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum