Hi all,
I’ll release Erubis 2.7.0 in this week.
I want someone to check whether it works well with Rails 3.
2.7.0 gem:
http://www.kuwata-lab.com/erubis/erubis-2.7.0.gem
2.7.0 tar.gz:
http://www.kuwata-lab.com/erubis/erubis-2.7.0.tar.gz
In this release, there are important enhancement and changes which may
have some affect to Rails 3.
-
New option ‘:bufvar’ is added to specify buffer variable name.
ex:
input = “Hello <%= name %>!”
eruby = Erubis::Eruby.new(input)
puts eruby.src
#=> _buf = ‘’; _buf << "Hello "; _buf << ( name ).to_s; _buf
<< ‘!’;eruby = Erubis::Eruby.new(input, :bufvar=>'@_out') puts eruby.src #=> @_out = ''; @_out << 'Hello '; @_out << ( name ).to_s;
@_out << ‘!’;
- Remove dependency to ‘abstract’ library.
You don’t need to install ‘abstract’ gem.
If there is no problem, it will be released in this week.
–
regards,
makoto kuwata