r11186 - in /branches/upstream/libtime-local-perl/current: Changes MANIFEST META.yml Makefile.PL lib/Time/Local.pm t/pod-coverage.t t/pod.t
gwolf at users.alioth.debian.org
gwolf at users.alioth.debian.org
Thu Dec 13 23:59:44 UTC 2007
Author: gwolf
Date: Thu Dec 13 23:59:44 2007
New Revision: 11186
URL: http://svn.debian.org/wsvn/?sc=1&rev=11186
Log:
[svn-upgrade] Integrating new upstream version, libtime-local-perl (1.18)
Added:
branches/upstream/libtime-local-perl/current/t/pod-coverage.t
branches/upstream/libtime-local-perl/current/t/pod.t
Modified:
branches/upstream/libtime-local-perl/current/Changes
branches/upstream/libtime-local-perl/current/MANIFEST
branches/upstream/libtime-local-perl/current/META.yml
branches/upstream/libtime-local-perl/current/Makefile.PL
branches/upstream/libtime-local-perl/current/lib/Time/Local.pm
Modified: branches/upstream/libtime-local-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libtime-local-perl/current/Changes?rev=11186&op=diff
==============================================================================
--- branches/upstream/libtime-local-perl/current/Changes (original)
+++ branches/upstream/libtime-local-perl/current/Changes Thu Dec 13 23:59:44 2007
@@ -1,3 +1,12 @@
+1.18 2007-10-31
+
+- Added pod and pod coverage tests.
+
+- Doing a new release to provide a conformant META.yml file.
+
+- This release contains no code changes from 1.17.
+
+
1.17 2007-01-25
- I made the same test count mistake as was in 1.14 again. This
Modified: branches/upstream/libtime-local-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/branches/upstream/libtime-local-perl/current/MANIFEST?rev=11186&op=diff
==============================================================================
--- branches/upstream/libtime-local-perl/current/MANIFEST (original)
+++ branches/upstream/libtime-local-perl/current/MANIFEST Thu Dec 13 23:59:44 2007
@@ -6,4 +6,6 @@
MANIFEST.SKIP
README
t/Local.t
+t/pod-coverage.t
+t/pod.t
META.yml Module meta-data (added by MakeMaker)
Modified: branches/upstream/libtime-local-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libtime-local-perl/current/META.yml?rev=11186&op=diff
==============================================================================
--- branches/upstream/libtime-local-perl/current/META.yml (original)
+++ branches/upstream/libtime-local-perl/current/META.yml Thu Dec 13 23:59:44 2007
@@ -1,9 +1,9 @@
--- #YAML:1.0
name: Time-Local
-version: 1.17
+version: 1.18
abstract: ~
-license: ~
-generated_by: ExtUtils::MakeMaker version 6.31
+license: perl
+generated_by: ExtUtils::MakeMaker version 6.36
distribution_type: module
requires:
meta-spec:
Modified: branches/upstream/libtime-local-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libtime-local-perl/current/Makefile.PL?rev=11186&op=diff
==============================================================================
--- branches/upstream/libtime-local-perl/current/Makefile.PL (original)
+++ branches/upstream/libtime-local-perl/current/Makefile.PL Thu Dec 13 23:59:44 2007
@@ -2,8 +2,13 @@
use ExtUtils::MakeMaker;
-WriteMakefile( NAME => 'Time::Local',
- VERSION_FROM => 'lib/Time/Local.pm',
- AUTHOR => 'Dave Rolsky <autarch at urth.org>',
- INSTALLDIRS => 'perl',
- );
+my %mm = ( NAME => 'Time::Local',
+ VERSION_FROM => 'lib/Time/Local.pm',
+ AUTHOR => 'Dave Rolsky <autarch at urth.org>',
+ INSTALLDIRS => 'perl',
+ );
+$mm{LICENSE} = 'perl'
+ if $ExtUtils::MakeMaker::VERSION >= 6.31;
+
+WriteMakefile(%mm);
+
Modified: branches/upstream/libtime-local-perl/current/lib/Time/Local.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libtime-local-perl/current/lib/Time/Local.pm?rev=11186&op=diff
==============================================================================
--- branches/upstream/libtime-local-perl/current/lib/Time/Local.pm (original)
+++ branches/upstream/libtime-local-perl/current/lib/Time/Local.pm Thu Dec 13 23:59:44 2007
@@ -7,7 +7,7 @@
use integer;
use vars qw( $VERSION @ISA @EXPORT @EXPORT_OK );
-$VERSION = '1.17';
+$VERSION = '1.18';
@ISA = qw( Exporter );
@EXPORT = qw( timegm timelocal );
@@ -222,11 +222,15 @@
=head1 FUNCTIONS
+=head2 C<timelocal()> and C<timegm()>
+
This module exports two functions by default, C<timelocal()> and
C<timegm()>.
The C<timelocal()> and C<timegm()> functions perform range checking on
the input $sec, $min, $hour, $mday, and $mon values by default.
+
+=head2 C<timelocal_nocheck()> and C<timegm_nocheck()>
If you are working with data you know to be valid, you can speed your
code up by using the "nocheck" variants, C<timelocal_nocheck()> and
@@ -350,6 +354,15 @@
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Time-Local or via email
at bug-time-local at rt.cpan.org.
+=head1 COPYRIGHT
+
+Copyright (c) 1997-2003 Graham Barr, 2003-2007 David Rolsky. All
+rights reserved. This program is free software; you can redistribute
+it and/or modify it under the same terms as Perl itself.
+
+The full text of the license can be found in the LICENSE file included
+with this module.
+
=head1 AUTHOR
This module is based on a Perl 4 library, timelocal.pl, that was
Added: branches/upstream/libtime-local-perl/current/t/pod-coverage.t
URL: http://svn.debian.org/wsvn/branches/upstream/libtime-local-perl/current/t/pod-coverage.t?rev=11186&op=file
==============================================================================
--- branches/upstream/libtime-local-perl/current/t/pod-coverage.t (added)
+++ branches/upstream/libtime-local-perl/current/t/pod-coverage.t Thu Dec 13 23:59:44 2007
@@ -1,0 +1,14 @@
+use strict;
+use warnings;
+
+use Test::More;
+
+
+plan skip_all => 'This test is only run for the module author'
+ unless -d '.svn' || $ENV{IS_MAINTAINER};
+
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage"
+ if $@;
+
+all_pod_coverage_ok();
Added: branches/upstream/libtime-local-perl/current/t/pod.t
URL: http://svn.debian.org/wsvn/branches/upstream/libtime-local-perl/current/t/pod.t?rev=11186&op=file
==============================================================================
--- branches/upstream/libtime-local-perl/current/t/pod.t (added)
+++ branches/upstream/libtime-local-perl/current/t/pod.t Thu Dec 13 23:59:44 2007
@@ -1,0 +1,13 @@
+use strict;
+use warnings;
+
+use Test::More;
+
+
+plan skip_all => 'This test is only run for the module author'
+ unless -d '.svn' || $ENV{IS_MAINTAINER};
+
+eval "use Test::Pod 1.14";
+plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+
+all_pod_files_ok();
More information about the Pkg-perl-cvs-commits
mailing list