Hello community,
here is the log from the commit of package perl-MooseX-Types-Stringlike for
openSUSE:Factory checked in at 2013-11-26 19:27:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MooseX-Types-Stringlike (Old)
and /work/SRC/openSUSE:Factory/.perl-MooseX-Types-Stringlike.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MooseX-Types-Stringlike"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-MooseX-Types-Stringlike/perl-MooseX-Types-Stringlike.changes
2013-08-06 12:41:07.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-MooseX-Types-Stringlike.new/perl-MooseX-Types-Stringlike.changes
2013-11-26 19:27:09.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Nov 25 07:39:31 UTC 2013 - [email protected]
+
+- updated to 0.002
+ [DOCUMENTATION]
+ - Fixed missing =encoding command
+
+-------------------------------------------------------------------
Old:
----
MooseX-Types-Stringlike-0.001.tar.gz
New:
----
MooseX-Types-Stringlike-0.002.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MooseX-Types-Stringlike.spec ++++++
--- /var/tmp/diff_new_pack.CTr2j9/_old 2013-11-26 19:27:09.000000000 +0100
+++ /var/tmp/diff_new_pack.CTr2j9/_new 2013-11-26 19:27:09.000000000 +0100
@@ -17,7 +17,7 @@
Name: perl-MooseX-Types-Stringlike
-Version: 0.001
+Version: 0.002
Release: 0
%define cpan_name MooseX-Types-Stringlike
Summary: Moose type constraints for strings or string-like objects
@@ -34,7 +34,8 @@
BuildRequires: perl(MooseX::Types::Moose)
BuildRequires: perl(Test::More) >= 0.96
#BuildRequires: perl(MooseX::Types::Stringlike)
-#BuildRequires: perl(Test::Requires)
+#BuildRequires: perl(Pod::Wordlist)
+#BuildRequires: perl(Test::Spelling) >= 0.12
Requires: perl(MooseX::Types)
Requires: perl(MooseX::Types::Moose)
%{perl_requires}
@@ -61,6 +62,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE perlcritic.rc README README.PATCHING
+%doc Changes CONTRIBUTING cpanfile LICENSE perlcritic.rc README tidyall.ini
%changelog
++++++ MooseX-Types-Stringlike-0.001.tar.gz ->
MooseX-Types-Stringlike-0.002.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/CONTRIBUTING
new/MooseX-Types-Stringlike-0.002/CONTRIBUTING
--- old/MooseX-Types-Stringlike-0.001/CONTRIBUTING 1970-01-01
01:00:00.000000000 +0100
+++ new/MooseX-Types-Stringlike-0.002/CONTRIBUTING 2013-11-03
02:43:00.000000000 +0100
@@ -0,0 +1,70 @@
+## HOW TO CONTRIBUTE
+
+Thank you for considering contributing to this distribution. This file
+contains instructions that will help you work with the source code.
+
+The distribution is managed with Dist::Zilla. This means than many of the
+usual files you might expect are not in the repository, but are generated
+at release time (e.g. Makefile.PL).
+
+### Getting dependencies
+
+See the included `cpanfile` file for a list of dependencies. If you have
+App::cpanminus 1.6 or later installed, you can use `cpanm` to satisfy
+dependencies like this:
+
+ $ cpanm --installdeps .
+
+Otherwise, you can install Module::CPANfile 1.0002 or later and then satisfy
+dependencies with the regular `cpan` client and `cpanfile-dump`:
+
+ $ cpan `cpanfile-dump`
+
+### Running tests
+
+You can run tests directly using the `prove` tool:
+
+ $ prove -l
+ $ prove -lv t/some_test_file.t
+
+For most distributions, `prove` is entirely sufficent for you to test any
+patches you have.
+
+### Code style and tidying
+
+Please try to match any existing coding style. If there is a `.perltidyrc`
+file, please install Perl::Tidy and use perltidy before submitting patches.
+
+If there is a `tidyall.ini` file, you can also install Code::TidyAll and run
+`tidyall` on a file or `tidyall -a` to tidy all files.
+
+### Patching documentation
+
+Much of the documentation Pod is generated at release time.
+Depending on the distribution, some documentation may be written in a Pod
+dialect called WikiDoc. (See Pod::WikiDoc on CPAN.)
+
+If you would like to submit a documentation edit, please limit yourself to the
+documentation you see.
+
+If you see typos or documentation issues in the generated docs, please
+email or open a bug ticket instead of patching.
+
+### Learning Dist::Zilla
+
+Dist::Zilla is a very powerful authoring tool, but requires a number of
+author-specific plugins. If you would like to use it for contributing,
+install it from CPAN, then run one of the following commands, depending on
+your CPAN client:
+
+ $ cpan `dzil authordeps`
+ $ dzil authordeps | cpanm
+
+Once installed, here are some dzil commands you might try:
+
+ $ dzil build
+ $ dzil test
+ $ dzil xtest
+
+You can learn more about Dist::Zilla at http://dzil.org/
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/Changes
new/MooseX-Types-Stringlike-0.002/Changes
--- old/MooseX-Types-Stringlike-0.001/Changes 2012-03-27 04:55:12.000000000
+0200
+++ new/MooseX-Types-Stringlike-0.002/Changes 2013-11-03 02:43:00.000000000
+0100
@@ -1,5 +1,11 @@
Revision history for MooseX-Types-Stringable
+0.002 2013-11-02 21:42:57 America/New_York
+
+ [DOCUMENTATION]
+
+ - Fixed missing =encoding command
+
0.001 2012-03-26 22:55:10 EST5EDT
- initial release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/MANIFEST
new/MooseX-Types-Stringlike-0.002/MANIFEST
--- old/MooseX-Types-Stringlike-0.001/MANIFEST 2012-03-27 04:55:12.000000000
+0200
+++ new/MooseX-Types-Stringlike-0.002/MANIFEST 2013-11-03 02:43:00.000000000
+0100
@@ -1,3 +1,4 @@
+CONTRIBUTING
Changes
LICENSE
MANIFEST
@@ -5,15 +6,18 @@
META.yml
Makefile.PL
README
-README.PATCHING
+cpanfile
dist.ini
lib/MooseX/Types/Stringlike.pm
perlcritic.rc
-t/00-compile.t
+t/00-report-prereqs.t
t/stringable.t
+tidyall.ini
+xt/author/00-compile.t
xt/author/critic.t
xt/author/pod-spell.t
xt/release/distmeta.t
+xt/release/minimum-version.t
xt/release/pod-coverage.t
xt/release/pod-syntax.t
xt/release/portability.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/META.json
new/MooseX-Types-Stringlike-0.002/META.json
--- old/MooseX-Types-Stringlike-0.001/META.json 2012-03-27 04:55:12.000000000
+0200
+++ new/MooseX-Types-Stringlike-0.002/META.json 2013-11-03 02:43:00.000000000
+0100
@@ -4,7 +4,7 @@
"David Golden <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300009, CPAN::Meta::Converter
version 2.120630",
+ "generated_by" : "Dist::Zilla version 5.003, CPAN::Meta::Converter version
2.132830",
"license" : [
"apache_2_0"
],
@@ -27,7 +27,20 @@
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.30"
+ "ExtUtils::MakeMaker" : "6.17"
+ }
+ },
+ "develop" : {
+ "requires" : {
+ "File::Spec" : "0",
+ "File::Temp" : "0",
+ "IO::Handle" : "0",
+ "IPC::Open3" : "0",
+ "Pod::Coverage::TrustPod" : "0",
+ "Test::CPAN::Meta" : "0",
+ "Test::More" : "0",
+ "Test::Pod" : "1.41",
+ "Test::Pod::Coverage" : "1.08"
}
},
"runtime" : {
@@ -41,9 +54,14 @@
}
},
"test" : {
+ "recommends" : {
+ "CPAN::Meta" : "0",
+ "CPAN::Meta::Requirements" : "0"
+ },
"requires" : {
- "File::Find" : "0",
- "File::Temp" : "0",
+ "ExtUtils::MakeMaker" : "0",
+ "File::Spec::Functions" : "0",
+ "List::Util" : "0",
"Moose" : "0",
"Test::More" : "0.96"
}
@@ -52,22 +70,22 @@
"provides" : {
"MooseX::Types::Stringlike" : {
"file" : "lib/MooseX/Types/Stringlike.pm",
- "version" : "0.001"
+ "version" : "0.002"
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
- "mailto" : "bug-moosex-types-stringlike at rt.cpan.org",
- "web" :
"http://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types-Stringlike"
+ "web" : "https://github.com/dagolden/MooseX-Types-Stringlike/issues"
},
- "homepage" : "https://github.com/dagolden/moosex-types-stringlike",
+ "homepage" : "https://github.com/dagolden/MooseX-Types-Stringlike",
"repository" : {
"type" : "git",
- "url" : "https://github.com/dagolden/moosex-types-stringlike.git",
- "web" : "https://github.com/dagolden/moosex-types-stringlike"
+ "url" : "https://github.com/dagolden/MooseX-Types-Stringlike.git",
+ "web" : "https://github.com/dagolden/MooseX-Types-Stringlike"
}
},
- "version" : "0.001"
+ "version" : "0.002",
+ "x_authority" : "cpan:DAGOLDEN"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/META.yml
new/MooseX-Types-Stringlike-0.002/META.yml
--- old/MooseX-Types-Stringlike-0.001/META.yml 2012-03-27 04:55:12.000000000
+0200
+++ new/MooseX-Types-Stringlike-0.002/META.yml 2013-11-03 02:43:00.000000000
+0100
@@ -3,14 +3,15 @@
author:
- 'David Golden <[email protected]>'
build_requires:
- File::Find: 0
- File::Temp: 0
+ ExtUtils::MakeMaker: 0
+ File::Spec::Functions: 0
+ List::Util: 0
Moose: 0
Test::More: 0.96
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: 6.17
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300009, CPAN::Meta::Converter version
2.120630'
+generated_by: 'Dist::Zilla version 5.003, CPAN::Meta::Converter version
2.132830'
license: apache
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -27,7 +28,7 @@
provides:
MooseX::Types::Stringlike:
file: lib/MooseX/Types/Stringlike.pm
- version: 0.001
+ version: 0.002
requires:
MooseX::Types: 0
MooseX::Types::Moose: 0
@@ -36,7 +37,8 @@
strict: 0
warnings: 0
resources:
- bugtracker:
http://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types-Stringlike
- homepage: https://github.com/dagolden/moosex-types-stringlike
- repository: https://github.com/dagolden/moosex-types-stringlike.git
-version: 0.001
+ bugtracker: https://github.com/dagolden/MooseX-Types-Stringlike/issues
+ homepage: https://github.com/dagolden/MooseX-Types-Stringlike
+ repository: https://github.com/dagolden/MooseX-Types-Stringlike.git
+version: 0.002
+x_authority: cpan:DAGOLDEN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/Makefile.PL
new/MooseX-Types-Stringlike-0.002/Makefile.PL
--- old/MooseX-Types-Stringlike-0.001/Makefile.PL 2012-03-27
04:55:12.000000000 +0200
+++ new/MooseX-Types-Stringlike-0.002/Makefile.PL 2013-11-03
02:43:00.000000000 +0100
@@ -4,21 +4,16 @@
use 5.008001;
-use ExtUtils::MakeMaker 6.30;
+use ExtUtils::MakeMaker 6.17;
my %WriteMakefileArgs = (
"ABSTRACT" => "Moose type constraints for strings or string-like objects",
"AUTHOR" => "David Golden <dagolden\@cpan.org>",
- "BUILD_REQUIRES" => {
- "File::Find" => 0,
- "File::Temp" => 0,
- "Moose" => 0,
- "Test::More" => "0.96"
- },
+ "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30"
+ "ExtUtils::MakeMaker" => "6.17"
},
"DISTNAME" => "MooseX-Types-Stringlike",
"EXE_FILES" => [],
@@ -31,24 +26,38 @@
"strict" => 0,
"warnings" => 0
},
- "VERSION" => "0.001",
+ "TEST_REQUIRES" => {
+ "ExtUtils::MakeMaker" => 0,
+ "File::Spec::Functions" => 0,
+ "List::Util" => 0,
+ "Moose" => 0,
+ "Test::More" => "0.96"
+ },
+ "VERSION" => "0.002",
"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 = (
+ "ExtUtils::MakeMaker" => 0,
+ "File::Spec::Functions" => 0,
+ "List::Util" => 0,
+ "Moose" => 0,
+ "MooseX::Types" => 0,
+ "MooseX::Types::Moose" => 0,
+ "Test::More" => "0.96",
+ "overload" => 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/MooseX-Types-Stringlike-0.001/README
new/MooseX-Types-Stringlike-0.002/README
--- old/MooseX-Types-Stringlike-0.001/README 2012-03-27 04:55:12.000000000
+0200
+++ new/MooseX-Types-Stringlike-0.002/README 2013-11-03 02:43:00.000000000
+0100
@@ -3,7 +3,7 @@
string-like objects
VERSION
- version 0.001
+ version 0.002
SYNOPSIS
package Foo;
@@ -49,16 +49,16 @@
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker at
- <http://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types-Stringlik
- e>. You will be notified automatically of any progress on your issue.
+ <https://github.com/dagolden/MooseX-Types-Stringlike/issues>. You will
+ be notified automatically of any progress on your issue.
Source Code
This is open source software. The code repository is available for
public review and contribution under the terms of the license.
- <https://github.com/dagolden/moosex-types-stringlike>
+ <https://github.com/dagolden/MooseX-Types-Stringlike>
- git clone https://github.com/dagolden/moosex-types-stringlike.git
+ git clone https://github.com/dagolden/MooseX-Types-Stringlike.git
AUTHOR
David Golden <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/README.PATCHING
new/MooseX-Types-Stringlike-0.002/README.PATCHING
--- old/MooseX-Types-Stringlike-0.001/README.PATCHING 2012-03-27
04:55:12.000000000 +0200
+++ new/MooseX-Types-Stringlike-0.002/README.PATCHING 1970-01-01
01:00:00.000000000 +0100
@@ -1,50 +0,0 @@
-README.PATCHING
-
-Thank you for considering contributing to this distribution. This file
-contains instructions that will help you work with the source code.
-
-The distribution is managed with Dist::Zilla. This means than many of the
-usual files you might expect are not in the repository, but are generated
-at release time (e.g. Makefile.PL).
-
-However, you can run tests directly using the 'prove' tool:
-
- $ prove -l
- $ prove -lv t/some_test_file.t
-
-For most distributions, 'prove' is entirely sufficent for you to test any
-patches you have.
-
-You may need to satisfy some dependencies. See the included META.json
-file for a list. If you install App::mymeta_requires from CPAN, it's easy
-to satisfy any that you are missing by piping the output to your favorite
-CPAN client:
-
- $ mymeta-requires | cpanm
- $ cpan `mymeta-requires`
-
-Likewise, much of the documentation Pod is generated at release time.
-Depending on the distribution, some documentation may be written in a Pod
-dialect called WikiDoc. (See Pod::WikiDoc on CPAN.) If you would like to
-submit a documentation edit, please limit yourself to the documentation you
-see.
-
-If you see typos or documentation issues in the generated docs, please
-email or open a bug ticket instead of patching.
-
-Dist::Zilla is a very powerful authoring tool, but requires a number of
-author-specific plugins. If you would like to use it for contributing,
-install it from CPAN, then run one of the following commands, depending on
-your CPAN client:
-
- $ cpan `dzil authordeps`
- $ dzil authordeps | cpanm
-
-Once installed, here are some dzil commands you might try:
-
- $ dzil build
- $ dzil test
- $ dzil xtest
-
-You can learn more about Dist::Zilla at http://dzil.org/
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/cpanfile
new/MooseX-Types-Stringlike-0.002/cpanfile
--- old/MooseX-Types-Stringlike-0.001/cpanfile 1970-01-01 01:00:00.000000000
+0100
+++ new/MooseX-Types-Stringlike-0.002/cpanfile 2013-11-03 02:43:00.000000000
+0100
@@ -0,0 +1,35 @@
+requires "MooseX::Types" => "0";
+requires "MooseX::Types::Moose" => "0";
+requires "overload" => "0";
+requires "perl" => "5.008001";
+requires "strict" => "0";
+requires "warnings" => "0";
+
+on 'test' => sub {
+ requires "ExtUtils::MakeMaker" => "0";
+ requires "File::Spec::Functions" => "0";
+ requires "List::Util" => "0";
+ requires "Moose" => "0";
+ requires "Test::More" => "0.96";
+};
+
+on 'test' => sub {
+ recommends "CPAN::Meta" => "0";
+ recommends "CPAN::Meta::Requirements" => "0";
+};
+
+on 'configure' => sub {
+ requires "ExtUtils::MakeMaker" => "6.17";
+};
+
+on 'develop' => sub {
+ requires "File::Spec" => "0";
+ requires "File::Temp" => "0";
+ requires "IO::Handle" => "0";
+ requires "IPC::Open3" => "0";
+ requires "Pod::Coverage::TrustPod" => "0";
+ requires "Test::CPAN::Meta" => "0";
+ requires "Test::More" => "0";
+ requires "Test::Pod" => "1.41";
+ requires "Test::Pod::Coverage" => "1.08";
+};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/dist.ini
new/MooseX-Types-Stringlike-0.002/dist.ini
--- old/MooseX-Types-Stringlike-0.001/dist.ini 2012-03-27 04:55:12.000000000
+0200
+++ new/MooseX-Types-Stringlike-0.002/dist.ini 2013-11-03 02:43:00.000000000
+0100
@@ -5,7 +5,7 @@
copyright_year = 2012
[@DAGOLDEN]
-:version = 0.027
+:version = 0.056
stopwords = Stringable
stopwords = Dagfinn
stopwords = Ilmari
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/MooseX-Types-Stringlike-0.001/lib/MooseX/Types/Stringlike.pm
new/MooseX-Types-Stringlike-0.002/lib/MooseX/Types/Stringlike.pm
--- old/MooseX-Types-Stringlike-0.001/lib/MooseX/Types/Stringlike.pm
2012-03-27 04:55:12.000000000 +0200
+++ new/MooseX-Types-Stringlike-0.002/lib/MooseX/Types/Stringlike.pm
2013-11-03 02:43:00.000000000 +0100
@@ -4,7 +4,7 @@
package MooseX::Types::Stringlike;
# ABSTRACT: Moose type constraints for strings or string-like objects
-our $VERSION = '0.001'; # VERSION
+our $VERSION = '0.002'; # VERSION
use MooseX::Types -declare => [ qw/Stringable Stringlike/ ];
use MooseX::Types::Moose qw/Str Object/;
@@ -28,15 +28,18 @@
# vim: ts=2 sts=2 sw=2 et:
__END__
+
=pod
+=encoding UTF-8
+
=head1 NAME
MooseX::Types::Stringlike - Moose type constraints for strings or string-like
objects
=head1 VERSION
-version 0.001
+version 0.002
=head1 SYNOPSIS
@@ -101,7 +104,7 @@
=head2 Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker
-at L<http://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types-Stringlike>.
+at L<https://github.com/dagolden/MooseX-Types-Stringlike/issues>.
You will be notified automatically of any progress on your issue.
=head2 Source Code
@@ -109,9 +112,9 @@
This is open source software. The code repository is available for
public review and contribution under the terms of the license.
-L<https://github.com/dagolden/moosex-types-stringlike>
+L<https://github.com/dagolden/MooseX-Types-Stringlike>
- git clone https://github.com/dagolden/moosex-types-stringlike.git
+ git clone https://github.com/dagolden/MooseX-Types-Stringlike.git
=head1 AUTHOR
@@ -126,4 +129,3 @@
The Apache License, Version 2.0, January 2004
=cut
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/perlcritic.rc
new/MooseX-Types-Stringlike-0.002/perlcritic.rc
--- old/MooseX-Types-Stringlike-0.001/perlcritic.rc 2012-03-27
04:55:12.000000000 +0200
+++ new/MooseX-Types-Stringlike-0.002/perlcritic.rc 2013-11-03
02:43:00.000000000 +0100
@@ -13,10 +13,10 @@
[-ControlStructures::ProhibitUnlessBlocks]
[-Documentation::RequirePodSections]
[-InputOutput::ProhibitInteractiveTest]
-[-Miscellanea::RequireRcsKeywords]
[-References::ProhibitDoubleSigils]
[-RegularExpressions::RequireExtendedFormatting]
[-InputOutput::ProhibitTwoArgOpen]
+[-Modules::ProhibitEvilModules]
# Turn this on
[Lax::ProhibitStringyEval::ExceptForRequire]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/t/00-compile.t
new/MooseX-Types-Stringlike-0.002/t/00-compile.t
--- old/MooseX-Types-Stringlike-0.001/t/00-compile.t 2012-03-27
04:55:12.000000000 +0200
+++ new/MooseX-Types-Stringlike-0.002/t/00-compile.t 1970-01-01
01:00:00.000000000 +0100
@@ -1,73 +0,0 @@
-#!perl
-
-use strict;
-use warnings;
-
-use Test::More;
-
-
-
-use File::Find;
-use File::Temp qw{ tempdir };
-
-my @modules;
-find(
- sub {
- return if $File::Find::name !~ /\.pm\z/;
- my $found = $File::Find::name;
- $found =~ s{^lib/}{};
- $found =~ s{[/\\]}{::}g;
- $found =~ s/\.pm$//;
- # nothing to skip
- push @modules, $found;
- },
- 'lib',
-);
-
-sub _find_scripts {
- my $dir = shift @_;
-
- my @found_scripts = ();
- find(
- sub {
- return unless -f;
- my $found = $File::Find::name;
- # nothing to skip
- open my $FH, '<', $_ or do {
- note( "Unable to open $found in ( $! ), skipping" );
- return;
- };
- my $shebang = <$FH>;
- return unless $shebang =~ /^#!.*?\bperl\b\s*$/;
- push @found_scripts, $found;
- },
- $dir,
- );
-
- return @found_scripts;
-}
-
-my @scripts;
-do { push @scripts, _find_scripts($_) if -d $_ }
- for qw{ bin script scripts };
-
-my $plan = scalar(@modules) + scalar(@scripts);
-$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
-
-{
- # fake home for cpan-testers
- local $ENV{HOME} = tempdir( CLEANUP => 1 );
-
- like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_
loaded ok" )
- for sort @modules;
-
- SKIP: {
- eval "use Test::Script 1.05; 1;";
- skip "Test::Script needed to test script compilation",
scalar(@scripts) if $@;
- foreach my $file ( @scripts ) {
- my $script = $file;
- $script =~ s!.*/!!;
- script_compiles( $file, "$script script compiles" );
- }
- }
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/t/00-report-prereqs.t
new/MooseX-Types-Stringlike-0.002/t/00-report-prereqs.t
--- old/MooseX-Types-Stringlike-0.001/t/00-report-prereqs.t 1970-01-01
01:00:00.000000000 +0100
+++ new/MooseX-Types-Stringlike-0.002/t/00-report-prereqs.t 2013-11-03
02:43:00.000000000 +0100
@@ -0,0 +1,126 @@
+#!perl
+
+use strict;
+use warnings;
+
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.010
+
+use Test::More tests => 1;
+
+use ExtUtils::MakeMaker;
+use File::Spec::Functions;
+use List::Util qw/max/;
+
+my @modules = qw(
+ CPAN::Meta
+ CPAN::Meta::Requirements
+ ExtUtils::MakeMaker
+ File::Spec::Functions
+ List::Util
+ Moose
+ MooseX::Types
+ MooseX::Types::Moose
+ Test::More
+ overload
+ perl
+ strict
+ warnings
+);
+
+my %exclude = map {; $_ => 1 } qw(
+
+);
+
+my ($source) = grep { -f $_ } qw/MYMETA.json MYMETA.yml META.json/;
+$source = "META.yml" unless defined $source;
+
+# replace modules with dynamic results from MYMETA.json if we can
+# (hide CPAN::Meta from prereq scanner)
+my $cpan_meta = "CPAN::Meta";
+my $cpan_meta_req = "CPAN::Meta::Requirements";
+my $all_requires;
+if ( -f $source && eval "require $cpan_meta" ) { ## no critic
+ if ( my $meta = eval { CPAN::Meta->load_file($source) } ) {
+
+ # Get ALL modules mentioned in META (any phase/type)
+ my $prereqs = $meta->prereqs;
+ delete $prereqs->{develop} if not $ENV{AUTHOR_TESTING};
+ my %uniq = map {$_ => 1} map { keys %$_ } map { values %$_ } values
%$prereqs;
+ $uniq{$_} = 1 for @modules; # don't lose any static ones
+ @modules = sort grep { ! $exclude{$_} } keys %uniq;
+
+ # If verifying, merge 'requires' only for major phases
+ if ( 1 ) {
+ $prereqs = $meta->effective_prereqs; # get the object, not the hash
+ if (eval "require $cpan_meta_req; 1") { ## no critic
+ $all_requires = $cpan_meta_req->new;
+ for my $phase ( qw/configure build test runtime/ ) {
+ $all_requires->add_requirements(
+ $prereqs->requirements_for($phase, 'requires')
+ );
+ }
+ }
+ }
+ }
+}
+
+my @reports = [qw/Version Module/];
+my @dep_errors;
+my $req_hash = defined($all_requires) ? $all_requires->as_string_hash : {};
+
+for my $mod ( @modules ) {
+ next if $mod eq 'perl';
+ my $file = $mod;
+ $file =~ s{::}{/}g;
+ $file .= ".pm";
+ my ($prefix) = grep { -e catfile($_, $file) } @INC;
+ if ( $prefix ) {
+ my $ver = MM->parse_version( catfile($prefix, $file) );
+ $ver = "undef" unless defined $ver; # Newer MM should do this anyway
+ push @reports, [$ver, $mod];
+
+ if ( 1 && $all_requires ) {
+ my $req = $req_hash->{$mod};
+ if ( defined $req && length $req ) {
+ if ( ! defined eval { version->parse($ver) } ) {
+ push @dep_errors, "$mod version '$ver' cannot be parsed (version
'$req' required)";
+ }
+ elsif ( ! $all_requires->accepts_module( $mod => $ver ) ) {
+ push @dep_errors, "$mod version '$ver' is not in required range
'$req'";
+ }
+ }
+ }
+
+ }
+ else {
+ push @reports, ["missing", $mod];
+
+ if ( 1 && $all_requires ) {
+ my $req = $req_hash->{$mod};
+ if ( defined $req && length $req ) {
+ push @dep_errors, "$mod is not installed (version '$req' required)";
+ }
+ }
+ }
+}
+
+if ( @reports ) {
+ my $vl = max map { length $_->[0] } @reports;
+ my $ml = max map { length $_->[1] } @reports;
+ splice @reports, 1, 0, ["-" x $vl, "-" x $ml];
+ diag "\nVersions for all modules listed in $source (including optional
ones):\n",
+ map {sprintf(" %*s %*s\n",$vl,$_->[0],-$ml,$_->[1])} @reports;
+}
+
+if ( @dep_errors ) {
+ diag join("\n",
+ "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
***\n",
+ "The following REQUIRED prerequisites were not satisfied:\n",
+ @dep_errors,
+ "\n"
+ );
+}
+
+pass;
+
+# vim: ts=2 sts=2 sw=2 et:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/tidyall.ini
new/MooseX-Types-Stringlike-0.002/tidyall.ini
--- old/MooseX-Types-Stringlike-0.001/tidyall.ini 1970-01-01
01:00:00.000000000 +0100
+++ new/MooseX-Types-Stringlike-0.002/tidyall.ini 2013-11-03
02:43:00.000000000 +0100
@@ -0,0 +1,5 @@
+; Install Code::TidyAll
+; run "tidyall -a" to tidy all files
+; run "tidyall -g" to tidy only files modified from git
+[PerlTidy]
+select = {lib,t}/**/*.{pl,pm,t}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/xt/author/00-compile.t
new/MooseX-Types-Stringlike-0.002/xt/author/00-compile.t
--- old/MooseX-Types-Stringlike-0.001/xt/author/00-compile.t 1970-01-01
01:00:00.000000000 +0100
+++ new/MooseX-Types-Stringlike-0.002/xt/author/00-compile.t 2013-11-03
02:43:00.000000000 +0100
@@ -0,0 +1,51 @@
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.037
+
+use Test::More tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+
+
+
+my @module_files = (
+ 'MooseX/Types/Stringlike.pm'
+);
+
+
+
+# fake home for cpan-testers
+use File::Temp;
+local $ENV{HOME} = File::Temp::tempdir( CLEANUP => 1 );
+
+
+my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib';
+
+use File::Spec;
+use IPC::Open3;
+use IO::Handle;
+
+my @warnings;
+for my $lib (@module_files)
+{
+ # see L<perlfaq8/How can I capture STDERR from an external command?>
+ open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
+ my $stderr = IO::Handle->new;
+
+ my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e',
"require q[$lib]");
+ binmode $stderr, ':crlf' if $^O eq 'MSWin32';
+ my @_warnings = <$stderr>;
+ waitpid($pid, 0);
+ is($?, 0, "$lib loaded ok");
+
+ if (@_warnings)
+ {
+ warn @_warnings;
+ push @warnings, @_warnings;
+ }
+}
+
+
+
+is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MooseX-Types-Stringlike-0.001/xt/author/pod-spell.t
new/MooseX-Types-Stringlike-0.002/xt/author/pod-spell.t
--- old/MooseX-Types-Stringlike-0.001/xt/author/pod-spell.t 2012-03-27
04:55:12.000000000 +0200
+++ new/MooseX-Types-Stringlike-0.002/xt/author/pod-spell.t 2013-11-03
02:43:00.000000000 +0100
@@ -1,15 +1,14 @@
-# This test is generated by Dist::Zilla::Plugin::Test::PodSpelling
use strict;
use warnings;
use Test::More;
-use Test::Requires {
- 'Test::Spelling' => 0.12,
- 'Pod::Wordlist::hanekomu' => 0,
-};
+
+# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006001
+use Test::Spelling 0.12;
+use Pod::Wordlist;
add_stopwords(<DATA>);
-all_pod_files_spelling_ok('bin', 'lib');
+all_pod_files_spelling_ok( qw( bin lib ) );
__DATA__
Stringable
Dagfinn
@@ -17,6 +16,7 @@
Mannsåker
David
Golden
+dagolden
lib
MooseX
Types
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/MooseX-Types-Stringlike-0.001/xt/release/minimum-version.t
new/MooseX-Types-Stringlike-0.002/xt/release/minimum-version.t
--- old/MooseX-Types-Stringlike-0.001/xt/release/minimum-version.t
1970-01-01 01:00:00.000000000 +0100
+++ new/MooseX-Types-Stringlike-0.002/xt/release/minimum-version.t
2013-11-03 02:43:00.000000000 +0100
@@ -0,0 +1,8 @@
+#!perl
+
+use Test::More;
+
+eval "use Test::MinimumVersion";
+plan skip_all => "Test::MinimumVersion required for testing minimum versions"
+ if $@;
+all_minimum_version_ok( qq{5.010} );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/MooseX-Types-Stringlike-0.001/xt/release/portability.t
new/MooseX-Types-Stringlike-0.002/xt/release/portability.t
--- old/MooseX-Types-Stringlike-0.001/xt/release/portability.t 2012-03-27
04:55:12.000000000 +0200
+++ new/MooseX-Types-Stringlike-0.002/xt/release/portability.t 2013-11-03
02:43:00.000000000 +0100
@@ -1,8 +1,12 @@
#!perl
+use strict;
+use warnings;
+
use Test::More;
eval 'use Test::Portability::Files';
plan skip_all => 'Test::Portability::Files required for testing portability'
if $@;
+options(test_one_dot => 0);
run_tests();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/MooseX-Types-Stringlike-0.001/xt/release/test-version.t
new/MooseX-Types-Stringlike-0.002/xt/release/test-version.t
--- old/MooseX-Types-Stringlike-0.001/xt/release/test-version.t 2012-03-27
04:55:12.000000000 +0200
+++ new/MooseX-Types-Stringlike-0.002/xt/release/test-version.t 2013-11-03
02:43:00.000000000 +0100
@@ -1,12 +1,22 @@
-#!/usr/bin/perl
-use 5.006;
use strict;
use warnings;
use Test::More;
-use Test::Requires {
- 'Test::Version' => 0.04,
+# generated by Dist::Zilla::Plugin::Test::Version 0.002004
+BEGIN { eval "use Test::Version; 1;" or die $@; }
+
+my @imports = ( 'version_all_ok' );
+
+my $params = {
+ is_strict => 0,
+ has_version => 1,
};
+push @imports, $params
+ if version->parse( $Test::Version::VERSION ) >= version->parse('1.002');
+
+
+Test::Version->import(@imports);
+
version_all_ok;
done_testing;
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]