Skip to content
Browse files

* Removed $c->path_to when loading profiles.yml

 * Released 0.08

git-svn-id: http://svn.unknownplace.org/public/library/perl/trunk/Catalyst-Plugin-FormValidator-Simple-Auto@360 325430d6-99fa-0310-bb67-a757393f56df
  • Loading branch information...
1 parent 0ef7a6b commit a920ea849103511a94a3699cd4703190c658650d typester committed Sep 9, 2006
Showing with 8 additions and 6 deletions.
  1. +3 −0 Changes
  2. +3 −3 META.yml
  3. +2 −3 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.08 2006-09-09T15:16:29+09:00
+ - removed $c->path_to when loading yaml file
+
0.07 2006-07-25T13:05:01+09:00
- added validator_profile accessor to store current profile
- added some basic tests
View
6 META.yml
@@ -1,6 +1,6 @@
---
name: Catalyst-Plugin-FormValidator-Simple-Auto
-version: 0.07
+version: 0.08
author:
- 'Daisuke Murase <typester@cpan.org>'
abstract: Smart validation with FormValidator::Simple
@@ -17,8 +17,8 @@ build_requires:
provides:
Catalyst::Plugin::FormValidator::Simple::Auto:
file: lib/Catalyst/Plugin/FormValidator/Simple/Auto.pm
- version: 0.07
-generated_by: Module::Build version 0.2801
+ version: 0.08
+generated_by: Module::Build version 0.2805
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
version: 1.2
View
5 lib/Catalyst/Plugin/FormValidator/Simple/Auto.pm
@@ -7,7 +7,7 @@ use Catalyst::Exception;
use UNIVERSAL::isa;
use YAML;
-our $VERSION = '0.07';
+our $VERSION = '0.08';
__PACKAGE__->mk_accessors(qw/validator_profile/);
@@ -76,8 +76,7 @@ sub setup {
if ( ref $c->config->{validator}->{profiles} ne 'HASH' ) {
my $profiles = eval {
- YAML::LoadFile(
- $c->path_to( $c->config->{validator}->{profiles} )->stringify );
+ YAML::LoadFile( $c->config->{validator}->{profiles} );
};
Catalyst::Exception->throw( message => __PACKAGE__ . qq/: $@/ ) if $@;

0 comments on commit a920ea8

Please sign in to comment.
Something went wrong with that request. Please try again.