0.09
No release in over 3 years
Low commit activity in last 3 years
hamlit-rails provides generators for Rails 4.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
>= 2.0.0
>= 4.0.1
~> 10.0

Runtime

>= 4.0.1
>= 1.2.0
>= 4.0.1
 Project Readme

Hamlit-rails

Build Status Gem Version

Provides hamlit generators for Rails. It also enables hamlit as the templating engine and "hamlit:erb2haml" rake task that converts erb files to haml.

Installation

Run:

bundle add hamlit-rails

Or install it yourself as:

$ gem install hamlit-rails

Usage

By installing this gem, Haml templates are generated on rails g.

Also, use the following rake task to convert .erb to .haml:

bundle exec rake hamlit:erb2haml

Contributing

  1. Fork it ( https://github.com/mfung/hamlit-rails/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Acknowledgement

This code is heavily influenced by haml-rails. And is written because of an issue created in that repo.

License

MIT license