Sha256: 0c9c88f86277f883901c2e2f4b1bfa9b1b9f7427b3dec2d080e2cc452c3996f7

Contents?: true

Size: 772 Bytes

Versions: 18

Compression:

Stored size: 772 Bytes

Contents

# Application template recipe for the rails_apps_composer. Check for a newer version here:
# https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/haml.rb

if config['haml']
  if recipes.include? 'rails 3.0'
    # for Rails 3.0, use only gem versions we know that work
    gem 'haml', '3.1.1'
    gem 'haml-rails', '0.3.4', :group => :development
  else
    # for Rails 3.1+, use optimistic versioning for gems
    gem 'haml', '>= 3.1.2'
    gem 'haml-rails', '>= 0.3.4', :group => :development
  end
else
  recipes.delete('haml')
end

__END__

name: HAML
description: "Utilize Haml instead of ERB."
author: RailsApps

category: templating
exclusive: templating

config:
  - haml:
      type: boolean
      prompt: Would you like to use Haml instead of ERB?

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rails_apps_composer-1.0.26 recipes/haml.rb
rails_apps_composer-1.0.25 recipes/haml.rb
rails_apps_composer-1.0.24 recipes/haml.rb
rails_apps_composer-1.0.23 recipes/haml.rb
rails_apps_composer-1.0.22 recipes/haml.rb
rails_apps_composer-1.0.21 recipes/haml.rb
rails_apps_composer-1.0.20 recipes/haml.rb
rails_apps_composer-1.0.19 recipes/haml.rb
rails_apps_composer-1.0.18 recipes/haml.rb
rails_apps_composer-1.0.17 recipes/haml.rb
rails_apps_composer-1.0.16 recipes/haml.rb
rails_apps_composer-1.0.15 recipes/haml.rb
rails_apps_composer-1.0.14 recipes/haml.rb
rails_apps_composer-1.0.12 recipes/haml.rb
rails_apps_composer-1.0.11 recipes/haml.rb
rails_apps_composer-1.0.10 recipes/haml.rb
rails_apps_composer-1.0.7 recipes/haml.rb
rails_apps_composer-1.0.6 recipes/haml.rb