[libmath-base-convert-perl] 01/06: Imported Upstream version 0.10

gregor herrmann gregoa at debian.org
Thu Oct 22 17:17:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libmath-base-convert-perl.

commit 33b94720838ea0236cc1b75580f887a31a2d8f22
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Oct 22 19:06:40 2015 +0200

    Imported Upstream version 0.10
---
 Changes                            |  7 +++++++
 Convert.pm                         | 12 ++++++------
 META.yml                           |  2 +-
 README                             | 10 +++++-----
 bitmaps                            |  6 +++---
 lib/Math/Base/Convert/Bases.pm     | 10 +++++++---
 lib/Math/Base/Convert/CalcPP.pm    |  8 +++++---
 lib/Math/Base/Convert/Shortcuts.pm |  8 ++++----
 8 files changed, 38 insertions(+), 25 deletions(-)

diff --git a/Changes b/Changes
index 512f31f..a1a93e6 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,12 @@
 Revision history for Perl extension Math::Base::Convert
 
+0.10  Wed Oct 21 19:56:19 PDT 2015
+	finish the typo corrections started in 0.09, sigh...
+
+0.09  Wed Oct 21 18:53:44 PDT 2015
+	corrected numerous typos thanks to patch by
+	gregor herrmann <gregoa at debian.org>
+
 0.08  Mon Jan 27 11:59:58 PST 2014
         modify Makefile.PL to bypass missing 'pod2text'
 
diff --git a/Convert.pm b/Convert.pm
index 986c95c..8b037f0 100644
--- a/Convert.pm
+++ b/Convert.pm
@@ -19,7 +19,7 @@ require Math::Base::Convert::Bases;	# drag in BASES
 	Exporter
 );
 
-$VERSION = do { my @r = (q$Revision: 0.08 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+$VERSION = do { my @r = (q$Revision: 0.10 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
 
 @EXPORT_OK   = ( qw( cnv cnvpre cnvabs basemap ), @BASES );
 %EXPORT_TAGS = (
@@ -325,7 +325,7 @@ Math::Base::Convert - very fast base to base conversion
 	m64		base 64 0-63 from MIME::Base64
 	iru		base 64 P10 protocol - IRCu daemon
 	url		base 64 url with no %2B %2F expansion of + - /
-	rex		base 64 regular expression varient
+	rex		base 64 regular expression variant
 	id0		base 64 IDentifier style 0
 	id1		base 64 IDentifier style 1
 	xnt		base 64 XML Name Tokens (Nmtoken)
@@ -364,7 +364,7 @@ repetitive conversions. See the benchmarks sub-directory in this distribution.
 
 =head1 BUILT IN NUMBER SETS
 
-Number set varients courtesy of the authors of Math::Base:Cnv and
+Number set variants courtesy of the authors of Math::Base:Cnv and
 Math::BaseConvert.
 
 The functions below return a reference to an array
@@ -383,7 +383,7 @@ The functions below return a reference to an array
   m64 => ['A'..'Z', 'a'..'z', '0'..'9', '+', '/'] # MIMI::Base64
   iru => ['A'..'Z', 'a'..'z', '0'..'9', '[', ']'] # P10 - IRCu
   url => ['A'..'Z', 'a'..'z', '0'..'9', '*', '-'] # url no %2B %2F
-  rex => ['A'..'Z', 'a'..'z', '0'..'9', '!', '-'] # regex varient
+  rex => ['A'..'Z', 'a'..'z', '0'..'9', '!', '-'] # regex variant
   id0 => ['A'..'Z', 'a'..'z', '0'..'9', '_', '-'] # ID 0
   id1 => ['A'..'Z', 'a'..'z', '0'..'9', '.', '_'] # ID 1
   xnt => ['A'..'Z', 'a'..'z', '0'..'9', '.', '-'] # XML (Nmtoken)
@@ -517,7 +517,7 @@ This function / method returns a pointer to a hash that maps the keys of a base
 numeric value for base conversion. It accepts B<base> in any of the forms
 described for B<cnv>.
 
-The return basemap includes upper and lower case varients of the the number
+The return basemap includes upper and lower case variants of the the number
 base in cases such as B<hex> where upper and lower case a..f, A..F map to
 the same numeric value for base conversion.
 
@@ -638,7 +638,7 @@ Michael Robinton, <miker at cpan.org>
 
 =head1 COPYRIGHT
 
-Copyright 2012-2014, Michael Robinton
+Copyright 2012-2015, Michael Robinton
 
 This program is free software; you may redistribute it and/or modify it
 under the same terms as Perl itself.
diff --git a/META.yml b/META.yml
index a127419..671f10d 100644
--- a/META.yml
+++ b/META.yml
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                Math-Base-Convert
-version:             0.08
+version:             0.10
 abstract:            ~
 license:             ~
 author:              ~
diff --git a/README b/README
index 658d9ed..024dd02 100644
--- a/README
+++ b/README
@@ -25,7 +25,7 @@ SYNOPSIS
             m64             base 64 0-63 from MIME::Base64
             iru             base 64 P10 protocol - IRCu daemon
             url             base 64 url with no %2B %2F expansion of + - /
-            rex             base 64 regular expression varient
+            rex             base 64 regular expression variant
             id0             base 64 IDentifier style 0
             id1             base 64 IDentifier style 1
             xnt             base 64 XML Name Tokens (Nmtoken)
@@ -63,7 +63,7 @@ PREFERRED USE
     sub-directory in this distribution.
 
 BUILT IN NUMBER SETS
-    Number set varients courtesy of the authors of Math::Base:Cnv and
+    Number set variants courtesy of the authors of Math::Base:Cnv and
     Math::BaseConvert.
 
     The functions below return a reference to an array
@@ -82,7 +82,7 @@ BUILT IN NUMBER SETS
       m64 => ['A'..'Z', 'a'..'z', '0'..'9', '+', '/'] # MIMI::Base64
       iru => ['A'..'Z', 'a'..'z', '0'..'9', '[', ']'] # P10 - IRCu
       url => ['A'..'Z', 'a'..'z', '0'..'9', '*', '-'] # url no %2B %2F
-      rex => ['A'..'Z', 'a'..'z', '0'..'9', '!', '-'] # regex varient
+      rex => ['A'..'Z', 'a'..'z', '0'..'9', '!', '-'] # regex variant
       id0 => ['A'..'Z', 'a'..'z', '0'..'9', '_', '-'] # ID 0
       id1 => ['A'..'Z', 'a'..'z', '0'..'9', '.', '_'] # ID 1
       xnt => ['A'..'Z', 'a'..'z', '0'..'9', '.', '-'] # XML (Nmtoken)
@@ -205,7 +205,7 @@ USAGE
         keys of a base to its numeric value for base conversion. It accepts
         base in any of the forms described for cnv.
 
-        The return basemap includes upper and lower case varients of the the
+        The return basemap includes upper and lower case variants of the the
         number base in cases such as hex where upper and lower case a..f,
         A..F map to the same numeric value for base conversion.
 
@@ -317,7 +317,7 @@ AUTHOR
     Michael Robinton, <miker at cpan.org>
 
 COPYRIGHT
-    Copyright 2012-2014, Michael Robinton
+    Copyright 2012-2015, Michael Robinton
 
     This program is free software; you may redistribute it and/or modify it
     under the same terms as Perl itself.
diff --git a/bitmaps b/bitmaps
index 5d8e32b..e43b737 100644
--- a/bitmaps
+++ b/bitmaps
@@ -6,7 +6,7 @@ require './lib/Math/Base/Convert/Bases.pm';	# pointer to all standard bases
 
 # will update the Bitmaps module version below
 #
-my $VERSION = do { my @r = (q$Revision: 0.01 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+my $VERSION = do { my @r = (q$Revision: 0.02 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
 
 my $bases = Math::Base::Convert->_bases;
 
@@ -132,7 +132,7 @@ __END__
 
 =head1 NAME
 
-Math::Base::Convert::Bitmaps
+Math::Base::Convert::Bitmaps - pregenerated bit pattern to base power of 2 translation tables
 
 This package contains no documentation
 
@@ -142,7 +142,7 @@ Michael Robinton, michael at bizsystems.com
 
 =head1 COPYRIGHT
 
-Copyright 2012, Michael Robinton
+Copyright 2012-2015, Michael Robinton
 
 This program is free software; you may redistribute it and/or modify it
 under the same terms as Perl itself.   
diff --git a/lib/Math/Base/Convert/Bases.pm b/lib/Math/Base/Convert/Bases.pm
index 13cfd67..97fc997 100644
--- a/lib/Math/Base/Convert/Bases.pm
+++ b/lib/Math/Base/Convert/Bases.pm
@@ -2,7 +2,7 @@
 
 package Math::Base::Convert::Bases;
 
-$VERSION = 0.02;
+$VERSION = 0.03;
 
 package Math::Base::Convert;	# into the main package
 
@@ -133,7 +133,11 @@ sub _bases {
 
 __END__
 
-=head1 NAME - Math::Base::Convert::Bases
+=head1 NAME
+
+Math::Base::Convert::Bases - helper module for bases
+
+=head1 DESCRIPTION
 
 This package contains no documentation
 
@@ -145,7 +149,7 @@ Michael Robinton, michael at bizsystems.com
 
 =head1 COPYRIGHT
 
-Copyright 2012, Michael Robinton
+Copyright 2012-2015, Michael Robinton
 
 This program is free software; you may redistribute it and/or modify it
 under the same terms as Perl itself.   
diff --git a/lib/Math/Base/Convert/CalcPP.pm b/lib/Math/Base/Convert/CalcPP.pm
index 32d6cb9..0a61ea7 100644
--- a/lib/Math/Base/Convert/CalcPP.pm
+++ b/lib/Math/Base/Convert/CalcPP.pm
@@ -5,7 +5,7 @@ package Math::Base::Convert::CalcPP;
 use strict;
 use vars qw($VERSION);
 
-$VERSION = do { my @r = (q$Revision: 0.02 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+$VERSION = do { my @r = (q$Revision: 0.03 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
 
 # test number < 2^32 is NOT power of 2
 #
@@ -162,7 +162,7 @@ __END__
 
 =head1 NAME
 
-Math::Base::Convert::CalcPP
+Math::Base::Convert::CalcPP - standard methods used by Math::Base::Convert
 
 =head1 DESCRIPTION
 
@@ -209,13 +209,15 @@ algorithim like:
     }
     return $output;
 
+=back
+
 =head1 AUTHOR
    
 Michael Robinton, michael at bizsystems.com
 
 =head1 COPYRIGHT
 
-Copyright 2012, Michael Robinton
+Copyright 2012-15, Michael Robinton
 
 This program is free software; you may redistribute it and/or modify it
 under the same terms as Perl itself.
diff --git a/lib/Math/Base/Convert/Shortcuts.pm b/lib/Math/Base/Convert/Shortcuts.pm
index 17e38af..d28117c 100644
--- a/lib/Math/Base/Convert/Shortcuts.pm
+++ b/lib/Math/Base/Convert/Shortcuts.pm
@@ -3,7 +3,7 @@ package Math::Base::Convert::Shortcuts;
 use vars qw($VERSION);
 use strict;
 
-$VERSION = do { my @r = (q$Revision: 0.03 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+$VERSION = do { my @r = (q$Revision: 0.05 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
 
 # load bitmaps
 
@@ -387,7 +387,7 @@ sub useTObaseShortcuts {
       }
       $map = $bc->{tmap};
     }
-    elsif ($bp == 3) {				# octal varient?
+    elsif ($bp == 3) {				# octal variant?
       $map = $xlt->[$bp];
     } else {
       $map = $xlt->[0]->{$bname};		# standard map
@@ -419,7 +419,7 @@ __END__
 
 =head1 NAME
 
-Math::Base::Convert::Shortcuts
+Math::Base::Convert::Shortcuts - methods for converting powers of 2 bases
 
 =head1 DESCRIPTION
 
@@ -448,7 +448,7 @@ Michael Robinton, michael at bizsystems.com
 
 =head1 COPYRIGHT
 
-Copyright 2012, Michael Robinton
+Copyright 2012-2015, Michael Robinton
 
 This program is free software; you may redistribute it and/or modify it
 under the same terms as Perl itself.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-base-convert-perl.git



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