Commit 647fab16 authored by Fabrizio Regalli's avatar Fabrizio Regalli

[svn-upgrade] new version libmasonx-interp-withcallbacks-perl (1.19)

parent fe6c4275
......@@ -7,7 +7,10 @@ $build_pkg->new(
module_name => 'MasonX::Interp::WithCallbacks',
license => 'perl',
configure_requires => { 'Module::Build' => '0.2701' },
build_requires => { 'Test::More' => '0.17' },
build_requires => {
'Module::Build' => '0.2701',
'Test::More' => '0.17',
},
recommends => {
'Test::Pod' => '1.20',
'Apache::TestMB' => 0
......@@ -19,4 +22,11 @@ $build_pkg->new(
'Params::CallbackRequest' => '1.15',
},
add_to_cleanup => ['t/mason'],
meta_merge => {
resources => {
homepage => 'http://search.cpan.org/dist/MasonX-Interp-WithCallbacks/',
bugtracker => 'http://github.com/theory/masonx-interp-withcallbacks/issues/',
repository => 'http://github.com/theory/masonx-interp-withcallbacks/',
}
},
)->create_build_script;
Revision history for Perl extension MasonX::Interp::WithCallbacks.
1.19 2011-06-21T04:33:14
- Fixed a pasto in the "Support" section.
- Moved repostitory to [GitHub](https://github.com/theory/class-meta/).
- Fixed installation documentation in the READE so that it demonstrates
using `Build.PL rather than `Makefile.PL`, as the latter is not
included in the distribution.
1.18 2008-05-03T23:26:42
- Added "configure_requires" parameter to Build.PL and added Test::Pod
to the "recommends" parameter.
......
Build.PL
Changes
lib/MasonX/Interp/WithCallbacks.pm
Makefile.PL
MANIFEST This list of files
META.yml
README
README.md
t/01basic.t
t/02priority.t
t/03keys.t
......@@ -20,3 +18,5 @@ t/htdocs/alt.mc
t/htdocs/dhandler
t/lib/TestCallbacks.pm
t/lib/TieOut.pm
META.yml
META.json
{
"abstract" : "Mason callback support via Params::CallbackRequest.",
"author" : [
"David E. Wheeler <david@justatheory.com>"
],
"dynamic_config" : 1,
"generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110440",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
},
"name" : "MasonX-Interp-WithCallbacks",
"prereqs" : {
"build" : {
"requires" : {
"Module::Build" : "0.2701",
"Test::More" : "0.17"
}
},
"configure" : {
"requires" : {
"Module::Build" : "0.2701"
}
},
"runtime" : {
"recommends" : {
"Apache::TestMB" : 0,
"Test::Pod" : "1.20"
},
"requires" : {
"Class::Container" : "0.09",
"HTML::Mason" : "1.23",
"Params::CallbackRequest" : "1.15",
"Test::Simple" : "0.17"
}
}
},
"provides" : {
"MasonX::Interp::WithCallbacks" : {
"file" : "lib/MasonX/Interp/WithCallbacks.pm",
"version" : "1.19"
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
"web" : "http://github.com/theory/masonx-interp-withcallbacks/issues/"
},
"homepage" : "http://search.cpan.org/dist/MasonX-Interp-WithCallbacks/",
"license" : [
"http://dev.perl.org/licenses/"
],
"repository" : {
"url" : "http://github.com/theory/masonx-interp-withcallbacks/"
}
},
"version" : "1.19"
}
---
name: MasonX-Interp-WithCallbacks
version: 1.18
abstract: 'Mason callback support via Params::CallbackRequest.'
author:
- 'David Wheeler <david@kineticode.com>'
abstract: Mason callback support via Params::CallbackRequest.
license: perl
resources:
license: http://dev.perl.org/licenses/
- 'David E. Wheeler <david@justatheory.com>'
build_requires:
Module::Build: 0.2701
Test::More: 0.17
configure_requires:
Module::Build: 0.2701
dynamic_config: 1
generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110440'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: MasonX-Interp-WithCallbacks
provides:
MasonX::Interp::WithCallbacks:
file: lib/MasonX/Interp/WithCallbacks.pm
version: 1.19
recommends:
Apache::TestMB: 0
Test::Pod: 1.20
requires:
Class::Container: 0.09
HTML::Mason: 1.23
Params::CallbackRequest: 1.15
Test::Simple: 0.17
build_requires:
Test::More: 0.17
recommends:
Apache::TestMB: 0
Test::Pod: 1.20
provides:
MasonX::Interp::WithCallbacks:
file: lib/MasonX/Interp/WithCallbacks.pm
version: 1.18
generated_by: Module::Build version 0.280801
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
version: 1.2
resources:
bugtracker: http://github.com/theory/masonx-interp-withcallbacks/issues/
homepage: http://search.cpan.org/dist/MasonX-Interp-WithCallbacks/
license: http://dev.perl.org/licenses/
repository: http://github.com/theory/masonx-interp-withcallbacks/
version: 1.19
use strict;
use ExtUtils::MakeMaker;
use File::Spec::Functions qw(catdir);
use constant HAS_APACHE_TEST => eval {
require Apache::Test && Apache::Test->VERSION >= 1.04
};
# Set up the test suite.
if (HAS_APACHE_TEST) {
require Apache::TestMM;
require Apache::TestRunPerl;
Apache::TestMM->import(qw(test clean));
Apache::TestMM::filter_args();
Apache::TestRunPerl->generate_script();
} else {
print "Skipping Apache test setup.\n";
}
my $clean = join ' ', map { catdir('t', $_) } qw(mason TEST);
WriteMakefile(
NAME => 'MasonX::Interp::WithCallbacks',
VERSION_FROM => 'lib/MasonX/Interp/WithCallbacks.pm',
PREREQ_PM => {
'HTML::Mason' => '1.23',
'Test::Simple' => '0.17',
'Class::Container' => '0.09',
'Params::CallbackRequest' => '1.15',
},
clean => { FILES => $clean },
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/MasonX/Interp/WithCallbacks.pm',
AUTHOR => 'David Wheeler <david@kineticode.com>') : ()),
);
MasonX/Interp/WithCallbacks version 1.18
MasonX/Interp/WithCallbacks version 1.19
========================================
MasonX::Interp::WithCallbacks subclasses HTML::Mason::Interp in order to
provide a Mason callback system built on Params::CallbackRequest. Callbacks
may be either code references provided to the C<new()> constructor, or methods
defined in subclasses of Params::Callback. Callbacks are triggered either for
every request or by specially named keys in the Mason request arguments, and
all callbacks are executed at the beginning of a request, just before Mason
creates and executes the request component stack.
provide a [Mason](http://search.cpan.org/dist/HTML-Mason) callback system
built on
[Params::CallbackRequest](http://search.cpan.org/dist/params-callbackrequest/).
Callbacks may be either code references provided to the `new()` constructor,
or methods defined in subclasses of Params::Callback. Callbacks are triggered
either for every request or by specially named keys in the Mason request
arguments, and all callbacks are executed at the beginning of a request, just
before Mason creates and executes the request component stack.
This module brings support for a sort of plugin architecture based on
Params::CallbackRequest to Mason. Mason then executes code before executing
any components. This approach allows you to carry out logical processing of
data submitted from a form, to affect the contents of the Mason request
arguments (and thus the %ARGS hash in components), and even to redirect or
arguments (and thus the `%ARGS` hash in components), and even to redirect or
abort the request before Mason handles it.
INSTALLATION
Installation
------------
To install this module type the following:
perl Makefile.PL
make
make test
make install
perl Build.PL
./Build
./Build test
./Build install
DEPENDENCIES
Dependencies
------------
This module requires these other modules and libraries:
Params::CallbackRequest 1.10 or later
HTML::Mason 1.23 or later
Params::Validate 0.59 or later
Exception::Class 1.10 or later
* Params::CallbackRequest 1.10 or later
* HTML::Mason 1.23 or later
* Params::Validate 0.59 or later
* Exception::Class 1.10 or later
The object-oriented callback interface requires Perl 5.6 or later and
these other modules and libraries:
Attribute::Handlers 0.77 or later
Clas::ISA
* Attribute::Handlers 0.77 or later
* Clas::ISA
The test suite requires:
Test::Simple 0.17 or later
* Test::Simple 0.17 or later
Testing of this module with HTML::Mason::ApacheHandler requires:
Apache::Test 1.03 or later
mod_perl 1.22 or later
LWP
* Apache::Test 1.03 or later
* mod_perl 1.22 or later
* LWP
COPYRIGHT AND LICENCE
Copyright and License
---------------------
Copyright (C) 2003-2008 David Wheeler. Some Rights Reserved.
Copyright (c) 2003-2011 David E. Wheeler. Some Rights Reserved.
This library is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
......@@ -8,7 +8,7 @@ use Params::CallbackRequest;
use vars qw($VERSION @ISA);
@ISA = qw(HTML::Mason::Interp);
$VERSION = '1.18';
$VERSION = '1.19';
Params::Validate::validation_options
( on_fail => sub { HTML::Mason::Exception::Params->throw( join '', @_ ) } );
......@@ -875,12 +875,14 @@ request, just as with C<< $r->pnotes >>.
=head1 SUPPORT
This module is stored in an open repository at the following address:
This module is stored in an open L<GitHub
repository|http://github.com/theory/masonx-interp-withcallbacks/>. Feel free
to fork and contribute!
L<https://svn.kineticode.com/MasonX-Interp-WithCallbacks/trunk/>
Patches against SVN::Notify are welcome. Please send bug reports to
<bug-MasonX-interp-withcallbacks@rt.cpan.org>.
Please file bug reports via L<GitHub
Issues|http://github.com/theory/masonx-interp-withcallbacks/issues/> or by
sending mail to
L<bug-MasonX-Interp-WithCallbacks.cpan.org|mailto:bug-MasonX-Interp-WithCallbacks.cpan.org>.
=head1 SEE ALSO
......@@ -902,11 +904,11 @@ new code base with a rather different approach.
=head1 AUTHOR
David Wheeler <david@kineticode.com>
David E. Wheeler <david@justatheory.com>
=head1 COPYRIGHT AND LICENSE
Copyright 2003-2008 by David Wheeler. Some Rights Reserved.
Copyright 2003-2011 by David E. Wheeler. Some Rights Reserved.
This library is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
......
#!perl -w
# $Id: 01basic.t 682 2004-09-28 05:59:10Z theory $
use strict;
use FindBin qw($Bin);
use File::Spec::Functions qw(catdir catfile);
......
#!perl -w
# $Id: 02priority.t 682 2004-09-28 05:59:10Z theory $
use strict;
use FindBin qw($Bin);
use File::Spec::Functions qw(catdir catfile);
......
#!perl -w
# $Id: 03keys.t 682 2004-09-28 05:59:10Z theory $
use strict;
use FindBin qw($Bin);
use File::Spec::Functions qw(catdir catfile);
......
#!perl -w
# $Id: 04errors.t 682 2004-09-28 05:59:10Z theory $
use strict;
use FindBin qw($Bin);
use File::Spec::Functions qw(catdir catfile);
......
#!perl -w
# $Id: 05object.t 2866 2006-05-26 22:54:37Z theory $
use strict;
use FindBin qw($Bin);
use File::Spec::Functions qw(catdir catfile);
......
#!perl -w
# $Id: 06object_request.t 682 2004-09-28 05:59:10Z theory $
use strict;
use FindBin qw($Bin);
use File::Spec::Functions qw(catdir catfile);
......
#!perl -w
# $Id: 07combined.t 682 2004-09-28 05:59:10Z theory $
use strict;
use FindBin qw($Bin);
use File::Spec::Functions qw(catdir catfile);
......
#!perl -w
# $Id: 08apache.t 3722 2008-05-03 02:25:47Z david $
use strict;
use Test::More;
......
#!perl -w
# $Id: 09cgi.t 3730 2008-05-03 23:17:25Z david $
use strict;
use FindBin qw($Bin);
use File::Spec::Functions qw(catdir);
......
#!perl -w
# $Id: 10pod.t 3504 2008-03-10 18:54:16Z theory $
use strict;
use Test::More;
eval "use Test::Pod 1.20";
......
......@@ -79,8 +79,6 @@ sub cbr_note : Callback {
package TestCallbacks;
# $Id: TestCallbacks.pm 3722 2008-05-03 02:25:47Z david $
use strict;
use HTML::Mason::ApacheHandler;
use HTML::Mason::Exceptions;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment