r54143 - in /branches/upstream/libdatetime-format-flexible-perl/current: Changes META.yml lib/DateTime/Format/Flexible.pm t/base.t t/strings_base.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Thu Mar 11 23:53:10 UTC 2010


Author: jawnsy-guest
Date: Thu Mar 11 23:52:47 2010
New Revision: 54143

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=54143
Log:
[svn-upgrade] Integrating new upstream version, libdatetime-format-flexible-perl (0.15)

Modified:
    branches/upstream/libdatetime-format-flexible-perl/current/Changes
    branches/upstream/libdatetime-format-flexible-perl/current/META.yml
    branches/upstream/libdatetime-format-flexible-perl/current/lib/DateTime/Format/Flexible.pm
    branches/upstream/libdatetime-format-flexible-perl/current/t/base.t
    branches/upstream/libdatetime-format-flexible-perl/current/t/strings_base.t

Modified: branches/upstream/libdatetime-format-flexible-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdatetime-format-flexible-perl/current/Changes?rev=54143&op=diff
==============================================================================
--- branches/upstream/libdatetime-format-flexible-perl/current/Changes (original)
+++ branches/upstream/libdatetime-format-flexible-perl/current/Changes Thu Mar 11 23:52:47 2010
@@ -1,4 +1,7 @@
 Revision history for Perl module DateTime::Format::Flexible
+
+0.15 Mon Mar 10 2010
+   - fix tests for DateTime string overloading problem (thanks Andreas Koenig and Michael Schwern)
 
 0.14 Sun Feb 28 2010
    - fix test: '1 month ago at 4pm' could be potentially less that 28 days ago.

Modified: branches/upstream/libdatetime-format-flexible-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdatetime-format-flexible-perl/current/META.yml?rev=54143&op=diff
==============================================================================
--- branches/upstream/libdatetime-format-flexible-perl/current/META.yml (original)
+++ branches/upstream/libdatetime-format-flexible-perl/current/META.yml Thu Mar 11 23:52:47 2010
@@ -1,27 +1,19 @@
 --- #YAML:1.0
-name:               DateTime-Format-Flexible
-version:            0.14
-abstract:           DateTime::Format::Flexible - Flexibly parse strings and turn them into DateTime objects.
-author:
+name:                DateTime-Format-Flexible
+version:             0.15
+abstract:            DateTime::Format::Flexible - Flexibly parse strings and turn them into DateTime objects.
+license:             perl
+author:              
     - Tom Heady (cpan at punch.net)
-license:            perl
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
-build_requires:
-    ExtUtils::MakeMaker:  0
-requires:
-    DateTime:             0
-    DateTime::Format::Builder:  0.74
-    DateTime::TimeZone:   0
-    List::MoreUtils:      0
-    Module::Pluggable:    0
-    Test::Simple:         0.44
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.56
+generated_by:        ExtUtils::MakeMaker version 6.42
+distribution_type:   module
+requires:     
+    DateTime:                      0
+    DateTime::Format::Builder:     0.74
+    DateTime::TimeZone:            0
+    List::MoreUtils:               0
+    Module::Pluggable:             0
+    Test::Simple:                  0.44
 meta-spec:
-    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
-    version:  1.4
+    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
+    version: 1.3

Modified: branches/upstream/libdatetime-format-flexible-perl/current/lib/DateTime/Format/Flexible.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdatetime-format-flexible-perl/current/lib/DateTime/Format/Flexible.pm?rev=54143&op=diff
==============================================================================
--- branches/upstream/libdatetime-format-flexible-perl/current/lib/DateTime/Format/Flexible.pm (original)
+++ branches/upstream/libdatetime-format-flexible-perl/current/lib/DateTime/Format/Flexible.pm Thu Mar 11 23:52:47 2010
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.14';
+our $VERSION = '0.15';
 
 use base 'DateTime::Format::Builder';
 

Modified: branches/upstream/libdatetime-format-flexible-perl/current/t/base.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdatetime-format-flexible-perl/current/t/base.t?rev=54143&op=diff
==============================================================================
--- branches/upstream/libdatetime-format-flexible-perl/current/t/base.t (original)
+++ branches/upstream/libdatetime-format-flexible-perl/current/t/base.t Thu Mar 11 23:52:47 2010
@@ -18,12 +18,12 @@
         '23:59',
         base => $base_dt
     );
-    is( $dt, '2009-06-22T23:59:00' , 'base works with just a time' );
+    is( $dt->datetime, '2009-06-22T23:59:00' , 'base works with just a time' );
 }
 {
     my $dt = DateTime::Format::Flexible->parse_datetime(
         'now',
         base => $base_dt
     );
-    is( $dt, '2009-06-22T00:00:00', 'base works with a string' );
+    is( $dt->datetime, '2009-06-22T00:00:00', 'base works with a string' );
 }

Modified: branches/upstream/libdatetime-format-flexible-perl/current/t/strings_base.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdatetime-format-flexible-perl/current/t/strings_base.t?rev=54143&op=diff
==============================================================================
--- branches/upstream/libdatetime-format-flexible-perl/current/t/strings_base.t (original)
+++ branches/upstream/libdatetime-format-flexible-perl/current/t/strings_base.t Thu Mar 11 23:52:47 2010
@@ -75,7 +75,7 @@
 {
     my ( $str , $wanted ) = ( 'today at 4:00 PST' , '2005-06-07T04:00:00' );
     my $dt = $base->parse_datetime( $str , tz_map => { PST => 'America/Los_Angeles' } );
-    is ( $dt , $wanted , "$str => $wanted ($dt)" );
+    is ( $dt->datetime , $wanted , "$str => $wanted ($dt)" );
     is ( $dt->time_zone->name , 'America/Los_Angeles' , "timezone set ($str)" );
 }
 




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