NOTICE: This package has been removed from pkgsrc

./www/erubis, Fast, secure, and extensible implementation of eRuby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 2.6.6, Package name: ruby18-erubis-2.6.6, Maintainer: minskim

Erubis is a fast, secure, and very extensible implementation of eRuby.


Required to run:
[misc/rubygems] [lang/ruby18-base] [devel/ruby-abstract]

Required to build:
[misc/rubygems]

Master sites:

SHA1: f044e9500a272d4fb2e40368c352350bf92f46f5
RMD160: e3053b862cc6f9b4e28014691708bed80caf1815
Filesize: 160 KB

Version history: (Expand)


CVS history: (Expand)


   2011-12-24 04:25:25 by Takahiro Kambe | Files touched by this commit (4) | Package removed
Log message:
I forgot to remove www/erubis which already renamed to www/ruby-erubis.
   2011-06-10 05:48:01 by Takahiro Kambe | Files touched by this commit (1)
Log message:
Add a note to be careful for updating this package.
   2010-09-13 16:12:15 by Takahiro Kambe | Files touched by this commit (9)
Log message:
* Add CONFLICTS a pattern matches previous package name
  without "${RUBY_PKGPREFIX}-".
   2010-09-10 12:53:50 by Takahiro Kambe | Files touched by this commit (3)
Log message:
Update www/erubis pacakge to 2.6.6.

* 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-15 00:00:42 by Joerg Sonnenberger | Files touched by this commit (316)
Log message:
Convert @exec/@unexec to @pkgdir or drop it.
   2008-04-04 17:22:47 by Johnny C. Lam | Files touched by this commit (3)
Log message:
Update erubis to version 2.5.0.  Changes from version 2.3.1 include:

+ 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-11 06:55:33 by Min Sik Kim | Files touched by this commit (4) | Imported package
Log message:
Import Erubis.

Erubis is a fast, secure, and very extensible implementation of eRuby.