Updated File::Fetch to cpan version 0.22
Chris Williams [Sat, 14 Nov 2009 23:22:32 +0000 (23:22 +0000)]
  Changes for 0.22        Sat Nov 14 23:13:16 2009
  =================================================
  * Bumped to stable version

Porting/Maintainers.pl
cpan/File-Fetch/lib/File/Fetch.pm
cpan/File-Fetch/t/01_File-Fetch.t

index c16ff6a..de8c33c 100755 (executable)
@@ -660,7 +660,7 @@ use File::Glob qw(:case);
     'File::Fetch' =>
        {
        'MAINTAINER'    => 'kane',
-       'DISTRIBUTION'  => 'BINGOS/File-Fetch-0.21_02.tar.gz',
+       'DISTRIBUTION'  => 'BINGOS/File-Fetch-0.22.tar.gz',
        'FILES'         => q[cpan/File-Fetch],
        'CPAN'          => 1,
        'UPSTREAM'      => 'cpan',
index 9f1d0b6..d90232f 100644 (file)
@@ -22,7 +22,7 @@ use vars    qw[ $VERBOSE $PREFER_BIN $FROM_EMAIL $USER_AGENT
                 $FTP_PASSIVE $TIMEOUT $DEBUG $WARN
             ];
 
-$VERSION        = '0.21_02';
+$VERSION        = '0.22';
 $VERSION        = eval $VERSION;    # avoid warnings with development releases
 $PREFER_BIN     = 0;                # XXX TODO implement
 $FROM_EMAIL     = 'File-Fetch@example.com';
index 652c10c..b057fcb 100644 (file)
@@ -116,7 +116,9 @@ push @map, (
 
 
 ### sanity tests
-{   like( $File::Fetch::USER_AGENT, qr/$File::Fetch::VERSION/,
+{   
+    no warnings;
+    like( $File::Fetch::USER_AGENT, qr/$File::Fetch::VERSION/,
                                 "User agent contains version" );
     like( $File::Fetch::FROM_EMAIL, qr/@/,
                                 q[Email contains '@'] );