]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/commitdiff
use Module::Install makefile; avoid TZ messages
authorGerda Shank <gshank@Gerdas-iBook.local>
Sat, 6 Feb 2010 15:09:49 +0000 (10:09 -0500)
committerGerda Shank <gshank@Gerdas-iBook.local>
Sat, 6 Feb 2010 15:09:49 +0000 (10:09 -0500)
MANIFEST [deleted file]
MANIFEST.SKIP [new file with mode: 0644]
Makefile.PL
t/lib/DBICTest/Schema/EventTZ.pm
t/var/dvdzbr.db

diff --git a/MANIFEST b/MANIFEST
deleted file mode 100644 (file)
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 (file)
index 0000000..6376332
--- /dev/null
@@ -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$
index e4866dcfff0610c92a887000597602a815197936..c9f0b573f233e26599adf74273daad8f8911f4ee 100644 (file)
@@ -1,24 +1,28 @@
 use strict;
 use warnings;
-use ExtUtils::MakeMaker;
-
-WriteMakefile(
-    NAME                => 'DBIx::Class::ResultSet::RecursiveUpdate',
-    AUTHOR              => 'Zbigniew Lukasiak <zby@cpan.org>',
-    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();
 
index 8445aa194196d3fe8be5ea045d884a4001dd8bdf..d762aa01586df19eee585300217d1751865262f5 100644 (file)
@@ -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');
index d2eb07c4c162e7e10932566725bb313c8772fd31..37a38f624ba0580de9d1734baf3f869c41a01fe4 100644 (file)
Binary files a/t/var/dvdzbr.db and b/t/var/dvdzbr.db differ
This page took 0.030995 seconds and 4 git commands to generate.