r50839 - in /trunk/libuuid-tiny-perl: Changes META.yml README debian/changelog lib/UUID/Tiny.pm t/03-UUID-fork.t
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Wed Jan 13 04:22:59 UTC 2010
Author: jawnsy-guest
Date: Wed Jan 13 04:22:47 2010
New Revision: 50839
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=50839
Log:
New upstream release
Modified:
trunk/libuuid-tiny-perl/Changes
trunk/libuuid-tiny-perl/META.yml
trunk/libuuid-tiny-perl/README
trunk/libuuid-tiny-perl/debian/changelog
trunk/libuuid-tiny-perl/lib/UUID/Tiny.pm
trunk/libuuid-tiny-perl/t/03-UUID-fork.t
Modified: trunk/libuuid-tiny-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuuid-tiny-perl/Changes?rev=50839&op=diff
==============================================================================
--- trunk/libuuid-tiny-perl/Changes (original)
+++ trunk/libuuid-tiny-perl/Changes Wed Jan 13 04:22:47 2010
@@ -1,4 +1,13 @@
Revision history for UUID-Tiny
+
+1.0202 2010-01-12, caugustin.de
+ Fixed a small bug (calling _init_globals without need).
+ Introduced a test on clk_seq uniqueness (due to failed CPAN Tester's
+ ID 6357718). We'll see ...
+
+1.0201 2010-01-12, caugustin.de
+ Bug #50519 fixed: Test number 03 fails on Windows (just skipping this
+ test on MSWin32).
1.02 2009-08-21, caugustin.de
Cosmetic changes to documentation.
@@ -11,7 +20,7 @@
Refactoring by Jesse Vincent.
Testing the legacy interface.
New _init_globals() to make UUID::Tiny "fork-safe".
- Test cases to prove "fork-safety" of v1 u. v4 UUIDs.
+ Test cases to prove "fork-safety" of v1 and v4 UUIDs.
Locking for thread-safety of MD5_CALCULATOR and SHA1_CALCULATOR.
1.01 2009-07-12, caugustin.de
Modified: trunk/libuuid-tiny-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuuid-tiny-perl/META.yml?rev=50839&op=diff
==============================================================================
--- trunk/libuuid-tiny-perl/META.yml (original)
+++ trunk/libuuid-tiny-perl/META.yml Wed Jan 13 04:22:47 2010
@@ -1,7 +1,7 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: UUID-Tiny
-version: 1.02
+version: 1.0202
version_from: lib/UUID/Tiny.pm
installdirs: site
requires:
Modified: trunk/libuuid-tiny-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuuid-tiny-perl/README?rev=50839&op=diff
==============================================================================
--- trunk/libuuid-tiny-perl/README (original)
+++ trunk/libuuid-tiny-perl/README Wed Jan 13 04:22:47 2010
@@ -1,4 +1,4 @@
-UUID-Tiny Version 1.01
+UUID-Tiny Version 1.0202
This is a Pure Perl module for the creation of UUIDs:
@@ -63,7 +63,7 @@
COPYRIGHT AND LICENCE
-Copyright (C) 2009 Christian Augustin
+Copyright (C) 2009, 2010 Christian Augustin
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
Modified: trunk/libuuid-tiny-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuuid-tiny-perl/debian/changelog?rev=50839&op=diff
==============================================================================
--- trunk/libuuid-tiny-perl/debian/changelog (original)
+++ trunk/libuuid-tiny-perl/debian/changelog Wed Jan 13 04:22:47 2010
@@ -1,8 +1,12 @@
-libuuid-tiny-perl (1.02-2) UNRELEASED; urgency=low
+libuuid-tiny-perl (1.0202-1) UNRELEASED; urgency=low
+ [ Ryan Niebur ]
* Update jawnsy's email address
- -- Ryan Niebur <ryanryan52 at gmail.com> Tue, 01 Sep 2009 21:19:58 -0700
+ [ Jonathan Yu ]
+ * New upstream release
+
+ -- Jonathan Yu <jawnsy at cpan.org> Tue, 12 Jan 2010 23:26:11 -0500
libuuid-tiny-perl (1.02-1) unstable; urgency=low
Modified: trunk/libuuid-tiny-perl/lib/UUID/Tiny.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuuid-tiny-perl/lib/UUID/Tiny.pm?rev=50839&op=diff
==============================================================================
--- trunk/libuuid-tiny-perl/lib/UUID/Tiny.pm (original)
+++ trunk/libuuid-tiny-perl/lib/UUID/Tiny.pm Wed Jan 13 04:22:47 2010
@@ -25,6 +25,10 @@
our $MD5_CALCULATOR = Digest::MD5->new();
+# ToDo:
+# - Check and report for undefined UUIDs with all UUID manipulating functions!
+# - Better error propagation for better debugging.
+
=head1 NAME
@@ -33,11 +37,11 @@
=head1 VERSION
-Version 1.02
-
-=cut
-
-our $VERSION = '1.02';
+Version 1.0201
+
+=cut
+
+our $VERSION = '1.0202';
=head1 SYNOPSIS
@@ -691,7 +695,21 @@
if (!defined $Last_Pid || $Last_Pid != $$) {
$Last_Pid = $$;
- $Clk_Seq = _generate_clk_seq();
+ # $Clk_Seq = _generate_clk_seq();
+ my $new_clk_seq = _generate_clk_seq();
+ if (!defined($Clk_Seq) || $new_clk_seq != $Clk_Seq) {
+ $Clk_Seq = $new_clk_seq;
+ }
+ else {
+ $new_clk_seq = _generate_clk_seq();
+ if ($new_clk_seq != $Clk_Seq) {
+ $Clk_Seq = $new_clk_seq;
+ }
+ else {
+ croak __PACKAGE__
+ . "::_init_globals(): Can't get unique clk_seq!";
+ }
+ }
srand();
}
@@ -718,7 +736,7 @@
sub _generate_clk_seq {
my $self = shift;
- _init_globals();
+ # _init_globals();
my @data;
push @data, q{} . $$;
Modified: trunk/libuuid-tiny-perl/t/03-UUID-fork.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuuid-tiny-perl/t/03-UUID-fork.t?rev=50839&op=diff
==============================================================================
--- trunk/libuuid-tiny-perl/t/03-UUID-fork.t (original)
+++ trunk/libuuid-tiny-perl/t/03-UUID-fork.t Wed Jan 13 04:22:47 2010
@@ -2,10 +2,17 @@
use strict;
use warnings;
-use Test::More 'no_plan';
+use Test::More;
use Carp;
use UUID::Tiny qw(:std);
+
+if ($^O eq 'MSWin32') {
+ plan skip_all => 'Pipe-open not supported on MSWin32';
+}
+else {
+ plan tests => 6
+}
my %uuid;
More information about the Pkg-perl-cvs-commits
mailing list