mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Deprecate Rails 3b3.
This commit is contained in:
parent
0a35cff21f
commit
eabc916380
3 changed files with 19 additions and 0 deletions
|
@ -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).
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue