r65381 - in /trunk/libtry-tiny-perl: Changes META.yml debian/changelog debian/control lib/Try/Tiny.pm t/finally.t t/given_when.t

carnil at users.alioth.debian.org carnil at users.alioth.debian.org
Mon Nov 29 08:24:06 UTC 2010


Author: carnil
Date: Mon Nov 29 08:23:58 2010
New Revision: 65381

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=65381
Log:
* New upstream release
* Add myself to Uploaders.

Modified:
    trunk/libtry-tiny-perl/Changes
    trunk/libtry-tiny-perl/META.yml
    trunk/libtry-tiny-perl/debian/changelog
    trunk/libtry-tiny-perl/debian/control
    trunk/libtry-tiny-perl/lib/Try/Tiny.pm
    trunk/libtry-tiny-perl/t/finally.t
    trunk/libtry-tiny-perl/t/given_when.t

Modified: trunk/libtry-tiny-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtry-tiny-perl/Changes?rev=65381&op=diff
==============================================================================
--- trunk/libtry-tiny-perl/Changes (original)
+++ trunk/libtry-tiny-perl/Changes Mon Nov 29 08:23:58 2010
@@ -1,3 +1,9 @@
+0.09
+  - don't index Try::Tiny::ScopeGuard
+
+0.08
+  - fix require vs use issue in blead (RT63410)
+
 0.07
   - allow multiple finally blocks
   - pass the error, if any, to finally blocks when called

Modified: trunk/libtry-tiny-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtry-tiny-perl/META.yml?rev=65381&op=diff
==============================================================================
--- trunk/libtry-tiny-perl/META.yml (original)
+++ trunk/libtry-tiny-perl/META.yml Mon Nov 29 08:23:58 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Try-Tiny
-version:            0.07
+version:            0.09
 abstract:           ~
 author:  []
 license:            unknown

Modified: trunk/libtry-tiny-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtry-tiny-perl/debian/changelog?rev=65381&op=diff
==============================================================================
--- trunk/libtry-tiny-perl/debian/changelog (original)
+++ trunk/libtry-tiny-perl/debian/changelog Mon Nov 29 08:23:58 2010
@@ -1,3 +1,10 @@
+libtry-tiny-perl (0.09-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * Add myself to Uploaders.
+
+ -- Salvatore Bonaccorso <carnil at debian.org>  Mon, 29 Nov 2010 09:23:48 +0100
+
 libtry-tiny-perl (0.07-1) unstable; urgency=low
 
   [ gregor herrmann ]

Modified: trunk/libtry-tiny-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtry-tiny-perl/debian/control?rev=65381&op=diff
==============================================================================
--- trunk/libtry-tiny-perl/debian/control (original)
+++ trunk/libtry-tiny-perl/debian/control Mon Nov 29 08:23:58 2010
@@ -4,7 +4,8 @@
 Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Ansgar Burchardt <ansgar at debian.org>, Jonathan Yu <jawnsy at cpan.org>
+Uploaders: Ansgar Burchardt <ansgar at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
+ Salvatore Bonaccorso <carnil at debian.org>
 Standards-Version: 3.9.1
 Homepage: http://search.cpan.org/dist/Try-Tiny/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtry-tiny-perl/

Modified: trunk/libtry-tiny-perl/lib/Try/Tiny.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtry-tiny-perl/lib/Try/Tiny.pm?rev=65381&op=diff
==============================================================================
--- trunk/libtry-tiny-perl/lib/Try/Tiny.pm (original)
+++ trunk/libtry-tiny-perl/lib/Try/Tiny.pm Mon Nov 29 08:23:58 2010
@@ -10,7 +10,7 @@
 	@ISA = qw(Exporter);
 }
 
-$VERSION = "0.07";
+$VERSION = "0.09";
 
 $VERSION = eval $VERSION;
 
@@ -130,7 +130,8 @@
 }
 
 {
-  package Try::Tiny::ScopeGuard;
+  package # hide from PAUSE
+    Try::Tiny::ScopeGuard;
 
   sub _new {
     shift;

Modified: trunk/libtry-tiny-perl/t/finally.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtry-tiny-perl/t/finally.t?rev=65381&op=diff
==============================================================================
--- trunk/libtry-tiny-perl/t/finally.t (original)
+++ trunk/libtry-tiny-perl/t/finally.t Mon Nov 29 08:23:58 2010
@@ -3,7 +3,7 @@
 use strict;
 #use warnings;
 
-use Test::More tests => 12;
+use Test::More tests => 13;
 
 BEGIN { use_ok 'Try::Tiny' };
 
@@ -62,4 +62,16 @@
   is_deeply(\@_, [ "Die\n" ], "finally got passed the exception");
 };
 
+try {
+    try {
+        die "foo";
+    }
+    catch {
+        die "bar";
+    }
+    finally {
+        pass("finally called");
+    };
+};
+
 1;

Modified: trunk/libtry-tiny-perl/t/given_when.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtry-tiny-perl/t/given_when.t?rev=65381&op=diff
==============================================================================
--- trunk/libtry-tiny-perl/t/given_when.t (original)
+++ trunk/libtry-tiny-perl/t/given_when.t Mon Nov 29 08:23:58 2010
@@ -10,6 +10,8 @@
     plan tests => 3;
     use_ok("Try::Tiny");
 }
+
+use 5.010;
 
 my ( $error, $topic );
 




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