r54354 - in /trunk/libstring-formatter-perl: Changes LICENSE MANIFEST META.json META.yml Makefile.PL README bench.pl debian/changelog lib/String/Formatter.pm lib/String/Formatter/Cookbook.pm t/02basic.t t/basic.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Mon Mar 15 00:44:29 UTC 2010


Author: jawnsy-guest
Date: Mon Mar 15 00:44:23 2010
New Revision: 54354

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=54354
Log:
New upstream release

Added:
    trunk/libstring-formatter-perl/t/basic.t
      - copied unchanged from r54316, branches/upstream/libstring-formatter-perl/current/t/basic.t
Removed:
    trunk/libstring-formatter-perl/t/02basic.t
Modified:
    trunk/libstring-formatter-perl/Changes
    trunk/libstring-formatter-perl/LICENSE
    trunk/libstring-formatter-perl/MANIFEST
    trunk/libstring-formatter-perl/META.json
    trunk/libstring-formatter-perl/META.yml
    trunk/libstring-formatter-perl/Makefile.PL
    trunk/libstring-formatter-perl/README
    trunk/libstring-formatter-perl/bench.pl
    trunk/libstring-formatter-perl/debian/changelog
    trunk/libstring-formatter-perl/lib/String/Formatter.pm
    trunk/libstring-formatter-perl/lib/String/Formatter/Cookbook.pm

Modified: trunk/libstring-formatter-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libstring-formatter-perl/Changes?rev=54354&op=diff
==============================================================================
--- trunk/libstring-formatter-perl/Changes (original)
+++ trunk/libstring-formatter-perl/Changes Mon Mar 15 00:44:23 2010
@@ -1,4 +1,14 @@
 Revision history for String-Formatter
+
+0.100720  2010-03-13 09:36:03 America/New_York
+          fix an ancillary file that brought in a bunch of bogus prereqs
+
+0.100690  2010-03-10 21:09:36 America/New_York
+          fix a 5.10-ism that slipped in
+
+0.100680  2010-03-09 20:54:11 America/New_York
+          bug fix: newlines no longer end formatting, but not allowed in braces
+          (thanks for bug report, Christopher J. Madsen)
 
 0.093221  2009-11-18 08:13:22 America/New_York
           remove stupidly left-in hardcoded version!

Modified: trunk/libstring-formatter-perl/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libstring-formatter-perl/LICENSE?rev=54354&op=diff
==============================================================================
--- trunk/libstring-formatter-perl/LICENSE (original)
+++ trunk/libstring-formatter-perl/LICENSE Mon Mar 15 00:44:23 2010
@@ -1,4 +1,4 @@
-This software is Copyright (c) 2009 by Ricardo Signes <rjbs at cpan.org>.
+This software is Copyright (c) 2010 by Ricardo Signes <rjbs at cpan.org>.
 
 This is free software, licensed under:
 

Modified: trunk/libstring-formatter-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libstring-formatter-perl/MANIFEST?rev=54354&op=diff
==============================================================================
--- trunk/libstring-formatter-perl/MANIFEST (original)
+++ trunk/libstring-formatter-perl/MANIFEST Mon Mar 15 00:44:23 2010
@@ -10,7 +10,7 @@
 lib/String/Formatter.pm
 lib/String/Formatter/Cookbook.pm
 notes.txt
-t/02basic.t
+t/basic.t
 t/braces.t
 t/method.t
 t/params.t

Modified: trunk/libstring-formatter-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libstring-formatter-perl/META.json?rev=54354&op=diff
==============================================================================
--- trunk/libstring-formatter-perl/META.json (original)
+++ trunk/libstring-formatter-perl/META.json Mon Mar 15 00:44:23 2010
@@ -1,23 +1,29 @@
 {
    "resources" : {
-      "repository" : "http://github.com/rjbs/string-formatter"
+      "repository" : "git://git.codesimply.com/String-Formatter.git"
    },
    "meta-spec" : {
       "version" : 1.4,
       "url" : "http://module-build.sourceforge.net/META-spec-v1.4.html"
    },
-   "generated_by" : "Dist::Zilla version 1.093220",
-   "version" : "0.093221",
+   "generated_by" : "Dist::Zilla version 1.100710",
+   "version" : "0.100720",
    "name" : "String-Formatter",
    "author" : [
       "Ricardo Signes <rjbs at cpan.org>",
       "Darren Chamberlain <darren at cpan.org>"
    ],
    "license" : "gpl",
+   "build_requires" : {},
    "requires" : {
+      "perl" : "5.006",
+      "Test::More" : "0",
       "Params::Util" : "0",
       "Sub::Exporter" : "0"
    },
-   "abstract" : "build sprintf-like functions of your own"
+   "abstract" : "build sprintf-like functions of your own",
+   "configure_requires" : {
+      "ExtUtils::MakeMaker" : "6.11"
+   }
 }
 

Modified: trunk/libstring-formatter-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libstring-formatter-perl/META.yml?rev=54354&op=diff
==============================================================================
--- trunk/libstring-formatter-perl/META.yml (original)
+++ trunk/libstring-formatter-perl/META.yml Mon Mar 15 00:44:23 2010
@@ -3,7 +3,10 @@
 author:
   - 'Ricardo Signes <rjbs at cpan.org>'
   - 'Darren Chamberlain <darren at cpan.org>'
-generated_by: 'Dist::Zilla version 1.093220'
+build_requires: {}
+configure_requires:
+  ExtUtils::MakeMaker: 6.11
+generated_by: 'Dist::Zilla version 1.100710'
 license: gpl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -12,6 +15,8 @@
 requires:
   Params::Util: 0
   Sub::Exporter: 0
+  Test::More: 0
+  perl: 5.006
 resources:
-  repository: http://github.com/rjbs/string-formatter
-version: 0.093221
+  repository: git://git.codesimply.com/String-Formatter.git
+version: 0.100720

Modified: trunk/libstring-formatter-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libstring-formatter-perl/Makefile.PL?rev=54354&op=diff
==============================================================================
--- trunk/libstring-formatter-perl/Makefile.PL (original)
+++ trunk/libstring-formatter-perl/Makefile.PL Mon Mar 15 00:44:23 2010
@@ -2,22 +2,39 @@
 use strict;
 use warnings;
 
+ BEGIN { require 5.006; } 
+
+use ExtUtils::MakeMaker 6.11;
 
 
-use ExtUtils::MakeMaker;
 
-WriteMakefile(
-  DISTNAME  => 'String-Formatter',
-  NAME      => 'String::Formatter',
-  AUTHOR    => "Ricardo\ Signes\ \<rjbs\@cpan\.org\>\,\ Darren\ Chamberlain\ \<darren\@cpan\.org\>",
-  ABSTRACT  => "build\ sprintf\-like\ functions\ of\ your\ own",
-  VERSION   => '0.093221',
-  EXE_FILES => [ qw() ],
-  (eval { ExtUtils::MakeMaker->VERSION(6.31) } ? (LICENSE => 'gpl') : ()),
-  PREREQ_PM    => {
-    "Params::Util" => '0',
-    "Sub::Exporter" => '0',
-  },
-  test => {TESTS => 't/*.t'}
-);
+my %WriteMakefileArgs = (
+                       'test' => {
+                                   'TESTS' => 't/*.t'
+                                 },
+                       'NAME' => 'String::Formatter',
+                       'DISTNAME' => 'String-Formatter',
+                       'CONFIGURE_REQUIRES' => {
+                                                 'ExtUtils::MakeMaker' => '6.11'
+                                               },
+                       'AUTHOR' => 'Ricardo Signes <rjbs at cpan.org>, Darren Chamberlain <darren at cpan.org>',
+                       'BUILD_REQUIRES' => {},
+                       'ABSTRACT' => 'build sprintf-like functions of your own',
+                       'EXE_FILES' => [],
+                       'VERSION' => '0.100720',
+                       'PREREQ_PM' => {
+                                        'Test::More' => '0',
+                                        'Params::Util' => '0',
+                                        'Sub::Exporter' => '0'
+                                      },
+                       'LICENSE' => 'gpl'
+                     );
 
+
+delete $WriteMakefileArgs{LICENSE}
+  unless eval { ExtUtils::MakeMaker->VERSION(6.31) };
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+

Modified: trunk/libstring-formatter-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libstring-formatter-perl/README?rev=54354&op=diff
==============================================================================
--- trunk/libstring-formatter-perl/README (original)
+++ trunk/libstring-formatter-perl/README Mon Mar 15 00:44:23 2010
@@ -1,11 +1,11 @@
 
 
 This archive contains the distribution String-Formatter, version
-0.093221:
+0.100720:
 
   build sprintf-like functions of your own
 
-This software is Copyright (c) 2009 by Ricardo Signes <rjbs at cpan.org>.
+This software is Copyright (c) 2010 by Ricardo Signes <rjbs at cpan.org>.
 
 This is free software, licensed under:
 

Modified: trunk/libstring-formatter-perl/bench.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libstring-formatter-perl/bench.pl?rev=54354&op=diff
==============================================================================
--- trunk/libstring-formatter-perl/bench.pl (original)
+++ trunk/libstring-formatter-perl/bench.pl Mon Mar 15 00:44:23 2010
@@ -1,11 +1,15 @@
+#!perl -l
 use strict;
-use 5.010;
 use lib 'lib';
 
-use Benchmark;
-use String::Format;
 use String::Formatter;
-use Template;
+
+# Ha ha ha.  I am avoiding AutoPrereq from the following.
+eval "
+  use Benchmark;
+  use Template;
+  use String::Format;
+";
 
 my $hash = {
   a => 'apples',
@@ -20,11 +24,11 @@
 
 my $tt2 = Template->new;
 
-say $index_format->("I like to eat %a and %b.");
-say $fmt->format("I like to eat %a and %b.");
+print $index_format->("I like to eat %a and %b.");
+print $fmt->format("I like to eat %a and %b.");
 
 $tt2->process(\'I like to eat [%a%] and [%b%].', $hash, \my $str);
-say $str;
+print $str;
 
 timethese(100_000, {
   dlc  => sub { $index_format->("I like to eat %a and %b.") },

Modified: trunk/libstring-formatter-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libstring-formatter-perl/debian/changelog?rev=54354&op=diff
==============================================================================
--- trunk/libstring-formatter-perl/debian/changelog (original)
+++ trunk/libstring-formatter-perl/debian/changelog Mon Mar 15 00:44:23 2010
@@ -1,3 +1,9 @@
+libstring-formatter-perl (0.100720-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Jonathan Yu <jawnsy at cpan.org>  Sun, 14 Mar 2010 13:07:42 -0400
+
 libstring-formatter-perl (0.093221-1) unstable; urgency=low
 
   * Initial release (cf. #562102).

Modified: trunk/libstring-formatter-perl/lib/String/Formatter.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libstring-formatter-perl/lib/String/Formatter.pm?rev=54354&op=diff
==============================================================================
--- trunk/libstring-formatter-perl/lib/String/Formatter.pm (original)
+++ trunk/libstring-formatter-perl/lib/String/Formatter.pm Mon Mar 15 00:44:23 2010
@@ -1,9 +1,7 @@
 use strict;
 use warnings;
 package String::Formatter;
-our $VERSION = '0.093221';
-
-
+our $VERSION = '0.100720';
 # ABSTRACT: build sprintf-like functions of your own
 
 
@@ -123,7 +121,7 @@
   my @to_fmt;
   my $pos = 0;
 
-  while ($string =~ m{\G(.*?)$regex}g) {
+  while ($string =~ m{\G(.*?)$regex}gs) {
     push @to_fmt, $1, {
       orig      => $2,
       alignment => $3,
@@ -274,7 +272,7 @@
 
 =head1 VERSION
 
-version 0.093221
+version 0.100720
 
 =head1 WARNING
 
@@ -517,27 +515,27 @@
 The other four arguments change how the formatting occurs.  Formatting happens
 in five phases:
 
-=over
-
-=item 1.
+=over 4
+
+=item 1
 
 format_hunker - format string is broken down into fixed and %-code hunks
 
-=item 2.
+=item 2
 
 input_processor - the other inputs are validated and processed
 
-=item 3.
+=item 3
 
 string_replacer - replacement strings are generated by using conversions
 
-=item 4.
+=item 4
 
 hunk_formatter - replacement strings in hunks are formatted
 
-=item 5.
-
-all hunks, now strings, are recombined; this phase is just C<<< join >>>
+=item 5
+
+all hunks, now strings, are recombined; this phase is just C<join>
 
 =back
 
@@ -559,7 +557,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is Copyright (c) 2009 by Ricardo Signes <rjbs at cpan.org>.
+This software is Copyright (c) 2010 by Ricardo Signes <rjbs at cpan.org>.
 
 This is free software, licensed under:
 

Modified: trunk/libstring-formatter-perl/lib/String/Formatter/Cookbook.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libstring-formatter-perl/lib/String/Formatter/Cookbook.pm?rev=54354&op=diff
==============================================================================
--- trunk/libstring-formatter-perl/lib/String/Formatter/Cookbook.pm (original)
+++ trunk/libstring-formatter-perl/lib/String/Formatter/Cookbook.pm Mon Mar 15 00:44:23 2010
@@ -1,9 +1,7 @@
 use strict;
 use warnings;
 package String::Formatter::Cookbook;
-our $VERSION = '0.093221';
-
-
+our $VERSION = '0.100720';
 # ABSTRACT: ways to put String::Formatter to use
 1;
 
@@ -17,7 +15,7 @@
 
 =head1 VERSION
 
-version 0.093221
+version 0.100720
 
 =head1 OVERVIEW
 
@@ -157,9 +155,6 @@
 You can easily use this to implement an actual stringf-like method:
 
   package MyClass;
-our $VERSION = '0.093221';
-
-
 
   use String::Formatter method_stringf => {
     -as => '_stringf',
@@ -182,7 +177,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is Copyright (c) 2009 by Ricardo Signes <rjbs at cpan.org>.
+This software is Copyright (c) 2010 by Ricardo Signes <rjbs at cpan.org>.
 
 This is free software, licensed under:
 




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