r3429 - in
/packages/libreturn-value-perl/branches/upstream/current: Changes
MANIFEST META.yml lib/Return/Value.pm t/overload.t t/pod-coverage.t
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Mon Aug 7 19:34:12 UTC 2006
Author: gregoa-guest
Date: Mon Aug 7 19:34:03 2006
New Revision: 3429
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=3429
Log:
Load /tmp/tmp.YGyUzR6644/libreturn-value-perl-1.301 into
packages/libreturn-value-perl/branches/upstream/current.
Modified:
packages/libreturn-value-perl/branches/upstream/current/Changes
packages/libreturn-value-perl/branches/upstream/current/MANIFEST
packages/libreturn-value-perl/branches/upstream/current/META.yml
packages/libreturn-value-perl/branches/upstream/current/lib/Return/Value.pm
packages/libreturn-value-perl/branches/upstream/current/t/overload.t
packages/libreturn-value-perl/branches/upstream/current/t/pod-coverage.t (props changed)
Modified: packages/libreturn-value-perl/branches/upstream/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libreturn-value-perl/branches/upstream/current/Changes?rev=3429&op=diff
==============================================================================
--- packages/libreturn-value-perl/branches/upstream/current/Changes (original)
+++ packages/libreturn-value-perl/branches/upstream/current/Changes Mon Aug 7 19:34:03 2006
@@ -1,12 +1,16 @@
-1.20 2005-09-18 23:30
+1.301 2006-07-28
+ fix typoes in changelog and docs
+ improve test coverage
+
+1.30 2005-09-18 23:30
minor POD cleanup
added pod coverage test (kwalitee suckup)
-1.28 2004-12-20 16:00
+1.28 2004-12-20 16:00
changed bool return to just call ->bool
(returning undef crashes 5.6.1, argh! thanks, HDP!)
-1.26 2004-12-20 16:00
+1.26 2004-12-20 16:00
fixed: properties couldn't be undefined after defining
"use warnings" removed from tests to keep 5.005 happy
@@ -15,7 +19,7 @@
...even with other attributes
100% coverage
-1.22 2004-08-30 19:25
+1.22 2004-08-30 19:25
array and hash dereference will get the return data
full test coverage
'type' attribute is key to success/failure
Modified: packages/libreturn-value-perl/branches/upstream/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libreturn-value-perl/branches/upstream/current/MANIFEST?rev=3429&op=diff
==============================================================================
--- packages/libreturn-value-perl/branches/upstream/current/MANIFEST (original)
+++ packages/libreturn-value-perl/branches/upstream/current/MANIFEST Mon Aug 7 19:34:03 2006
@@ -2,7 +2,6 @@
lib/Return/Value.pm
Makefile.PL
MANIFEST This list of files
-META.yml
README
t/failure.t
t/objects.t
@@ -11,3 +10,4 @@
t/pod-coverage.t
t/success.t
t/use.t
+META.yml Module meta-data (added by MakeMaker)
Modified: packages/libreturn-value-perl/branches/upstream/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libreturn-value-perl/branches/upstream/current/META.yml?rev=3429&op=diff
==============================================================================
--- packages/libreturn-value-perl/branches/upstream/current/META.yml (original)
+++ packages/libreturn-value-perl/branches/upstream/current/META.yml Mon Aug 7 19:34:03 2006
@@ -1,11 +1,11 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Return-Value
-version: 1.30
+version: 1.301
version_from: lib/Return/Value.pm
installdirs: site
requires:
Test::More: 0.47
distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+generated_by: ExtUtils::MakeMaker version 6.30
Modified: packages/libreturn-value-perl/branches/upstream/current/lib/Return/Value.pm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libreturn-value-perl/branches/upstream/current/lib/Return/Value.pm?rev=3429&op=diff
==============================================================================
--- packages/libreturn-value-perl/branches/upstream/current/lib/Return/Value.pm (original)
+++ packages/libreturn-value-perl/branches/upstream/current/lib/Return/Value.pm Mon Aug 7 19:34:03 2006
@@ -3,7 +3,7 @@
use strict;
use vars qw[$VERSION @EXPORT];
-$VERSION = '1.30';
+$VERSION = '1.301';
@EXPORT = qw[success failure];
use base qw[Exporter];
@@ -154,7 +154,7 @@
__PACKAGE__->new(%args);
}
-=item C<< success >>
+=item success
The C<success> function returns a C<Return::Value> with the type "success".
@@ -171,7 +171,7 @@
=pod
-=item C<< failure >>
+=item failure
C<failure> is identical to C<success>, but returns an object with the type
"failure"
@@ -272,7 +272,7 @@
=over 4
-=item Stringif
+=item Stringification
print "$result\n";
Modified: packages/libreturn-value-perl/branches/upstream/current/t/overload.t
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libreturn-value-perl/branches/upstream/current/t/overload.t?rev=3429&op=diff
==============================================================================
--- packages/libreturn-value-perl/branches/upstream/current/t/overload.t (original)
+++ packages/libreturn-value-perl/branches/upstream/current/t/overload.t Mon Aug 7 19:34:03 2006
@@ -1,4 +1,4 @@
-use Test::More tests => 18;
+use Test::More tests => 22;
use strict;
$^W = 1;
@@ -11,6 +11,12 @@
ok ! $failure, 'bad';
is ''.success("Good"), "Good", 'stringified good is good';
+
+ok(success("Good") eq 'Good', 'overloaded "eq"');
+ok(success("Good") ne 'Gqqd', 'overloaded "ne"');
+
+ok(success("Good") lt 'Hood', 'overloaded "lt"');
+ok(success("Good") gt 'Food', 'overloaded "gt"');
ok failure() < 1 && failure() > -1 && failure() == 0, 'failure is zero';
Propchange: packages/libreturn-value-perl/branches/upstream/current/t/pod-coverage.t
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-perl-cvs-commits
mailing list