r38560 - in /trunk/libdbix-class-timestamp-perl: ./ debian/ 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:30:00 UTC 2009


Author: carnil-guest
Date: Wed Jun 24 05:29:54 2009
New Revision: 38560

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=38560
Log:
new upstream version

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

Modified: trunk/libdbix-class-timestamp-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/Changes?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/Changes (original)
+++ trunk/libdbix-class-timestamp-perl/Changes Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/MANIFEST?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/MANIFEST (original)
+++ trunk/libdbix-class-timestamp-perl/MANIFEST Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/META.yml?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/META.yml (original)
+++ trunk/libdbix-class-timestamp-perl/META.yml Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/Makefile.PL?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/Makefile.PL (original)
+++ trunk/libdbix-class-timestamp-perl/Makefile.PL Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/debian/changelog?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/debian/changelog (original)
+++ trunk/libdbix-class-timestamp-perl/debian/changelog Wed Jun 24 05:29:54 2009
@@ -1,9 +1,6 @@
-libdbix-class-timestamp-perl (0.09-1) UNRELEASED; urgency=low
-
-  #### No need to upload
+libdbix-class-timestamp-perl (0.11-1) UNRELEASED; urgency=low
 
   * New upstream release
-    - Drop Build-Depends on libdatetime-format-mysql-perl. 
   * Update debian/copyright for debian/* packaging. 
 
  -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>  Mon, 22 Jun 2009 21:47:05 +0200

Modified: trunk/libdbix-class-timestamp-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/debian/control?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/debian/control (original)
+++ trunk/libdbix-class-timestamp-perl/debian/control Wed Jun 24 05:29:54 2009
@@ -3,6 +3,7 @@
 Priority: optional
 Build-Depends: debhelper (>= 7.2)
 Build-Depends-Indep: libclass-accessor-grouped-perl,
+  libdatetime-format-mysql-perl,
   libdatetime-format-sqlite-perl,  
   libdatetime-perl,
   libdbix-class-perl,

Modified: trunk/libdbix-class-timestamp-perl/inc/Module/Install.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/inc/Module/Install.pm?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/inc/Module/Install.pm (original)
+++ trunk/libdbix-class-timestamp-perl/inc/Module/Install.pm Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/inc/Module/Install/AutoInstall.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/inc/Module/Install/AutoInstall.pm?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/inc/Module/Install/AutoInstall.pm (original)
+++ trunk/libdbix-class-timestamp-perl/inc/Module/Install/AutoInstall.pm Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/inc/Module/Install/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/inc/Module/Install/Base.pm?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/inc/Module/Install/Base.pm (original)
+++ trunk/libdbix-class-timestamp-perl/inc/Module/Install/Base.pm Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/inc/Module/Install/Can.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/inc/Module/Install/Can.pm?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/inc/Module/Install/Can.pm (original)
+++ trunk/libdbix-class-timestamp-perl/inc/Module/Install/Can.pm Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/inc/Module/Install/Fetch.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/inc/Module/Install/Fetch.pm?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/inc/Module/Install/Fetch.pm (original)
+++ trunk/libdbix-class-timestamp-perl/inc/Module/Install/Fetch.pm Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/inc/Module/Install/Include.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/inc/Module/Install/Include.pm?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/inc/Module/Install/Include.pm (original)
+++ trunk/libdbix-class-timestamp-perl/inc/Module/Install/Include.pm Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/inc/Module/Install/Makefile.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/inc/Module/Install/Makefile.pm?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/inc/Module/Install/Makefile.pm (original)
+++ trunk/libdbix-class-timestamp-perl/inc/Module/Install/Makefile.pm Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/inc/Module/Install/Metadata.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/inc/Module/Install/Metadata.pm?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/inc/Module/Install/Metadata.pm (original)
+++ trunk/libdbix-class-timestamp-perl/inc/Module/Install/Metadata.pm Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/inc/Module/Install/Win32.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/inc/Module/Install/Win32.pm?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/inc/Module/Install/Win32.pm (original)
+++ trunk/libdbix-class-timestamp-perl/inc/Module/Install/Win32.pm Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/inc/Module/Install/WriteAll.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/inc/Module/Install/WriteAll.pm?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/inc/Module/Install/WriteAll.pm (original)
+++ trunk/libdbix-class-timestamp-perl/inc/Module/Install/WriteAll.pm Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/lib/DBIx/Class/TimeStamp.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/lib/DBIx/Class/TimeStamp.pm?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/lib/DBIx/Class/TimeStamp.pm (original)
+++ trunk/libdbix-class-timestamp-perl/lib/DBIx/Class/TimeStamp.pm Wed Jun 24 05:29:54 2009
@@ -7,7 +7,7 @@
 
 use DateTime;
 
-our $VERSION = '0.09';
+our $VERSION = '0.11';
 
 __PACKAGE__->load_components( qw/DynamicDefault InflateColumn::DateTime/ );
 

Modified: trunk/libdbix-class-timestamp-perl/t/05datetime.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/t/05datetime.t?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/t/05datetime.t (original)
+++ trunk/libdbix-class-timestamp-perl/t/05datetime.t Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/t/06timestamp.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/t/06timestamp.t?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/t/06timestamp.t (original)
+++ trunk/libdbix-class-timestamp-perl/t/06timestamp.t Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/t/07date.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/t/07date.t?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/t/07date.t (original)
+++ trunk/libdbix-class-timestamp-perl/t/07date.t Wed Jun 24 05:29:54 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: trunk/libdbix-class-timestamp-perl/t/08noclobber.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbix-class-timestamp-perl/t/08noclobber.t?rev=38560&op=diff
==============================================================================
--- trunk/libdbix-class-timestamp-perl/t/08noclobber.t (original)
+++ trunk/libdbix-class-timestamp-perl/t/08noclobber.t Wed Jun 24 05:29:54 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