From c6c2770efab22430ac203533a186678810502611 Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Sat, 6 Feb 2010 10:09:49 -0500 Subject: [PATCH] use Module::Install makefile; avoid TZ messages --- MANIFEST | 29 ------------------- MANIFEST.SKIP | 14 ++++++++++ Makefile.PL | 46 +++++++++++++++++-------------- t/lib/DBICTest/Schema/EventTZ.pm | 4 +-- t/var/dvdzbr.db | Bin 37888 -> 37888 bytes 5 files changed, 41 insertions(+), 52 deletions(-) delete mode 100644 MANIFEST create mode 100644 MANIFEST.SKIP 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 d2eb07c4c162e7e10932566725bb313c8772fd31..37a38f624ba0580de9d1734baf3f869c41a01fe4 100644 GIT binary patch delta 977 zcmZ`&*-MmB6u-;oH;Xfln)c0N&WwrXmbs-y7&68S4^bcrMP%lwWKJ<_kM2HX3oh5?A^WES1?zvp<@BYp?cXpZ0F0(mv za%Mk?TB`U_LXv;3gCZiBVyLrEgOp;QZhP2i|<$^>?u5v)0Cc-^Uz#9AX{+v}r~aeF<#hz?lK7+~mx zBZr4Lx>V4s8&5SaPB|ne{x+nmNsx%~od)O%OJ>j54xiv{{4M#Q z8jK#H7Dp%tyjTazdLP&08F-UrhA)$24C|pcJ6|&R(G7Q|vZxu>rYadWz>ld#8PCf9 zWTZ(+GuR04r^~4c5@wuS#wMt$yt$N_X4DD|l3PI$aXfs9=!R{=w@J8J3<3$fkG~)U%zYuL2#aJ$*B#?sSPZv=K2^yc^`$ZO zWfAqqqw33J>MMl$5}E|x%2OXo1Btn6vO&m(;Pum&>^ZlFsRULRDpZPPc)_7kTvkc~ z>Cw6g`sTm%EfM;2d+5){=sgko)+l{jjJ`db{MG9;#l<&?mN*FY(k<4`ws9`SU zJA1?B?TD4Pn_(w3WDH9IEp|bX?{d&@W#|RFzd+N0K5>7GXr97y1?Fl_GVF%U8gIDb MQXXEA|9eq?0R0&fTmS$7 delta 1085 zcmY*YZ){Ul6u(k!k!wBv~Ms_(6#^hQ!2(^MjF8jh@@tDCfQ3z304p z-tV6K&hH($D2`kdbKde`lC7ANCeB#-(GP1rgGx0*p-)ZISga;!lq$9$rRg=;5@SpJ zf&lRs48kQi2OV$%PO!)Erd3x#nPaXNA5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