r77125 - in /trunk/libconfig-any-perl: Changes META.yml debian/changelog 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:53:57 UTC 2011


Author: carnil
Date: Mon Jul  4 19:53:55 2011
New Revision: 77125

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=77125
Log:
New upstream release

Modified:
    trunk/libconfig-any-perl/Changes
    trunk/libconfig-any-perl/META.yml
    trunk/libconfig-any-perl/debian/changelog
    trunk/libconfig-any-perl/lib/Config/Any.pm
    trunk/libconfig-any-perl/lib/Config/Any/XML.pm
    trunk/libconfig-any-perl/lib/Config/Any/YAML.pm
    trunk/libconfig-any-perl/t/10-branches.t
    trunk/libconfig-any-perl/t/20-parse.t
    trunk/libconfig-any-perl/t/55-yaml.t
    trunk/libconfig-any-perl/t/62-multi.t

Modified: trunk/libconfig-any-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-any-perl/Changes?rev=77125&op=diff
==============================================================================
--- trunk/libconfig-any-perl/Changes (original)
+++ trunk/libconfig-any-perl/Changes Mon Jul  4 19:53:55 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: trunk/libconfig-any-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-any-perl/META.yml?rev=77125&op=diff
==============================================================================
--- trunk/libconfig-any-perl/META.yml (original)
+++ trunk/libconfig-any-perl/META.yml Mon Jul  4 19:53:55 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: trunk/libconfig-any-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-any-perl/debian/changelog?rev=77125&op=diff
==============================================================================
--- trunk/libconfig-any-perl/debian/changelog (original)
+++ trunk/libconfig-any-perl/debian/changelog Mon Jul  4 19:53:55 2011
@@ -1,3 +1,9 @@
+libconfig-any-perl (0.22-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Salvatore Bonaccorso <carnil at debian.org>  Mon, 04 Jul 2011 21:52:18 +0200
+
 libconfig-any-perl (0.21-1) unstable; urgency=low
 
   [ Ansgar Burchardt ]

Modified: trunk/libconfig-any-perl/lib/Config/Any.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-any-perl/lib/Config/Any.pm?rev=77125&op=diff
==============================================================================
--- trunk/libconfig-any-perl/lib/Config/Any.pm (original)
+++ trunk/libconfig-any-perl/lib/Config/Any.pm Mon Jul  4 19:53:55 2011
@@ -6,7 +6,7 @@
 use Carp;
 use Module::Pluggable::Object ();
 
-our $VERSION = '0.21';
+our $VERSION = '0.22';
 
 =head1 NAME
 

Modified: trunk/libconfig-any-perl/lib/Config/Any/XML.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-any-perl/lib/Config/Any/XML.pm?rev=77125&op=diff
==============================================================================
--- trunk/libconfig-any-perl/lib/Config/Any/XML.pm (original)
+++ trunk/libconfig-any-perl/lib/Config/Any/XML.pm Mon Jul  4 19:53:55 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: trunk/libconfig-any-perl/lib/Config/Any/YAML.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-any-perl/lib/Config/Any/YAML.pm?rev=77125&op=diff
==============================================================================
--- trunk/libconfig-any-perl/lib/Config/Any/YAML.pm (original)
+++ trunk/libconfig-any-perl/lib/Config/Any/YAML.pm Mon Jul  4 19:53:55 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: trunk/libconfig-any-perl/t/10-branches.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-any-perl/t/10-branches.t?rev=77125&op=diff
==============================================================================
--- trunk/libconfig-any-perl/t/10-branches.t (original)
+++ trunk/libconfig-any-perl/t/10-branches.t Mon Jul  4 19:53:55 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: trunk/libconfig-any-perl/t/20-parse.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-any-perl/t/20-parse.t?rev=77125&op=diff
==============================================================================
--- trunk/libconfig-any-perl/t/20-parse.t (original)
+++ trunk/libconfig-any-perl/t/20-parse.t Mon Jul  4 19:53:55 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: trunk/libconfig-any-perl/t/55-yaml.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-any-perl/t/55-yaml.t?rev=77125&op=diff
==============================================================================
--- trunk/libconfig-any-perl/t/55-yaml.t (original)
+++ trunk/libconfig-any-perl/t/55-yaml.t Mon Jul  4 19:53:55 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: trunk/libconfig-any-perl/t/62-multi.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-any-perl/t/62-multi.t?rev=77125&op=diff
==============================================================================
--- trunk/libconfig-any-perl/t/62-multi.t (original)
+++ trunk/libconfig-any-perl/t/62-multi.t Mon Jul  4 19:53:55 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