r2597 - in packages/libcgi-application-perl/branches/upstream/current: . lib/CGI t

Niko Tyni ntyni-guest at costa.debian.org
Tue Apr 18 10:46:35 UTC 2006


Author: ntyni-guest
Date: 2006-04-18 10:46:34 +0000 (Tue, 18 Apr 2006)
New Revision: 2597

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.UNHPA7/libcgi-application-perl-4.06 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-04-18 06:24:58 UTC (rev 2596)
+++ packages/libcgi-application-perl/branches/upstream/current/Build.PL	2006-04-18 10:46:34 UTC (rev 2597)
@@ -6,7 +6,7 @@
    license => 'perl',
    requires => {
        # For Moved vs Found change
-       'CGI'            => 3.16, 
+       'CGI'            => 0, 
        'HTML::Template' => 0,
        'Test::More'     => 0.47,
 	   'Carp'		    => 0,

Modified: packages/libcgi-application-perl/branches/upstream/current/Changes
===================================================================
--- packages/libcgi-application-perl/branches/upstream/current/Changes	2006-04-18 06:24:58 UTC (rev 2596)
+++ packages/libcgi-application-perl/branches/upstream/current/Changes	2006-04-18 10:46:34 UTC (rev 2597)
@@ -1,5 +1,11 @@
 Revision history for Perl extension CGI::Application.
 
+4.06 Wed Apr 12, 2006
+    (No code changes)
+    - Updated tests to work with status codes emitted before and after CGI.pm 3.16. 
+      The requirement for CGI.pm 3.16 or newer has been relaxed, so any version
+      of CGI.pm will do. (Rhesa)
+
 4.05 Wed Mar  1, 2006
     (No code changes)
 

Modified: packages/libcgi-application-perl/branches/upstream/current/META.yml
===================================================================
--- packages/libcgi-application-perl/branches/upstream/current/META.yml	2006-04-18 06:24:58 UTC (rev 2596)
+++ packages/libcgi-application-perl/branches/upstream/current/META.yml	2006-04-18 10:46:34 UTC (rev 2597)
@@ -1,12 +1,12 @@
 --- #YAML:1.0
 name: CGI-Application
-version: 4.05
+version: 4.06
 author:
   - Jesse Erlbaum <jesse at erlbaum.net>
 abstract: Framework for building reusable web-applications
 license: perl
 requires:
-  CGI: 3.16
+  CGI: 0
   Carp: 0
   Class::ISA: 0
   HTML::Template: 0
@@ -14,7 +14,7 @@
 provides:
   CGI::Application:
     file: lib/CGI/Application.pm
-    version: 4.05
+    version: 4.06
   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-04-18 06:24:58 UTC (rev 2596)
+++ packages/libcgi-application-perl/branches/upstream/current/Makefile.PL	2006-04-18 10:46:34 UTC (rev 2597)
@@ -5,7 +5,7 @@
           'NAME' => 'CGI::Application',
           'VERSION_FROM' => 'lib/CGI/Application.pm',
           'PREREQ_PM' => {
-                           'CGI' => '3.16',
+                           'CGI' => '0',
                            '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-04-18 06:24:58 UTC (rev 2596)
+++ packages/libcgi-application-perl/branches/upstream/current/lib/CGI/Application.pm	2006-04-18 10:46:34 UTC (rev 2597)
@@ -3,7 +3,7 @@
 use strict;
 use Class::ISA;
 
-$CGI::Application::VERSION = '4.05';
+$CGI::Application::VERSION = '4.06';
 
 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-04-18 06:24:58 UTC (rev 2596)
+++ packages/libcgi-application-perl/branches/upstream/current/t/01cgiapp.t	2006-04-18 10:46:34 UTC (rev 2597)
@@ -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 Found/);
+	like($output, qr/^Status: 302/);
 	like($output, qr/Hello World: redirect_test/);
 }
 
@@ -246,7 +246,7 @@
 	my $output = $app->run();
 
 	like($output, qr/test: 1/i);
-	like($output, qr/Found/);
+	like($output, qr/Status: 302/);
 }
 
 # testing setting header_props more than once
@@ -305,7 +305,7 @@
 	my $output = $app->run();
 
 	like($output, qr/test: 1/i);
-	like($output, qr/Found/);
+	like($output, qr/Status: 302/);
 }
 
 

Modified: packages/libcgi-application-perl/branches/upstream/current/t/07postrun.t
===================================================================
--- packages/libcgi-application-perl/branches/upstream/current/t/07postrun.t	2006-04-18 06:24:58 UTC (rev 2596)
+++ packages/libcgi-application-perl/branches/upstream/current/t/07postrun.t	2006-04-18 10:46:34 UTC (rev 2597)
@@ -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 Found/, "Postrun header is redirect");
+    like($output, qr/^Status: 302/, "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