recipes/haml.rb in rails3_devise_wizard-0.2.4 vs recipes/haml.rb in rails3_devise_wizard-0.2.5
- old
+ new
@@ -1,14 +1,23 @@
# Application template recipe for the rails3_devise_wizard. Check for a newer version here:
# https://github.com/fortuity/rails3_devise_wizard/blob/master/recipes/haml.rb
-gem 'haml', '>= 3.0.25'
-gem 'haml-rails', '>= 0.3.4', :group => :development
+if config['haml']
+ gem 'haml', '>= 3.0.25'
+ gem 'haml-rails', '>= 0.3.4', :group => :development
+else
+ recipes.delete('haml')
+end
__END__
name: HAML
-description: "Utilize HAML for templating."
+description: "Utilize Haml instead of ERB."
author: fortuity
category: templating
exclusive: templating
+
+config:
+ - haml:
+ type: boolean
+ prompt: Would you like to use Haml instead of ERB?
\ No newline at end of file