I released Erubis 2.7.0.
Thank you.
--
regards,
makoto kuwata
On March 22, 8:35 pm, makoto kuwata
<kwa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> 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
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.