| 1 |
name = JSON-Schema-Modern |
| 2 |
author = Karen Etheridge <[email protected]> |
| 3 |
copyright_holder = Karen Etheridge |
| 4 |
copyright_year = 2020 |
| 5 |
license = Perl_5 |
| 6 |
|
| 7 |
; ATTENTION DISTRO REPACKAGERS: do NOT use fresh copies of these files |
| 8 |
; from their source; it is important to include the original versions |
| 9 |
; of the files as they were packaged with this cpan distribution, or |
| 10 |
; surprising behaviour may occur. |
| 11 |
|
| 12 |
[Run::BeforeRelease] |
| 13 |
eval = do './update-schemas'; die $@ || $! if $@ || $! |
| 14 |
|
| 15 |
[@Author::ETHER] |
| 16 |
:version = 0.154 |
| 17 |
bugtracker = github |
| 18 |
installer = MakeMaker |
| 19 |
Test::MinimumVersion.max_target_perl = 5.020 ; may go higher later on |
| 20 |
Git::GatherDir.exclude_filename = pull_request_template.md |
| 21 |
Test::ReportPrereqs.include[0] = JSON::PP |
| 22 |
Test::ReportPrereqs.include[1] = Cpanel::JSON::XS |
| 23 |
Test::ReportPrereqs.include[2] = JSON::XS |
| 24 |
Test::ReportPrereqs.include[3] = Mojolicious |
| 25 |
Test::ReportPrereqs.include[4] = Sereal::Encoder |
| 26 |
Test::ReportPrereqs.include[5] = Sereal::Decoder |
| 27 |
Test::ReportPrereqs.include[6] = Math::BigInt |
| 28 |
Test::ReportPrereqs.include[7] = Math::BigFloat |
| 29 |
Test::ReportPrereqs.include[8] = builtin |
| 30 |
Test::ReportPrereqs.include[9] = builtin::Backport |
| 31 |
-remove = Test::Pod::No404s ; some vocabulary class URIs now return 403 Forbidden |
| 32 |
StaticInstall.mode = off |
| 33 |
|
| 34 |
[=inc::CheckConflicts] |
| 35 |
|
| 36 |
[ShareDir] |
| 37 |
dir = share |
| 38 |
|
| 39 |
[Prereqs / RuntimeRequires] |
| 40 |
Mojolicious = 7.87 ; Mojo::JSON::JSON_XS |
| 41 |
Math::BigInt = 1.999701 ; bdiv and bmod fixes |
| 42 |
Email::Address::XS = 1.04 ; softened later |
| 43 |
Sereal = 0 ; softened later |
| 44 |
JSON::PP = 4.11 ; softened later |
| 45 |
Cpanel::JSON::XS = 4.38 ; softened later |
| 46 |
builtin::compat = 0.003003 |
| 47 |
|
| 48 |
[Prereqs / RuntimeSuggests] |
| 49 |
Class::XSAccessor = 0 |
| 50 |
Type::Tiny::XS = 0 |
| 51 |
|
| 52 |
[Prereqs / DevelopRequires] |
| 53 |
Test2::Warnings = 0 |
| 54 |
Test2::Plugin::SubtestFilter = 0 |
| 55 |
Devel::Hide = 0 |
| 56 |
|
| 57 |
[Prereqs::Soften] |
| 58 |
to_relationship = suggests |
| 59 |
copy_to = develop.requires |
| 60 |
module = Data::Validate::Domain ; required for format 'hostname', 'idn-hostname' |
| 61 |
module = Data::Validate::URI ; required for format 'uri' |
| 62 |
module = Email::Address::XS ; required for format 'email', 'idn-email' |
| 63 |
module = Net::IDN::Encode ; required for format 'idn-hostname' |
| 64 |
module = Sereal ; required for serialization support |
| 65 |
module = Cpanel::JSON::XS ; support for core bools |
| 66 |
module = Getopt::Long::Descriptive ; only used by script/json-schema-eval |
| 67 |
|
| 68 |
[RemovePrereqs] |
| 69 |
remove = constant |
| 70 |
remove = feature |
| 71 |
remove = open |
| 72 |
remove = overload |
| 73 |
remove = strict |
| 74 |
remove = warnings |
| 75 |
remove = B |
| 76 |
remove = Carp |
| 77 |
remove = Exporter |
| 78 |
remove = JSON::PP |
| 79 |
remove = MIME::Base64 |
| 80 |
remove = Math::BigFloat |
| 81 |
remove = Mojo::File |
| 82 |
remove = Mojo::JSON |
| 83 |
remove = Mojo::JSON::Pointer |
| 84 |
remove = Mojo::Message::Response |
| 85 |
remove = Mojo::URL |
| 86 |
remove = Mojo::Util |
| 87 |
remove = Moo::Role |
| 88 |
remove = Scalar::Util |
| 89 |
remove = Types::Common::Numeric |
| 90 |
|
| 91 |
[DynamicPrereqs] |
| 92 |
-delimiter = | |
| 93 |
-body = |if (!want_pp() && can_xs()) { |
| 94 |
-body = | requires('Cpanel::JSON::XS', '4.38'); |
| 95 |
-body = |} |
| 96 |
-body = |else { |
| 97 |
-body = | requires('JSON::PP', '4.11'); |
| 98 |
-body = |} |
| 99 |
|
| 100 |
[Breaks] |
| 101 |
JSON::Schema::Modern::Vocabulary::OpenAPI = < 0.080 ; discriminator traversal error status |
| 102 |
JSON::Schema::Modern::Document::OpenAPI = < 0.097 ; $state key renaming |
| 103 |
OpenAPI::Modern = < 0.077 ; ::Result boolean overload |
| 104 |
Mojolicious::Plugin::OpenAPI::Modern = < 0.014 ; ::Result boolean overload |
| 105 |
Test::Mojo::Role::OpenAPI::Modern = < 0.007 ; ::Result boolean overload |
| 106 |
|
| 107 |
[Test::CheckBreaks] |
| 108 |
|
| 109 |
[=inc::TestWithoutOptionalModules] |