r77708 - in /branches/upstream/libautobox-perl/current: Changes META.yml README lib/autobox.pm lib/autobox.pod t/rt_46814.t

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Fri Jul 22 10:21:30 UTC 2011


Author: angelabad-guest
Date: Fri Jul 22 10:21:27 2011
New Revision: 77708

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=77708
Log:
[svn-upgrade] new version libautobox-perl (2.75)

Modified:
    branches/upstream/libautobox-perl/current/Changes
    branches/upstream/libautobox-perl/current/META.yml
    branches/upstream/libautobox-perl/current/README
    branches/upstream/libautobox-perl/current/lib/autobox.pm
    branches/upstream/libautobox-perl/current/lib/autobox.pod
    branches/upstream/libautobox-perl/current/t/rt_46814.t

Modified: branches/upstream/libautobox-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/Changes?rev=77708&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/Changes (original)
+++ branches/upstream/libautobox-perl/current/Changes Fri Jul 22 10:21:27 2011
@@ -1,4 +1,7 @@
 Revision history for Perl extension autobox
+
+2.75  Thu Jul 21 22:07:26 2011
+    - POD spelling fixes (thanks, gregor herrmann)
 
 2.74  Wed Jul 20 14:25:52 2011
     - portability fix for perl >= 5.14 (thanks, chorny)

Modified: branches/upstream/libautobox-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/META.yml?rev=77708&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/META.yml (original)
+++ branches/upstream/libautobox-perl/current/META.yml Fri Jul 22 10:21:27 2011
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               autobox
-version:            2.74
+version:            2.75
 abstract:           call methods on native types
 author:
     - chocolateboy <chocolate at cpan.org>

Modified: branches/upstream/libautobox-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/README?rev=77708&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/README (original)
+++ branches/upstream/libautobox-perl/current/README Fri Jul 22 10:21:27 2011
@@ -1,4 +1,4 @@
-autobox version 2.74
+autobox version 2.75
 ====================
 
 The autobox pragma allows methods to be called on integers, floats, strings, arrays,

Modified: branches/upstream/libautobox-perl/current/lib/autobox.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/lib/autobox.pm?rev=77708&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/lib/autobox.pm (original)
+++ branches/upstream/libautobox-perl/current/lib/autobox.pm Fri Jul 22 10:21:27 2011
@@ -11,7 +11,7 @@
 use Scope::Guard;
 use Storable;
 
-our $VERSION = '2.74';
+our $VERSION = '2.75';
 
 XSLoader::load 'autobox', $VERSION;
 

Modified: branches/upstream/libautobox-perl/current/lib/autobox.pod
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/lib/autobox.pod?rev=77708&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/lib/autobox.pod (original)
+++ branches/upstream/libautobox-perl/current/lib/autobox.pod Fri Jul 22 10:21:27 2011
@@ -57,7 +57,7 @@
 defined in a class whose name corresponds to the C<ref()> type of that
 value - or SCALAR if the value is a non-reference.
 
-This mapping can be overriden by passing key/value pairs to the C<use autobox>
+This mapping can be overridden by passing key/value pairs to the C<use autobox>
 statement, in which the keys represent native types, and the values
 their associated classes.
 
@@ -93,7 +93,7 @@
     HASH::values(\%$hash)
 
 Multiple C<use autobox> statements can appear in the same scope. These are merged both "horizontally" (i.e.
-mutiple classes can be associated with a particular type) and "vertically" (i.e. multiple classes can be associated
+multiple classes can be associated with a particular type) and "vertically" (i.e. multiple classes can be associated
 with multiple types).
 
 Thus:
@@ -500,7 +500,7 @@
 
     1;
 
-Note that C<trim> is defined in an auxilliary class rather than in C<String::Trim> itself to prevent
+Note that C<trim> is defined in an auxiliary class rather than in C<String::Trim> itself to prevent
 C<String::Trim>'s own methods (i.e. the methods it inherits from C<autobox>) being exposed to SCALAR types.
 
 This module can now be used without a C<use autobox> statement to enable the C<trim> method in the current
@@ -648,7 +648,7 @@
 
 =head1 VERSION
 
-2.74
+2.75
 
 =head1 SEE ALSO
 

Modified: branches/upstream/libautobox-perl/current/t/rt_46814.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libautobox-perl/current/t/rt_46814.t?rev=77708&op=diff
==============================================================================
--- branches/upstream/libautobox-perl/current/t/rt_46814.t (original)
+++ branches/upstream/libautobox-perl/current/t/rt_46814.t Fri Jul 22 10:21:27 2011
@@ -6,8 +6,7 @@
 use strict;
 use warnings;
 
-use Devel::Peek;
-use Test::More tests => 6;
+use Test::More tests => 7;
 
 use autobox::universal 'type';
 
@@ -17,7 +16,7 @@
 is type($f), 'FLOAT', 'Pi is still a FLOAT';
 
 my $i = 42;
-
 is type($i), 'INTEGER', '42 == INTEGER';
-is type(int($i/3)), 'INTEGER', 'int(42/3) == INTEGER';
+is type($i / 3), 'FLOAT', '42 / 3 == FLOAT';
+is type(int($i / 3)), 'INTEGER', 'int(42 / 3) == INTEGER';
 is type($i), 'INTEGER', '42 is still an INTEGER'; # XXX D'oh! This used to return FLOAT




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