Adapt to latest dzil
Florian Ragwitz [Thu, 27 May 2010 03:14:43 +0000 (03:14 +0000)]
dist.ini
lib/HTTP/Request/AsCGI.pm

index 4bc628c..b078f86 100644 (file)
--- a/dist.ini
+++ b/dist.ini
@@ -14,9 +14,8 @@ IO::File = 0
 Test::More = 0
 URI::Escape = 0
 
-[@Classic]
-
-[PodPurler]
-
-[MetaResources]
+[@FLORA]
+dist = HTTP-Request-AsCGI
 repository = http://dev.catalyst.perl.org/repos/Catalyst/HTTP-Request-AsCGI
+repository_web = http://dev.catalystframework.org/svnweb/Catalyst/browse/HTTP-Request-AsCGI
+repository_type = svn
index 27b7f54..355097d 100644 (file)
@@ -15,6 +15,7 @@ use URI::Escape ();
 __PACKAGE__->mk_accessors(qw[ environment request stdin stdout stderr ]);
 
 # old typo
+
 =begin Pod::Coverage
 
   enviroment
@@ -67,7 +68,7 @@ sub new {
         SERVER_NAME       => $uri->host,
         SERVER_PORT       => $uri->port,
         SERVER_PROTOCOL   => $request->protocol || 'HTTP/1.1',
-        SERVER_SOFTWARE   => "HTTP-Request-AsCGI/$VERSION",
+        SERVER_SOFTWARE   => 'HTTP-Request-AsCGI/' . our $VERSION,
         REMOTE_ADDR       => '127.0.0.1',
         REMOTE_HOST       => 'localhost',
         REMOTE_PORT       => int( rand(64000) + 1000 ),                   # not in RFC 3875