mirror of
https://github.com/haml/haml-rails.git
synced 2022-11-09 12:34:15 -05:00
Update documentation to clarify rails version compatibility
This commit is contained in:
parent
4fdb180516
commit
35ca41fd89
2 changed files with 10 additions and 2 deletions
10
README.md
10
README.md
|
@ -1,6 +1,6 @@
|
|||
# Haml-rails
|
||||
|
||||
Haml-rails provides Haml generators for Rails 3. It also enables Haml as the templating engine for you, so you don't have to screw around in your own application.rb when your Gemfile already clearly indicated what templating engine you have installed. Hurrah.
|
||||
Haml-rails provides Haml generators for Rails 4. It also enables Haml as the templating engine for you, so you don't have to screw around in your own application.rb when your Gemfile already clearly indicated what templating engine you have installed. Hurrah.
|
||||
|
||||
To use it, add this line to your Gemfile:
|
||||
|
||||
|
@ -13,6 +13,14 @@ This ensures that:
|
|||
|
||||
Pretty fancy, eh? The modern world is just so amazing.
|
||||
|
||||
### Older versions of Rails
|
||||
|
||||
The current version of Haml-rails requires 4.0.1 or later.
|
||||
|
||||
Haml-rails version 0.4 is the last version to support Rails 3. To use it, add this line to your Gemfile:
|
||||
|
||||
gem "haml-rails", "~> 0.4.0"
|
||||
|
||||
### Contributors
|
||||
|
||||
Haml generators originally from [rails3-generators](http://github.com/indirect/rails3-generators), and written by José Valim, André Arko, Paul Barry, Anuj Dutta, Louis T, and Chris Rhoden. Tests originally written by Louis T.
|
||||
|
|
|
@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|||
s.email = ["andre@arko.net"]
|
||||
s.homepage = "http://github.com/indirect/haml-rails"
|
||||
s.summary = "let your Gemfile do the configuring"
|
||||
s.description = "Haml-rails provides Haml generators for Rails 3. It also enables Haml as the templating engine for you, so you don't have to screw around in your own application.rb when your Gemfile already clearly indicated what templating engine you have installed. Hurrah."
|
||||
s.description = "Haml-rails provides Haml generators for Rails 4. It also enables Haml as the templating engine for you, so you don't have to screw around in your own application.rb when your Gemfile already clearly indicated what templating engine you have installed. Hurrah."
|
||||
s.licenses = ["MIT"]
|
||||
|
||||
s.rubyforge_project = "haml-rails"
|
||||
|
|
Loading…
Add table
Reference in a new issue