commit perl-String-Errf for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package perl-String-Errf for openSUSE:Factory checked in at 2013-11-27 15:31:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-String-Errf (Old) and /work/SRC/openSUSE:Factory/.perl-String-Errf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-String-Errf" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-String-Errf/perl-String-Errf.changes 2012-01-17 16:14:16.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-String-Errf.new/perl-String-Errf.changes 2013-11-27 15:31:16.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Nov 25 07:39:42 UTC 2013 - coolo@suse.com + +- updated to 0.007 + catch more bad input and die [rt.cpan.org #83552] + update repository and bugtracker metadata + +------------------------------------------------------------------- Old: ---- String-Errf-0.006.tar.gz New: ---- String-Errf-0.007.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-String-Errf.spec ++++++ --- /var/tmp/diff_new_pack.sYVSBR/_old 2013-11-27 15:31:17.000000000 +0100 +++ /var/tmp/diff_new_pack.sYVSBR/_new 2013-11-27 15:31:17.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-String-Errf # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,38 +15,44 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-String-Errf -Version: 0.006 +Version: 0.007 Release: 0 %define cpan_name String-Errf Summary: a simple sprintf-like dialect -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/String-Errf/ -Source: http://www.cpan.org/authors/id/R/RJ/RJBS/String-Errf-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Carp) BuildRequires: perl(Date::Format) BuildRequires: perl(JSON) >= 2 BuildRequires: perl(Params::Util) -BuildRequires: perl(Scalar::Util) BuildRequires: perl(String::Formatter) >= 0.102081 BuildRequires: perl(Sub::Exporter) -Requires: perl(Carp) +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Time::Piece) +BuildRequires: perl(autodie) +BuildRequires: perl(parent) +#BuildRequires: perl(String::Errf) Requires: perl(Params::Util) -Requires: perl(Scalar::Util) Requires: perl(String::Formatter) >= 0.102081 Requires: perl(Sub::Exporter) +Requires: perl(Time::Piece) +Requires: perl(parent) %{perl_requires} %description String::Errf provides 'errf', a simple string formatter that works something like 'perlfunc/sprintf'. It is implemented using the String::Formatter manpage and the Sub::Exporter manpage. Their -documentation may be useful in understanding or extending String::Errf. +documentation may be useful in understanding or extending String::Errf. The +'errf' subroutine is only available when imported. Calling the +String::Errf::errf manpage will not do what you want. %prep %setup -q -n %{cpan_name}-%{version} @@ -56,18 +62,15 @@ %{__make} %{?_smp_mflags} %check -# broken upstream %{__make} test +%{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) +%defattr(-,root,root,755) %doc Changes LICENSE README %changelog ++++++ String-Errf-0.006.tar.gz -> String-Errf-0.007.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/Changes new/String-Errf-0.007/Changes --- old/String-Errf-0.006/Changes 2010-10-29 04:20:46.000000000 +0200 +++ new/String-Errf-0.007/Changes 2013-11-24 19:46:21.000000000 +0100 @@ -1,5 +1,10 @@ Release history for String-Errf +0.007 2013-11-24 13:46:17 America/New_York + catch more bad input and die [rt.cpan.org #83552] + + update repository and bugtracker metadata + 0.006 2010-10-28 22:20:42 America/New_York avoid non-portable %T strftime format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/LICENSE new/String-Errf-0.007/LICENSE --- old/String-Errf-0.006/LICENSE 2010-10-29 04:20:46.000000000 +0200 +++ new/String-Errf-0.007/LICENSE 2013-11-24 19:46:21.000000000 +0100 @@ -1,4 +1,4 @@ -This software is copyright (c) 2010 by Ricardo Signes. +This software is copyright (c) 2013 by Ricardo Signes. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,21 +12,22 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2010 by Ricardo Signes. +This software is Copyright (c) 2013 by Ricardo Signes. This is free software, licensed under: The GNU General Public License, Version 1, February 1989 - GNU GENERAL PUBLIC LICENSE - Version 1, February 1989 + GNU GENERAL PUBLIC LICENSE + Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA + Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - Preamble + Preamble The license agreements of most software companies try to keep users at the mercy of those companies. By contrast, our General Public @@ -67,7 +68,7 @@ The precise terms and conditions for copying, distribution and modification follow. - GNU GENERAL PUBLIC LICENSE + GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any program or other work which @@ -185,7 +186,7 @@ of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY + NO WARRANTY 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN @@ -207,9 +208,9 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS + END OF TERMS AND CONDITIONS - Appendix: How to Apply These Terms to Your New Programs + Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to humanity, the best way to achieve this is to make it @@ -235,8 +236,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA + Also add information on how to contact you by electronic and paper mail. @@ -270,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2010 by Ricardo Signes. +This software is Copyright (c) 2013 by Ricardo Signes. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/MANIFEST new/String-Errf-0.007/MANIFEST --- old/String-Errf-0.006/MANIFEST 2010-10-29 04:20:46.000000000 +0200 +++ new/String-Errf-0.007/MANIFEST 2013-11-24 19:46:21.000000000 +0100 @@ -7,6 +7,9 @@ README dist.ini lib/String/Errf.pm +t/000-report-versions-tiny.t +t/bad.t t/basic.t -t/release-pod-syntax.t t/tests.json +xt/release/changes_has_content.t +xt/release/pod-syntax.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/META.json new/String-Errf-0.007/META.json --- old/String-Errf-0.006/META.json 2010-10-29 04:20:46.000000000 +0200 +++ new/String-Errf-0.007/META.json 2013-11-24 19:46:21.000000000 +0100 @@ -4,7 +4,7 @@ "Ricardo Signes <rjbs@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.102342, CPAN::Meta::Converter version 2.102400", + "generated_by" : "Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830", "license" : [ "perl_5" ], @@ -16,147 +16,184 @@ "prereqs" : { "configure" : { "requires" : { - "ExtUtils::MakeMaker" : "6.31" + "ExtUtils::MakeMaker" : "6.30" + } + }, + "develop" : { + "requires" : { + "Test::Pod" : "1.41", + "version" : "0.9901" } }, "runtime" : { "requires" : { - "Carp" : 0, - "Params::Util" : 0, - "Scalar::Util" : 0, + "Carp" : "0", + "Params::Util" : "0", + "Scalar::Util" : "0", "String::Formatter" : "0.102081", - "Sub::Exporter" : 0, - "Time::Piece" : 0 + "Sub::Exporter" : "0", + "Time::Piece" : "0", + "parent" : "0", + "strict" : "0", + "warnings" : "0" } }, "test" : { "requires" : { - "Date::Format" : 0, + "Date::Format" : "0", "JSON" : "2", "Test::More" : "0.96", - "autodie" : 0 + "autodie" : "0" } } }, "release_status" : "stable", "resources" : { + "bugtracker" : { + "web" : "https://github.com/rjbs/String-Errf/issues" + }, + "homepage" : "https://github.com/rjbs/String-Errf", "repository" : { "type" : "git", - "url" : "git://git.codesimply.com/String-Errf.git" + "url" : "https://github.com/rjbs/String-Errf.git", + "web" : "https://github.com/rjbs/String-Errf" } }, - "version" : "0.006", + "version" : "0.007", "x_Dist_Zilla" : { + "perl" : { + "version" : "5.018001" + }, "plugins" : [ { - "class" : "Dist::Zilla::Plugin::GatherDir", - "name" : "@RJBS/@Basic/GatherDir", - "version" : "4.102342" + "class" : "Dist::Zilla::Plugin::Git::GatherDir", + "name" : "@RJBS/Git::GatherDir", + "version" : "2.019" + }, + { + "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", + "name" : "@RJBS/CheckPrereqsIndexed", + "version" : "0.009" + }, + { + "class" : "Dist::Zilla::Plugin::CheckExtraTests", + "name" : "@RJBS/CheckExtraTests", + "version" : "0.016" + }, + { + "class" : "Dist::Zilla::Plugin::PromptIfStale", + "name" : "@RJBS/RJBS-Outdated", + "version" : "0.013" + }, + { + "class" : "Dist::Zilla::Plugin::PromptIfStale", + "name" : "@RJBS/CPAN-Outdated", + "version" : "0.013" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", - "name" : "@RJBS/@Basic/PruneCruft", - "version" : "4.102342" + "name" : "@RJBS/@Filter/PruneCruft", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", - "name" : "@RJBS/@Basic/ManifestSkip", - "version" : "4.102342" + "name" : "@RJBS/@Filter/ManifestSkip", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", - "name" : "@RJBS/@Basic/MetaYAML", - "version" : "4.102342" + "name" : "@RJBS/@Filter/MetaYAML", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::License", - "name" : "@RJBS/@Basic/License", - "version" : "4.102342" + "name" : "@RJBS/@Filter/License", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::Readme", - "name" : "@RJBS/@Basic/Readme", - "version" : "4.102342" - }, - { - "class" : "Dist::Zilla::Plugin::ExtraTests", - "name" : "@RJBS/@Basic/ExtraTests", - "version" : "4.102342" + "name" : "@RJBS/@Filter/Readme", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::ExecDir", - "name" : "@RJBS/@Basic/ExecDir", - "version" : "4.102342" + "name" : "@RJBS/@Filter/ExecDir", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::ShareDir", - "name" : "@RJBS/@Basic/ShareDir", - "version" : "4.102342" + "name" : "@RJBS/@Filter/ShareDir", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", - "name" : "@RJBS/@Basic/MakeMaker", - "version" : "4.102342" + "name" : "@RJBS/@Filter/MakeMaker", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::Manifest", - "name" : "@RJBS/@Basic/Manifest", - "version" : "4.102342" + "name" : "@RJBS/@Filter/Manifest", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::TestRelease", - "name" : "@RJBS/@Basic/TestRelease", - "version" : "4.102342" + "name" : "@RJBS/@Filter/TestRelease", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", - "name" : "@RJBS/@Basic/ConfirmRelease", - "version" : "4.102342" + "name" : "@RJBS/@Filter/ConfirmRelease", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", - "name" : "@RJBS/@Basic/UploadToCPAN", - "version" : "4.102342" + "name" : "@RJBS/@Filter/UploadToCPAN", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RJBS/AutoPrereqs", - "version" : "4.102342" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", "name" : "@RJBS/Git::NextVersion", - "version" : "1.102810" + "version" : "2.019" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@RJBS/PkgVersion", - "version" : "4.102342" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RJBS/MetaConfig", - "version" : "4.102342" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RJBS/MetaJSON", - "version" : "4.102342" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RJBS/NextRelease", - "version" : "4.102342" + "version" : "5.006" + }, + { + "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", + "name" : "@RJBS/Test::ChangesHasContent", + "version" : "0.006" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RJBS/PodSyntaxTests", - "version" : "4.102342" + "version" : "5.006" }, { - "class" : "Dist::Zilla::Plugin::Repository", - "name" : "@RJBS/Repository", - "version" : "0.14" + "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny", + "name" : "@RJBS/ReportVersions::Tiny", + "version" : "1.10" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -167,60 +204,176 @@ } }, "name" : "@RJBS/TestMoreWithSubtests", - "version" : "4.102342" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", + "config" : { + "Dist::Zilla::Plugin::PodWeaver" : { + "config_plugin" : "@RJBS", + "finder" : [ + ":InstallModules", + ":ExecFiles" + ], + "plugins" : [ + { + "class" : "Pod::Weaver::Plugin::EnsurePod5", + "name" : "@CorePrep/EnsurePod5", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Plugin::H1Nester", + "name" : "@CorePrep/H1Nester", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Plugin::SingleEncoding", + "name" : "@RJBS/SingleEncoding", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Name", + "name" : "@RJBS/Name", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Version", + "name" : "@RJBS/Version", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Region", + "name" : "@RJBS/Prelude", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Synopsis", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Description", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Overview", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Generic", + "name" : "@RJBS/Stability", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "Attributes", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "Methods", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Collect", + "name" : "Functions", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Leftovers", + "name" : "@RJBS/Leftovers", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Region", + "name" : "@RJBS/postlude", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Authors", + "name" : "@RJBS/Authors", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Section::Legal", + "name" : "@RJBS/Legal", + "version" : "4.004" + }, + { + "class" : "Pod::Weaver::Plugin::Transformer", + "name" : "@RJBS/List", + "version" : "4.004" + } + ] + } + }, "name" : "@RJBS/PodWeaver", - "version" : "3.101641" + "version" : "4.002" + }, + { + "class" : "Dist::Zilla::Plugin::GithubMeta", + "name" : "@RJBS/GithubMeta", + "version" : "0.42" }, { "class" : "Dist::Zilla::Plugin::Git::Check", "name" : "@RJBS/@Git/Check", - "version" : "1.102810" + "version" : "2.019" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "name" : "@RJBS/@Git/Commit", - "version" : "1.102810" + "version" : "2.019" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "name" : "@RJBS/@Git/Tag", - "version" : "1.102810" + "version" : "2.019" }, { "class" : "Dist::Zilla::Plugin::Git::Push", "name" : "@RJBS/@Git/Push", - "version" : "1.102810" + "version" : "2.019" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "4.102342" + "version" : "5.006" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":IncModules", + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "4.102342" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "4.102342" + "version" : "5.006" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "4.102342" + "version" : "5.006" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":MainModule", + "version" : "5.006" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { - "is_trial" : 0 + "is_trial" : "0" }, - "version" : "4.102342" + "version" : "5.006" } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/META.yml new/String-Errf-0.007/META.yml --- old/String-Errf-0.006/META.yml 2010-10-29 04:20:46.000000000 +0200 +++ new/String-Errf-0.007/META.yml 2013-11-24 19:46:21.000000000 +0100 @@ -8,9 +8,9 @@ Test::More: 0.96 autodie: 0 configure_requires: - ExtUtils::MakeMaker: 6.31 + ExtUtils::MakeMaker: 6.30 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.102342, CPAN::Meta::Converter version 2.102400' +generated_by: 'Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -23,99 +23,122 @@ String::Formatter: 0.102081 Sub::Exporter: 0 Time::Piece: 0 + parent: 0 + strict: 0 + warnings: 0 resources: - repository: git://git.codesimply.com/String-Errf.git -version: 0.006 + bugtracker: https://github.com/rjbs/String-Errf/issues + homepage: https://github.com/rjbs/String-Errf + repository: https://github.com/rjbs/String-Errf.git +version: 0.007 x_Dist_Zilla: + perl: + version: 5.018001 plugins: - - class: Dist::Zilla::Plugin::GatherDir - name: '@RJBS/@Basic/GatherDir' - version: 4.102342 + class: Dist::Zilla::Plugin::Git::GatherDir + name: '@RJBS/Git::GatherDir' + version: 2.019 + - + class: Dist::Zilla::Plugin::CheckPrereqsIndexed + name: '@RJBS/CheckPrereqsIndexed' + version: 0.009 + - + class: Dist::Zilla::Plugin::CheckExtraTests + name: '@RJBS/CheckExtraTests' + version: 0.016 + - + class: Dist::Zilla::Plugin::PromptIfStale + name: '@RJBS/RJBS-Outdated' + version: 0.013 + - + class: Dist::Zilla::Plugin::PromptIfStale + name: '@RJBS/CPAN-Outdated' + version: 0.013 - class: Dist::Zilla::Plugin::PruneCruft - name: '@RJBS/@Basic/PruneCruft' - version: 4.102342 + name: '@RJBS/@Filter/PruneCruft' + version: 5.006 - class: Dist::Zilla::Plugin::ManifestSkip - name: '@RJBS/@Basic/ManifestSkip' - version: 4.102342 + name: '@RJBS/@Filter/ManifestSkip' + version: 5.006 - class: Dist::Zilla::Plugin::MetaYAML - name: '@RJBS/@Basic/MetaYAML' - version: 4.102342 + name: '@RJBS/@Filter/MetaYAML' + version: 5.006 - class: Dist::Zilla::Plugin::License - name: '@RJBS/@Basic/License' - version: 4.102342 + name: '@RJBS/@Filter/License' + version: 5.006 - class: Dist::Zilla::Plugin::Readme - name: '@RJBS/@Basic/Readme' - version: 4.102342 - - - class: Dist::Zilla::Plugin::ExtraTests - name: '@RJBS/@Basic/ExtraTests' - version: 4.102342 + name: '@RJBS/@Filter/Readme' + version: 5.006 - class: Dist::Zilla::Plugin::ExecDir - name: '@RJBS/@Basic/ExecDir' - version: 4.102342 + name: '@RJBS/@Filter/ExecDir' + version: 5.006 - class: Dist::Zilla::Plugin::ShareDir - name: '@RJBS/@Basic/ShareDir' - version: 4.102342 + name: '@RJBS/@Filter/ShareDir' + version: 5.006 - class: Dist::Zilla::Plugin::MakeMaker - name: '@RJBS/@Basic/MakeMaker' - version: 4.102342 + name: '@RJBS/@Filter/MakeMaker' + version: 5.006 - class: Dist::Zilla::Plugin::Manifest - name: '@RJBS/@Basic/Manifest' - version: 4.102342 + name: '@RJBS/@Filter/Manifest' + version: 5.006 - class: Dist::Zilla::Plugin::TestRelease - name: '@RJBS/@Basic/TestRelease' - version: 4.102342 + name: '@RJBS/@Filter/TestRelease' + version: 5.006 - class: Dist::Zilla::Plugin::ConfirmRelease - name: '@RJBS/@Basic/ConfirmRelease' - version: 4.102342 + name: '@RJBS/@Filter/ConfirmRelease' + version: 5.006 - class: Dist::Zilla::Plugin::UploadToCPAN - name: '@RJBS/@Basic/UploadToCPAN' - version: 4.102342 + name: '@RJBS/@Filter/UploadToCPAN' + version: 5.006 - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RJBS/AutoPrereqs' - version: 4.102342 + version: 5.006 - class: Dist::Zilla::Plugin::Git::NextVersion name: '@RJBS/Git::NextVersion' - version: 1.102810 + version: 2.019 - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' - version: 4.102342 + version: 5.006 - class: Dist::Zilla::Plugin::MetaConfig name: '@RJBS/MetaConfig' - version: 4.102342 + version: 5.006 - class: Dist::Zilla::Plugin::MetaJSON name: '@RJBS/MetaJSON' - version: 4.102342 + version: 5.006 - class: Dist::Zilla::Plugin::NextRelease name: '@RJBS/NextRelease' - version: 4.102342 + version: 5.006 + - + class: Dist::Zilla::Plugin::Test::ChangesHasContent + name: '@RJBS/Test::ChangesHasContent' + version: 0.006 - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RJBS/PodSyntaxTests' - version: 4.102342 + version: 5.006 - - class: Dist::Zilla::Plugin::Repository - name: '@RJBS/Repository' - version: 0.14 + class: Dist::Zilla::Plugin::ReportVersions::Tiny + name: '@RJBS/ReportVersions::Tiny' + version: 1.10 - class: Dist::Zilla::Plugin::Prereqs config: @@ -123,45 +146,136 @@ phase: test type: requires name: '@RJBS/TestMoreWithSubtests' - version: 4.102342 + version: 5.006 - class: Dist::Zilla::Plugin::PodWeaver + config: + Dist::Zilla::Plugin::PodWeaver: + config_plugin: '@RJBS' + finder: + - ':InstallModules' + - ':ExecFiles' + plugins: + - + class: Pod::Weaver::Plugin::EnsurePod5 + name: '@CorePrep/EnsurePod5' + version: 4.004 + - + class: Pod::Weaver::Plugin::H1Nester + name: '@CorePrep/H1Nester' + version: 4.004 + - + class: Pod::Weaver::Plugin::SingleEncoding + name: '@RJBS/SingleEncoding' + version: 4.004 + - + class: Pod::Weaver::Section::Name + name: '@RJBS/Name' + version: 4.004 + - + class: Pod::Weaver::Section::Version + name: '@RJBS/Version' + version: 4.004 + - + class: Pod::Weaver::Section::Region + name: '@RJBS/Prelude' + version: 4.004 + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Synopsis' + version: 4.004 + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Description' + version: 4.004 + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Overview' + version: 4.004 + - + class: Pod::Weaver::Section::Generic + name: '@RJBS/Stability' + version: 4.004 + - + class: Pod::Weaver::Section::Collect + name: Attributes + version: 4.004 + - + class: Pod::Weaver::Section::Collect + name: Methods + version: 4.004 + - + class: Pod::Weaver::Section::Collect + name: Functions + version: 4.004 + - + class: Pod::Weaver::Section::Leftovers + name: '@RJBS/Leftovers' + version: 4.004 + - + class: Pod::Weaver::Section::Region + name: '@RJBS/postlude' + version: 4.004 + - + class: Pod::Weaver::Section::Authors + name: '@RJBS/Authors' + version: 4.004 + - + class: Pod::Weaver::Section::Legal + name: '@RJBS/Legal' + version: 4.004 + - + class: Pod::Weaver::Plugin::Transformer + name: '@RJBS/List' + version: 4.004 name: '@RJBS/PodWeaver' - version: 3.101641 + version: 4.002 + - + class: Dist::Zilla::Plugin::GithubMeta + name: '@RJBS/GithubMeta' + version: 0.42 - class: Dist::Zilla::Plugin::Git::Check name: '@RJBS/@Git/Check' - version: 1.102810 + version: 2.019 - class: Dist::Zilla::Plugin::Git::Commit name: '@RJBS/@Git/Commit' - version: 1.102810 + version: 2.019 - class: Dist::Zilla::Plugin::Git::Tag name: '@RJBS/@Git/Tag' - version: 1.102810 + version: 2.019 - class: Dist::Zilla::Plugin::Git::Push name: '@RJBS/@Git/Push' - version: 1.102810 + version: 2.019 - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: 4.102342 + version: 5.006 + - + class: Dist::Zilla::Plugin::FinderCode + name: ':IncModules' + version: 5.006 - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: 4.102342 + version: 5.006 - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: 4.102342 + version: 5.006 - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: 4.102342 + version: 5.006 + - + class: Dist::Zilla::Plugin::FinderCode + name: ':MainModule' + version: 5.006 zilla: class: Dist::Zilla::Dist::Builder config: is_trial: 0 - version: 4.102342 + version: 5.006 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/Makefile.PL new/String-Errf-0.007/Makefile.PL --- old/String-Errf-0.006/Makefile.PL 2010-10-29 04:20:46.000000000 +0200 +++ new/String-Errf-0.007/Makefile.PL 2013-11-24 19:46:21.000000000 +0100 @@ -4,52 +4,66 @@ -use ExtUtils::MakeMaker 6.31; +use ExtUtils::MakeMaker 6.30; my %WriteMakefileArgs = ( - 'ABSTRACT' => 'a simple sprintf-like dialect', - 'AUTHOR' => 'Ricardo Signes <rjbs@cpan.org>', - 'BUILD_REQUIRES' => { - 'Date::Format' => '0', - 'JSON' => '2', - 'Test::More' => '0.96', - 'autodie' => '0' + "ABSTRACT" => "a simple sprintf-like dialect", + "AUTHOR" => "Ricardo Signes <rjbs\@cpan.org>", + "BUILD_REQUIRES" => {}, + "CONFIGURE_REQUIRES" => { + "ExtUtils::MakeMaker" => "6.30" }, - 'CONFIGURE_REQUIRES' => { - 'ExtUtils::MakeMaker' => '6.31' + "DISTNAME" => "String-Errf", + "EXE_FILES" => [], + "LICENSE" => "perl", + "NAME" => "String::Errf", + "PREREQ_PM" => { + "Carp" => 0, + "Params::Util" => 0, + "Scalar::Util" => 0, + "String::Formatter" => "0.102081", + "Sub::Exporter" => 0, + "Time::Piece" => 0, + "parent" => 0, + "strict" => 0, + "warnings" => 0 }, - 'DISTNAME' => 'String-Errf', - 'EXE_FILES' => [], - 'LICENSE' => 'perl', - 'NAME' => 'String::Errf', - 'PREREQ_PM' => { - 'Carp' => '0', - 'Params::Util' => '0', - 'Scalar::Util' => '0', - 'String::Formatter' => '0.102081', - 'Sub::Exporter' => '0', - 'Time::Piece' => '0' + "TEST_REQUIRES" => { + "Date::Format" => 0, + "JSON" => 2, + "Test::More" => "0.96", + "autodie" => 0 }, - 'VERSION' => '0.006', - 'test' => { - 'TESTS' => 't/*.t' + "VERSION" => "0.007", + "test" => { + "TESTS" => "t/*.t" } ); -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}; - } - } +my %FallbackPrereqs = ( + "Carp" => 0, + "Date::Format" => 0, + "JSON" => 2, + "Params::Util" => 0, + "Scalar::Util" => 0, + "String::Formatter" => "0.102081", + "Sub::Exporter" => 0, + "Test::More" => "0.96", + "Time::Piece" => 0, + "autodie" => 0, + "parent" => 0, + "strict" => 0, + "warnings" => 0 +); + + +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { + delete $WriteMakefileArgs{TEST_REQUIRES}; + delete $WriteMakefileArgs{BUILD_REQUIRES}; + $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; } delete $WriteMakefileArgs{CONFIGURE_REQUIRES} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/README new/String-Errf-0.007/README --- old/String-Errf-0.006/README 2010-10-29 04:20:46.000000000 +0200 +++ new/String-Errf-0.007/README 2013-11-24 19:46:21.000000000 +0100 @@ -1,11 +1,11 @@ This archive contains the distribution String-Errf, -version 0.006: +version 0.007: a simple sprintf-like dialect -This software is copyright (c) 2010 by Ricardo Signes. +This software is copyright (c) 2013 by Ricardo Signes. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/lib/String/Errf.pm new/String-Errf-0.007/lib/String/Errf.pm --- old/String-Errf-0.006/lib/String/Errf.pm 2010-10-29 04:20:46.000000000 +0200 +++ new/String-Errf-0.007/lib/String/Errf.pm 2013-11-24 19:46:21.000000000 +0100 @@ -1,11 +1,11 @@ use strict; use warnings; package String::Errf; -BEGIN { - $String::Errf::VERSION = '0.006'; +{ + $String::Errf::VERSION = '0.007'; } # I really wanted to call it String::Fister. use String::Formatter 0.102081 (); -use base 'String::Formatter'; +use parent 'String::Formatter'; # ABSTRACT: a simple sprintf-like dialect use Scalar::Util (); @@ -42,12 +42,12 @@ sub default_hunk_formatter { '__format_errf' } my $regex = qr/ - (% # leading '%' - (?:{ # { - (.*?) # mandatory argument name - (?: ; (.*?) )? # optional extras after semicolon - }) # } - ([a-z]) # actual conversion character + (% # leading '%' + (?:{ # { + ([^;]*?) # mandatory argument name + (?: ; ([^\}]*?) )? # optional extras after semicolon + }) # } + ($|.) # potential conversion character ) /xi; @@ -251,15 +251,18 @@ 1; __END__ + =pod +=encoding UTF-8 + =head1 NAME String::Errf - a simple sprintf-like dialect =head1 VERSION -version 0.006 +version 0.007 =head1 SYNOPSIS @@ -277,7 +280,9 @@ String::Errf provides C<errf>, a simple string formatter that works something like C<L<sprintf|perlfunc/sprintf>>. It is implemented using L<String::Formatter> and L<Sub::Exporter>. Their documentation may be useful -in understanding or extending String::Errf. +in understanding or extending String::Errf. The C<errf> subroutine is only +available when imported. Calling L<String::Errf::errf> will not do what you +want. =head1 DIFFERENCES FROM SPRINTF @@ -422,10 +427,9 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2010 by Ricardo Signes. +This software is copyright (c) 2013 by Ricardo Signes. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/t/000-report-versions-tiny.t new/String-Errf-0.007/t/000-report-versions-tiny.t --- old/String-Errf-0.006/t/000-report-versions-tiny.t 1970-01-01 01:00:00.000000000 +0100 +++ new/String-Errf-0.007/t/000-report-versions-tiny.t 2013-11-24 19:46:21.000000000 +0100 @@ -0,0 +1,83 @@ +use strict; +use warnings; +use Test::More 0.88; +# This is a relatively nice way to avoid Test::NoWarnings breaking our +# expectations by adding extra tests, without using no_plan. It also helps +# avoid any other test module that feels introducing random tests, or even +# test plans, is a nice idea. +our $success = 0; +END { $success && done_testing; } + +# List our own version used to generate this +my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n"; + +eval { # no excuses! + # report our Perl details + my $want = "any version"; + $v .= "perl: $] (wanted $want) on $^O from $^X\n\n"; +}; +defined($@) and diag("$@"); + +# Now, our module version dependencies: +sub pmver { + my ($module, $wanted) = @_; + $wanted = " (want $wanted)"; + my $pmver; + eval "require $module;"; + if ($@) { + if ($@ =~ m/Can't locate .* in \@INC/) { + $pmver = 'module not found.'; + } else { + diag("${module}: $@"); + $pmver = 'died during require.'; + } + } else { + my $version; + eval { $version = $module->VERSION; }; + if ($@) { + diag("${module}: $@"); + $pmver = 'died during VERSION check.'; + } elsif (defined $version) { + $pmver = "$version"; + } else { + $pmver = '<undef>'; + } + } + + # So, we should be good, right? + return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n"); +} + +eval { $v .= pmver('Carp','any version') }; +eval { $v .= pmver('Date::Format','any version') }; +eval { $v .= pmver('ExtUtils::MakeMaker','6.30') }; +eval { $v .= pmver('JSON','2') }; +eval { $v .= pmver('Params::Util','any version') }; +eval { $v .= pmver('Scalar::Util','any version') }; +eval { $v .= pmver('String::Formatter','0.102081') }; +eval { $v .= pmver('Sub::Exporter','any version') }; +eval { $v .= pmver('Test::More','0.96') }; +eval { $v .= pmver('Time::Piece','any version') }; +eval { $v .= pmver('autodie','any version') }; +eval { $v .= pmver('parent','any version') }; +eval { $v .= pmver('strict','any version') }; +eval { $v .= pmver('warnings','any version') }; + + +# All done. +$v .= <<'EOT'; + +Thanks for using my code. I hope it works for you. +If not, please try and include this output in the bug report. +That will help me reproduce the issue and solve your problem. + +EOT + +diag($v); +ok(1, "we really didn't test anything, just reporting data"); +$success = 1; + +# Work around another nasty module on CPAN. :/ +no warnings 'once'; +$Template::Test::NO_FLUSH = 1; +exit 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/t/bad.t new/String-Errf-0.007/t/bad.t --- old/String-Errf-0.006/t/bad.t 1970-01-01 01:00:00.000000000 +0100 +++ new/String-Errf-0.007/t/bad.t 2013-11-24 19:46:21.000000000 +0100 @@ -0,0 +1,38 @@ +use Test::More tests => 2; +use String::Errf 'errf'; + +my $payload = { + total_amount => 1010, + limit => 1000, + category => "sandwiches", +}; + +{ + # Here String::Errf could warn about a malformed format string, or it could + # produce reasonable partial output, but it does neither. + my $format = join(" ", + "payment of \$%{total_amount}", + "for category '%{category}s'", + "over limit of \$%{limit;.2}f", + ); + + my $output = eval { errf($format, $payload) }; + isnt($output, 'payment of $\' over limit of $1000.00', "wat"); +} + +{ + # Here String::Errf could warn about a malformed format string, or it could + # produce reasonable partial output, but it does neither. + my $format = join(" ", + "payment of \$%{total_amount;.2}", + "for category '%{category}s'", + "over limit of \$%{limit;.2}f", + ); + + my $output = eval { errf($format, $payload) }; + ok( + ! defined $output || $output =~ qr/category.*sandwiches/, + "where did the literal text 'category' go?", + ); +} + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/t/release-pod-syntax.t new/String-Errf-0.007/t/release-pod-syntax.t --- old/String-Errf-0.006/t/release-pod-syntax.t 2010-10-29 04:20:46.000000000 +0200 +++ new/String-Errf-0.007/t/release-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -#!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.41"; -plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; - -all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/xt/release/changes_has_content.t new/String-Errf-0.007/xt/release/changes_has_content.t --- old/String-Errf-0.006/xt/release/changes_has_content.t 1970-01-01 01:00:00.000000000 +0100 +++ new/String-Errf-0.007/xt/release/changes_has_content.t 2013-11-24 19:46:21.000000000 +0100 @@ -0,0 +1,41 @@ +#!perl + +use Test::More tests => 2; + +note 'Checking Changes'; +my $changes_file = 'Changes'; +my $newver = '0.007'; +my $trial_token = '-TRIAL'; + +SKIP: { + ok(-e $changes_file, "$changes_file file exists") + or skip 'Changes is missing', 1; + + ok(_get_changes($newver), "$changes_file has content for $newver"); +} + +done_testing; + +# _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit +# by Jerome Quelin +sub _get_changes +{ + my $newver = shift; + + # parse changelog to find commit message + open(my $fh, '<', $changes_file) or die "cannot open $changes_file: $!"; + my $changelog = join('', <$fh>); + close $fh; + + my @content = + grep { /^$newver(?:$trial_token)?(?:\s+|$)/ ... /^\S/ } # from newver to un-indented + split /\n/, $changelog; + shift @content; # drop the version line + + # drop unindented last line and trailing blank lines + pop @content while ( @content && $content[-1] =~ /^(?:\S|\s*$)/ ); + + # return number of non-blank lines + return scalar @content; +} + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/String-Errf-0.006/xt/release/pod-syntax.t new/String-Errf-0.007/xt/release/pod-syntax.t --- old/String-Errf-0.006/xt/release/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 +++ new/String-Errf-0.007/xt/release/pod-syntax.t 2013-11-24 19:46:21.000000000 +0100 @@ -0,0 +1,7 @@ +#!perl +use Test::More; + +eval "use Test::Pod 1.41"; +plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; + +all_pod_files_ok(); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de