Commit 915bfcfe authored by Jonathan Yu's avatar Jonathan Yu

[svn-upgrade] Integrating new upstream version, libstring-flogger-perl (1.101170)

parent ebcee1a1
Revision history for String-Flogger
1.101170 2010-04-27 14:59:36 America/New_York
fix a typo in docs (thanks MJD)
1.001 2008-10-14
crank up the JSON prereq (thanks, alexchorny, for the test report)
......
This software is copyright (c) 2008 by Ricardo SIGNES <rjbs@cpan.org>.
This software is copyright (c) 2010 by Ricardo SIGNES <rjbs@cpan.org>.
This is free software; you can redistribute it and/or modify it under
the same terms as perl itself.
the same terms as the Perl 5 programming language system itself.
Terms of Perl itself
Terms of the Perl programming language system itself
a) the GNU General Public License as published by the Free
Software Foundation; either version 1, or (at your option) any
......@@ -12,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
This software is Copyright (c) 2008 by Ricardo SIGNES <rjbs@cpan.org>.
This software is Copyright (c) 2010 by Ricardo SIGNES <rjbs@cpan.org>.
This is free software, licensed under:
......@@ -270,7 +270,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
This software is Copyright (c) 2008 by Ricardo SIGNES <rjbs@cpan.org>.
This software is Copyright (c) 2010 by Ricardo SIGNES <rjbs@cpan.org>.
This is free software, licensed under:
......
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
dist.ini
lib/String/Flogger.pm
t/release-pod-syntax.t
t/synopsis.t
\ No newline at end of file
{
"abstract" : "string munging for loggers",
"author" : [
"Ricardo SIGNES <rjbs@cpan.org>"
],
"build_requires" : {
"Test::More" : "0"
},
"configure_requires" : {
"ExtUtils::MakeMaker" : "6.31"
},
"generated_by" : "Dist::Zilla version 2.101160",
"license" : "perl",
"meta-spec" : {
"url" : "http://module-build.sourceforge.net/META-spec-v1.4.html",
"version" : 1.4
},
"name" : "String-Flogger",
"recommends" : {},
"requires" : {
"JSON" : "0",
"Params::Util" : "0",
"Scalar::Util" : "0",
"Sub::Exporter" : "0",
"Sub::Exporter::Util" : "0"
},
"resources" : {
"repository" : "git://git.codesimply.com/String-Flogger.git"
},
"version" : "1.101170",
"x_Dist_Zilla" : {
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"name" : "@RJBS/@Basic/GatherDir",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Basic/PruneCruft",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Basic/ManifestSkip",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Basic/MetaYAML",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Basic/License",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Basic/Readme",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@RJBS/@Basic/ExtraTests",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Basic/ExecDir",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Basic/ShareDir",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"name" : "@RJBS/@Basic/MakeMaker",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Basic/Manifest",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Basic/TestRelease",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Basic/ConfirmRelease",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Basic/UploadToCPAN",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereq",
"name" : "@RJBS/AutoPrereq",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::AutoVersion",
"name" : "@RJBS/AutoVersion",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::Repository",
"name" : "@RJBS/Repository",
"version" : "0.11"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
"name" : "@RJBS/PodWeaver",
"version" : "3.100710"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@RJBS/@Git/Check",
"version" : "1.100970"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"name" : "@RJBS/@Git/Commit",
"version" : "1.100970"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@RJBS/@Git/Tag",
"version" : "1.100970"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"name" : "@RJBS/@Git/Push",
"version" : "1.100970"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
"version" : "2.101160"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
"version" : "2.101160"
}
],
"zilla" : {
"class" : "Dist::Zilla",
"config" : {
"is_trial" : 0
},
"version" : "2.101160"
}
}
}
---
abstract: string munging for loggers
author:
- Ricardo SIGNES <rjbs@cpan.org>
generated_by: Dist::Zilla::Plugin::MetaYaml version 1.002
---
abstract: 'string munging for loggers'
author:
- 'Ricardo SIGNES <rjbs@cpan.org>'
build_requires:
Test::More: 0
configure_requires:
ExtUtils::MakeMaker: 6.31
generated_by: 'Dist::Zilla version 2.101160'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: String-Flogger
requires:
JSON: 2
recommends: {}
requires:
JSON: 0
Params::Util: 0
Scalar::Util: 0
Sub::Exporter: 0
version: 1.001
Sub::Exporter::Util: 0
resources:
repository: git://git.codesimply.com/String-Flogger.git
version: 1.101170
x_Dist_Zilla:
plugins:
-
class: Dist::Zilla::Plugin::GatherDir
name: '@RJBS/@Basic/GatherDir'
version: 2.101160
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Basic/PruneCruft'
version: 2.101160
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Basic/ManifestSkip'
version: 2.101160
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Basic/MetaYAML'
version: 2.101160
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Basic/License'
version: 2.101160
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Basic/Readme'
version: 2.101160
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@RJBS/@Basic/ExtraTests'
version: 2.101160
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Basic/ExecDir'
version: 2.101160
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Basic/ShareDir'
version: 2.101160
-
class: Dist::Zilla::Plugin::MakeMaker
name: '@RJBS/@Basic/MakeMaker'
version: 2.101160
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Basic/Manifest'
version: 2.101160
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Basic/TestRelease'
version: 2.101160
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Basic/ConfirmRelease'
version: 2.101160
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Basic/UploadToCPAN'
version: 2.101160
-
class: Dist::Zilla::Plugin::AutoPrereq
name: '@RJBS/AutoPrereq'
version: 2.101160
-
class: Dist::Zilla::Plugin::AutoVersion
name: '@RJBS/AutoVersion'
version: 2.101160
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
version: 2.101160
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
version: 2.101160
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
version: 2.101160
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
version: 2.101160
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
version: 2.101160
-
class: Dist::Zilla::Plugin::Repository
name: '@RJBS/Repository'
version: 0.11
-
class: Dist::Zilla::Plugin::PodWeaver
name: '@RJBS/PodWeaver'
version: 3.100710
-
class: Dist::Zilla::Plugin::Git::Check
name: '@RJBS/@Git/Check'
version: 1.100970
-
class: Dist::Zilla::Plugin::Git::Commit
name: '@RJBS/@Git/Commit'
version: 1.100970
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@RJBS/@Git/Tag'
version: 1.100970
-
class: Dist::Zilla::Plugin::Git::Push
name: '@RJBS/@Git/Push'
version: 1.100970
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
version: 2.101160
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
version: 2.101160
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
version: 2.101160
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
version: 2.101160
zilla:
class: Dist::Zilla
config:
is_trial: 0
version: 2.101160
......@@ -2,20 +2,56 @@
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
DISTNAME => 'String-Flogger',
NAME => 'String::Flogger',
AUTHOR => 'Ricardo\ SIGNES\ \<rjbs\@cpan\.org\>',
ABSTRACT => 'string munging for loggers',
VERSION => '1.001',
EXE_FILES => [ qw() ],
(eval { ExtUtils::MakeMaker->VERSION(6.21) } ? (LICENSE => 'perl') : ()),
PREREQ_PM => {
"Scalar::Util" => '0',
"Params::Util" => '0',
"Sub::Exporter" => '0',
"JSON" => '2',
},
);
use ExtUtils::MakeMaker 6.31;
my %WriteMakefileArgs = (
'test' => {
'TESTS' => 't/*.t'
},
'NAME' => 'String::Flogger',
'DISTNAME' => 'String-Flogger',
'CONFIGURE_REQUIRES' => {
'ExtUtils::MakeMaker' => '6.31'
},
'AUTHOR' => 'Ricardo SIGNES <rjbs@cpan.org>',
'BUILD_REQUIRES' => {
'Test::More' => '0'
},
'ABSTRACT' => 'string munging for loggers',
'EXE_FILES' => [],
'VERSION' => '1.101170',
'PREREQ_PM' => {
'Sub::Exporter::Util' => '0',
'Scalar::Util' => '0',
'Params::Util' => '0',
'Sub::Exporter' => '0',
'JSON' => '0'
},
'LICENSE' => 'perl'
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
my $pp = $WriteMakefileArgs{PREREQ_PM};
for my $mod ( keys %$br ) {
if ( exists $pp->{$mod} ) {
$pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
}
else {
$pp->{$mod} = $br->{$mod};
}
}
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);
This archive contains the distribution String-Flogger, version
1.001:
This archive contains the distribution String-Flogger,
version 1.101170:
string munging for loggers
This software is copyright (c) 2008 by Ricardo SIGNES <rjbs@cpan.org>.
This software is copyright (c) 2010 by Ricardo SIGNES <rjbs@cpan.org>.
This is free software; you can redistribute it and/or modify it under
the same terms as perl itself.
the same terms as the Perl 5 programming language system itself.
name = String-Flogger
author = Ricardo SIGNES <rjbs@cpan.org>
license = Perl_5
copyright_holder = Ricardo SIGNES <rjbs@cpan.org>
[@RJBS]
version = 1
use strict;
use warnings;
package String::Flogger;
our $VERSION = '1.001';
BEGIN {
$String::Flogger::VERSION = '1.101170';
}
# ABSTRACT: string munging for loggers
use Params::Util qw(_ARRAYLIKE _CODELIKE);
......@@ -56,7 +57,6 @@ sub flog {
1;
__END__
=pod
=head1 NAME
......@@ -65,37 +65,37 @@ String::Flogger - string munging for loggers
=head1 VERSION
version 1.001
version 1.101170
=head1 SYNOPSIS
use String::Flogger qw(flog);
use String::Flogger qw(flog);
my @inputs = (
'simple!',
my @inputs = (
'simple!',
[ 'slightly %s complex', 'more' ],
[ 'slightly %s complex', 'more' ],
[ 'and inline some data: %s', { look => 'data!' } ],
[ 'and inline some data: %s', { look => 'data!' } ],
[ 'and we can defer evaluation of %s if we want', sub { 'stuff' } ],
[ 'and we can defer evaluation of %s if we want', sub { 'stuff' } ],
sub { 'while avoiding sprintfiness, if needed' },
);
sub { 'while avoiding sprintfiness, if needed' },
);
say flog($_) for @inputs;
say flog($_) for @inputs;
The above will output:
simple!
simple!
slightly more complex
slightly more complex
and inline some data: {{{ "look": "data!" }}}
and inline some data: {{{ "look": "data!" }}}
and we can defer evaluation of %s if we want
and we can defer evaluation of stuff if we want
while avoiding sprintfiness, if needed
while avoiding sprintfiness, if needed
=head1 AUTHOR
......@@ -103,11 +103,10 @@ The above will output:
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2008 by Ricardo SIGNES <rjbs@cpan.org>.
This software is copyright (c) 2010 by Ricardo SIGNES <rjbs@cpan.org>.
This is free software; you can redistribute it and/or modify it under
the same terms as perl itself.
=cut
the same terms as the Perl 5 programming language system itself.
=cut
#!perl
BEGIN {
unless ($ENV{RELEASE_TESTING}) {
require Test::More;
Test::More::plan(skip_all => 'these tests are for release candidate testing');
}
}
use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
all_pod_files_ok();
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment