@@ -1,8 +1,18 @@
==================================================
-Changes from 2009-11-21 00:00:00 +0000 to present.
+Changes from 2009-12-09 00:00:00 +0000 to present.
==================================================
-----------------------------------------
+version 2.00 at 2014-12-08 11:50:48 +0000
+-----------------------------------------
+
+ Change: 854d160566a173277929874d0fd702697cf52a51
+ Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
+ Date : 2014-12-08 11:50:48 +0000
+
+ Add xz tarballs too
+
+-----------------------------------------
version 1.98 at 2014-11-20 23:21:35 +0000
-----------------------------------------
@@ -4,7 +4,7 @@
"Chris Williams <chris@bingosnet.co.uk>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.142690",
+ "generated_by" : "Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.143240",
"license" : [
"perl_5"
],
@@ -54,6 +54,6 @@
"web" : "https://github.com/bingos/cpan-perl-releases"
}
},
- "version" : "1.98"
+ "version" : "2.00"
}
@@ -10,7 +10,7 @@ build_requires:
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.142690'
+generated_by: 'Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.143240'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,4 +21,4 @@ requires:
resources:
homepage: https://github.com/bingos/cpan-perl-releases
repository: https://github.com/bingos/cpan-perl-releases.git
-version: '1.98'
+version: '2.00'
@@ -30,7 +30,7 @@ my %WriteMakefileArgs = (
"IPC::Open3" => 0,
"Test::More" => "0.47"
},
- "VERSION" => "1.98",
+ "VERSION" => "2.00",
"test" => {
"TESTS" => "t/*.t"
}
@@ -3,7 +3,7 @@ NAME
the tarballs
VERSION
- version 1.98
+ version 2.00
SYNOPSIS
use CPAN::Perl::Releases qw[perl_tarballs];
@@ -44,6 +44,9 @@ FUNCTIONS
Not all "perl" releases had "tar.bz2", but only a "tar.gz".
+ Perl tarballs may also be compressed using "xz" and therefore have a
+ "tar.xz" entry.
+
"perl_versions"
Returns the list of all the perl versions supported by the module in
ascending order. "TRIAL" and "RC" will be lower than an actual
@@ -1,5 +1,5 @@
name = CPAN-Perl-Releases
-version = 1.98
+version = 2.00
author = Chris Williams <chris@bingosnet.co.uk>
license = Perl_5
copyright_holder = Chris Williams
@@ -1,5 +1,5 @@
package CPAN::Perl::Releases;
-$CPAN::Perl::Releases::VERSION = '1.98';
+$CPAN::Perl::Releases::VERSION = '2.00';
#ABSTRACT: Mapping Perl releases on CPAN to the location of the tarballs
use strict;
@@ -155,7 +155,7 @@ our $data =
"5.18.3" => { id => 'RJBS' },
"5.18.4" => { id => 'RJBS' },
"5.21.5" => { id => 'ABIGAIL' },
-"5.21.6" => { id => 'BINGOS' },
+"5.21.6" => { id => 'BINGOS', xz => 1 },
};
sub perl_tarballs {
@@ -174,6 +174,7 @@ sub perl_tarballs {
my $foo = { };
$foo->{'tar.gz'} = "$path/$perl.tar.gz" unless $onlybz2;
$foo->{'tar.bz2'} = "$path/$perl.tar.bz2" unless $onlygz;
+ $foo->{'tar.xz'} = "$path/$perl.tar.xz" if $data->{ $vers }->{xz};
$cache->{ $vers } = $foo;
return { %$foo };
}
@@ -212,7 +213,7 @@ CPAN::Perl::Releases - Mapping Perl releases on CPAN to the location of the tarb
=head1 VERSION
-version 1.98
+version 2.00
=head1 SYNOPSIS
@@ -254,6 +255,8 @@ on CPAN where the indicated tarball will be located.
Not all C<perl> releases had C<tar.bz2>, but only a C<tar.gz>.
+Perl tarballs may also be compressed using C<xz> and therefore have a C<tar.xz> entry.
+
=item C<perl_versions>
Returns the list of all the perl versions supported by the module in ascending order. C<TRIAL> and C<RC> will be lower
@@ -328,6 +328,11 @@ my $stuff =
"tar.bz2" => "S/SH/SHAY/perl-5.19.3.tar.bz2",
"tar.gz" => "S/SH/SHAY/perl-5.19.3.tar.gz",
},
+ "5.21.6" => {
+ "tar.bz2" => "B/BI/BINGOS/perl-5.21.6.tar.bz2",
+ "tar.gz" => "B/BI/BINGOS/perl-5.21.6.tar.gz",
+ "tar.xz" => "B/BI/BINGOS/perl-5.21.6.tar.xz",
+ },
"5.6.0" => {
"tar.gz" => "G/GS/GSAR/perl-5.6.0.tar.gz",
},