diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2015-02-11 14:26:13 +0000 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2015-02-11 14:26:13 +0000 |
commit | e2e9df706c4de2288ad14439a7f742532bc0665d (patch) | |
tree | 79d17e6f8c55a75fb4d70d6311d382a46ea9a909 /cpan | |
parent | 3823048b64b018d16e9a9cc16add1847fe60e6bd (diff) | |
download | perl-e2e9df706c4de2288ad14439a7f742532bc0665d.tar.gz |
Update Config-Perl-V to CPAN version 0.23
[DELTA]
0.23 - 11 Feb 2015, H.Merijn Brand
* Update copyright to 2015
* Add summary tests
* Remove perl recommendation from META as it breaks cpan clients
* Move repo to github
Diffstat (limited to 'cpan')
-rw-r--r-- | cpan/Config-Perl-V/V.pm | 4 | ||||
-rw-r--r-- | cpan/Config-Perl-V/t/10_base.t | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/cpan/Config-Perl-V/V.pm b/cpan/Config-Perl-V/V.pm index 4cbf6fe66f..a922a75452 100644 --- a/cpan/Config-Perl-V/V.pm +++ b/cpan/Config-Perl-V/V.pm @@ -8,7 +8,7 @@ use warnings; use Config; use Exporter; use vars qw($VERSION @ISA @EXPORT_OK %EXPORT_TAGS); -$VERSION = "0.22"; +$VERSION = "0.23"; @ISA = ("Exporter"); @EXPORT_OK = qw( plv2hash summary myconfig signature ); %EXPORT_TAGS = ( @@ -534,7 +534,7 @@ H.Merijn Brand <h.m.brand@xs4all.nl> =head1 COPYRIGHT AND LICENSE -Copyright (C) 2009-2014 H.Merijn Brand +Copyright (C) 2009-2015 H.Merijn Brand This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/cpan/Config-Perl-V/t/10_base.t b/cpan/Config-Perl-V/t/10_base.t index a0a220c8dc..6113828f06 100644 --- a/cpan/Config-Perl-V/t/10_base.t +++ b/cpan/Config-Perl-V/t/10_base.t @@ -5,7 +5,7 @@ use warnings; BEGIN { use Test::More; - my $tests = 9; + my $tests = 12; unless ($ENV{PERL_CORE}) { require Test::NoWarnings; Test::NoWarnings->import (); @@ -21,6 +21,11 @@ ok (my $conf = Config::Perl::V::myconfig, "Read config"); ok (exists $conf->{$_}, "Has $_ entry") for qw( build environment config inc ); is (lc $conf->{build}{osname}, lc $conf->{config}{osname}, "osname"); +# Test summary +ok (my $info1 = Config::Perl::V::summary ($conf), "Get a summary for \$conf"); +ok (my $info2 = Config::Perl::V::summary, "Get a summary for \$^X"); +is_deeply ($info1, $info2, "Info should match"); + SKIP: { # Test that the code that shells out to perl -V and parses the output # gives the same results as the code that calls Config::* routines directly. |