Changes | 06 |
LICENSE | 33 |
MANIFEST | 14 |
META.json | 66228 |
META.yml | 59178 |
Makefile.PL | 1825 |
README | 24 |
lib/MooseX/Types/Perl.pm | 895 |
t/000-report-versions-tiny.t | 078 |
t/release-pod-syntax.t | 150 |
xt/release/changes_has_content.t | 041 |
xt/release/pod-syntax.t | 08 |
12 files changed (This is a version diff) | 172670 |
@@ -1,5 +1,11 @@
Revision history for MooseX-Types-Perl
+0.101343 2014-02-01 19:21:28-05:00 America/New_York
+ documentation patch for Identifiers (thanks, Karen Etheridge)
+
+0.101342 2013-10-05 09:13:49 America/New_York
+ update bugtracker and repo
+
0.101341 2011-12-23 17:18:04 America/New_York
forbid non-ASCII in pkg, dist, module
@@ -1,4 +1,4 @@
-This software is copyright (c) 2011 by Ricardo SIGNES.
+This software is copyright (c) 2014 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,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2011 by Ricardo SIGNES.
+This software is Copyright (c) 2014 by Ricardo SIGNES.
This is free software, licensed under:
@@ -272,7 +272,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2011 by Ricardo SIGNES.
+This software is Copyright (c) 2014 by Ricardo SIGNES.
This is free software, licensed under:
@@ -1,3 +1,4 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.012.
Changes
LICENSE
MANIFEST
@@ -7,5 +8,7 @@ Makefile.PL
README
dist.ini
lib/MooseX/Types/Perl.pm
+t/000-report-versions-tiny.t
t/basic.t
-t/release-pod-syntax.t
+xt/release/changes_has_content.t
+xt/release/pod-syntax.t
@@ -4,7 +4,7 @@
"Ricardo SIGNES <rjbs@cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300005, CPAN::Meta::Converter version 2.112621",
+ "generated_by" : "Dist::Zilla version 5.012, CPAN::Meta::Converter version 2.133380",
"license" : [
"perl_5"
],
@@ -19,147 +19,196 @@
"ExtUtils::MakeMaker" : "6.30"
}
},
+ "develop" : {
+ "requires" : {
+ "Test::Pod" : "1.41",
+ "version" : "0.9901"
+ }
+ },
"runtime" : {
"requires" : {
- "MooseX::Types" : 0,
- "MooseX::Types::Moose" : 0,
- "Params::Util" : 0,
+ "MooseX::Types" : "0",
+ "MooseX::Types::Moose" : "0",
+ "Params::Util" : "0",
"version" : "0.82"
}
},
"test" : {
"requires" : {
"Test::More" : "0.96",
- "charnames" : 0,
- "strict" : 0,
- "warnings" : 0
+ "charnames" : "0",
+ "strict" : "0",
+ "warnings" : "0"
}
}
},
"release_status" : "stable",
"resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/rjbs/MooseX-Types-Perl/issues"
+ },
+ "homepage" : "https://github.com/rjbs/MooseX-Types-Perl",
"repository" : {
"type" : "git",
- "url" : "git://git.codesimply.com/MooseX-Types-Perl.git"
+ "url" : "https://github.com/rjbs/MooseX-Types-Perl.git",
+ "web" : "https://github.com/rjbs/MooseX-Types-Perl"
}
},
- "version" : "0.101341",
+ "version" : "0.101343",
"x_Dist_Zilla" : {
+ "perl" : {
+ "version" : "5.018002"
+ },
"plugins" : [
{
+ "class" : "Dist::Zilla::Plugin::Git::GatherDir",
+ "name" : "@RJBS/Git::GatherDir",
+ "version" : "2.019"
+ },
+ {
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@RJBS/CheckPrereqsIndexed",
- "version" : "0.007"
+ "version" : "0.010"
},
{
- "class" : "Dist::Zilla::Plugin::GatherDir",
- "name" : "@RJBS/@Basic/GatherDir",
- "version" : "4.300005"
+ "class" : "Dist::Zilla::Plugin::CheckExtraTests",
+ "name" : "@RJBS/CheckExtraTests",
+ "version" : "0.016"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "config" : {
+ "Dist::Zilla::Plugin::PromptIfStale" : {
+ "check_all_plugins" : 0,
+ "check_all_prereqs" : 0,
+ "modules" : [
+ "Dist::Zilla::PluginBundle::RJBS"
+ ],
+ "phase" : "build",
+ "skip" : []
+ }
+ },
+ "name" : "@RJBS/RJBS-Outdated",
+ "version" : "0.015"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "config" : {
+ "Dist::Zilla::Plugin::PromptIfStale" : {
+ "check_all_plugins" : "1",
+ "check_all_prereqs" : 0,
+ "modules" : [],
+ "phase" : "release",
+ "skip" : []
+ }
+ },
+ "name" : "@RJBS/CPAN-Outdated",
+ "version" : "0.015"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
- "name" : "@RJBS/@Basic/PruneCruft",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/PruneCruft",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
- "name" : "@RJBS/@Basic/ManifestSkip",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/ManifestSkip",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
- "name" : "@RJBS/@Basic/MetaYAML",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/MetaYAML",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::License",
- "name" : "@RJBS/@Basic/License",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/License",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
- "name" : "@RJBS/@Basic/Readme",
- "version" : "4.300005"
- },
- {
- "class" : "Dist::Zilla::Plugin::ExtraTests",
- "name" : "@RJBS/@Basic/ExtraTests",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/Readme",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
- "name" : "@RJBS/@Basic/ExecDir",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/ExecDir",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
- "name" : "@RJBS/@Basic/ShareDir",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/ShareDir",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
- "name" : "@RJBS/@Basic/MakeMaker",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/MakeMaker",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
- "name" : "@RJBS/@Basic/Manifest",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/Manifest",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
- "name" : "@RJBS/@Basic/TestRelease",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/TestRelease",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
- "name" : "@RJBS/@Basic/ConfirmRelease",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/ConfirmRelease",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
- "name" : "@RJBS/@Basic/UploadToCPAN",
- "version" : "4.300005"
+ "name" : "@RJBS/@Filter/UploadToCPAN",
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "4.300005"
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"name" : "@RJBS/Git::NextVersion",
- "version" : "1.113560"
+ "version" : "2.019"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "4.300005"
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "4.300005"
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "4.300005"
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "4.300005"
+ "version" : "5.012"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
+ "name" : "@RJBS/Test::ChangesHasContent",
+ "version" : "0.006"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "4.300005"
+ "version" : "5.012"
},
{
- "class" : "Dist::Zilla::Plugin::Repository",
- "name" : "@RJBS/Repository",
- "version" : "0.18"
+ "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
+ "name" : "@RJBS/ReportVersions::Tiny",
+ "version" : "1.10"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -170,67 +219,180 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "4.300005"
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
+ "config" : {
+ "Dist::Zilla::Plugin::PodWeaver" : {
+ "config_plugins" : [
+ "@RJBS"
+ ],
+ "finder" : [
+ ":InstallModules",
+ ":ExecFiles"
+ ],
+ "plugins" : [
+ {
+ "class" : "Pod::Weaver::Plugin::EnsurePod5",
+ "name" : "@CorePrep/EnsurePod5",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::H1Nester",
+ "name" : "@CorePrep/H1Nester",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::SingleEncoding",
+ "name" : "@RJBS/SingleEncoding",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Name",
+ "name" : "@RJBS/Name",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Version",
+ "name" : "@RJBS/Version",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@RJBS/Prelude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Synopsis",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Description",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Overview",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Stability",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Attributes",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Methods",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Functions",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Leftovers",
+ "name" : "@RJBS/Leftovers",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@RJBS/postlude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Authors",
+ "name" : "@RJBS/Authors",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Legal",
+ "name" : "@RJBS/Legal",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::Transformer",
+ "name" : "@RJBS/List",
+ "version" : "4.006"
+ }
+ ]
+ }
+ },
"name" : "@RJBS/PodWeaver",
- "version" : "3.101641"
+ "version" : "4.005"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@RJBS/GithubMeta",
- "version" : "0.28"
+ "version" : "0.42"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@RJBS/@Git/Check",
- "version" : "1.113560"
+ "version" : "2.019"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"name" : "@RJBS/@Git/Commit",
- "version" : "1.113560"
+ "version" : "2.019"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@RJBS/@Git/Tag",
- "version" : "1.113560"
+ "version" : "2.019"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"name" : "@RJBS/@Git/Push",
- "version" : "1.113560"
+ "version" : "2.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.300005"
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.300005"
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.300005"
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.300005"
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.300005"
+ "version" : "5.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.300005"
+ "version" : "5.012"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":AllFiles",
+ "version" : "5.012"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":NoFiles",
+ "version" : "5.012"
}
],
"zilla" : {
@@ -238,7 +400,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "4.300005"
+ "version" : "5.012"
}
}
}
@@ -10,7 +10,7 @@ build_requires:
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300005, CPAN::Meta::Converter version 2.112621'
+generated_by: 'Dist::Zilla version 5.012, CPAN::Meta::Converter version 2.133380'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -22,102 +22,133 @@ requires:
Params::Util: 0
version: 0.82
resources:
- repository: git://git.codesimply.com/MooseX-Types-Perl.git
-version: 0.101341
+ bugtracker: https://github.com/rjbs/MooseX-Types-Perl/issues
+ homepage: https://github.com/rjbs/MooseX-Types-Perl
+ repository: https://github.com/rjbs/MooseX-Types-Perl.git
+version: 0.101343
x_Dist_Zilla:
+ perl:
+ version: 5.018002
plugins:
-
+ class: Dist::Zilla::Plugin::Git::GatherDir
+ name: '@RJBS/Git::GatherDir'
+ version: 2.019
+ -
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@RJBS/CheckPrereqsIndexed'
- version: 0.007
+ version: 0.010
+ -
+ class: Dist::Zilla::Plugin::CheckExtraTests
+ name: '@RJBS/CheckExtraTests'
+ version: 0.016
-
- class: Dist::Zilla::Plugin::GatherDir
- name: '@RJBS/@Basic/GatherDir'
- version: 4.300005
+ class: Dist::Zilla::Plugin::PromptIfStale
+ config:
+ Dist::Zilla::Plugin::PromptIfStale:
+ check_all_plugins: 0
+ check_all_prereqs: 0
+ modules:
+ - Dist::Zilla::PluginBundle::RJBS
+ phase: build
+ skip: []
+ name: '@RJBS/RJBS-Outdated'
+ version: 0.015
+ -
+ class: Dist::Zilla::Plugin::PromptIfStale
+ config:
+ Dist::Zilla::Plugin::PromptIfStale:
+ check_all_plugins: 1
+ check_all_prereqs: 0
+ modules: []
+ phase: release
+ skip: []
+ name: '@RJBS/CPAN-Outdated'
+ version: 0.015
-
class: Dist::Zilla::Plugin::PruneCruft
- name: '@RJBS/@Basic/PruneCruft'
- version: 4.300005
+ name: '@RJBS/@Filter/PruneCruft'
+ version: 5.012
-
class: Dist::Zilla::Plugin::ManifestSkip
- name: '@RJBS/@Basic/ManifestSkip'
- version: 4.300005
+ name: '@RJBS/@Filter/ManifestSkip'
+ version: 5.012
-
class: Dist::Zilla::Plugin::MetaYAML
- name: '@RJBS/@Basic/MetaYAML'
- version: 4.300005
+ name: '@RJBS/@Filter/MetaYAML'
+ version: 5.012
-
class: Dist::Zilla::Plugin::License
- name: '@RJBS/@Basic/License'
- version: 4.300005
+ name: '@RJBS/@Filter/License'
+ version: 5.012
-
class: Dist::Zilla::Plugin::Readme
- name: '@RJBS/@Basic/Readme'
- version: 4.300005
- -
- class: Dist::Zilla::Plugin::ExtraTests
- name: '@RJBS/@Basic/ExtraTests'
- version: 4.300005
+ name: '@RJBS/@Filter/Readme'
+ version: 5.012
-
class: Dist::Zilla::Plugin::ExecDir
- name: '@RJBS/@Basic/ExecDir'
- version: 4.300005
+ name: '@RJBS/@Filter/ExecDir'
+ version: 5.012
-
class: Dist::Zilla::Plugin::ShareDir
- name: '@RJBS/@Basic/ShareDir'
- version: 4.300005
+ name: '@RJBS/@Filter/ShareDir'
+ version: 5.012
-
class: Dist::Zilla::Plugin::MakeMaker
- name: '@RJBS/@Basic/MakeMaker'
- version: 4.300005
+ name: '@RJBS/@Filter/MakeMaker'
+ version: 5.012
-
class: Dist::Zilla::Plugin::Manifest
- name: '@RJBS/@Basic/Manifest'
- version: 4.300005
+ name: '@RJBS/@Filter/Manifest'
+ version: 5.012
-
class: Dist::Zilla::Plugin::TestRelease
- name: '@RJBS/@Basic/TestRelease'
- version: 4.300005
+ name: '@RJBS/@Filter/TestRelease'
+ version: 5.012
-
class: Dist::Zilla::Plugin::ConfirmRelease
- name: '@RJBS/@Basic/ConfirmRelease'
- version: 4.300005
+ name: '@RJBS/@Filter/ConfirmRelease'
+ version: 5.012
-
class: Dist::Zilla::Plugin::UploadToCPAN
- name: '@RJBS/@Basic/UploadToCPAN'
- version: 4.300005
+ name: '@RJBS/@Filter/UploadToCPAN'
+ version: 5.012
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: 4.300005
+ version: 5.012
-
class: Dist::Zilla::Plugin::Git::NextVersion
name: '@RJBS/Git::NextVersion'
- version: 1.113560
+ version: 2.019
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: 4.300005
+ version: 5.012
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: 4.300005
+ version: 5.012
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: 4.300005
+ version: 5.012
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: 4.300005
+ version: 5.012
+ -
+ class: Dist::Zilla::Plugin::Test::ChangesHasContent
+ name: '@RJBS/Test::ChangesHasContent'
+ version: 0.006
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: 4.300005
+ version: 5.012
-
- class: Dist::Zilla::Plugin::Repository
- name: '@RJBS/Repository'
- version: 0.18
+ class: Dist::Zilla::Plugin::ReportVersions::Tiny
+ name: '@RJBS/ReportVersions::Tiny'
+ version: 1.10
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -125,57 +156,145 @@ x_Dist_Zilla:
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: 4.300005
+ version: 5.012
-
class: Dist::Zilla::Plugin::PodWeaver
+ config:
+ Dist::Zilla::Plugin::PodWeaver:
+ config_plugins:
+ - '@RJBS'
+ finder:
+ - ':InstallModules'
+ - ':ExecFiles'
+ plugins:
+ -
+ class: Pod::Weaver::Plugin::EnsurePod5
+ name: '@CorePrep/EnsurePod5'
+ version: 4.006
+ -
+ class: Pod::Weaver::Plugin::H1Nester
+ name: '@CorePrep/H1Nester'
+ version: 4.006
+ -
+ class: Pod::Weaver::Plugin::SingleEncoding
+ name: '@RJBS/SingleEncoding'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Name
+ name: '@RJBS/Name'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Version
+ name: '@RJBS/Version'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@RJBS/Prelude'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Synopsis'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Description'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Overview'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Stability'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Attributes
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Methods
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Functions
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Leftovers
+ name: '@RJBS/Leftovers'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@RJBS/postlude'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Authors
+ name: '@RJBS/Authors'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Legal
+ name: '@RJBS/Legal'
+ version: 4.006
+ -
+ class: Pod::Weaver::Plugin::Transformer
+ name: '@RJBS/List'
+ version: 4.006
name: '@RJBS/PodWeaver'
- version: 3.101641
+ version: 4.005
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@RJBS/GithubMeta'
- version: 0.28
+ version: 0.42
-
class: Dist::Zilla::Plugin::Git::Check
name: '@RJBS/@Git/Check'
- version: 1.113560
+ version: 2.019
-
class: Dist::Zilla::Plugin::Git::Commit
name: '@RJBS/@Git/Commit'
- version: 1.113560
+ version: 2.019
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@RJBS/@Git/Tag'
- version: 1.113560
+ version: 2.019
-
class: Dist::Zilla::Plugin::Git::Push
name: '@RJBS/@Git/Push'
- version: 1.113560
+ version: 2.019
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.300005
+ version: 5.012
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.300005
+ version: 5.012
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.300005
+ version: 5.012
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.300005
+ version: 5.012
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.300005
+ version: 5.012
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.300005
+ version: 5.012
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':AllFiles'
+ version: 5.012
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':NoFiles'
+ version: 5.012
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.300005
+ version: 5.012
@@ -1,4 +1,5 @@
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.012.
use strict;
use warnings;
@@ -11,12 +12,7 @@ use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
"ABSTRACT" => "Moose types that check against Perl syntax",
"AUTHOR" => "Ricardo SIGNES <rjbs\@cpan.org>",
- "BUILD_REQUIRES" => {
- "Test::More" => "0.96",
- "charnames" => 0,
- "strict" => 0,
- "warnings" => 0
- },
+ "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
@@ -30,24 +26,35 @@ my %WriteMakefileArgs = (
"Params::Util" => 0,
"version" => "0.82"
},
- "VERSION" => "0.101341",
+ "TEST_REQUIRES" => {
+ "Test::More" => "0.96",
+ "charnames" => 0,
+ "strict" => 0,
+ "warnings" => 0
+ },
+ "VERSION" => "0.101343",
"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 = (
+ "MooseX::Types" => 0,
+ "MooseX::Types::Moose" => 0,
+ "Params::Util" => 0,
+ "Test::More" => "0.96",
+ "charnames" => 0,
+ "strict" => 0,
+ "version" => "0.82",
+ "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}
@@ -1,13 +1,15 @@
This archive contains the distribution MooseX-Types-Perl,
-version 0.101341:
+version 0.101343:
Moose types that check against Perl syntax
-This software is copyright (c) 2011 by Ricardo SIGNES.
+This software is copyright (c) 2014 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.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.012.
+
@@ -1,8 +1,6 @@
package MooseX::Types::Perl;
-{
- $MooseX::Types::Perl::VERSION = '0.101341';
-}
# ABSTRACT: Moose types that check against Perl syntax
+$MooseX::Types::Perl::VERSION = '0.101343';
use MooseX::Types -declare => [ qw(
DistName
@@ -17,15 +15,63 @@ use MooseX::Types -declare => [ qw(
VersionObject
) ];
+# =head1 SYNOPSIS
+#
+# use MooseX::Types::Perl qw(
+# DistName
+#
+# ModuleName
+# PackageName
+#
+# Identifier
+# SafeIdentifier
+#
+# LaxVersionStr
+# StrictVersionStr
+# VersionObject
+# );
+#
+# =head1 DESCRIPTION
+#
+# This library provides L<Moose types|MooseX::Types> for checking things (mostly
+# strings) against syntax that is, or is a reasonable subset of, Perl syntax.
+#
+# =cut
use MooseX::Types::Moose qw(Object Str);
use Params::Util qw(_CLASS);
use version 0.82;
+# =head1 TYPES
+#
+# =head2 ModuleName
+#
+# =head2 PackageName
+#
+# These types are identical, and expect a string that could be a package or
+# module name. That's basically a bunch of identifiers stuck together with
+# double-colons. One key quirk is that parts of the package name after the
+# first may begin with digits.
+#
+# The use of an apostrophe as a package separator is not permitted.
+#
+# =cut
subtype ModuleName, as Str, where { ! /\P{ASCII}/ && _CLASS($_) };
subtype PackageName, as Str, where { ! /\P{ASCII}/ && _CLASS($_) };
+# =head2 DistName
+#
+# The DistName type checks for a string like C<MooseX-Types-Perl>, the sort of
+# thing used to name CPAN distributions. In general, it's like the more familiar
+# L<ModuleName>, but with hyphens instead of double-colons.
+#
+# In reality, a few distribution names may not match this pattern -- most
+# famously, C<CGI.pm> is the name of the distribution that contains CGI. These
+# exceptions are few and far between, and deciding what a C<LaxDistName> type
+# would look like has not seemed worth it, yet.
+#
+# =cut
subtype DistName,
as Str,
@@ -42,16 +88,46 @@ subtype DistName,
# LaxDistName -- how does this work, other than "like some characters, okay?"
+# =head2 Identifier
+#
+# An L<Identifier|perldata/Variable names> is something that could be used as a
+# symbol name or other identifier (filehandle, directory handle, subroutine name,
+# format name, or label). It's what you put after the sigil (dollar sign, at
+# sign, percent sign) in a variable name. Generally, it's a bunch of
+# alphanumeric characters not starting with a digit.
+#
+# Although Perl identifiers may contain non-ASCII characters in some
+# circumstances, this type does not allow it. A C<UnicodeIdentifier> type may be
+# added in the future.
+#
+# =cut
subtype Identifier,
as Str,
where { / \A [_a-z] [_a-z0-9]* \z /xi; };
+# =head2 SafeIdentifier
+#
+# SafeIdentifiers are just like Identifiers, but omit the single-letter variables
+# underscore, a, and b, as these have special significance.
+#
+# =cut
subtype SafeIdentifier,
as Identifier,
where { ! / \A [_ab] \z /x; };
+# =head2 LaxVersionStr
+#
+# =head2 StrictVersionStr
+#
+# Lax and strict version strings use the L<is_lax|version/is_lax> and
+# L<is_strict|version/is_strict> methods from C<version> to check if the given
+# string would be a valid lax or strict version. L<version::Internals> covers
+# the details but basically: lax versions are everything you may do, and strict
+# omit many of the usages best avoided.
+#
+# =cut
subtype LaxVersionStr,
as Str,
@@ -63,6 +139,12 @@ subtype StrictVersionStr,
where { version::is_strict($_) },
message { "$_ is not a valid strict version string" };
+# =head2 VersionObject
+#
+# Just for good measure, this type is included to check if a value is a version
+# object. Coercions from LaxVersionStr (and thus StrictVersionStr) are provided.
+#
+# =cut
subtype VersionObject,
as Object,
@@ -75,15 +157,18 @@ coerce VersionObject,
1;
__END__
+
=pod
+=encoding UTF-8
+
=head1 NAME
MooseX::Types::Perl - Moose types that check against Perl syntax
=head1 VERSION
-version 0.101341
+version 0.101343
=head1 SYNOPSIS
@@ -132,8 +217,11 @@ would look like has not seemed worth it, yet.
=head2 Identifier
-An Identifier is something that could be used as a variable name. Generally,
-it's a bunch of alphanumeric characters not starting with a digit.
+An L<Identifier|perldata/Variable names> is something that could be used as a
+symbol name or other identifier (filehandle, directory handle, subroutine name,
+format name, or label). It's what you put after the sigil (dollar sign, at
+sign, percent sign) in a variable name. Generally, it's a bunch of
+alphanumeric characters not starting with a digit.
Although Perl identifiers may contain non-ASCII characters in some
circumstances, this type does not allow it. A C<UnicodeIdentifier> type may be
@@ -165,10 +253,9 @@ Ricardo SIGNES <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2011 by Ricardo SIGNES.
+This software is copyright (c) 2014 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
-
@@ -0,0 +1,78 @@
+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('ExtUtils::MakeMaker','6.30') };
+eval { $v .= pmver('MooseX::Types','any version') };
+eval { $v .= pmver('MooseX::Types::Moose','any version') };
+eval { $v .= pmver('Params::Util','any version') };
+eval { $v .= pmver('Test::More','0.96') };
+eval { $v .= pmver('charnames','any version') };
+eval { $v .= pmver('strict','any version') };
+eval { $v .= pmver('version','0.82') };
+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;
@@ -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();
@@ -0,0 +1,41 @@
+#!perl
+
+use Test::More tests => 2;
+
+note 'Checking Changes';
+my $changes_file = 'Changes';
+my $newver = '0.101343';
+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;
+}
+
@@ -0,0 +1,8 @@
+#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
+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();