[Catalyst-commits] r7132 - in trunk/Config-Any: . lib/Config
lib/Config/Any t
bricas at dev.catalyst.perl.org
bricas at dev.catalyst.perl.org
Tue Nov 13 19:30:30 GMT 2007
Author: bricas
Date: 2007-11-13 19:30:30 +0000 (Tue, 13 Nov 2007)
New Revision: 7132
Modified:
trunk/Config-Any/Changes
trunk/Config-Any/lib/Config/Any.pm
trunk/Config-Any/lib/Config/Any/YAML.pm
trunk/Config-Any/t/62-multi.t
Log:
require YAML::Syck 0.70 for multi-document loading
Modified: trunk/Config-Any/Changes
===================================================================
--- trunk/Config-Any/Changes 2007-11-13 18:32:12 UTC (rev 7131)
+++ trunk/Config-Any/Changes 2007-11-13 19:30:30 UTC (rev 7132)
@@ -1,5 +1,8 @@
Revision history for Config-Any
+0.09_02 Tue Nov 13 2007
+ - require version 0.70 of YAML::Syck for multi-document loading
+
0.09_01 Tue Nov 13 2007
- code and pod cleanups
- use_ext is now on by default
Modified: trunk/Config-Any/lib/Config/Any/YAML.pm
===================================================================
--- trunk/Config-Any/lib/Config/Any/YAML.pm 2007-11-13 18:32:12 UTC (rev 7131)
+++ trunk/Config-Any/lib/Config/Any/YAML.pm 2007-11-13 19:30:30 UTC (rev 7132)
@@ -41,7 +41,7 @@
my $class = shift;
my $file = shift;
- eval { require YAML::Syck; };
+ eval { require YAML::Syck; YAML::Syck->VERSION( '0.70' ) };
if ( $@ ) {
require YAML;
return YAML::LoadFile( $file );
Modified: trunk/Config-Any/lib/Config/Any.pm
===================================================================
--- trunk/Config-Any/lib/Config/Any.pm 2007-11-13 18:32:12 UTC (rev 7131)
+++ trunk/Config-Any/lib/Config/Any.pm 2007-11-13 19:30:30 UTC (rev 7132)
@@ -6,7 +6,7 @@
use Carp;
use Module::Pluggable::Object ();
-our $VERSION = '0.09_01';
+our $VERSION = '0.09_02';
=head1 NAME
@@ -14,7 +14,7 @@
=head1 VERSION
-This document describes Config::Any version 0.09_01
+This document describes Config::Any version 0.09_02
=head1 SYNOPSIS
Modified: trunk/Config-Any/t/62-multi.t
===================================================================
--- trunk/Config-Any/t/62-multi.t 2007-11-13 18:32:12 UTC (rev 7131)
+++ trunk/Config-Any/t/62-multi.t 2007-11-13 19:30:30 UTC (rev 7132)
@@ -19,7 +19,7 @@
my @results = eval { Config::Any::YAML->load( $file ); };
SKIP: {
- skip "Can't load YAML files", 3 if $@;
+ skip "Can't load multi-stream YAML files", 3 if $@;
is( @results, 2, '2 documents' );
is_deeply( \@results, \@expect, 'structures ok' );
More information about the Catalyst-commits
mailing list