Accepting request 393822 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/393822 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Template-Compiled?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
79e1dfa5b9
commit
ebde380a33
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a5ce152b558909c571e0b5601545eb9da7dccdef6b97defe765f536dcc0cb8d
|
||||
size 97216
|
3
HTML-Template-Compiled-1.003.tar.gz
Normal file
3
HTML-Template-Compiled-1.003.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:27d189ebc530bea6c34d7079b2f714d5b252865f148fbf701acf70c791996809
|
||||
size 97482
|
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 5 09:23:09 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 1.003
|
||||
see /usr/share/doc/packages/perl-HTML-Template-Compiled/Changes
|
||||
|
||||
1.003 2016-05-03 14:06:00
|
||||
- Bugfix: prevent unexpected Data::Dumper config to mess with the output
|
||||
(github issue #10 bittrine++)
|
||||
- Fixed typos (github PR #9 zhouzhen1++)
|
||||
- Storable >= 2.05 (CODE refs)
|
||||
- fixed issue with parallel testing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 29 08:48:59 UTC 2015 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-HTML-Template-Compiled
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: perl-HTML-Template-Compiled
|
||||
Version: 1.002
|
||||
Version: 1.003
|
||||
Release: 0
|
||||
%define cpan_name HTML-Template-Compiled
|
||||
Summary: Template System Compiles HTML::Template files to Perl code
|
||||
@@ -39,11 +39,11 @@ Requires: perl(URI::Escape)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
HTML::Template::Compiled is a template system which can be used for the
|
||||
HTML::Template manpage templates with almost the same API. It offers more
|
||||
flexible template delimiters, additional tags and features, and by
|
||||
compiling the template into perl code it can run significantly faster in
|
||||
persistent environments such as FastCGI or mod_perl.
|
||||
HTML::Template::Compiled is a template system which can be used for
|
||||
HTML::Template templates with almost the same API. It offers more flexible
|
||||
template delimiters, additional tags and features, and by compiling the
|
||||
template into perl code it can run significantly faster in persistent
|
||||
environments such as FastCGI or mod_perl.
|
||||
|
||||
The goal is to offer more features for flexibility but keep the basic
|
||||
syntax as easy as it is.
|
||||
@@ -52,8 +52,8 @@ Features at a glance:
|
||||
|
||||
* Dot notation for objects, hashes and arrays
|
||||
|
||||
* Use expressions without any disadvantages like those in the
|
||||
HTML::Template::Expr manpage
|
||||
* Use expressions without any disadvantages like those in
|
||||
HTML::Template::Expr
|
||||
|
||||
* Write escaping plugins and plugins for new tags
|
||||
|
||||
@@ -65,25 +65,23 @@ Features at a glance:
|
||||
|
||||
* Chomp newlines/whitespace
|
||||
|
||||
For a quick reference, see the HTML::Template::Compiled::Reference manpage.
|
||||
For a quick reference, see HTML::Template::Compiled::Reference.
|
||||
|
||||
As the basic features work like in the HTML::Template manpage, please get
|
||||
familiar with its documentation before.
|
||||
As the basic features work like in HTML::Template, please get familiar with
|
||||
its documentation before.
|
||||
|
||||
HTML::Template::Compiled (HTC) does not implement all features of the
|
||||
HTML::Template manpage (see the "COMPATIBILITY" manpage), and it has got
|
||||
some additional features which are explained below: the "ADDITIONAL
|
||||
FEATURES" manpage
|
||||
HTML::Template::Compiled (HTC) does not implement all features of
|
||||
HTML::Template (see "COMPATIBILITY"), and it has got some additional
|
||||
features which are explained below: "ADDITIONAL FEATURES"
|
||||
|
||||
See the "BENCHMARKS" manpage for some examples on the performance. Since it
|
||||
depends highly on the options used and on the template size there can be no
|
||||
general statement on its performance.
|
||||
See "BENCHMARKS" for some examples on the performance. Since it depends
|
||||
highly on the options used and on the template size there can be no general
|
||||
statement on its performance.
|
||||
|
||||
You might want to use the HTML::Template::Compiled::Lazy manpage for CGI
|
||||
environments as it doesn't parse the template before calling output. But
|
||||
note that HTC::Lazy isn't much tested, and I don't use it myself, so
|
||||
there's a lack of experience. If you use it and have problems, please
|
||||
report.
|
||||
You might want to use HTML::Template::Compiled::Lazy for CGI environments
|
||||
as it doesn't parse the template before calling output. But note that
|
||||
HTC::Lazy isn't much tested, and I don't use it myself, so there's a lack
|
||||
of experience. If you use it and have problems, please report.
|
||||
|
||||
HTC will use a lot of memory because it keeps all template objects in
|
||||
memory. If you are on mod_perl, and have a lot of templates, you should
|
||||
@@ -95,8 +93,7 @@ For preloading you can use HTML::Template::Compiled->preload($cache_dir).
|
||||
Generating code, writing it on disk and later eval() it can open security
|
||||
holes, for example if you have more users on the same machine that can
|
||||
access the same files (usually an http server running as 'www' or
|
||||
'nobody'). See the "SECURITY" manpage for details what you can do to safe
|
||||
yourself.
|
||||
'nobody'). See "SECURITY" for details what you can do to safe yourself.
|
||||
|
||||
NOTE: If you don't need any of the additional features listed below and if
|
||||
you don't need the speed (in many cases it's probably not worth trading
|
||||
@@ -106,7 +103,7 @@ HTML::Template.
|
||||
NOTE2: If you have any questions, bug reports, send them to me and not to
|
||||
Sam Tregar. This module is developed by me at the moment, independently
|
||||
from HTML::Template, although I try to get most of the tests from it
|
||||
passing for HTC. See the "RESOURCES" manpage for current information.
|
||||
passing for HTC. See "RESOURCES" for current information.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
Reference in New Issue
Block a user