r2301 - in
packages/libcgi-application-perl/branches/upstream/current: .
lib/CGI t
Jaldhar H. Vyas
jaldhar at costa.debian.org
Fri Mar 10 21:00:06 UTC 2006
Author: jaldhar
Date: 2006-03-10 21:00:06 +0000 (Fri, 10 Mar 2006)
New Revision: 2301
Modified:
packages/libcgi-application-perl/branches/upstream/current/Build.PL
packages/libcgi-application-perl/branches/upstream/current/Changes
packages/libcgi-application-perl/branches/upstream/current/META.yml
packages/libcgi-application-perl/branches/upstream/current/Makefile.PL
packages/libcgi-application-perl/branches/upstream/current/lib/CGI/Application.pm
packages/libcgi-application-perl/branches/upstream/current/t/01cgiapp.t
packages/libcgi-application-perl/branches/upstream/current/t/07postrun.t
Log:
Load /tmp/tmp.bkSlls/libcgi-application-perl-4.05 into
packages/libcgi-application-perl/branches/upstream/current.
Modified: packages/libcgi-application-perl/branches/upstream/current/Build.PL
===================================================================
--- packages/libcgi-application-perl/branches/upstream/current/Build.PL 2006-03-09 21:14:38 UTC (rev 2300)
+++ packages/libcgi-application-perl/branches/upstream/current/Build.PL 2006-03-10 21:00:06 UTC (rev 2301)
@@ -5,7 +5,8 @@
module_name => 'CGI::Application',
license => 'perl',
requires => {
- 'CGI' => 0,
+ # For Moved vs Found change
+ 'CGI' => 3.16,
'HTML::Template' => 0,
'Test::More' => 0.47,
'Carp' => 0,
@@ -14,6 +15,9 @@
'dist_author' => 'Jesse Erlbaum <jesse at erlbaum.net>',
'dist_abstract' => 'Framework for building reusable web-applications',
create_makefile_pl => 'traditional',
+ meta_add => {
+ no_index => { file => [ <test/*.pm> ] },
+ },
);
$build->create_build_script;
Modified: packages/libcgi-application-perl/branches/upstream/current/Changes
===================================================================
--- packages/libcgi-application-perl/branches/upstream/current/Changes 2006-03-09 21:14:38 UTC (rev 2300)
+++ packages/libcgi-application-perl/branches/upstream/current/Changes 2006-03-10 21:00:06 UTC (rev 2301)
@@ -1,5 +1,12 @@
Revision history for Perl extension CGI::Application.
+4.05 Wed Mar 1, 2006
+ (No code changes)
+
+ - Updated tests for redirects to check for 'Found', not 'Moved'.
+ This correctly matches the standard, and was changed in CGI.pm 3.16.
+ As a result, we now require CGI.pm 3.16 for consistent results.
+
4.04 Wed Oct 11, 2005
- No code changes since 4.04_02. Declaring stable.
Modified: packages/libcgi-application-perl/branches/upstream/current/META.yml
===================================================================
--- packages/libcgi-application-perl/branches/upstream/current/META.yml 2006-03-09 21:14:38 UTC (rev 2300)
+++ packages/libcgi-application-perl/branches/upstream/current/META.yml 2006-03-10 21:00:06 UTC (rev 2301)
@@ -1,12 +1,12 @@
--- #YAML:1.0
name: CGI-Application
-version: 4.04
+version: 4.05
author:
- Jesse Erlbaum <jesse at erlbaum.net>
abstract: Framework for building reusable web-applications
license: perl
requires:
- CGI: 0
+ CGI: 3.16
Carp: 0
Class::ISA: 0
HTML::Template: 0
@@ -14,7 +14,7 @@
provides:
CGI::Application:
file: lib/CGI/Application.pm
- version: 4.04
+ version: 4.05
CGI::Application::Mailform:
file: lib/CGI/Application/Mailform.pm
generated_by: Module::Build version 0.2611
Modified: packages/libcgi-application-perl/branches/upstream/current/Makefile.PL
===================================================================
--- packages/libcgi-application-perl/branches/upstream/current/Makefile.PL 2006-03-09 21:14:38 UTC (rev 2300)
+++ packages/libcgi-application-perl/branches/upstream/current/Makefile.PL 2006-03-10 21:00:06 UTC (rev 2301)
@@ -5,7 +5,7 @@
'NAME' => 'CGI::Application',
'VERSION_FROM' => 'lib/CGI/Application.pm',
'PREREQ_PM' => {
- 'CGI' => '0',
+ 'CGI' => '3.16',
'Carp' => '0',
'Class::ISA' => '0',
'HTML::Template' => '0',
Modified: packages/libcgi-application-perl/branches/upstream/current/lib/CGI/Application.pm
===================================================================
--- packages/libcgi-application-perl/branches/upstream/current/lib/CGI/Application.pm 2006-03-09 21:14:38 UTC (rev 2300)
+++ packages/libcgi-application-perl/branches/upstream/current/lib/CGI/Application.pm 2006-03-10 21:00:06 UTC (rev 2301)
@@ -3,7 +3,7 @@
use strict;
use Class::ISA;
-$CGI::Application::VERSION = '4.04';
+$CGI::Application::VERSION = '4.05';
my %INSTALLED_CALLBACKS = (
# hook name package sub
Modified: packages/libcgi-application-perl/branches/upstream/current/t/01cgiapp.t
===================================================================
--- packages/libcgi-application-perl/branches/upstream/current/t/01cgiapp.t 2006-03-09 21:14:38 UTC (rev 2300)
+++ packages/libcgi-application-perl/branches/upstream/current/t/01cgiapp.t 2006-03-10 21:00:06 UTC (rev 2301)
@@ -47,7 +47,7 @@
my $app = TestApp->new();
$app->query(CGI->new({'test_rm' => 'redirect_test'}));
my $output = $app->run();
- like($output, qr/^Status: 302 Moved/);
+ like($output, qr/^Status: 302 Found/);
like($output, qr/Hello World: redirect_test/);
}
@@ -246,7 +246,7 @@
my $output = $app->run();
like($output, qr/test: 1/i);
- like($output, qr/Moved/);
+ like($output, qr/Found/);
}
# testing setting header_props more than once
@@ -305,7 +305,7 @@
my $output = $app->run();
like($output, qr/test: 1/i);
- like($output, qr/Moved/);
+ like($output, qr/Found/);
}
Modified: packages/libcgi-application-perl/branches/upstream/current/t/07postrun.t
===================================================================
--- packages/libcgi-application-perl/branches/upstream/current/t/07postrun.t 2006-03-09 21:14:38 UTC (rev 2300)
+++ packages/libcgi-application-perl/branches/upstream/current/t/07postrun.t 2006-03-10 21:00:06 UTC (rev 2301)
@@ -26,7 +26,7 @@
my $q = CGI->new({rm=>"postrun_header"});
my $app = TestApp9->new(QUERY=>$q);
my $output = $app->run();
- like($output, qr/302 Moved/, "Postrun header is redirect");
+ like($output, qr/302 Found/, "Postrun header is redirect");
like($output, qr/postrun.html/, "Postrun header is redirect to postrun.html");
like($output, qr/Hello world: postrun_header/, "Hello world: postrun_header");
unlike($output, qr/postrun\ was\ here/, "Postrun was NOT here");
More information about the Pkg-perl-cvs-commits
mailing list