r77123 - in /branches/upstream/libconfig-any-perl/current: Changes META.yml lib/Config/Any.pm lib/Config/Any/XML.pm lib/Config/Any/YAML.pm t/10-branches.t t/20-parse.t t/55-yaml.t t/62-multi.t
carnil at users.alioth.debian.org
carnil at users.alioth.debian.org
Mon Jul 4 19:51:47 UTC 2011
Author: carnil
Date: Mon Jul 4 19:51:38 2011
New Revision: 77123
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=77123
Log:
[svn-upgrade] new version libconfig-any-perl (0.22)
Modified:
branches/upstream/libconfig-any-perl/current/Changes
branches/upstream/libconfig-any-perl/current/META.yml
branches/upstream/libconfig-any-perl/current/lib/Config/Any.pm
branches/upstream/libconfig-any-perl/current/lib/Config/Any/XML.pm
branches/upstream/libconfig-any-perl/current/lib/Config/Any/YAML.pm
branches/upstream/libconfig-any-perl/current/t/10-branches.t
branches/upstream/libconfig-any-perl/current/t/20-parse.t
branches/upstream/libconfig-any-perl/current/t/55-yaml.t
branches/upstream/libconfig-any-perl/current/t/62-multi.t
Modified: branches/upstream/libconfig-any-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-any-perl/current/Changes?rev=77123&op=diff
==============================================================================
--- branches/upstream/libconfig-any-perl/current/Changes (original)
+++ branches/upstream/libconfig-any-perl/current/Changes Mon Jul 4 19:51:38 2011
@@ -1,4 +1,8 @@
Revision history for Config-Any
+
+0.22 2011-07-04
+ - add XML::NamespaceSupport to XML format deps, silence YAML warnings in
+ tests (caelum)
0.21 2011-05-25
- fix t/64-extfail.t to pass when t/lib is in @INC
Modified: branches/upstream/libconfig-any-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-any-perl/current/META.yml?rev=77123&op=diff
==============================================================================
--- branches/upstream/libconfig-any-perl/current/META.yml (original)
+++ branches/upstream/libconfig-any-perl/current/META.yml Mon Jul 4 19:51:38 2011
@@ -24,4 +24,4 @@
resources:
license: http://dev.perl.org/licenses/
repository: git://git.shadowcat.co.uk/p5sagit/Config-Any.git
-version: 0.21
+version: 0.22
Modified: branches/upstream/libconfig-any-perl/current/lib/Config/Any.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-any-perl/current/lib/Config/Any.pm?rev=77123&op=diff
==============================================================================
--- branches/upstream/libconfig-any-perl/current/lib/Config/Any.pm (original)
+++ branches/upstream/libconfig-any-perl/current/lib/Config/Any.pm Mon Jul 4 19:51:38 2011
@@ -6,7 +6,7 @@
use Carp;
use Module::Pluggable::Object ();
-our $VERSION = '0.21';
+our $VERSION = '0.22';
=head1 NAME
Modified: branches/upstream/libconfig-any-perl/current/lib/Config/Any/XML.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-any-perl/current/lib/Config/Any/XML.pm?rev=77123&op=diff
==============================================================================
--- branches/upstream/libconfig-any-perl/current/lib/Config/Any/XML.pm (original)
+++ branches/upstream/libconfig-any-perl/current/lib/Config/Any/XML.pm Mon Jul 4 19:51:38 2011
@@ -76,11 +76,12 @@
=head2 requires_all_of( )
-Specifies that this module requires L<XML::Simple> in order to work.
+Specifies that this module requires L<XML::Simple> and L<XML::NamespaceSupport>
+in order to work.
=cut
-sub requires_all_of { 'XML::Simple' }
+sub requires_all_of { 'XML::Simple', 'XML::NamespaceSupport' }
=head1 CAVEATS
Modified: branches/upstream/libconfig-any-perl/current/lib/Config/Any/YAML.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-any-perl/current/lib/Config/Any/YAML.pm?rev=77123&op=diff
==============================================================================
--- branches/upstream/libconfig-any-perl/current/lib/Config/Any/YAML.pm (original)
+++ branches/upstream/libconfig-any-perl/current/lib/Config/Any/YAML.pm Mon Jul 4 19:51:38 2011
@@ -41,6 +41,8 @@
=cut
+our $NO_YAML_XS_WARNING;
+
sub load {
my $class = shift;
my $file = shift;
@@ -52,7 +54,8 @@
Carp::carp
'Use of YAML::Syck or YAML to parse config files is DEPRECATED. '
- . 'Please install YAML::XS for proper YAML support';
+ . 'Please install YAML::XS for proper YAML support'
+ unless $NO_YAML_XS_WARNING;
eval { require YAML::Syck; YAML::Syck->VERSION( '0.70' ) };
unless ( $@ ) {
Modified: branches/upstream/libconfig-any-perl/current/t/10-branches.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-any-perl/current/t/10-branches.t?rev=77123&op=diff
==============================================================================
--- branches/upstream/libconfig-any-perl/current/t/10-branches.t (original)
+++ branches/upstream/libconfig-any-perl/current/t/10-branches.t Mon Jul 4 19:51:38 2011
@@ -1,10 +1,14 @@
use strict;
use warnings;
+no warnings 'once';
# use Test::Without::Module qw(YAML YAML::Syck Config::General XML::Simple JSON JSON::Syck Config::Tiny );
-use Test::More tests => 10;
+use Test::More tests => 11;
use_ok( 'Config::Any' );
+use_ok( 'Config::Any::YAML' );
+
+$Config::Any::YAML::NO_YAML_XS_WARNING = 1;
{
my @warnings;
Modified: branches/upstream/libconfig-any-perl/current/t/20-parse.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-any-perl/current/t/20-parse.t?rev=77123&op=diff
==============================================================================
--- branches/upstream/libconfig-any-perl/current/t/20-parse.t (original)
+++ branches/upstream/libconfig-any-perl/current/t/20-parse.t Mon Jul 4 19:51:38 2011
@@ -1,6 +1,7 @@
package MockApp;
use strict;
use warnings;
+no warnings 'once';
$|++;
use Test::More tests => 54;
@@ -12,6 +13,8 @@
use Config::Any::Perl;
use Config::Any::XML;
use Config::Any::YAML;
+
+$Config::Any::YAML::NO_YAML_XS_WARNING = 1;
our %ext_map = (
conf => 'Config::Any::General',
Modified: branches/upstream/libconfig-any-perl/current/t/55-yaml.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-any-perl/current/t/55-yaml.t?rev=77123&op=diff
==============================================================================
--- branches/upstream/libconfig-any-perl/current/t/55-yaml.t (original)
+++ branches/upstream/libconfig-any-perl/current/t/55-yaml.t Mon Jul 4 19:51:38 2011
@@ -1,8 +1,11 @@
use strict;
use warnings;
+no warnings 'once';
use Test::More;
use Config::Any::YAML;
+
+$Config::Any::YAML::NO_YAML_XS_WARNING = 1;
if ( !Config::Any::YAML->is_supported ) {
plan skip_all => 'YAML format not supported';
Modified: branches/upstream/libconfig-any-perl/current/t/62-multi.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-any-perl/current/t/62-multi.t?rev=77123&op=diff
==============================================================================
--- branches/upstream/libconfig-any-perl/current/t/62-multi.t (original)
+++ branches/upstream/libconfig-any-perl/current/t/62-multi.t Mon Jul 4 19:51:38 2011
@@ -1,10 +1,13 @@
use strict;
use warnings;
+no warnings 'once';
use Test::More tests => 3;
use Config::Any;
use Config::Any::YAML;
+
+$Config::Any::YAML::NO_YAML_XS_WARNING = 1;
my $file = 't/multi/conf.yml';
my @expect = (
More information about the Pkg-perl-cvs-commits
mailing list