From: Roman F Date: Fri, 10 Jun 2011 03:18:57 +0000 (-0400) Subject: Added dependecies to Makefil. Added a LinerNote test module. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cbe1b3c9e403ca404368efef2e655c035bf811ee;p=dbsrgits%2FDBIx-Class-Schema-ResultSetAccessors.git Added dependecies to Makefil. Added a LinerNote test module. --- diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index 9c44bc8..0000000 --- a/MANIFEST +++ /dev/null @@ -1,18 +0,0 @@ -MANIFEST -MANIFEST.SKIP -README -LICENSE -Todo -Changes -Makefile.PL -lib/DBIx/Class/Schema/ResultSetAccessors.pm -t/basic.t -t/lib/MyApp1/Schema.pm -t/lib/MyApp1/Schema/Result/Artist.pm -t/lib/MyApp1/Schema/Result/CD.pm -t/lib/MyApp1/Schema/Result/Source.pm -t/lib/MyApp1/Schema/ResultSet/CD.pm -t/lib/MyApp2/Schema.pm -t/lib/MyApp2/Schema/Result/Artist.pm -t/lib/MyApp2/Schema/Result/CD.pm -t/lib/MyApp2/Schema/Result/Source.pm \ No newline at end of file diff --git a/Makefile.PL b/Makefile.PL index c3e2735..f119ae6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,6 +6,9 @@ perl_version 5.008001; all_from 'lib/DBIx/Class/Schema/ResultSetAccessors.pm'; requires 'DBIx::Class' => 0; +requires 'String::CamelCase' => 0; +requires 'Lingua::EN::Inflect::Phrase' => 0; +requires 'Sub::Name' => 0; test_requires 'Test::More' => '0.94'; test_requires 'Test::Exception'; diff --git a/README b/README deleted file mode 100644 index 902a969..0000000 --- a/README +++ /dev/null @@ -1,13 +0,0 @@ -If this is still here it means the programmer was too lazy to create the readme file. - -You can create it now by using the command shown below from this directory: - -pod2text DBIx::Class::Schema::ResultSetAccessors > README - -At the very least you should be able to use this set of instructions -to install the module... -perl Makefile.PL -make -make test -make install -If you are on a windows box you should use 'nmake' rather than 'make'. diff --git a/t/lib/MyApp1/Schema/Result/LinerNote.pm b/t/lib/MyApp1/Schema/Result/LinerNote.pm new file mode 100644 index 0000000..2042225 --- /dev/null +++ b/t/lib/MyApp1/Schema/Result/LinerNote.pm @@ -0,0 +1,8 @@ +package MyApp1::Schema::Result::LinerNote; +use base qw/DBIx::Class::Core/; + +__PACKAGE__->table('liner_note'); +__PACKAGE__->add_columns(qw/ noteid note /); +__PACKAGE__->set_primary_key('noteid'); + +1; \ No newline at end of file