From: Roman F Date: Mon, 13 Jun 2011 14:52:41 +0000 (-0400) Subject: Added namespace::clean and set the latest DBIx::Class version as required to take... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=be7d3f8318b03f3cb05e8aca0a2c61e20f99a9d5;p=dbsrgits%2FDBIx-Class-Schema-ResultSetAccessors.git Added namespace::clean and set the latest DBIx::Class version as required to take advantage of DBIx::Class::Carp. --- diff --git a/Changes b/Changes index 07fda90..d8362a6 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,6 @@ Revision history for Perl module DBIx::Class::Schema::ResultSetAccessors -0.03 Mon Jun 13 +0.04 Mon Jun 13 - Now instead of throwing an error and dying when a resultset accessor with the same name exists it simply warns the user. diff --git a/Makefile.PL b/Makefile.PL index f475309..3adac43 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,10 +5,11 @@ name 'DBIx-Class-Schema-ResultSetAccessors'; perl_version 5.008001; all_from 'lib/DBIx/Class/Schema/ResultSetAccessors.pm'; -requires 'DBIx::Class' => 0; +requires 'DBIx::Class' => '0.08192'; requires 'String::CamelCase' => 0; requires 'Lingua::EN::Inflect::Phrase' => 0; requires 'Sub::Name' => 0; +requires 'namespace::clean' => 0; test_requires 'Test::More' => '0.94'; test_requires 'Test::Warn'; diff --git a/lib/DBIx/Class/Schema/ResultSetAccessors.pm b/lib/DBIx/Class/Schema/ResultSetAccessors.pm index fb7dfa4..febc13e 100644 --- a/lib/DBIx/Class/Schema/ResultSetAccessors.pm +++ b/lib/DBIx/Class/Schema/ResultSetAccessors.pm @@ -7,8 +7,9 @@ use DBIx::Class::Carp qw(carp); use String::CamelCase; use Lingua::EN::Inflect::Phrase; use Sub::Name 'subname'; +use namespace::clean; -our $VERSION = 0.001003; +our $VERSION = 0.001004; sub register_source { my $self = shift;