Deprecate Rails 3b3.

This commit is contained in:
Nathan Weizenbaum 2010-06-10 13:53:59 -07:00
parent 0a35cff21f
commit eabc916380
3 changed files with 19 additions and 0 deletions

View File

@ -11,6 +11,11 @@ Apparently the last version broke in new and exciting ways under Rails 3,
due to the inconsistent load order caused by certain combinations of gems.
3.0.12 hacks around that inconsistency, and *should* be fully Rails 3-compatible.
### Deprecated: Rails 3 Beta 3
Haml's support for Rails 3.0.0.beta.3 has been deprecated.
Haml 3.0.13 will only support 3.0.0.beta.4.
## 3.0.11
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.11).

View File

@ -11,6 +11,11 @@ Apparently the last version broke in new and exciting ways under Rails 3,
due to the inconsistent load order caused by certain combinations of gems.
3.0.12 hacks around that inconsistency, and *should* be fully Rails 3-compatible.
### Deprecated: Rails 3 Beta 3
Haml's support for Rails 3.0.0.beta.3 has been deprecated.
Haml 3.0.13 will only support 3.0.0.beta.4.
## 3.0.11
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.11).

View File

@ -1,4 +1,13 @@
unless defined?(Sass::RAILS_LOADED)
if Haml::Util.ap_geq_3? && !Haml::Util.ap_geq?("3.0.0.beta4")
Haml::Util.haml_warn(<<WARNING)
DEPRECATION WARNING:
Haml/Sass support for Rails 3 versions before beta 4 is deprecated,
and will be removed in Haml/Sass 3.0.13.
Please upgrade to Rails 3.0.0.beta4 or later.
WARNING
end
Sass::RAILS_LOADED = true
# Reverse-merging (we're in Rails, anyway) so we dont' clobber what's already been defined further up-stream