r38558 - in /branches/upstream/libdbix-class-timestamp-perl/current: ./ inc/Module/ inc/Module/Install/ lib/DBIx/Class/ t/

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Wed Jun 24 05:26:15 UTC 2009


Author: carnil-guest
Date: Wed Jun 24 05:25:49 2009
New Revision: 38558

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=38558
Log:
[svn-upgrade] Integrating new upstream version, libdbix-class-timestamp-perl (0.11)

Modified:
    branches/upstream/libdbix-class-timestamp-perl/current/Changes
    branches/upstream/libdbix-class-timestamp-perl/current/MANIFEST
    branches/upstream/libdbix-class-timestamp-perl/current/META.yml
    branches/upstream/libdbix-class-timestamp-perl/current/Makefile.PL
    branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install.pm
    branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/AutoInstall.pm
    branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Base.pm
    branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Can.pm
    branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Fetch.pm
    branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Include.pm
    branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Makefile.pm
    branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Metadata.pm
    branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Win32.pm
    branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/WriteAll.pm
    branches/upstream/libdbix-class-timestamp-perl/current/lib/DBIx/Class/TimeStamp.pm
    branches/upstream/libdbix-class-timestamp-perl/current/t/05datetime.t
    branches/upstream/libdbix-class-timestamp-perl/current/t/06timestamp.t
    branches/upstream/libdbix-class-timestamp-perl/current/t/07date.t
    branches/upstream/libdbix-class-timestamp-perl/current/t/08noclobber.t

Modified: branches/upstream/libdbix-class-timestamp-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/Changes?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/Changes (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/Changes Wed Jun 24 05:25:49 2009
@@ -1,4 +1,12 @@
 Revision history for DBIx::Class::TimeStamp
+
+0.11 2009 07-32 14:43:00
+    - Make sure tests run at the 'top' of the second to reduce pointless
+      errors resulting when your test time crosses the second limit.
+
+0.10 2009 07-32 13:55:00
+    - Restored the MySQL formatter to the build requires to silence test
+      failures.
 
 0.09 2009 07-21 20:45:00
     - Changed some dependencies in the Makefile.PL so that we find the correct

Modified: branches/upstream/libdbix-class-timestamp-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/MANIFEST?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/MANIFEST (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/MANIFEST Wed Jun 24 05:25:49 2009
@@ -14,6 +14,9 @@
 Makefile.PL
 MANIFEST			This list of files
 META.yml
+t/.06timestamp.t.swp
+t/.07date.t.swp
+t/.08noclobber.t.swp
 t/02pod.t
 t/03podcoverage.t
 t/04basic.t

Modified: branches/upstream/libdbix-class-timestamp-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/META.yml?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/META.yml (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/META.yml Wed Jun 24 05:25:49 2009
@@ -4,6 +4,7 @@
   - 'J. Shirley <jshirley at gmail.com>'
 build_requires:
   Class::Accessor::Grouped: 0
+  DateTime::Format::MySQL: 0
   DateTime::Format::SQLite: 0
   ExtUtils::MakeMaker: 6.42
   Time::HiRes: 0
@@ -11,7 +12,7 @@
 configure_requires:
   ExtUtils::MakeMaker: 6.42
 distribution_type: module
-generated_by: 'Module::Install version 0.90'
+generated_by: 'Module::Install version 0.91'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -27,4 +28,4 @@
   DateTime: 0
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.09
+version: 0.11

Modified: branches/upstream/libdbix-class-timestamp-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/Makefile.PL?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/Makefile.PL (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/Makefile.PL Wed Jun 24 05:25:49 2009
@@ -8,6 +8,8 @@
 requires 'DBIx::Class::DynamicDefault';
 
 build_requires 'DateTime::Format::SQLite';
+build_requires 'DateTime::Format::MySQL';
+
 build_requires 'Class::Accessor::Grouped';
 build_requires 'Time::HiRes';
 build_requires 'Time::Warp';

Modified: branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install.pm?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install.pm (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install.pm Wed Jun 24 05:25:49 2009
@@ -28,7 +28,7 @@
 	# This is not enforced yet, but will be some time in the next few
 	# releases once we can make sure it won't clash with custom
 	# Module::Install extensions.
-	$VERSION = '0.90';
+	$VERSION = '0.91';
 
 	# Storage for the pseudo-singleton
 	$MAIN    = undef;

Modified: branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/AutoInstall.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/AutoInstall.pm?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/AutoInstall.pm (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/AutoInstall.pm Wed Jun 24 05:25:49 2009
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.90';
+	$VERSION = '0.91';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Base.pm?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Base.pm (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Base.pm Wed Jun 24 05:25:49 2009
@@ -4,7 +4,7 @@
 use strict 'vars';
 use vars qw{$VERSION};
 BEGIN {
-	$VERSION = '0.90';
+	$VERSION = '0.91';
 }
 
 # Suspend handler for "redefined" warnings

Modified: branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Can.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Can.pm?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Can.pm (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Can.pm Wed Jun 24 05:25:49 2009
@@ -9,7 +9,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.90';
+	$VERSION = '0.91';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Fetch.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Fetch.pm?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Fetch.pm (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Fetch.pm Wed Jun 24 05:25:49 2009
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.90';
+	$VERSION = '0.91';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Include.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Include.pm?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Include.pm (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Include.pm Wed Jun 24 05:25:49 2009
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.90';
+	$VERSION = '0.91';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Makefile.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Makefile.pm?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Makefile.pm (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Makefile.pm Wed Jun 24 05:25:49 2009
@@ -7,7 +7,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.90';
+	$VERSION = '0.91';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Metadata.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Metadata.pm?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Metadata.pm (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Metadata.pm Wed Jun 24 05:25:49 2009
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.90';
+	$VERSION = '0.91';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -505,6 +505,17 @@
 	}
 }
 
+sub test_requires_from {
+	my $self     = shift;
+	my $content  = Module::Install::_readperl($_[0]);
+	my @requires = $content =~ m/^use\s+([^\W\d]\w*(?:::\w+)*)\s+([\d\.]+)/mg;
+	while ( @requires ) {
+		my $module  = shift @requires;
+		my $version = shift @requires;
+		$self->test_requires( $module => $version );
+	}
+}
+
 # Convert triple-part versions (eg, 5.6.1 or 5.8.9) to
 # numbers (eg, 5.006001 or 5.008009).
 # Also, convert double-part versions (eg, 5.8)

Modified: branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Win32.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Win32.pm?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Win32.pm (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/Win32.pm Wed Jun 24 05:25:49 2009
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.90';
+	$VERSION = '0.91';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/WriteAll.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/WriteAll.pm?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/WriteAll.pm (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/inc/Module/Install/WriteAll.pm Wed Jun 24 05:25:49 2009
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.90';;
+	$VERSION = '0.91';;
 	@ISA     = qw{Module::Install::Base};
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libdbix-class-timestamp-perl/current/lib/DBIx/Class/TimeStamp.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/lib/DBIx/Class/TimeStamp.pm?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/lib/DBIx/Class/TimeStamp.pm (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/lib/DBIx/Class/TimeStamp.pm Wed Jun 24 05:25:49 2009
@@ -7,7 +7,7 @@
 
 use DateTime;
 
-our $VERSION = '0.09';
+our $VERSION = '0.11';
 
 __PACKAGE__->load_components( qw/DynamicDefault InflateColumn::DateTime/ );
 

Modified: branches/upstream/libdbix-class-timestamp-perl/current/t/05datetime.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/t/05datetime.t?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/t/05datetime.t (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/t/05datetime.t Wed Jun 24 05:25:49 2009
@@ -18,6 +18,9 @@
 my $schema = DBIC::Test->init_schema;
 my $row;
 
+my $t = time(); 
+Time::HiRes::sleep (int ($t) + 1 - $t);
+
 $row = $schema->resultset('DBIC::Test::Schema::TestDatetime')
     ->create({ display_name => 'test record' });
 

Modified: branches/upstream/libdbix-class-timestamp-perl/current/t/06timestamp.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/t/06timestamp.t?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/t/06timestamp.t (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/t/06timestamp.t Wed Jun 24 05:25:49 2009
@@ -17,6 +17,9 @@
 my $schema = DBIC::Test->init_schema;
 my $row;
 
+my $t = time(); 
+Time::HiRes::sleep (int ($t) + 1 - $t);
+
 $row = $schema->resultset('DBIC::Test::Schema::TestTime')
     ->create({ display_name => 'test record' });
 

Modified: branches/upstream/libdbix-class-timestamp-perl/current/t/07date.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/t/07date.t?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/t/07date.t (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/t/07date.t Wed Jun 24 05:25:49 2009
@@ -17,6 +17,9 @@
 my $schema = DBIC::Test->init_schema;
 my $row;
 
+my $t = time(); 
+Time::HiRes::sleep (int ($t) + 1 - $t);
+
 $row = $schema->resultset('DBIC::Test::Schema::TestDate')
     ->create({ display_name => 'test record' });
 

Modified: branches/upstream/libdbix-class-timestamp-perl/current/t/08noclobber.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdbix-class-timestamp-perl/current/t/08noclobber.t?rev=38558&op=diff
==============================================================================
--- branches/upstream/libdbix-class-timestamp-perl/current/t/08noclobber.t (original)
+++ branches/upstream/libdbix-class-timestamp-perl/current/t/08noclobber.t Wed Jun 24 05:25:49 2009
@@ -19,6 +19,9 @@
 my $row;
 
 my $last_week = DateTime->now() - DateTime::Duration->new( weeks => 1 );
+
+my $t = time(); 
+Time::HiRes::sleep (int ($t) + 1 - $t);
 
 $row = $schema->resultset('DBIC::Test::Schema::TestDatetime')
     ->create({ display_name => 'test record', t_created => $last_week });




More information about the Pkg-perl-cvs-commits mailing list