summaryrefslogtreecommitdiff
path: root/www/erubis
AgeCommit message (Collapse)AuthorFilesLines
2011-12-24I forgot to remove www/erubis which already renamed to www/ruby-erubis.taca4-324/+0
2011-06-10Add a note to be careful for updating this package.taca1-1/+2
2010-09-13* Add CONFLICTS a pattern matches previous package nametaca1-2/+2
without "${RUBY_PKGPREFIX}-".
2010-09-10Update www/erubis pacakge to 2.6.6.taca3-13/+22
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Add LICENSE. * Remove default value of GEM_BUILD. * Ajust new ruby package's framework. * Add CONFLICTS since it will install the same name commands both ruby18 and ruby19 based packages. - release: 2.6.6 date: 2010-06-27 bugfixes: - | Fixed a bug around InterporationEnhancer and FastEruby to escape back-quote. (thanks to Andrew R Jackson) - release: 2.6.5 date: 2009-07-20 bugfixes: - | Fixed bug around '-z' option. - release: 2.6.4 date: 2009-02-18 enhancemens: - | Rails 2.2 and 2.3 support. - release: 2.6.3 date: 2009-02-07 bugfixes: - Enhancer name was not displayed in Ruby 1.9.1 when it was missing. - Command option argument name was not displayed correctly as a part of error message. - MethoNotFound error was raised when invalid option was specified. - release: 2.6.2 date: 2008-06-12 enhancements: - | Ruby 1.9 support. bugfixes: - | Fixed installation problem on Windows (Thanks to Tim Morgan and Allen). - release: 2.6.1 date: 2008-06-06 enhancements: - | Rails 2.1 support. (special thanks Jos«± Valim) - release: 2.6.0 date: 2008-05-05 enhancements: - | Improved support of Ruby on Rails 2.0.2. New class ActionView::TemplateHandlers::Erubis is defined and registered as default handler of *.html.erb and *.rhtml. - | '<%% %>' and '<%%= %>' are converted into '<% %>' and '<%= %>' respectively. This is for compatibility with ERB. ex1.rhtml: <ul> <%% for item in @list %> <li><%%= item %></li> <%% end %> </ul> result: $ erubis ex1.rhtml <ul> <% for item in @list %> <li><%= item %></li> <% end %> </ul> - | '<%= -%>' removes tail spaces and newlines. This is for compatibiliy with ERB when trim mode is '-'. '<%= =%>' also removes tail spaces and newlines, and this is Erubis-original enhancement (cooler than '<%= -%>', isn't it?). ex2.rhtml: <div> <%= @var -%> # or <%= @var =%> </div> result (version 2.6.0): $ erubis -c '{var: "AAA\n"}' ex2.rhtml <div> AAA </div> result (version 2.5.0): $ erubis -c '{var: "AAA\n"}' ex2.rhtml <div> AAA </div> - | Erubis::Eruby.load_file() now allows you to change cache filename. ex. eruby = Erubis::Eruby.load_file("ex3.rhtml", :cachename=>'ex3.rhtml.cache')
2009-06-14Convert @exec/@unexec to @pkgdir or drop it.joerg1-29/+1
2008-04-04Update erubis to version 2.5.0. Changes from version 2.3.1 include:jlam3-39/+331
+ Install as a Ruby gem. - Ruby on Rails 2.0 support. - Add new command-line property '--docwrite={true|false}' to Erubis::Ejavascript. If this property is true then 'document.write(_buf.join(""));' is used as postamble and if it is false then '_buf.join("")' is used. - When using Erubis::Eruby#evaluate(), changing local variables in templates have affected to variables accessible with TOPLEVEL_BINDING. It means that if you change variables in templates, it is possible to change variables in main program. This was a bug and is now fixed not to affect to variables in main program. - Preprocessing is supported by Ruby on Rails helper. - Erubis::Eruby#evaluate() (or Erubis::RubyEvaluator#evaluate()) now creates Proc object from @src and eval it. - Erubis::Eruby#def_method() is supported. This method defines ruby code as instance method or singleton metod. - Erubis::XmlHelper.url_escape() and u() which is alias of url_escape() are added.
2007-06-11Import Erubis.minskim4-0/+50
Erubis is a fast, secure, and very extensible implementation of eRuby.