From: Gerda Shank Date: Sat, 6 Feb 2010 15:09:49 +0000 (-0500) Subject: use Module::Install makefile; avoid TZ messages X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=c6c2770efab22430ac203533a186678810502611;p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate use Module::Install makefile; avoid TZ messages --- diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index fb49f25..0000000 --- a/MANIFEST +++ /dev/null @@ -1,29 +0,0 @@ -Changes -MANIFEST -Makefile.PL -README -lib/DBIx/Class/ResultSet/RecursiveUpdate.pm -t/00.load.t -t/pod-coverage.t -t/pod.t -t/lib/MySchema/Test.pm -t/lib/DBSchema.pm -t/lib/RunTests.pm -t/lib/DBSchema/Result/User.pm -t/lib/DBSchema/Result/Dvd.pm -t/lib/DBSchema/Result/Tag.pm -t/lib/DBSchema/Result/LinerNotes.pm -t/lib/DBSchema/Result/Dvdtag.pm -t/lib/DBSchema/Result/UserRole.pm -t/lib/DBSchema/Result/Role.pm -t/lib/MySchema.pm -t/var/dvdzbr.db -t/pg.t -t/sqlite.t -META.yml Module meta-data (added by MakeMaker) -t/lib/DBSchema/Result/Twokeys.pm -t/lib/DBSchema/Result/Viewing.pm -t/lib/DBSchema/Result/Onekey.pm -t/lib/DBSchema/Result/Twokeys_belongsto.pm -t/lib/DBSchema/Result/Address.pm - diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP new file mode 100644 index 0000000..6376332 --- /dev/null +++ b/MANIFEST.SKIP @@ -0,0 +1,14 @@ +#defaults +^Makefile$ +^blib/ +^pm_to_blib$ +^MANIFEST.bak$ +^MANIFEST.SKIP$ +.git/ +.gitignore$ +^*.tar.gz$ +^*.bak$ +^t/lib/DBICTest +^*.new$ +^*.old$ +^t/96multi_create.t$ diff --git a/Makefile.PL b/Makefile.PL index e4866dc..c9f0b57 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,24 +1,28 @@ use strict; use warnings; -use ExtUtils::MakeMaker; - -WriteMakefile( - NAME => 'DBIx::Class::ResultSet::RecursiveUpdate', - AUTHOR => 'Zbigniew Lukasiak ', - VERSION_FROM => 'lib/DBIx/Class/ResultSet/RecursiveUpdate.pm', - ABSTRACT_FROM => 'lib/DBIx/Class/ResultSet/RecursiveUpdate.pm', - PL_FILES => {}, - PREREQ_PM => { - 'Test::More' => 0, - 'DBIx::Class' => '0.08100', - 'DBIx::Class::IntrospectableM2M' => 0, - 'SQL::Translator' => '0.09004', - 'DateTime' => 0, - 'DBD::SQLite' => '1.21', - 'Readonly' => '1.03' - }, - dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, - clean => { FILES => 'DBIx-Class-ResultSet-RecursiveUpdate-*' }, - LICENSE => 'perl' -); +use inc::Module::Install 0.91; + +name 'DBIx-Class-ResultSet-RecursiveUpdate'; +author 'Zbigniew Lukasiak'; +all_from 'lib/DBIx/Class/ResultSet/RecursiveUpdate.pm'; +license 'perl'; + +repository 'http://github.com/zby/DBIx--Class--ResultSet--RecursiveUpdate/tree/master'; + +# prereqs +requires 'DBIx::Class' => '0.08100'; +requires 'DBIx::Class::IntrospectableM2M'; +requires 'SQL::Translator' => '0.09004'; +requires 'DateTime'; +requires 'DBD::SQLite' => '1.21'; +requires 'Readonly' => '1.03'; + +# things the tests need +test_requires 'Test::More' => '0.88'; + +tests(); + +auto_install(); + +WriteAll(); diff --git a/t/lib/DBICTest/Schema/EventTZ.pm b/t/lib/DBICTest/Schema/EventTZ.pm index 8445aa1..d762aa0 100644 --- a/t/lib/DBICTest/Schema/EventTZ.pm +++ b/t/lib/DBICTest/Schema/EventTZ.pm @@ -10,8 +10,8 @@ __PACKAGE__->table('event'); __PACKAGE__->add_columns( id => { data_type => 'integer', is_auto_increment => 1 }, - starts_at => { data_type => 'datetime', extra => { timezone => "America/Chicago" } }, - created_on => { data_type => 'timestamp', extra => { timezone => "America/Chicago", floating_tz_ok => 1 } }, + starts_at => { data_type => 'datetime', timezone => "America/Chicago" }, + created_on => { data_type => 'timestamp', timezone => "America/Chicago", floating_tz_ok => 1 }, ); __PACKAGE__->set_primary_key('id'); diff --git a/t/var/dvdzbr.db b/t/var/dvdzbr.db index d2eb07c..37a38f6 100644 Binary files a/t/var/dvdzbr.db and b/t/var/dvdzbr.db differ