@@ -1,5 +1,17 @@
Revision history for Perl extension Email::Valid.
+1.196 2015-02-05 22:31:29-05:00 America/New_York
+ - AOL "local rules" no longer enforced
+
+1.195 2014-09-01 08:38:58-04:00 America/New_York
+ - handle domain part with MX but no A record (thanks, Karel Miko)
+
+1.194 2014-05-28 17:21:53-04:00 America/New_York
+ - yhaoo.com grew an MX record; use something that won't
+
+1.193 2014-03-26 22:29:28-04:00 America/New_York
+ - improve behavior on CNAME MX records
+
1.192 2013-09-07 21:00:55 America/New_York
if Net::DNS is not available, do not test null mx validity
@@ -22,7 +22,7 @@ This is free software, licensed under:
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -1,3 +1,4 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.031.
Changes
LICENSE
MANIFEST
@@ -7,8 +8,8 @@ Makefile.PL
README
dist.ini
lib/Email/Valid.pm
-t/00-compile.t
-t/000-report-versions-tiny.t
+t/00-report-prereqs.dd
+t/00-report-prereqs.t
t/resolver.t
t/utf-8.t
t/valid.t
@@ -4,20 +4,19 @@
"Maurice Aubrey <maurice@hevanet.com>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300037, CPAN::Meta::Converter version 2.132140",
+ "generated_by" : "Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Email-Valid",
"prereqs" : {
"develop" : {
"requires" : {
- "Test::Pod" : "1.41",
- "version" : "0.9901"
+ "Test::Pod" : "1.41"
}
},
"runtime" : {
@@ -36,10 +35,13 @@
}
},
"test" : {
+ "recommends" : {
+ "CPAN::Meta" : "2.120900"
+ },
"requires" : {
- "Capture::Tiny" : "0",
- "Test::More" : "0.96",
- "blib" : "0"
+ "ExtUtils::MakeMaker" : "0",
+ "File::Spec" : "0",
+ "Test::More" : "0.96"
}
}
},
@@ -55,141 +57,183 @@
"web" : "https://github.com/rjbs/Email-Valid"
}
},
- "version" : "1.192",
+ "version" : "1.196",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.019003"
+ "version" : "5.021008"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
+ "config" : {
+ "Dist::Zilla::Plugin::GatherDir" : {
+ "exclude_filename" : [],
+ "exclude_match" : [],
+ "follow_symlinks" : "0",
+ "include_dotfiles" : "0",
+ "prefix" : "",
+ "prune_directory" : [],
+ "root" : "."
+ },
+ "Dist::Zilla::Plugin::Git::GatherDir" : {
+ "include_untracked" : "0"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Filter/Git::GatherDir",
- "version" : "2.014"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@Filter/CheckPrereqsIndexed",
- "version" : "0.009"
+ "version" : "0.015"
},
{
"class" : "Dist::Zilla::Plugin::CheckExtraTests",
"name" : "@Filter/CheckExtraTests",
- "version" : "0.011"
+ "version" : "0.025"
+ },
+ {
+ "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" : "@Filter/RJBS-Outdated",
+ "version" : "0.037"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "config" : {
+ "Dist::Zilla::Plugin::PromptIfStale" : {
+ "check_all_plugins" : "1",
+ "check_all_prereqs" : 0,
+ "modules" : [],
+ "phase" : "release",
+ "skip" : []
+ }
+ },
+ "name" : "@Filter/CPAN-Outdated",
+ "version" : "0.037"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@Filter/@Filter/PruneCruft",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@Filter/@Filter/ManifestSkip",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Filter/@Filter/MetaYAML",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Filter/@Filter/License",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@Filter/@Filter/Readme",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Filter/@Filter/ExecDir",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Filter/@Filter/ShareDir",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Filter/@Filter/Manifest",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Filter/@Filter/TestRelease",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Filter/@Filter/ConfirmRelease",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Filter/@Filter/UploadToCPAN",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@Filter/AutoPrereqs",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::NextVersion" : {
+ "first_version" : "0.001",
+ "version_by_branch" : "0",
+ "version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Filter/Git::NextVersion",
- "version" : "2.014"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@Filter/PkgVersion",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Filter/MetaConfig",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Filter/MetaJSON",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@Filter/NextRelease",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
"name" : "@Filter/Test::ChangesHasContent",
- "version" : "0.006"
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Filter/PodSyntaxTests",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
- "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
- "name" : "@Filter/ReportVersions::Tiny",
- "version" : "1.09"
- },
- {
- "class" : "Dist::Zilla::Plugin::Test::Compile",
- "config" : {
- "Dist::Zilla::Plugin::Test::Compile" : {
- "module_finder" : [
- ":InstallModules"
- ],
- "script_finder" : [
- ":ExecFiles"
- ]
- }
- },
- "name" : "@Filter/Test::Compile",
- "version" : "2.018"
+ "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
+ "name" : "@Filter/Test::ReportPrereqs",
+ "version" : "0.020"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -200,72 +244,249 @@
}
},
"name" : "@Filter/TestMoreWithSubtests",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"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.010"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::H1Nester",
+ "name" : "@CorePrep/H1Nester",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::SingleEncoding",
+ "name" : "@RJBS/SingleEncoding",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Name",
+ "name" : "@RJBS/Name",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Version",
+ "name" : "@RJBS/Version",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@RJBS/Prelude",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Synopsis",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Description",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Overview",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Stability",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Attributes",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Methods",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Functions",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Leftovers",
+ "name" : "@RJBS/Leftovers",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@RJBS/postlude",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Authors",
+ "name" : "@RJBS/Authors",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Legal",
+ "name" : "@RJBS/Legal",
+ "version" : "4.010"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::Transformer",
+ "name" : "@RJBS/List",
+ "version" : "4.010"
+ }
+ ]
+ }
+ },
"name" : "@Filter/PodWeaver",
- "version" : "3.101642"
+ "version" : "4.006"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@Filter/GithubMeta",
- "version" : "0.30"
+ "version" : "0.46"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Check" : {
+ "untracked_files" : "die"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "dist.ini",
+ "Changes"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Filter/@Git/Check",
- "version" : "2.014"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Commit" : {
+ "add_files_in" : [],
+ "commit_msg" : "v%v%n%n%c",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "dist.ini",
+ "Changes"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Filter/@Git/Commit",
- "version" : "2.014"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Tag" : {
+ "branch" : null,
+ "signed" : 0,
+ "tag" : "1.196",
+ "tag_format" : "%v",
+ "tag_message" : "v%v",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Filter/@Git/Tag",
- "version" : "2.014"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Push" : {
+ "push_to" : [
+ "origin :",
+ "github :"
+ ],
+ "remotes_must_exist" : 0
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Filter/@Git/Push",
- "version" : "2.014"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker::Runner",
+ "config" : {
+ "Dist::Zilla::Role::TestRunner" : {
+ "default_jobs" : 1
+ }
+ },
"name" : "MakeMaker::Runner",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.300037"
+ "version" : "5.031"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.300037"
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":AllFiles",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":NoFiles",
+ "version" : "5.031"
}
],
"zilla" : {
@@ -273,7 +494,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "4.300037"
+ "version" : "5.031"
}
}
}
@@ -3,139 +3,172 @@ abstract: 'Check validity of Internet email addresses'
author:
- 'Maurice Aubrey <maurice@hevanet.com>'
build_requires:
- Capture::Tiny: 0
- Test::More: 0.96
- blib: 0
+ ExtUtils::MakeMaker: '0'
+ File::Spec: '0'
+ Test::More: '0.96'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300037, CPAN::Meta::Converter version 2.132140'
+generated_by: 'Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Email-Valid
requires:
- Carp: 0
- File::Spec: 0
- IO::CaptureOutput: 0
- IO::File: 0
- Mail::Address: 0
- Net::DNS: 0
- Net::Domain::TLD: 1.65
- Scalar::Util: 0
- perl: 5.006
- strict: 0
- warnings: 0
+ Carp: '0'
+ File::Spec: '0'
+ IO::CaptureOutput: '0'
+ IO::File: '0'
+ Mail::Address: '0'
+ Net::DNS: '0'
+ Net::Domain::TLD: '1.65'
+ Scalar::Util: '0'
+ perl: '5.006'
+ strict: '0'
+ warnings: '0'
resources:
bugtracker: https://github.com/rjbs/Email-Valid/issues
homepage: https://github.com/rjbs/Email-Valid
repository: https://github.com/rjbs/Email-Valid.git
-version: 1.192
+version: '1.196'
x_Dist_Zilla:
perl:
- version: 5.019003
+ version: '5.021008'
plugins:
-
class: Dist::Zilla::Plugin::Git::GatherDir
+ config:
+ Dist::Zilla::Plugin::GatherDir:
+ exclude_filename: []
+ exclude_match: []
+ follow_symlinks: '0'
+ include_dotfiles: '0'
+ prefix: ''
+ prune_directory: []
+ root: .
+ Dist::Zilla::Plugin::Git::GatherDir:
+ include_untracked: '0'
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Filter/Git::GatherDir'
- version: 2.014
+ version: '2.029'
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@Filter/CheckPrereqsIndexed'
- version: 0.009
+ version: '0.015'
-
class: Dist::Zilla::Plugin::CheckExtraTests
name: '@Filter/CheckExtraTests'
- version: 0.011
+ version: '0.025'
+ -
+ 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: '@Filter/RJBS-Outdated'
+ version: '0.037'
+ -
+ class: Dist::Zilla::Plugin::PromptIfStale
+ config:
+ Dist::Zilla::Plugin::PromptIfStale:
+ check_all_plugins: '1'
+ check_all_prereqs: 0
+ modules: []
+ phase: release
+ skip: []
+ name: '@Filter/CPAN-Outdated'
+ version: '0.037'
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@Filter/@Filter/PruneCruft'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@Filter/@Filter/ManifestSkip'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Filter/@Filter/MetaYAML'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::License
name: '@Filter/@Filter/License'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Readme
name: '@Filter/@Filter/Readme'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Filter/@Filter/ExecDir'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Filter/@Filter/ShareDir'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Manifest
name: '@Filter/@Filter/Manifest'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Filter/@Filter/TestRelease'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Filter/@Filter/ConfirmRelease'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Filter/@Filter/UploadToCPAN'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Filter/AutoPrereqs'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Git::NextVersion
+ config:
+ Dist::Zilla::Plugin::Git::NextVersion:
+ first_version: '0.001'
+ version_by_branch: '0'
+ version_regexp: (?^:^([0-9]+\.[0-9]+)$)
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Filter/Git::NextVersion'
- version: 2.014
+ version: '2.029'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@Filter/PkgVersion'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Filter/MetaConfig'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Filter/MetaJSON'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@Filter/NextRelease'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@Filter/Test::ChangesHasContent'
- version: 0.006
+ version: '0.007'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Filter/PodSyntaxTests'
- version: 4.300037
+ version: '5.031'
-
- class: Dist::Zilla::Plugin::ReportVersions::Tiny
- name: '@Filter/ReportVersions::Tiny'
- version: 1.09
- -
- class: Dist::Zilla::Plugin::Test::Compile
- config:
- Dist::Zilla::Plugin::Test::Compile:
- module_finder:
- - ':InstallModules'
- script_finder:
- - ':ExecFiles'
- name: '@Filter/Test::Compile'
- version: 2.018
+ class: Dist::Zilla::Plugin::Test::ReportPrereqs
+ name: '@Filter/Test::ReportPrereqs'
+ version: '0.020'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -143,61 +176,194 @@ x_Dist_Zilla:
phase: test
type: requires
name: '@Filter/TestMoreWithSubtests'
- version: 4.300037
+ version: '5.031'
-
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.010'
+ -
+ class: Pod::Weaver::Plugin::H1Nester
+ name: '@CorePrep/H1Nester'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Plugin::SingleEncoding
+ name: '@RJBS/SingleEncoding'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Name
+ name: '@RJBS/Name'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Version
+ name: '@RJBS/Version'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@RJBS/Prelude'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Synopsis'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Description'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Overview'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Stability'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Attributes
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Methods
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Functions
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Leftovers
+ name: '@RJBS/Leftovers'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@RJBS/postlude'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Authors
+ name: '@RJBS/Authors'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Section::Legal
+ name: '@RJBS/Legal'
+ version: '4.010'
+ -
+ class: Pod::Weaver::Plugin::Transformer
+ name: '@RJBS/List'
+ version: '4.010'
name: '@Filter/PodWeaver'
- version: 3.101642
+ version: '4.006'
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@Filter/GithubMeta'
- version: 0.30
+ version: '0.46'
-
class: Dist::Zilla::Plugin::Git::Check
+ config:
+ Dist::Zilla::Plugin::Git::Check:
+ untracked_files: die
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - dist.ini
+ - Changes
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Filter/@Git/Check'
- version: 2.014
+ version: '2.029'
-
class: Dist::Zilla::Plugin::Git::Commit
+ config:
+ Dist::Zilla::Plugin::Git::Commit:
+ add_files_in: []
+ commit_msg: v%v%n%n%c
+ time_zone: local
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - dist.ini
+ - Changes
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Filter/@Git/Commit'
- version: 2.014
+ version: '2.029'
-
class: Dist::Zilla::Plugin::Git::Tag
+ config:
+ Dist::Zilla::Plugin::Git::Tag:
+ branch: ~
+ signed: 0
+ tag: '1.196'
+ tag_format: '%v'
+ tag_message: v%v
+ time_zone: local
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Filter/@Git/Tag'
- version: 2.014
+ version: '2.029'
-
class: Dist::Zilla::Plugin::Git::Push
+ config:
+ Dist::Zilla::Plugin::Git::Push:
+ push_to:
+ - 'origin :'
+ - 'github :'
+ remotes_must_exist: 0
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Filter/@Git/Push'
- version: 2.014
+ version: '2.029'
-
class: Dist::Zilla::Plugin::MakeMaker::Runner
+ config:
+ Dist::Zilla::Role::TestRunner:
+ default_jobs: 1
name: MakeMaker::Runner
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.300037
+ version: '5.031'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.300037
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':AllFiles'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':NoFiles'
+ version: '5.031'
zilla:
class: Dist::Zilla::Dist::Builder
config:
- is_trial: 0
- version: 4.300037
+ is_trial: '0'
+ version: '5.031'
@@ -1,7 +1,7 @@
This archive contains the distribution Email-Valid,
-version 1.192:
+version 1.196:
Check validity of Internet email addresses
@@ -11,3 +11,5 @@ 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.031.
+
@@ -2,9 +2,7 @@ require 5.006;
use strict;
use warnings;
package Email::Valid;
-{
- $Email::Valid::VERSION = '1.192';
-}
+$Email::Valid::VERSION = '1.196';
# ABSTRACT: Check validity of Internet email addresses
our (
$RFC822PAT,
@@ -19,6 +17,7 @@ use File::Spec;
use Scalar::Util 'blessed';
our %AUTOLOAD = (
+ allow_ip => 1,
fqdn => 1,
fudge => 1,
mxcheck => 1,
@@ -147,11 +146,14 @@ sub _net_dns_query {
my $packet = $Resolver->send($host, 'MX') or croak $Resolver->errorstring;
if ($packet->header->ancount) {
- my $mx = ($packet->answer)[0]->exchange;
- if ($mx eq '.' or $mx eq '') {
- return $self->details('mx'); # Null MX
- } else {
- return 1;
+ my @mx_entries = grep { $_->type eq 'MX' } $packet->answer;
+ if(@mx_entries) {
+ my $mx = ($mx_entries[0])->exchange;
+ if ($mx eq '.' or $mx eq '') {
+ return $self->details('mx'); # Null MX
+ } else {
+ return 1;
+ }
}
}
@@ -279,16 +281,6 @@ sub _local_rules {
my $self = shift;
my($user, $host) = @_;
- # AOL addresses cannot:
- # - Be shorter than 3 or longer than 16 characters
- # - Begin with numerals
- # - Contain periods, underscores, dashes or other punctuation characters
- #
- # http://postmaster.info.aol.com/faq.html
- # Last updated: Aug 23, 2003
- if ($host =~ /aol\.com/i) {
- return undef unless $user =~ /^[a-zA-Z][a-zA-Z0-9]{2,15}$/;
- }
1;
}
@@ -497,17 +489,227 @@ $RFC822PAT =~ s/\n//g;
1;
+
+#pod =head1 SYNOPSIS
+#pod
+#pod use Email::Valid;
+#pod my $address = Email::Valid->address('maurice@hevanet.com');
+#pod print ($address ? 'yes' : 'no');
+#pod
+#pod =head1 DESCRIPTION
+#pod
+#pod This module determines whether an email address is well-formed, and
+#pod optionally, whether a mail host exists for the domain.
+#pod
+#pod Please note that there is no way to determine whether an
+#pod address is deliverable without attempting delivery (for details, see
+#pod perlfaq 9).
+#pod
+#pod =head1 PREREQUISITES
+#pod
+#pod This module requires perl 5.004 or later and the Mail::Address module.
+#pod Either the Net::DNS module or the nslookup utility is required
+#pod for DNS checks. The Net::Domain::TLD module is required to check the
+#pod validity of top level domains.
+#pod
+#pod =head1 METHODS
+#pod
+#pod Every method which accepts an <ADDRESS> parameter may
+#pod be passed either a string or an instance of the Mail::Address
+#pod class. All errors raise an exception.
+#pod
+#pod =over 4
+#pod
+#pod =item new ( [PARAMS] )
+#pod
+#pod This method is used to construct an Email::Valid object.
+#pod It accepts an optional list of named parameters to
+#pod control the behavior of the object at instantiation.
+#pod
+#pod The following named parameters are allowed. See the
+#pod individual methods below of details.
+#pod
+#pod -mxcheck
+#pod -tldcheck
+#pod -fudge
+#pod -fqdn
+#pod -allow_ip
+#pod -local_rules
+#pod
+#pod =item mx ( <ADDRESS>|<DOMAIN> )
+#pod
+#pod This method accepts an email address or domain name and determines
+#pod whether a DNS record (A or MX) exists for it.
+#pod
+#pod The method returns true if a record is found and undef if not.
+#pod
+#pod Either the Net::DNS module or the nslookup utility is required for
+#pod DNS checks. Using Net::DNS is the preferred method since error
+#pod handling is improved. If Net::DNS is available, you can modify
+#pod the behavior of the resolver (e.g. change the default tcp_timeout
+#pod value) by manipulating the global Net::DNS::Resolver instance stored in
+#pod $Email::Valid::Resolver.
+#pod
+#pod =item rfc822 ( <ADDRESS> )
+#pod
+#pod This method determines whether an address conforms to the RFC822
+#pod specification (except for nested comments). It returns true if it
+#pod conforms and undef if not.
+#pod
+#pod =item fudge ( <TRUE>|<FALSE> )
+#pod
+#pod Specifies whether calls to address() should attempt to correct
+#pod common addressing errors. Currently, this results in the removal of
+#pod spaces in AOL addresses, and the conversion of commas to periods in
+#pod Compuserve addresses. The default is false.
+#pod
+#pod =item allow_ip ( <TRUE>|<FALSE> )
+#pod
+#pod Specifies whether a "domain literal" is acceptable as the domain part. That
+#pod means addresses like: C<rjbs@[1.2.3.4]>
+#pod
+#pod The checking for the domain literal is stricter than the RFC and looser than
+#pod checking for a valid IP address, I<but this is subject to change>.
+#pod
+#pod The default is true.
+#pod
+#pod =item fqdn ( <TRUE>|<FALSE> )
+#pod
+#pod Species whether addresses passed to address() must contain a fully
+#pod qualified domain name (FQDN). The default is true.
+#pod
+#pod B<Please note!> FQDN checks only occur for non-domain-literals. In other
+#pod words, if you have set C<allow_ip> and the address ends in a bracketed IP
+#pod address, the FQDN check will not occur.
+#pod
+#pod =item tld ( <ADDRESS> )
+#pod
+#pod This method determines whether the domain part of an address is in a
+#pod recognized top-level domain.
+#pod
+#pod B<Please note!> TLD checks only occur for non-domain-literals. In other
+#pod words, if you have set C<allow_ip> and the address ends in a bracketed IP
+#pod address, the TLD check will not occur.
+#pod
+#pod =item local_rules ( <TRUE>|<FALSE> )
+#pod
+#pod Specifies whether addresses passed to address() should be tested
+#pod for domain specific restrictions. Currently, this is limited to
+#pod certain AOL restrictions that I'm aware of. The default is false.
+#pod
+#pod =item mxcheck ( <TRUE>|<FALSE> )
+#pod
+#pod Specifies whether addresses passed to address() should be checked
+#pod for a valid DNS entry. The default is false.
+#pod
+#pod =item tldcheck ( <TRUE>|<FALSE> )
+#pod
+#pod Specifies whether addresses passed to address() should be checked
+#pod for a valid top level domains. The default is false.
+#pod
+#pod =item address ( <ADDRESS> )
+#pod
+#pod This is the primary method which determines whether an email
+#pod address is valid. It's behavior is modified by the values of
+#pod mxcheck(), tldcheck(), local_rules(), fqdn(), and fudge(). If the address
+#pod passes all checks, the (possibly modified) address is returned as
+#pod a string. Otherwise, the undefined value is returned.
+#pod In a list context, the method also returns an instance of the
+#pod Mail::Address class representing the email address.
+#pod
+#pod =item details ()
+#pod
+#pod If the last call to address() returned undef, you can call this
+#pod method to determine why it failed. Possible values are:
+#pod
+#pod rfc822
+#pod localpart
+#pod local_rules
+#pod fqdn
+#pod mxcheck
+#pod tldcheck
+#pod
+#pod If the class is not instantiated, you can get the same information
+#pod from the global $Email::Valid::Details.
+#pod
+#pod =back
+#pod
+#pod =head1 EXAMPLES
+#pod
+#pod Let's see if the address 'maurice@hevanet.com' conforms to the
+#pod RFC822 specification:
+#pod
+#pod print (Email::Valid->address('maurice@hevanet.com') ? 'yes' : 'no');
+#pod
+#pod Additionally, let's make sure there's a mail host for it:
+#pod
+#pod print (Email::Valid->address( -address => 'maurice@hevanet.com',
+#pod -mxcheck => 1 ) ? 'yes' : 'no');
+#pod
+#pod Let's see an example of how the address may be modified:
+#pod
+#pod $addr = Email::Valid->address('Alfred Neuman <Neuman @ foo.bar>');
+#pod print "$addr\n"; # prints Neuman@foo.bar
+#pod
+#pod Now let's add the check for top level domains:
+#pod
+#pod $addr = Email::Valid->address( -address => 'Neuman@foo.bar',
+#pod -tldcheck => 1 );
+#pod print "$addr\n"; # doesn't print anything
+#pod
+#pod Need to determine why an address failed?
+#pod
+#pod unless(Email::Valid->address('maurice@hevanet')) {
+#pod print "address failed $Email::Valid::Details check.\n";
+#pod }
+#pod
+#pod If an error is encountered, an exception is raised. This is really
+#pod only possible when performing DNS queries. Trap any exceptions by
+#pod wrapping the call in an eval block:
+#pod
+#pod eval {
+#pod $addr = Email::Valid->address( -address => 'maurice@hevanet.com',
+#pod -mxcheck => 1 );
+#pod };
+#pod warn "an error was encountered: $@" if $@;
+#pod
+#pod =head1 CREDITS
+#pod
+#pod Significant portions of this module are based on the ckaddr program
+#pod written by Tom Christiansen and the RFC822 address pattern developed
+#pod by Jeffrey Friedl. Neither were involved in the construction of this
+#pod module; all errors are mine.
+#pod
+#pod Thanks very much to the following people for their suggestions and
+#pod bug fixes:
+#pod
+#pod Otis Gospodnetic <otis@DOMINIS.com>
+#pod Kim Ryan <kimaryan@ozemail.com.au>
+#pod Pete Ehlke <pde@listserv.music.sony.com>
+#pod Lupe Christoph
+#pod David Birnbaum
+#pod Achim
+#pod Elizabeth Mattijsen (liz@dijkmat.nl)
+#pod
+#pod =head1 SEE ALSO
+#pod
+#pod Mail::Address, Net::DNS, Net::Domain::TLD, perlfaq9
+#pod
+#pod =cut
+
__END__
=pod
+=encoding UTF-8
+
=head1 NAME
Email::Valid - Check validity of Internet email addresses
=head1 VERSION
-version 1.192
+version 1.196
=head1 SYNOPSIS
@@ -1,39 +0,0 @@
-use strict;
-use warnings;
-
-# This test was generated via Dist::Zilla::Plugin::Test::Compile 2.018
-
-use Test::More 0.88;
-
-
-
-use Capture::Tiny qw{ capture };
-
-my @module_files = qw(
-Email/Valid.pm
-);
-
-my @scripts = qw(
-
-);
-
-# no fake home requested
-
-my @warnings;
-for my $lib (@module_files)
-{
- my ($stdout, $stderr, $exit) = capture {
- system($^X, '-Mblib', '-e', qq{require q[$lib]});
- };
- is($?, 0, "$lib loaded ok");
- warn $stderr if $stderr;
- push @warnings, $stderr if $stderr;
-}
-
-
-
-is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
-
-
-
-done_testing;
@@ -0,0 +1,34 @@
+do { my $x = {
+ 'develop' => {
+ 'requires' => {
+ 'Test::Pod' => '1.41'
+ }
+ },
+ 'runtime' => {
+ 'requires' => {
+ 'Carp' => '0',
+ 'File::Spec' => '0',
+ 'IO::CaptureOutput' => '0',
+ 'IO::File' => '0',
+ 'Mail::Address' => '0',
+ 'Net::DNS' => '0',
+ 'Net::Domain::TLD' => '1.65',
+ 'Scalar::Util' => '0',
+ 'perl' => '5.006',
+ 'strict' => '0',
+ 'warnings' => '0'
+ }
+ },
+ 'test' => {
+ 'recommends' => {
+ 'CPAN::Meta' => '2.120900'
+ },
+ 'requires' => {
+ 'ExtUtils::MakeMaker' => '0',
+ 'File::Spec' => '0',
+ 'Test::More' => '0.96'
+ }
+ }
+ };
+ $x;
+ }
\ No newline at end of file
@@ -0,0 +1,183 @@
+#!perl
+
+use strict;
+use warnings;
+
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.020
+
+use Test::More tests => 1;
+
+use ExtUtils::MakeMaker;
+use File::Spec;
+
+# from $version::LAX
+my $lax_version_re =
+ qr/(?: undef | (?: (?:[0-9]+) (?: \. | (?:\.[0-9]+) (?:_[0-9]+)? )?
+ |
+ (?:\.[0-9]+) (?:_[0-9]+)?
+ ) | (?:
+ v (?:[0-9]+) (?: (?:\.[0-9]+)+ (?:_[0-9]+)? )?
+ |
+ (?:[0-9]+)? (?:\.[0-9]+){2,} (?:_[0-9]+)?
+ )
+ )/x;
+
+# hide optional CPAN::Meta modules from prereq scanner
+# and check if they are available
+my $cpan_meta = "CPAN::Meta";
+my $cpan_meta_pre = "CPAN::Meta::Prereqs";
+my $HAS_CPAN_META = eval "require $cpan_meta; $cpan_meta->VERSION('2.120900')" && eval "require $cpan_meta_pre"; ## no critic
+
+# Verify requirements?
+my $DO_VERIFY_PREREQS = 1;
+
+sub _max {
+ my $max = shift;
+ $max = ( $_ > $max ) ? $_ : $max for @_;
+ return $max;
+}
+
+sub _merge_prereqs {
+ my ($collector, $prereqs) = @_;
+
+ # CPAN::Meta::Prereqs object
+ if (ref $collector eq $cpan_meta_pre) {
+ return $collector->with_merged_prereqs(
+ CPAN::Meta::Prereqs->new( $prereqs )
+ );
+ }
+
+ # Raw hashrefs
+ for my $phase ( keys %$prereqs ) {
+ for my $type ( keys %{ $prereqs->{$phase} } ) {
+ for my $module ( keys %{ $prereqs->{$phase}{$type} } ) {
+ $collector->{$phase}{$type}{$module} = $prereqs->{$phase}{$type}{$module};
+ }
+ }
+ }
+
+ return $collector;
+}
+
+my @include = qw(
+
+);
+
+my @exclude = qw(
+
+);
+
+# Add static prereqs to the included modules list
+my $static_prereqs = do 't/00-report-prereqs.dd';
+
+# Merge all prereqs (either with ::Prereqs or a hashref)
+my $full_prereqs = _merge_prereqs(
+ ( $HAS_CPAN_META ? $cpan_meta_pre->new : {} ),
+ $static_prereqs
+);
+
+# Add dynamic prereqs to the included modules list (if we can)
+my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+if ( $source && $HAS_CPAN_META ) {
+ if ( my $meta = eval { CPAN::Meta->load_file($source) } ) {
+ $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
+ }
+}
+else {
+ $source = 'static metadata';
+}
+
+my @full_reports;
+my @dep_errors;
+my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs;
+
+# Add static includes into a fake section
+for my $mod (@include) {
+ $req_hash->{other}{modules}{$mod} = 0;
+}
+
+for my $phase ( qw(configure build test runtime develop other) ) {
+ next unless $req_hash->{$phase};
+ next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING});
+
+ for my $type ( qw(requires recommends suggests conflicts modules) ) {
+ next unless $req_hash->{$phase}{$type};
+
+ my $title = ucfirst($phase).' '.ucfirst($type);
+ my @reports = [qw/Module Want Have/];
+
+ for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) {
+ next if $mod eq 'perl';
+ next if grep { $_ eq $mod } @exclude;
+
+ my $file = $mod;
+ $file =~ s{::}{/}g;
+ $file .= ".pm";
+ my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC;
+
+ my $want = $req_hash->{$phase}{$type}{$mod};
+ $want = "undef" unless defined $want;
+ $want = "any" if !$want && $want == 0;
+
+ my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required";
+
+ if ($prefix) {
+ my $have = MM->parse_version( File::Spec->catfile($prefix, $file) );
+ $have = "undef" unless defined $have;
+ push @reports, [$mod, $want, $have];
+
+ if ( $DO_VERIFY_PREREQS && $HAS_CPAN_META && $type eq 'requires' ) {
+ if ( $have !~ /\A$lax_version_re\z/ ) {
+ push @dep_errors, "$mod version '$have' cannot be parsed ($req_string)";
+ }
+ elsif ( ! $full_prereqs->requirements_for( $phase, $type )->accepts_module( $mod => $have ) ) {
+ push @dep_errors, "$mod version '$have' is not in required range '$want'";
+ }
+ }
+ }
+ else {
+ push @reports, [$mod, $want, "missing"];
+
+ if ( $DO_VERIFY_PREREQS && $type eq 'requires' ) {
+ push @dep_errors, "$mod is not installed ($req_string)";
+ }
+ }
+ }
+
+ if ( @reports ) {
+ push @full_reports, "=== $title ===\n\n";
+
+ my $ml = _max( map { length $_->[0] } @reports );
+ my $wl = _max( map { length $_->[1] } @reports );
+ my $hl = _max( map { length $_->[2] } @reports );
+
+ if ($type eq 'modules') {
+ splice @reports, 1, 0, ["-" x $ml, "", "-" x $hl];
+ push @full_reports, map { sprintf(" %*s %*s\n", -$ml, $_->[0], $hl, $_->[2]) } @reports;
+ }
+ else {
+ splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl];
+ push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports;
+ }
+
+ push @full_reports, "\n";
+ }
+ }
+}
+
+if ( @full_reports ) {
+ diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_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=4 sts=4 sw=4 et:
@@ -1,84 +0,0 @@
-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.09\n";
-
-eval { # no excuses!
- # report our Perl details
- my $want = '5.006';
- $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('Capture::Tiny','any version') };
-eval { $v .= pmver('Carp','any version') };
-eval { $v .= pmver('File::Spec','any version') };
-eval { $v .= pmver('IO::CaptureOutput','any version') };
-eval { $v .= pmver('IO::File','any version') };
-eval { $v .= pmver('Mail::Address','any version') };
-eval { $v .= pmver('Net::DNS','any version') };
-eval { $v .= pmver('Net::Domain::TLD','1.65') };
-eval { $v .= pmver('Scalar::Util','any version') };
-eval { $v .= pmver('Test::More','0.96') };
-eval { $v .= pmver('Test::Pod','1.41') };
-eval { $v .= pmver('blib','any version') };
-eval { $v .= pmver('strict','any version') };
-eval { $v .= pmver('version','0.9901') };
-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;
@@ -152,8 +152,8 @@ SKIP: {
unless $Email::Valid::DNS_Method eq 'Net::DNS';
ok(
- !$v->address(-address => 'blort@yhaoo.com', -mxcheck => 1),
- 'yhaoo.com has a null mx record',
+ !$v->address(-address => 'blort@no-mx-exists.manxome.org', -mxcheck => 1),
+ 'no-mx-exists.manxome.org has a null mx record',
) or diag "was using $Email::Valid::DNS_Method for dns resolution";
}
@@ -4,7 +4,7 @@ use Test::More tests => 2;
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '1.192';
+my $newver = '1.196';
my $trial_token = '-TRIAL';
SKIP: {
@@ -1,7 +1,6 @@
#!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 $@;
+use Test::Pod 1.41;
all_pod_files_ok();