Hello community, here is the log from the commit of package rubygem-erubis for openSUSE:Factory checked in at Mon Mar 8 18:22:41 CET 2010. -------- --- rubygem-erubis/rubygem-erubis.changes 2007-08-05 19:03:06.000000000 +0200 +++ /mounts/work_src_done/STABLE/rubygem-erubis/rubygem-erubis.changes 2009-12-25 01:46:54.000000000 +0100 @@ -1,0 +2,39 @@ +Fri Dec 25 00:46:37 UTC 2009 - prusnak@suse.cz + +- updated to 2.6.5 + +------------------------------------------------------------------- +Wed Sep 30 13:45:04 CEST 2009 - mrueckert@suse.de + +- reenable doc + +------------------------------------------------------------------- +Wed Aug 20 17:51:06 CEST 2008 - mrueckert@suse.de + +- update to version 2.6.2: + important changes since 2.4.0 + - Ruby 1.9 support + - Rails 2.0 and 2.1 support (for details see: + http://rubyforge.org/frs/shownotes.php?release_id=18652) + - Add new section 'evaluate(context) v.s. result(binding)' to + user's guide. This section describes why + Erubis::Eruby#evaluate(context) is recommended rather than + Erubis::Eruby#result(binding). User's Guide > Other Topics > + evaluate(context) v.s. result(binding) + http://www.kuwata-lab.com/erubis/users-guide.06.html#topics-context-vs-bindi... + - 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. Default is true for + compatibility reason but it will be false in the future + release. (This feature was proposed by D.Dribin. Thank you.) + - 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. + - PercentLineEnhancer was very slow. Now performance problem is + solved. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- erubis-2.4.0.gem New: ---- erubis-2.6.5.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-erubis.spec ++++++ --- /var/tmp/diff_new_pack.awG2Er/_old 2010-03-08 18:22:33.000000000 +0100 +++ /var/tmp/diff_new_pack.awG2Er/_new 2010-03-08 18:22:33.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package rubygem-erubis (Version 2.4.0) +# spec file for package rubygem-erubis (Version 2.6.5) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -19,69 +19,44 @@ Name: rubygem-erubis -Version: 2.4.0 -Release: 141 +Version: 2.6.5 +Release: 1 +%define mod_name erubis # Group: Development/Languages/Ruby -License: GPL v2 or later +License: GPLv2+ or Ruby # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch +Requires: rubygems >= 1.3.5 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 +Source: %{mod_name}-%{version}.gem # -Summary: Erubis is a pure Ruby implementation of eRuby +Summary: Fast and extensible eRuby implementation which supports multi-language %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. - - +Erubis is an implementation of eRuby and has the following features: -Authors: --------- - makoto kuwata + * Very fast, almost three times faster than ERB and about 10% faster than eruby. + * Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript) + * Auto escaping support + * Auto trimming spaces around '<% %>' + * Embedded pattern changeable (default '<% %>') + * Enable to handle Processing Instructions (PI) as embedded pattern (ex. '<?rb ... ?>') + * Context object available and easy to combine eRuby template with YAML datafile + * Print statement available + * Easy to extend and customize in subclass + * Ruby on Rails support %prep %build %install -gem install --build-root=%{buildroot} %{S:0} +%gem_install %{S:0} %clean %{__rm} -rf %{buildroot} @@ -92,6 +67,6 @@ %{_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}/ +%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org