Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
rubygem-erubis
rubygem-erubis.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-erubis.spec of Package rubygem-erubis
# # spec file for package rubygem-erubis (Version 2.4.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: rubygem-erubis Version: 2.4.0 Release: 141 # Group: Development/Languages/Ruby License: GPL v2 or later # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch BuildRequires: rubygem-abstract >= 1.0.0 Requires: rubygems >= 0.8.11 Requires: rubygem-abstract >= 1.0.0 %define mod_name erubis # Url: http://www.kuwata-lab.com/erubis/ # http://rubyforge.org/projects/erubis/ Source: http://rubyforge.org/frs/download.php/22961/erubis-2.4.0.gem # Summary: Erubis is a pure Ruby implementation of eRuby %description Erubis is a pure Ruby implementation of eRuby. It has the following features. * Very fast, almost three times faster than ERB and even as fast as eruby (implemented in C) * Auto escaping (sanitizing) support * Auto trimming spaces around '<% %>' * Embedded pattern changeable (default '<% %>') * Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript) * Context object available and easy to combine eRuby template with YAML datafile * Easy to expand in subclass, for example: - Print statement support - Lines starting with percent character ('%') support - Another embedded pattern support - etc... Erubis supports not only Ruby but also PHP, C, Java, Scheme, Perl, and Javascript. You can embed these language code into your document and compile it into target program code. Authors: -------- makoto kuwata %prep %build %install gem install --build-root=%{buildroot} %{S:0} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/erubis %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec #doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ %changelog * Sun Aug 05 2007 mrueckert@suse.de - update to version 2.4.0: - Preprocessing is supported by Ruby on Rails helper. Preprocessing makes Ruby on Rails application about 20-40 percent faster. - Erubis::Eruby#evaluate() (or Erubis::RubyEvaluator#evaluate()) 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. This is equivarent to ERB#Util.url_escape(). - additional changes from 2.3.1: * A serious bug in 'helpers/rails_helper.rb' is fixed. You must be update if you are using Erubis with Ruby on Rails. * Thu May 24 2007 mrueckert@suse.de - update to version 2.3.0: another bugfix release * Tue May 22 2007 mrueckert@suse.de - update to version 2.2.0: toooooooooooo long: see CHANGES file * Fri Sep 29 2006 mrueckert@suse.de - Update to version 2.1.0: * Ruby on Rails support. * Another eRuby engine (PIEngine) support. This engine doesn't break HTML design because it uses Processing Instructions (PI) '<?rb .. ?>' as embedded pattern instead of '<%% .. %%>'. * Add new command 'notext' which remove text part from eRuby script and leaves only Ruby code. This is very useful when debugging eRuby script. * Add new enhance 'NoCode' which removes ruby code from eRuby script and leaves only HTML text part. It is very useful to validate HTML of eRuby script. * License is changed to LGPL. * Command-line property '--escape=name' is renamed to '--escapefunc=name'. * When command-line option '-l perl' is specified, function 'encode_entities()' is used ad escaping function which is available wth HTML::Entities module. * There is a certain pattern which makes Engine#convert() too slow. Now Engne#convert() is fixed not to be slown. * Command name is now displayed when '-h' is specified. * Wed Jun 21 2006 mrueckert@suse.de - use rubygems_with_buildroot_patch instead of the versioned buildrequires * Mon Jun 19 2006 mrueckert@suse.de - Initial package version 2.0.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor