Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

* 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...
commit a920ea849103511a94a3699cd4703190c658650d 1 parent 0ef7a6b
typester authored
3  Changes
... ... @@ -1,5 +1,8 @@
1 1 Revision history for Perl module Catalyst::Plugin::FormValidator::Simple::Auto
2 2
  3 +0.08 2006-09-09T15:16:29+09:00
  4 + - removed $c->path_to when loading yaml file
  5 +
3 6 0.07 2006-07-25T13:05:01+09:00
4 7 - added validator_profile accessor to store current profile
5 8 - added some basic tests
6 META.yml
... ... @@ -1,6 +1,6 @@
1 1 ---
2 2 name: Catalyst-Plugin-FormValidator-Simple-Auto
3   -version: 0.07
  3 +version: 0.08
4 4 author:
5 5 - 'Daisuke Murase <typester@cpan.org>'
6 6 abstract: Smart validation with FormValidator::Simple
@@ -17,8 +17,8 @@ build_requires:
17 17 provides:
18 18 Catalyst::Plugin::FormValidator::Simple::Auto:
19 19 file: lib/Catalyst/Plugin/FormValidator/Simple/Auto.pm
20   - version: 0.07
21   -generated_by: Module::Build version 0.2801
  20 + version: 0.08
  21 +generated_by: Module::Build version 0.2805
22 22 meta-spec:
23 23 url: http://module-build.sourceforge.net/META-spec-v1.2.html
24 24 version: 1.2
5 lib/Catalyst/Plugin/FormValidator/Simple/Auto.pm
@@ -7,7 +7,7 @@ use Catalyst::Exception;
7 7 use UNIVERSAL::isa;
8 8 use YAML;
9 9
10   -our $VERSION = '0.07';
  10 +our $VERSION = '0.08';
11 11
12 12 __PACKAGE__->mk_accessors(qw/validator_profile/);
13 13
@@ -76,8 +76,7 @@ sub setup {
76 76
77 77 if ( ref $c->config->{validator}->{profiles} ne 'HASH' ) {
78 78 my $profiles = eval {
79   - YAML::LoadFile(
80   - $c->path_to( $c->config->{validator}->{profiles} )->stringify );
  79 + YAML::LoadFile( $c->config->{validator}->{profiles} );
81 80 };
82 81 Catalyst::Exception->throw( message => __PACKAGE__ . qq/: $@/ ) if $@;
83 82

0 comments on commit a920ea8

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