@@ -1,3 +1,10 @@
+1.57 2015-01-30
+
+- Make minFraud API client https by default. This distribution now
+ depends on LWP::Protocol::https to ensure that you have the modules
+ needed for SSL support installed.
+
+
1.56 2014-09-26
- Re-release to fix permission issues.
@@ -1,4 +1,3 @@
-
This is the Perl distribution Business-MaxMind.
Installing Business-MaxMind is straightforward.
@@ -1,4 +1,4 @@
-This software is Copyright (c) 2014 by MaxMind, Inc..
+This software is Copyright (c) 2015 by MaxMind, Inc..
This is free software, licensed under:
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.020.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.031.
COPYING
Changes
INSTALL
@@ -8,6 +8,7 @@ META.json
META.yml
Makefile.PL
README.md
+cpanfile
dist.ini
example.pl
example_telv.pl
@@ -15,10 +16,15 @@ lib/Business/MaxMind.pm
lib/Business/MaxMind/CreditCardFraudDetection.pm
lib/Business/MaxMind/HTTPBase.pm
lib/Business/MaxMind/TelephoneVerification.pm
+t/00-compile.t
+t/00-report-prereqs.dd
+t/00-report-prereqs.t
t/1.t
+t/author-eol.t
+t/author-no-tabs.t
+t/author-pod-spell.t
t/release-cpan-changes.t
-t/release-eol.t
-t/release-no-tabs.t
t/release-pod-syntax.t
+t/release-portability.t
t/release-synopsis.t
-t/utf8.t
+weaver.ini
@@ -5,7 +5,7 @@
"Frank Mather <frank@maxmind.com>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.141170",
+ "generated_by" : "Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240",
"license" : [
"gpl_2"
],
@@ -17,20 +17,25 @@
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "0"
+ "ExtUtils::MakeMaker" : "0",
+ "perl" : "5.006"
}
},
"develop" : {
"requires" : {
"Test::CPAN::Changes" : "0.19",
+ "Test::EOL" : "0",
"Test::More" : "0",
"Test::NoTabs" : "0",
- "Test::Pod" : "1.41"
+ "Test::Pod" : "1.41",
+ "Test::Spelling" : "0.12",
+ "Test::Synopsis" : "0"
}
},
"runtime" : {
"requires" : {
"Digest::MD5" : "0",
+ "LWP::Protocol::https" : "0",
"LWP::UserAgent" : "0",
"URI::Escape" : "0",
"base" : "0",
@@ -39,14 +44,38 @@
}
},
"test" : {
+ "recommends" : {
+ "CPAN::Meta" : "2.120900"
+ },
"requires" : {
- "Data::Dumper" : "0",
- "Test" : "0",
- "Test::More" : "0",
- "utf8" : "0"
+ "ExtUtils::MakeMaker" : "0",
+ "File::Spec" : "0",
+ "IO::Handle" : "0",
+ "IPC::Open3" : "0",
+ "Test::More" : "0.88",
+ "perl" : "5.006",
+ "warnings" : "0"
}
}
},
+ "provides" : {
+ "Business::MaxMind" : {
+ "file" : "lib/Business/MaxMind.pm",
+ "version" : "1.57"
+ },
+ "Business::MaxMind::CreditCardFraudDetection" : {
+ "file" : "lib/Business/MaxMind/CreditCardFraudDetection.pm",
+ "version" : "1.57"
+ },
+ "Business::MaxMind::HTTPBase" : {
+ "file" : "lib/Business/MaxMind/HTTPBase.pm",
+ "version" : "1.57"
+ },
+ "Business::MaxMind::TelephoneVerification" : {
+ "file" : "lib/Business/MaxMind/TelephoneVerification.pm",
+ "version" : "1.57"
+ }
+ },
"release_status" : "stable",
"resources" : {
"bugtracker" : {
@@ -58,12 +87,586 @@
"web" : "https://github.com/maxmind/ccfd-api-perl"
}
},
- "version" : "1.56",
+ "version" : "1.57",
+ "x_Dist_Zilla" : {
+ "perl" : {
+ "version" : "5.016003"
+ },
+ "plugins" : [
+ {
+ "class" : "Dist::Zilla::Plugin::MakeMaker",
+ "config" : {
+ "Dist::Zilla::Role::TestRunner" : {
+ "default_jobs" : 1
+ }
+ },
+ "name" : "@MAXMIND/MakeMaker",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Authority",
+ "name" : "@MAXMIND/Authority",
+ "version" : "1.009"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::AutoPrereqs",
+ "name" : "@MAXMIND/AutoPrereqs",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild",
+ "name" : "@MAXMIND/CopyFilesFromBuild",
+ "version" : "0.150250"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::GatherDir",
+ "config" : {
+ "Dist::Zilla::Plugin::GatherDir" : {
+ "exclude_filename" : [
+ "README.md",
+ "cpanfile",
+ "Makefile.PL",
+ "LICENSE"
+ ],
+ "exclude_match" : [],
+ "follow_symlinks" : "0",
+ "include_dotfiles" : "0",
+ "prefix" : "",
+ "prune_directory" : [],
+ "root" : "."
+ }
+ },
+ "name" : "@MAXMIND/GatherDir",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::GitHub::Meta",
+ "name" : "@MAXMIND/GitHub::Meta",
+ "version" : "0.40"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::GitHub::Update",
+ "name" : "@MAXMIND/GitHub::Update",
+ "version" : "0.40"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MetaProvides::Package",
+ "config" : {
+ "Dist::Zilla::Plugin::MetaProvides::Package" : {
+ "finder_objects" : [
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : "@MAXMIND/MetaProvides::Package/AUTOVIV/:InstallModulesPM",
+ "version" : "5.031"
+ }
+ ]
+ },
+ "Dist::Zilla::Role::MetaProvider::Provider" : {
+ "inherit_missing" : "1",
+ "inherit_version" : "1",
+ "meta_noindex" : "1"
+ }
+ },
+ "name" : "@MAXMIND/MetaProvides::Package",
+ "version" : "2.003001"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::NextRelease",
+ "name" : "@MAXMIND/NextRelease",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::PodSpelling",
+ "name" : "@MAXMIND/Test::PodSpelling",
+ "version" : "2.006008"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
+ "name" : "@MAXMIND/Test::ReportPrereqs",
+ "version" : "0.020"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Prereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs" : {
+ "phase" : "test",
+ "type" : "requires"
+ }
+ },
+ "name" : "@MAXMIND/TestMoreDoneTesting",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "config" : {
+ "Dist::Zilla::Plugin::PromptIfStale" : {
+ "check_all_plugins" : "1",
+ "check_all_prereqs" : "1",
+ "modules" : [],
+ "phase" : "release",
+ "skip" : [
+ "Dist::Zilla::Plugin::MAXMIND::Contributors",
+ "Dist::Zilla::Plugin::MAXMIND::License"
+ ]
+ }
+ },
+ "name" : "@MAXMIND/stale modules, release",
+ "version" : "0.037"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
+ "name" : "@MAXMIND/ReadmeMarkdownInBuild",
+ "version" : "0.150250"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
+ "name" : "@MAXMIND/ReadmeMarkdownInRoot",
+ "version" : "0.150250"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::UploadToCPAN",
+ "name" : "@MAXMIND/UploadToCPAN",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PruneCruft",
+ "name" : "@MAXMIND/PruneCruft",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ManifestSkip",
+ "name" : "@MAXMIND/ManifestSkip",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MetaYAML",
+ "name" : "@MAXMIND/MetaYAML",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::License",
+ "name" : "@MAXMIND/License",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ExtraTests",
+ "name" : "@MAXMIND/ExtraTests",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ExecDir",
+ "name" : "@MAXMIND/ExecDir",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ShareDir",
+ "name" : "@MAXMIND/ShareDir",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Manifest",
+ "name" : "@MAXMIND/Manifest",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::TestRelease",
+ "name" : "@MAXMIND/TestRelease",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ConfirmRelease",
+ "name" : "@MAXMIND/ConfirmRelease",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
+ "name" : "@MAXMIND/CheckPrereqsIndexed",
+ "version" : "0.014"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::CPANFile",
+ "name" : "@MAXMIND/CPANFile",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch",
+ "config" : {
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
+ "name" : "@MAXMIND/Git::CheckFor::CorrectBranch",
+ "version" : "0.011"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
+ "config" : {
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
+ "name" : "@MAXMIND/Git::CheckFor::MergeConflicts",
+ "version" : "0.011"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Describe",
+ "name" : "@MAXMIND/Git::Describe",
+ "version" : "0.004"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Contributors",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Contributors" : {
+ "include_authors" : "0",
+ "include_releaser" : "1",
+ "order_by" : "name",
+ "paths" : []
+ }
+ },
+ "name" : "@MAXMIND/Git::Contributors",
+ "version" : "0.009"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::InstallGuide",
+ "name" : "@MAXMIND/InstallGuide",
+ "version" : "1.200006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MAXMIND::Contributors",
+ "name" : "@MAXMIND/MAXMIND::Contributors",
+ "version" : "0.07"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MAXMIND::License",
+ "name" : "@MAXMIND/MAXMIND::License",
+ "version" : "0.07"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Meta::Contributors",
+ "name" : "@MAXMIND/Meta::Contributors",
+ "version" : "0.001"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MetaConfig",
+ "name" : "@MAXMIND/MetaConfig",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MetaJSON",
+ "name" : "@MAXMIND/MetaJSON",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MinimumPerl",
+ "name" : "@MAXMIND/MinimumPerl",
+ "version" : "1.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PkgVersion",
+ "name" : "@MAXMIND/PkgVersion",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::SurgicalPodWeaver",
+ "config" : {
+ "Dist::Zilla::Plugin::PodWeaver" : {
+ "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::Section::Name",
+ "name" : "Name",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Version",
+ "name" : "Version",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "prelude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "SYNOPSIS",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "DESCRIPTION",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Leftovers",
+ "name" : "Leftovers",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "postlude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Authors",
+ "name" : "Authors",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Contributors",
+ "name" : "Contributors",
+ "version" : "0.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Legal",
+ "name" : "Legal",
+ "version" : "4.006"
+ }
+ ]
+ }
+ },
+ "name" : "@MAXMIND/SurgicalPodWeaver",
+ "version" : "0.0023"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
+ "name" : "@MAXMIND/PodSyntaxTests",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes",
+ "name" : "@MAXMIND/Test::CPAN::Changes",
+ "version" : "0.009"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::Compile",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::Compile" : {
+ "bail_out_on_fail" : "0",
+ "fail_on_warning" : "author",
+ "fake_home" : "0",
+ "filename" : "t/00-compile.t",
+ "module_finder" : [
+ ":InstallModules"
+ ],
+ "needs_display" : "0",
+ "phase" : "test",
+ "script_finder" : [
+ ":ExecFiles"
+ ],
+ "skips" : []
+ }
+ },
+ "name" : "@MAXMIND/Test::Compile",
+ "version" : "2.051"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::EOL",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::EOL" : {
+ "filename" : "xt/author/eol.t"
+ }
+ },
+ "name" : "@MAXMIND/Test::EOL",
+ "version" : "0.16"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::NoTabs",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::NoTabs" : {
+ "filename" : "xt/author/no-tabs.t",
+ "finder" : [
+ ":InstallModules",
+ ":ExecFiles",
+ ":TestFiles"
+ ]
+ }
+ },
+ "name" : "@MAXMIND/Test::NoTabs",
+ "version" : "0.13"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::Portability",
+ "name" : "@MAXMIND/Test::Portability",
+ "version" : "2.000006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::Synopsis",
+ "name" : "@MAXMIND/Test::Synopsis",
+ "version" : "2.000006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Check",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Check" : {
+ "untracked_files" : "die"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ ".mailmap",
+ "Changes",
+ "cpanfile",
+ "CONTRIBUTING.md",
+ "LICENSE",
+ "Makefile.PL",
+ "README.md"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
+ "name" : "@MAXMIND/Git::Check",
+ "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" : [
+ ".mailmap",
+ "Changes",
+ "cpanfile",
+ "CONTRIBUTING.md",
+ "LICENSE",
+ "Makefile.PL",
+ "README.md"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
+ "name" : "@MAXMIND/Git::Commit",
+ "version" : "2.029"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Tag",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Tag" : {
+ "branch" : null,
+ "signed" : 0,
+ "tag" : "v1.57",
+ "tag_format" : "v%v",
+ "tag_message" : "v%v",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
+ "name" : "@MAXMIND/Git::Tag",
+ "version" : "2.029"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Push",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Push" : {
+ "push_to" : [
+ "origin"
+ ],
+ "remotes_must_exist" : 1
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
+ "name" : "@MAXMIND/Git::Push",
+ "version" : "2.029"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::RewriteVersion",
+ "name" : "RewriteVersion",
+ "version" : "0.009"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease",
+ "name" : "BumpVersionAfterRelease",
+ "version" : "0.009"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":InstallModules",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":IncModules",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":TestFiles",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":ExecFiles",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":ShareFiles",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":MainModule",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":AllFiles",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":NoFiles",
+ "version" : "5.031"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : "@MAXMIND/MetaProvides::Package/AUTOVIV/:InstallModulesPM",
+ "version" : "5.031"
+ }
+ ],
+ "zilla" : {
+ "class" : "Dist::Zilla::Dist::Builder",
+ "config" : {
+ "is_trial" : "0"
+ },
+ "version" : "5.031"
+ }
+ },
"x_authority" : "cpan:MAXMIND",
"x_contributors" : [
"Boris Zentner <bzentner@maxmind.com>",
- "Gregory Oschwald <goschwald@maxmind.com>",
- "Olaf Alders <olaf@wundersolutions.com>"
+ "Dave Rolsky <drolsky@maxmind.com>",
+ "Greg Oschwald <goschwald@maxmind.com>",
+ "Mateu X Hunter <mhunter@maxmind.com>",
+ "Olaf Alders <oalders@maxmind.com>"
]
}
@@ -4,21 +4,39 @@ author:
- 'TJ Mather <tjmather@maxmind.com>'
- 'Frank Mather <frank@maxmind.com>'
build_requires:
- Data::Dumper: '0'
- Test: '0'
- Test::More: '0'
- utf8: '0'
+ ExtUtils::MakeMaker: '0'
+ File::Spec: '0'
+ IO::Handle: '0'
+ IPC::Open3: '0'
+ Test::More: '0.88'
+ perl: '5.006'
+ warnings: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
+ perl: '5.006'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.141170'
+generated_by: 'Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240'
license: gpl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Business-MaxMind
+provides:
+ Business::MaxMind:
+ file: lib/Business/MaxMind.pm
+ version: '1.57'
+ Business::MaxMind::CreditCardFraudDetection:
+ file: lib/Business/MaxMind/CreditCardFraudDetection.pm
+ version: '1.57'
+ Business::MaxMind::HTTPBase:
+ file: lib/Business/MaxMind/HTTPBase.pm
+ version: '1.57'
+ Business::MaxMind::TelephoneVerification:
+ file: lib/Business/MaxMind/TelephoneVerification.pm
+ version: '1.57'
requires:
Digest::MD5: '0'
+ LWP::Protocol::https: '0'
LWP::UserAgent: '0'
URI::Escape: '0'
base: '0'
@@ -27,9 +45,452 @@ requires:
resources:
bugtracker: https://github.com/maxmind/ccfd-api-perl/issues
repository: git://github.com/maxmind/ccfd-api-perl.git
-version: '1.56'
+version: '1.57'
+x_Dist_Zilla:
+ perl:
+ version: '5.016003'
+ plugins:
+ -
+ class: Dist::Zilla::Plugin::MakeMaker
+ config:
+ Dist::Zilla::Role::TestRunner:
+ default_jobs: 1
+ name: '@MAXMIND/MakeMaker'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::Authority
+ name: '@MAXMIND/Authority'
+ version: '1.009'
+ -
+ class: Dist::Zilla::Plugin::AutoPrereqs
+ name: '@MAXMIND/AutoPrereqs'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::CopyFilesFromBuild
+ name: '@MAXMIND/CopyFilesFromBuild'
+ version: '0.150250'
+ -
+ class: Dist::Zilla::Plugin::GatherDir
+ config:
+ Dist::Zilla::Plugin::GatherDir:
+ exclude_filename:
+ - README.md
+ - cpanfile
+ - Makefile.PL
+ - LICENSE
+ exclude_match: []
+ follow_symlinks: '0'
+ include_dotfiles: '0'
+ prefix: ''
+ prune_directory: []
+ root: .
+ name: '@MAXMIND/GatherDir'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::GitHub::Meta
+ name: '@MAXMIND/GitHub::Meta'
+ version: '0.40'
+ -
+ class: Dist::Zilla::Plugin::GitHub::Update
+ name: '@MAXMIND/GitHub::Update'
+ version: '0.40'
+ -
+ class: Dist::Zilla::Plugin::MetaProvides::Package
+ config:
+ Dist::Zilla::Plugin::MetaProvides::Package:
+ finder_objects:
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: '@MAXMIND/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
+ version: '5.031'
+ Dist::Zilla::Role::MetaProvider::Provider:
+ inherit_missing: '1'
+ inherit_version: '1'
+ meta_noindex: '1'
+ name: '@MAXMIND/MetaProvides::Package'
+ version: '2.003001'
+ -
+ class: Dist::Zilla::Plugin::NextRelease
+ name: '@MAXMIND/NextRelease'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::Test::PodSpelling
+ name: '@MAXMIND/Test::PodSpelling'
+ version: '2.006008'
+ -
+ class: Dist::Zilla::Plugin::Test::ReportPrereqs
+ name: '@MAXMIND/Test::ReportPrereqs'
+ version: '0.020'
+ -
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: test
+ type: requires
+ name: '@MAXMIND/TestMoreDoneTesting'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::PromptIfStale
+ config:
+ Dist::Zilla::Plugin::PromptIfStale:
+ check_all_plugins: '1'
+ check_all_prereqs: '1'
+ modules: []
+ phase: release
+ skip:
+ - Dist::Zilla::Plugin::MAXMIND::Contributors
+ - Dist::Zilla::Plugin::MAXMIND::License
+ name: '@MAXMIND/stale modules, release'
+ version: '0.037'
+ -
+ class: Dist::Zilla::Plugin::ReadmeAnyFromPod
+ name: '@MAXMIND/ReadmeMarkdownInBuild'
+ version: '0.150250'
+ -
+ class: Dist::Zilla::Plugin::ReadmeAnyFromPod
+ name: '@MAXMIND/ReadmeMarkdownInRoot'
+ version: '0.150250'
+ -
+ class: Dist::Zilla::Plugin::UploadToCPAN
+ name: '@MAXMIND/UploadToCPAN'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::PruneCruft
+ name: '@MAXMIND/PruneCruft'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::ManifestSkip
+ name: '@MAXMIND/ManifestSkip'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::MetaYAML
+ name: '@MAXMIND/MetaYAML'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::License
+ name: '@MAXMIND/License'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::ExtraTests
+ name: '@MAXMIND/ExtraTests'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::ExecDir
+ name: '@MAXMIND/ExecDir'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::ShareDir
+ name: '@MAXMIND/ShareDir'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::Manifest
+ name: '@MAXMIND/Manifest'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::TestRelease
+ name: '@MAXMIND/TestRelease'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::ConfirmRelease
+ name: '@MAXMIND/ConfirmRelease'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::CheckPrereqsIndexed
+ name: '@MAXMIND/CheckPrereqsIndexed'
+ version: '0.014'
+ -
+ class: Dist::Zilla::Plugin::CPANFile
+ name: '@MAXMIND/CPANFile'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch
+ config:
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
+ name: '@MAXMIND/Git::CheckFor::CorrectBranch'
+ version: '0.011'
+ -
+ class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
+ config:
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
+ name: '@MAXMIND/Git::CheckFor::MergeConflicts'
+ version: '0.011'
+ -
+ class: Dist::Zilla::Plugin::Git::Describe
+ name: '@MAXMIND/Git::Describe'
+ version: '0.004'
+ -
+ class: Dist::Zilla::Plugin::Git::Contributors
+ config:
+ Dist::Zilla::Plugin::Git::Contributors:
+ include_authors: '0'
+ include_releaser: '1'
+ order_by: name
+ paths: []
+ name: '@MAXMIND/Git::Contributors'
+ version: '0.009'
+ -
+ class: Dist::Zilla::Plugin::InstallGuide
+ name: '@MAXMIND/InstallGuide'
+ version: '1.200006'
+ -
+ class: Dist::Zilla::Plugin::MAXMIND::Contributors
+ name: '@MAXMIND/MAXMIND::Contributors'
+ version: '0.07'
+ -
+ class: Dist::Zilla::Plugin::MAXMIND::License
+ name: '@MAXMIND/MAXMIND::License'
+ version: '0.07'
+ -
+ class: Dist::Zilla::Plugin::Meta::Contributors
+ name: '@MAXMIND/Meta::Contributors'
+ version: '0.001'
+ -
+ class: Dist::Zilla::Plugin::MetaConfig
+ name: '@MAXMIND/MetaConfig'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::MetaJSON
+ name: '@MAXMIND/MetaJSON'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::MinimumPerl
+ name: '@MAXMIND/MinimumPerl'
+ version: '1.006'
+ -
+ class: Dist::Zilla::Plugin::PkgVersion
+ name: '@MAXMIND/PkgVersion'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::SurgicalPodWeaver
+ config:
+ Dist::Zilla::Plugin::PodWeaver:
+ 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::Section::Name
+ name: Name
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Version
+ name: Version
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Region
+ name: prelude
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: SYNOPSIS
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Generic
+ name: DESCRIPTION
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Leftovers
+ name: Leftovers
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Region
+ name: postlude
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Authors
+ name: Authors
+ version: '4.006'
+ -
+ class: Pod::Weaver::Section::Contributors
+ name: Contributors
+ version: '0.006'
+ -
+ class: Pod::Weaver::Section::Legal
+ name: Legal
+ version: '4.006'
+ name: '@MAXMIND/SurgicalPodWeaver'
+ version: '0.0023'
+ -
+ class: Dist::Zilla::Plugin::PodSyntaxTests
+ name: '@MAXMIND/PodSyntaxTests'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::Test::CPAN::Changes
+ name: '@MAXMIND/Test::CPAN::Changes'
+ version: '0.009'
+ -
+ class: Dist::Zilla::Plugin::Test::Compile
+ config:
+ Dist::Zilla::Plugin::Test::Compile:
+ bail_out_on_fail: '0'
+ fail_on_warning: author
+ fake_home: '0'
+ filename: t/00-compile.t
+ module_finder:
+ - ':InstallModules'
+ needs_display: '0'
+ phase: test
+ script_finder:
+ - ':ExecFiles'
+ skips: []
+ name: '@MAXMIND/Test::Compile'
+ version: '2.051'
+ -
+ class: Dist::Zilla::Plugin::Test::EOL
+ config:
+ Dist::Zilla::Plugin::Test::EOL:
+ filename: xt/author/eol.t
+ name: '@MAXMIND/Test::EOL'
+ version: '0.16'
+ -
+ class: Dist::Zilla::Plugin::Test::NoTabs
+ config:
+ Dist::Zilla::Plugin::Test::NoTabs:
+ filename: xt/author/no-tabs.t
+ finder:
+ - ':InstallModules'
+ - ':ExecFiles'
+ - ':TestFiles'
+ name: '@MAXMIND/Test::NoTabs'
+ version: '0.13'
+ -
+ class: Dist::Zilla::Plugin::Test::Portability
+ name: '@MAXMIND/Test::Portability'
+ version: '2.000006'
+ -
+ class: Dist::Zilla::Plugin::Test::Synopsis
+ name: '@MAXMIND/Test::Synopsis'
+ version: '2.000006'
+ -
+ class: Dist::Zilla::Plugin::Git::Check
+ config:
+ Dist::Zilla::Plugin::Git::Check:
+ untracked_files: die
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - .mailmap
+ - Changes
+ - cpanfile
+ - CONTRIBUTING.md
+ - LICENSE
+ - Makefile.PL
+ - README.md
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
+ name: '@MAXMIND/Git::Check'
+ 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:
+ - .mailmap
+ - Changes
+ - cpanfile
+ - CONTRIBUTING.md
+ - LICENSE
+ - Makefile.PL
+ - README.md
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
+ name: '@MAXMIND/Git::Commit'
+ version: '2.029'
+ -
+ class: Dist::Zilla::Plugin::Git::Tag
+ config:
+ Dist::Zilla::Plugin::Git::Tag:
+ branch: ~
+ signed: 0
+ tag: v1.57
+ tag_format: v%v
+ tag_message: v%v
+ time_zone: local
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
+ name: '@MAXMIND/Git::Tag'
+ version: '2.029'
+ -
+ class: Dist::Zilla::Plugin::Git::Push
+ config:
+ Dist::Zilla::Plugin::Git::Push:
+ push_to:
+ - origin
+ remotes_must_exist: 1
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
+ name: '@MAXMIND/Git::Push'
+ version: '2.029'
+ -
+ class: Dist::Zilla::Plugin::RewriteVersion
+ name: RewriteVersion
+ version: '0.009'
+ -
+ class: Dist::Zilla::Plugin::BumpVersionAfterRelease
+ name: BumpVersionAfterRelease
+ version: '0.009'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':InstallModules'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':IncModules'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':TestFiles'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ExecFiles'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ShareFiles'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':MainModule'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':AllFiles'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':NoFiles'
+ version: '5.031'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: '@MAXMIND/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
+ version: '5.031'
+ zilla:
+ class: Dist::Zilla::Dist::Builder
+ config:
+ is_trial: '0'
+ version: '5.031'
x_authority: cpan:MAXMIND
x_contributors:
- 'Boris Zentner <bzentner@maxmind.com>'
- - 'Gregory Oschwald <goschwald@maxmind.com>'
- - 'Olaf Alders <olaf@wundersolutions.com>'
+ - 'Dave Rolsky <drolsky@maxmind.com>'
+ - 'Greg Oschwald <goschwald@maxmind.com>'
+ - 'Mateu X Hunter <mhunter@maxmind.com>'
+ - 'Olaf Alders <oalders@maxmind.com>'
@@ -1,11 +1,11 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.020.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.031.
use strict;
use warnings;
use 5.006;
-use ExtUtils::MakeMaker ;
+use ExtUtils::MakeMaker;
@@ -18,21 +18,25 @@ my %WriteMakefileArgs = (
"DISTNAME" => "Business-MaxMind",
"EXE_FILES" => [],
"LICENSE" => "gpl",
+ "MIN_PERL_VERSION" => "5.006",
"NAME" => "Business::MaxMind",
"PREREQ_PM" => {
"Digest::MD5" => 0,
+ "LWP::Protocol::https" => 0,
"LWP::UserAgent" => 0,
"URI::Escape" => 0,
"base" => 0,
"strict" => 0
},
"TEST_REQUIRES" => {
- "Data::Dumper" => 0,
- "Test" => 0,
- "Test::More" => 0,
- "utf8" => 0
+ "ExtUtils::MakeMaker" => 0,
+ "File::Spec" => 0,
+ "IO::Handle" => 0,
+ "IPC::Open3" => 0,
+ "Test::More" => "0.88",
+ "warnings" => 0
},
- "VERSION" => "1.56",
+ "VERSION" => "1.57",
"test" => {
"TESTS" => "t/*.t"
}
@@ -40,15 +44,18 @@ my %WriteMakefileArgs = (
my %FallbackPrereqs = (
- "Data::Dumper" => 0,
"Digest::MD5" => 0,
+ "ExtUtils::MakeMaker" => 0,
+ "File::Spec" => 0,
+ "IO::Handle" => 0,
+ "IPC::Open3" => 0,
+ "LWP::Protocol::https" => 0,
"LWP::UserAgent" => 0,
- "Test" => 0,
- "Test::More" => 0,
+ "Test::More" => "0.88",
"URI::Escape" => 0,
"base" => 0,
"strict" => 0,
- "utf8" => 0
+ "warnings" => 0
);
@@ -4,7 +4,7 @@ Business::MaxMind - API for MaxMind minFraud Services
# VERSION
-version 1.56
+version 1.57
# DESCRIPTION
@@ -17,7 +17,7 @@ This module queries the MaxMind minFraud service and returns the results.
# COPYRIGHT AND LICENSE
-This software is Copyright (c) 2014 by MaxMind, Inc..
+This software is Copyright (c) 2015 by MaxMind, Inc..
This is free software, licensed under:
@@ -0,0 +1,36 @@
+requires "Digest::MD5" => "0";
+requires "LWP::Protocol::https" => "0";
+requires "LWP::UserAgent" => "0";
+requires "URI::Escape" => "0";
+requires "base" => "0";
+requires "perl" => "5.006";
+requires "strict" => "0";
+
+on 'test' => sub {
+ requires "ExtUtils::MakeMaker" => "0";
+ requires "File::Spec" => "0";
+ requires "IO::Handle" => "0";
+ requires "IPC::Open3" => "0";
+ requires "Test::More" => "0.88";
+ requires "perl" => "5.006";
+ requires "warnings" => "0";
+};
+
+on 'test' => sub {
+ recommends "CPAN::Meta" => "2.120900";
+};
+
+on 'configure' => sub {
+ requires "ExtUtils::MakeMaker" => "0";
+ requires "perl" => "5.006";
+};
+
+on 'develop' => sub {
+ requires "Test::CPAN::Changes" => "0.19";
+ requires "Test::EOL" => "0";
+ requires "Test::More" => "0";
+ requires "Test::NoTabs" => "0";
+ requires "Test::Pod" => "1.41";
+ requires "Test::Spelling" => "0.12";
+ requires "Test::Synopsis" => "0";
+};
@@ -4,69 +4,14 @@ author = Frank Mather <frank@maxmind.com>
license = GPL_2
copyright_holder = MaxMind, Inc.
-[NextRelease]
-format = %-8v %{yyyy-MM-dd}d
+[@MAXMIND]
+dist = Business-MaxMind
+stopwords = isSecure
+stopwords = minFraud
+stopwords = API
+stopwords = IP
+stopwords = subclasses
+-remove = Test::Pod::Coverage::Configurable
-[@Filter]
-bundle = @Basic
-remove = Readme
-remove = UploadToCPAN
-
-[UploadToCPAN]
-pause_cfg_file = .pause-maxmind
-
-[Authority]
-authority = cpan:MAXMIND
-do_munging = 0
-
-[PruneFiles]
-filename = Makefile.PL
-filename = tools
-
-[ContributorsFromGit]
-[InstallGuide]
-[MetaJSON]
-
-[ReadmeAnyFromPod]
-type = markdown
-filename = README.md
-
-[ReadmeAnyFromPod / ReadmeMarkdownInRoot]
-type = markdown
-filename = README.md
-location = root
-
-[CopyMakefilePLFromBuild] ; copies the generated Makefile.PL back
-
-[GitHub::Meta]
-[GitHub::Update]
-metacpan = 1
-
-[SurgicalPodWeaver]
-; authordep Dist::Zilla::Plugin::PodWeaver
-; authordep Pod::Weaver::Section::Contributors = 0.006
-
-
-; We are using these two as $VERSION is used in the code
[RewriteVersion]
[BumpVersionAfterRelease]
-
-[EOLTests]
-[Test::NoTabs]
-[PodSyntaxTests]
-[Test::CPAN::Changes]
-
-; These are disabled as they don't work with the dev site (UA checks)
-;[Test::Pod::LinkCheck]
-;[Test::Pod::No404s]
-
-[Test::Synopsis]
-
-[AutoPrereqs]
-
-[CheckPrereqsIndexed]
-
-[@Git]
-allow_dirty = Changes
-allow_dirty = Makefile.PL
-allow_dirty = README.md
@@ -6,7 +6,7 @@ use Digest::MD5;
use LWP::UserAgent;
use base 'Business::MaxMind::HTTPBase';
-our $VERSION = '1.56';
+our $VERSION = '1.57';
# input fields
my @allowed_fields
@@ -51,15 +51,13 @@ __END__
=pod
-=encoding UTF-8
-
=head1 NAME
Business::MaxMind::CreditCardFraudDetection - Access MaxMind minFraud services
=head1 VERSION
-version 1.56
+version 1.57
=head1 SYNOPSIS
@@ -158,7 +156,7 @@ Frank Mather <frank@maxmind.com>
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2014 by MaxMind, Inc..
+This software is Copyright (c) 2015 by MaxMind, Inc..
This is free software, licensed under:
@@ -4,10 +4,11 @@ use 5.006;
use strict;
+use LWP::Protocol::https;
use LWP::UserAgent;
use URI::Escape;
-our $VERSION = '1.56';
+our $VERSION = '1.57';
my $API_VERSION = join( '/', 'Perl', $VERSION );
@@ -26,6 +27,7 @@ sub new {
}
my $self = {@_};
bless $self, $class;
+ $self->{isSecure} = 1 unless exists $self->{isSecure};
for my $server (@defaultservers) {
$self->{servers}->[$i] = $server;
$i++;
@@ -138,15 +140,13 @@ sub querySingleServer {
=pod
-=encoding UTF-8
-
=head1 NAME
Business::MaxMind::HTTPBase - Base class for accessing HTTP web services
=head1 VERSION
-version 1.56
+version 1.57
=head1 DESCRIPTION
@@ -204,7 +204,7 @@ Frank Mather <frank@maxmind.com>
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2014 by MaxMind, Inc..
+This software is Copyright (c) 2015 by MaxMind, Inc..
This is free software, licensed under:
@@ -5,7 +5,7 @@ use strict;
use LWP::UserAgent;
use base 'Business::MaxMind::HTTPBase';
-our $VERSION = '1.56';
+our $VERSION = '1.57';
my @allowed_fields = qw/l phone verify_code language/;
@@ -22,15 +22,13 @@ sub _init {
=pod
-=encoding UTF-8
-
=head1 NAME
Business::MaxMind::TelephoneVerification - Access MaxMind's Telephone Verification services
=head1 VERSION
-version 1.56
+version 1.57
=head1 DESCRIPTION
@@ -94,7 +92,7 @@ Frank Mather <frank@maxmind.com>
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2014 by MaxMind, Inc..
+This software is Copyright (c) 2015 by MaxMind, Inc..
This is free software, licensed under:
@@ -1,8 +1,10 @@
package Business::MaxMind;
+# git description: v1.56-10-g746bf18
+
use 5.006;
-our $VERSION = '1.56';
+our $VERSION = '1.57';
1;
@@ -12,15 +14,13 @@ __END__
=pod
-=encoding UTF-8
-
=head1 NAME
Business::MaxMind - API for MaxMind minFraud Services
=head1 VERSION
-version 1.56
+version 1.57
=head1 DESCRIPTION
@@ -42,7 +42,7 @@ Frank Mather <frank@maxmind.com>
=head1 COPYRIGHT AND LICENSE
-This software is Copyright (c) 2014 by MaxMind, Inc..
+This software is Copyright (c) 2015 by MaxMind, Inc..
This is free software, licensed under:
@@ -0,0 +1,54 @@
+use 5.006;
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051
+
+use Test::More;
+
+plan tests => 4 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+
+my @module_files = (
+ 'Business/MaxMind.pm',
+ 'Business/MaxMind/CreditCardFraudDetection.pm',
+ 'Business/MaxMind/HTTPBase.pm',
+ 'Business/MaxMind/TelephoneVerification.pm'
+);
+
+
+
+# no fake home requested
+
+my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib';
+
+use File::Spec;
+use IPC::Open3;
+use IO::Handle;
+
+open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
+
+my @warnings;
+for my $lib (@module_files)
+{
+ # see L<perlfaq8/How can I capture STDERR from an external command?>
+ 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')
+ or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ) if $ENV{AUTHOR_TESTING};
+
+
@@ -0,0 +1,46 @@
+do { my $x = {
+ 'configure' => {
+ 'requires' => {
+ 'ExtUtils::MakeMaker' => '0',
+ 'perl' => '5.006'
+ }
+ },
+ 'develop' => {
+ 'requires' => {
+ 'Test::CPAN::Changes' => '0.19',
+ 'Test::EOL' => '0',
+ 'Test::More' => '0',
+ 'Test::NoTabs' => '0',
+ 'Test::Pod' => '1.41',
+ 'Test::Spelling' => '0.12',
+ 'Test::Synopsis' => '0'
+ }
+ },
+ 'runtime' => {
+ 'requires' => {
+ 'Digest::MD5' => '0',
+ 'LWP::Protocol::https' => '0',
+ 'LWP::UserAgent' => '0',
+ 'URI::Escape' => '0',
+ 'base' => '0',
+ 'perl' => '5.006',
+ 'strict' => '0'
+ }
+ },
+ 'test' => {
+ 'recommends' => {
+ 'CPAN::Meta' => '2.120900'
+ },
+ 'requires' => {
+ 'ExtUtils::MakeMaker' => '0',
+ 'File::Spec' => '0',
+ 'IO::Handle' => '0',
+ 'IPC::Open3' => '0',
+ 'Test::More' => '0.88',
+ 'perl' => '5.006',
+ 'warnings' => '0'
+ }
+ }
+ };
+ $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,36 +1,16 @@
-# Before `make install' is performed this script should be runnable with
-# `make test'. After `make install' it should work as `perl 1.t'
-
-#########################
-
-# change 'tests => 1' to 'tests => last_test_to_print';
-
-use Test;
use strict;
-BEGIN { plan tests => 1 }
-use Business::MaxMind::CreditCardFraudDetection;
-ok(1); # If we made it this far, we're ok.
-my $ccfs = Business::MaxMind::CreditCardFraudDetection->new(
- isSecure => 1,
- debug => 1
-);
-$ccfs->input(
- i => '24.24.24.24',
- domain => 'yahoo.com',
- city => 'NewYork',
- region => 'NY',
- postal => '10011',
- country => 'US',
- bin => '549099',
-);
-$ccfs->query;
-my $hash_ref = $ccfs->output;
-use Data::Dumper;
-print Dumper($hash_ref);
+use Test::More 0.88;
-#########################
+use Business::MaxMind::CreditCardFraudDetection;
-# Insert your test code below, the Test::More module is use()ed here so read
-# its man page ( perldoc Test::More ) for help writing this test script.
+{
+ my $ccfs = Business::MaxMind::CreditCardFraudDetection->new();
+ ok($ccfs->{isSecure}, 'https by default');
+}
+{
+ my $ccfs = Business::MaxMind::CreditCardFraudDetection->new(isSecure => 0);
+ ok(!$ccfs->{isSecure}, 'http when asked for');
+}
+done_testing;
@@ -0,0 +1,16 @@
+
+BEGIN {
+ unless ($ENV{AUTHOR_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for testing by the author');
+ }
+}
+
+use strict;
+use warnings;
+use Test::More;
+
+# generated by Dist::Zilla::Plugin::Test::EOL 0.16
+use Test::EOL;
+
+all_perl_files_ok({ trailing_whitespace => 1 });
@@ -0,0 +1,36 @@
+
+BEGIN {
+ unless ($ENV{AUTHOR_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for testing by the author');
+ }
+}
+
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.13
+
+use Test::More 0.88;
+use Test::NoTabs;
+
+my @files = (
+ 'lib/Business/MaxMind.pm',
+ 'lib/Business/MaxMind/CreditCardFraudDetection.pm',
+ 'lib/Business/MaxMind/HTTPBase.pm',
+ 'lib/Business/MaxMind/TelephoneVerification.pm',
+ 't/00-compile.t',
+ 't/00-report-prereqs.dd',
+ 't/00-report-prereqs.t',
+ 't/1.t',
+ 't/author-eol.t',
+ 't/author-no-tabs.t',
+ 't/author-pod-spell.t',
+ 't/release-cpan-changes.t',
+ 't/release-pod-syntax.t',
+ 't/release-portability.t',
+ 't/release-synopsis.t'
+);
+
+notabs_ok($_) foreach @files;
+done_testing;
@@ -0,0 +1,58 @@
+
+BEGIN {
+ unless ($ENV{AUTHOR_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for testing by the author');
+ }
+}
+
+use strict;
+use warnings;
+use Test::More;
+
+# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006008
+use Test::Spelling 0.12;
+use Pod::Wordlist;
+
+
+add_stopwords(<DATA>);
+all_pod_files_spelling_ok( qw( bin lib ) );
+__DATA__
+Alders
+Alders'
+Eilam
+Eilam's
+MaxMind
+MaxMind's
+Oschwald
+Oschwald's
+Rolsky
+Rolsky's
+isSecure
+minFraud
+API
+IP
+subclasses
+TJ
+Mather
+tjmather
+Frank
+frank
+Inc
+Boris
+Zentner
+bzentner
+Dave
+drolsky
+Greg
+goschwald
+Mateu
+Hunter
+mhunter
+Olaf
+oalders
+lib
+Business
+CreditCardFraudDetection
+HTTPBase
+TelephoneVerification
@@ -1,16 +0,0 @@
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
- }
-}
-
-use strict;
-use warnings;
-use Test::More;
-
-eval 'use Test::EOL';
-plan skip_all => 'Test::EOL required' if $@;
-
-all_perl_files_ok({ trailing_whitespace => 1 });
@@ -1,25 +0,0 @@
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
- }
-}
-
-use strict;
-use warnings;
-
-# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.05
-
-use Test::More 0.88;
-use Test::NoTabs;
-
-my @files = (
- 'lib/Business/MaxMind.pm',
- 'lib/Business/MaxMind/CreditCardFraudDetection.pm',
- 'lib/Business/MaxMind/HTTPBase.pm',
- 'lib/Business/MaxMind/TelephoneVerification.pm'
-);
-
-notabs_ok($_) foreach @files;
-done_testing;
@@ -0,0 +1,20 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{RELEASE_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ }
+}
+
+
+use strict;
+use warnings;
+
+use Test::More;
+
+eval 'use Test::Portability::Files';
+plan skip_all => 'Test::Portability::Files required for testing portability'
+ if $@;
+
+run_tests();
@@ -8,9 +8,6 @@ BEGIN {
}
-use Test::More;
+use Test::Synopsis;
-eval "use Test::Synopsis";
-plan skip_all => "Test::Synopsis required for testing synopses"
- if $@;
-all_synopsis_ok('lib');
+all_synopsis_ok();
@@ -1,33 +0,0 @@
-#!/usr/bin/env perl
-
-use strict;
-use utf8;
-use Test::More tests => 3;
-
-use_ok 'Business::MaxMind::CreditCardFraudDetection';
-
-my $ccfs = Business::MaxMind::CreditCardFraudDetection->new(
- isSecure => 1,
- debug => 1
-);
-
-isa_ok $ccfs, 'Business::MaxMind::CreditCardFraudDetection';
-
-$ccfs->input(
- i => '24.24.24.24',
- domain => 'yahoo.com',
- city => 'Oświęcim',
- region => 'Małopolskie',
- postal => '32-600',
- country => 'PL',
- bin => '549099'
-);
-
-eval {
- $ccfs->query;
- pass("query with UTF-8");
-};
-if ($@) {
- fail("query with UTF-8");
- diag($@);
-}
@@ -0,0 +1,17 @@
+[@CorePrep]
+
+[Name]
+[Version]
+
+[Region / prelude]
+
+[Generic / SYNOPSIS]
+[Generic / DESCRIPTION]
+
+[Leftovers]
+
+[Region / postlude]
+
+[Authors]
+[Contributors]
+[Legal]