name = Neo4j-Driver
main_module = lib/Neo4j/Driver.pm

author  = Arne Johannessen <ajnn@cpan.org>
license = Artistic_2_0
copyright_holder = Arne Johannessen
copyright_year   = 2016-2022

version = 0.31
release_status = stable

; The reason for using AutoPrereqs with a great many exceptions
; is that erring on the side of listing too many requirements is
; preferable to erring on the side of listing too few.
[AutoPrereqs]
; don't mention modules that have been in core since the minimum supported Perl version
skip = ^lib|overload|strict|utf8|warnings$
skip = ^Carp|Scalar::Util$
skip = ^(Digest::MD5|Exporter|File::Basename)$
; URI::_server is part of URI, which is included by AutoPrereqs
skip = ^URI::_server$
; Bolt is an XS module and loaded dynamically only if available
skip = ^Neo4j::Bolt$
; Neo4j::Types is explicitly listed below
skip = ^Neo4j::Types::
[Prereqs / RuntimeRequires]
Neo4j::Types = 1.00
[Prereqs / RuntimeSuggests]
Cpanel::JSON::XS = 4.16
LWP::Protocol::https = 0
Neo4j::Bolt = 0.02
[Prereqs / DevelopSuggests]
REST::Neo4p = 0
Neo4j::Cypher::Abstract = 0

[MetaJSON]
[MetaYAML]
[MetaProvides::Package]
[PkgVersion]
die_on_existing_version = 1
die_on_line_insertion = 1
[MetaNoIndex]
directory = t/lib
[GithubMeta]
user = johannessen
issues = 1
homepage = ''

;[Git::Check]
;build_warnings = 1
[CheckChangeLog]
[TestRelease]
[ConfirmRelease]
[UploadToCPAN]

[PruneCruft]
[GatherDir]
exclude_filename = README.md
exclude_match = ^t/simulator/[^/]+\.txt$
exclude_match = /HTTP/REST\.pm$
prune_directory = ^Stuff|.*\.bbprojectd$
prune_directory = ^cover_db$
exclude_match = ^TODO.pod$
exclude_match = ^weaver.ini$

[MakeMaker]
eumm_version = 6.64
[Readme::Brief]
description_label = VERSION
[Manifest]

[PodWeaver]
finder = PodWeaverFiles
[FileFinder::Filter / PodWeaverFiles]
finder = :InstallModules
skip = TODO.pod$
skip = Net/(?:Bolt|HTTP)\.pm$
skip = PluginManager.pm$
skip = ResultColumns.pm$

[PodSyntaxTests]
[Test::MinimumVersion]
[Test::Perl::Critic]
[RunExtraTests]

;[Run::BeforeBuild]
;eval = $ENV{TEST_NEO4J_SERVER} = 'http://localhost:7474';
;eval = $ENV{TEST_NEO4J_USERNAME} = 'neo4j';
;eval = $ENV{TEST_NEO4J_PASSWORD} = 'neo4j';
;eval = $ENV{TEST_NEO4J_NETMODULE} = 'Local::MyNetModule';
;eval = $ENV{HTTPS_CA_FILE} = 'neo4j/certificates/neo4j.cert';