summaryrefslogtreecommitdiff
path: root/cpan/File-Fetch
diff options
context:
space:
mode:
authorChris Williams <chris@bingosnet.co.uk>2009-11-14 23:22:32 +0000
committerChris Williams <chris@bingosnet.co.uk>2009-11-14 23:22:32 +0000
commit4192a60ab85c903bbbe3c8cb5b7e2afc0b34760c (patch)
tree49832c5c549f358a805c60d57df2c4313edd9bc4 /cpan/File-Fetch
parentd915cdf3dea05ce1dbe6adccc5e07cb531aa24d9 (diff)
downloadperl-4192a60ab85c903bbbe3c8cb5b7e2afc0b34760c.tar.gz
Updated File::Fetch to cpan version 0.22
Changes for 0.22 Sat Nov 14 23:13:16 2009 ================================================= * Bumped to stable version
Diffstat (limited to 'cpan/File-Fetch')
-rw-r--r--cpan/File-Fetch/lib/File/Fetch.pm2
-rw-r--r--cpan/File-Fetch/t/01_File-Fetch.t4
2 files changed, 4 insertions, 2 deletions
diff --git a/cpan/File-Fetch/lib/File/Fetch.pm b/cpan/File-Fetch/lib/File/Fetch.pm
index 9f1d0b6120..d90232f413 100644
--- a/cpan/File-Fetch/lib/File/Fetch.pm
+++ b/cpan/File-Fetch/lib/File/Fetch.pm
@@ -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';
diff --git a/cpan/File-Fetch/t/01_File-Fetch.t b/cpan/File-Fetch/t/01_File-Fetch.t
index 652c10ce36..b057fcb13e 100644
--- a/cpan/File-Fetch/t/01_File-Fetch.t
+++ b/cpan/File-Fetch/t/01_File-Fetch.t
@@ -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 '@'] );