Permalink
Browse files

fixed yaml load error with latest YAML.pm

  • Loading branch information...
1 parent 720bb81 commit 151282b649259a7b5b87a6331940005a37e9e77e typester committed Jul 7, 2006
Showing with 8 additions and 4 deletions.
  1. +3 −0 Changes
  2. +2 −2 META.yml
  3. +3 −2 lib/Catalyst/Plugin/FormValidator/Simple/Auto.pm
View
3 Changes
@@ -1,5 +1,8 @@
Revision history for Perl module Catalyst::Plugin::FormValidator::Simple::Auto
+0.04 2006-07-07T11:56:59+09:00
+ - fixed yaml load error with latest YAML.pm
+
0.03 2006-06-14T11:30:20+09:00
- fixed bug for action name (reported by tokuhirom)
View
4 META.yml
@@ -1,6 +1,6 @@
---
name: Catalyst-Plugin-FormValidator-Simple-Auto
-version: 0.03
+version: 0.04
author:
- 'Daisuke Murase <typester@cpan.org>'
abstract: Smart validation with FormValidator::Simple
@@ -15,7 +15,7 @@ requires:
provides:
Catalyst::Plugin::FormValidator::Simple::Auto:
file: lib/Catalyst/Plugin/FormValidator/Simple/Auto.pm
- version: 0.03
+ version: 0.04
generated_by: Module::Build version 0.2801
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
View
5 lib/Catalyst/Plugin/FormValidator/Simple/Auto.pm
@@ -6,7 +6,7 @@ use Catalyst::Exception;
use UNIVERSAL::isa;
use YAML;
-our $VERSION = '0.03';
+our $VERSION = '0.04';
=head1 NAME
@@ -73,7 +73,8 @@ sub setup {
if ( ref $c->config->{validator}->{profiles} ne 'HASH' ) {
my $profiles = eval {
- YAML::LoadFile( $c->path_to( $c->config->{validator}->{profiles} ) );
+ YAML::LoadFile(
+ $c->path_to( $c->config->{validator}->{profiles} )->stringify );
};
Catalyst::Exception->throw( message => __PACKAGE__ . qq/: $@/ ) if $@;

0 comments on commit 151282b

Please sign in to comment.