684 lines
42 KiB
Text
684 lines
42 KiB
Text
perl-blead
|
|
==========
|
|
cpanm (App::cpanminus) 1.7042 on perl 5.026000 built for x86_64-linux
|
|
Work directory is /home/ryan/.cpanm/work/1492322759.32169
|
|
You have make /usr/bin/make
|
|
You have LWP 6.26
|
|
You have /bin/tar: tar (GNU tar) 1.29
|
|
Copyright (C) 2015 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
|
|
Written by John Gilmore and Jay Fenlason.
|
|
You have /usr/bin/unzip
|
|
Searching JSON::Schema::AsType () on cpanmetadb ...
|
|
Unpacking JSON-Schema-AsType-0.4.0.tar.gz
|
|
--> Working on JSON::Schema::AsType
|
|
Fetching http://www.cpan.org/authors/id/Y/YA/YANICK/JSON-Schema-AsType-0.4.0.tar.gz ... OK
|
|
JSON-Schema-AsType-0.4.0/
|
|
JSON-Schema-AsType-0.4.0/xt/
|
|
JSON-Schema-AsType-0.4.0/xt/release/
|
|
JSON-Schema-AsType-0.4.0/xt/release/unused-vars.t
|
|
JSON-Schema-AsType-0.4.0/AUTHOR_PLEDGE
|
|
JSON-Schema-AsType-0.4.0/lib/
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/AsType/
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/AsType/Draft3.pm
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/AsType/Draft3/
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/AsType/Draft3/Types.pm
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/AsType/Draft6.pm
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/AsType/Draft4/
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/AsType/Draft4/Types.pm
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/AsType/Draft6/
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/AsType/Draft6/Types.pm
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/AsType/Draft4.pm
|
|
JSON-Schema-AsType-0.4.0/lib/JSON/Schema/AsType.pm
|
|
JSON-Schema-AsType-0.4.0/Makefile.PL
|
|
JSON-Schema-AsType-0.4.0/MANIFEST
|
|
JSON-Schema-AsType-0.4.0/Changes
|
|
JSON-Schema-AsType-0.4.0/LICENSE
|
|
JSON-Schema-AsType-0.4.0/SIGNATURE
|
|
JSON-Schema-AsType-0.4.0/INSTALL
|
|
JSON-Schema-AsType-0.4.0/CONTRIBUTORS
|
|
JSON-Schema-AsType-0.4.0/META.json
|
|
JSON-Schema-AsType-0.4.0/META.yml
|
|
JSON-Schema-AsType-0.4.0/cpanfile
|
|
JSON-Schema-AsType-0.4.0/t/
|
|
JSON-Schema-AsType-0.4.0/t/corpus/
|
|
JSON-Schema-AsType-0.4.0/t/corpus/settlers.json
|
|
JSON-Schema-AsType-0.4.0/t/schema-coerce.t
|
|
JSON-Schema-AsType-0.4.0/t/lib/
|
|
JSON-Schema-AsType-0.4.0/t/lib/TestUtils.pm
|
|
JSON-Schema-AsType-0.4.0/t/types_draft3.t
|
|
JSON-Schema-AsType-0.4.0/t/00-report-prereqs.t
|
|
JSON-Schema-AsType-0.4.0/t/00-report-prereqs.dd
|
|
JSON-Schema-AsType-0.4.0/t/draft3.t
|
|
JSON-Schema-AsType-0.4.0/t/basic.t
|
|
JSON-Schema-AsType-0.4.0/t/types_draft4.t
|
|
JSON-Schema-AsType-0.4.0/t/00-compile.t
|
|
JSON-Schema-AsType-0.4.0/t/draft4.t
|
|
JSON-Schema-AsType-0.4.0/t/register_uris.t
|
|
JSON-Schema-AsType-0.4.0/t/string_number.t
|
|
JSON-Schema-AsType-0.4.0/t/draft6.t
|
|
JSON-Schema-AsType-0.4.0/t/spec-schema.t
|
|
JSON-Schema-AsType-0.4.0/t/recurse.t
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/ref.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/type.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/allOf.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/maxItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/anyOf.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/refRemote.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/patternProperties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/maxLength.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/definitions.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/minimum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/optional/
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/optional/zeroTerminatedFloats.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/optional/ecmascript-regex.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/optional/format.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/optional/bignum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/items.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/minProperties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/additionalProperties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/not.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/enum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/minItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/minLength.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/pattern.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/default.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/properties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/required.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/maximum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/uniqueItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/multipleOf.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/oneOf.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/maxProperties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/dependencies.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft4/additionalItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/ref.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/type.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/maxItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/refRemote.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/patternProperties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/maxLength.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/divisibleBy.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/minimum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/optional/
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/optional/jsregex.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/optional/zeroTerminatedFloats.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/optional/format.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/optional/bignum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/items.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/additionalProperties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/extends.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/enum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/minItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/minLength.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/pattern.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/default.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/properties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/disallow.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/required.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/maximum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/uniqueItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/dependencies.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft3/additionalItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/ref.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/type.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/allOf.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/maxItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/anyOf.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/refRemote.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/patternProperties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/boolean_schema.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/maxLength.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/definitions.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/minimum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/optional/
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/optional/zeroTerminatedFloats.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/optional/ecmascript-regex.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/optional/format.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/optional/bignum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/items.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/const.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/minProperties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/contains.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/additionalProperties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/not.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/enum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/propertyNames.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/minItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/minLength.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/pattern.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/default.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/properties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/exclusiveMinimum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/required.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/maximum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/uniqueItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/multipleOf.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/oneOf.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/exclusiveMaximum.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/maxProperties.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/dependencies.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tests/draft6/additionalItems.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/remotes/
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/remotes/name.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/remotes/subSchemas.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/remotes/folder/
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/remotes/folder/folderInteger.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/remotes/integer.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/test-schema.json
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/LICENSE
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/index.js
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/tox.ini
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/bin/
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/bin/jsonschema_suite
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/README.md
|
|
JSON-Schema-AsType-0.4.0/t/json-schema-test-suite/package.json
|
|
JSON-Schema-AsType-0.4.0/doap.xml
|
|
Entering JSON-Schema-AsType-0.4.0
|
|
Checking configure dependencies from META.json
|
|
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24)
|
|
Running Makefile.PL
|
|
Configuring JSON-Schema-AsType-0.4.0 ... Checking if your kit is complete...
|
|
Looks good
|
|
Generating a Unix-style Makefile
|
|
Writing Makefile for JSON::Schema::AsType
|
|
Writing MYMETA.yml and MYMETA.json
|
|
Checking dependencies from MYMETA.json ...
|
|
Checking if you have IPC::Open3 0 ... Yes (1.20)
|
|
Checking if you have List::MoreUtils 0 ... Yes (0.418)
|
|
Checking if you have MooseX::MungeHas 0 ... Yes (0.007)
|
|
Checking if you have Type::Utils 0 ... Yes (1.000006)
|
|
Checking if you have Clone 0 ... Yes (0.38)
|
|
Checking if you have Type::Tiny::Class 0 ... Yes (1.000006)
|
|
Checking if you have Moose::Util 0 ... Yes (2.2004)
|
|
Checking if you have lib 0 ... Yes (0.64)
|
|
Checking if you have URI 0 ... Yes (1.71)
|
|
Checking if you have File::Spec 0 ... Yes (3.62)
|
|
Checking if you have List::AllUtils 0 ... Yes (0.14)
|
|
Checking if you have Class::Load 0 ... Yes (0.23)
|
|
Checking if you have LWP::Simple 0 ... Yes (6.26)
|
|
Checking if you have parent 0 ... Yes (0.236)
|
|
Checking if you have strict 0 ... Yes (1.11)
|
|
Checking if you have Type::Library 0 ... Yes (1.000006)
|
|
Checking if you have Path::Tiny 0.062 ... Yes (0.104)
|
|
Checking if you have Exporter 0 ... Yes (5.72)
|
|
Checking if you have Test::Deep 0 ... Yes (1.126)
|
|
Checking if you have Test::More 0 ... Yes (1.302078)
|
|
Checking if you have Scalar::Util 0 ... Yes (1.47)
|
|
Checking if you have Moose 0 ... Yes (2.2004)
|
|
Checking if you have warnings 0 ... Yes (1.37)
|
|
Checking if you have MooseX::ClassAttribute 0 ... Yes (0.28)
|
|
Checking if you have IO::Handle 0 ... Yes (1.36)
|
|
Checking if you have JSON 0 ... Yes (2.90)
|
|
Checking if you have Types::Standard 0 ... Yes (1.000006)
|
|
Checking if you have List::Util 0 ... Yes (1.47)
|
|
Checking if you have Test::Exception 0 ... Yes (0.43)
|
|
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24)
|
|
Checking if you have Moose::Role 0 ... Yes (2.2004)
|
|
Checking if you have Type::Tiny 0 ... Yes (1.000006)
|
|
OK
|
|
Building and testing JSON-Schema-AsType-0.4.0 ... cp lib/JSON/Schema/AsType/Draft3.pm blib/lib/JSON/Schema/AsType/Draft3.pm
|
|
cp lib/JSON/Schema/AsType/Draft4/Types.pm blib/lib/JSON/Schema/AsType/Draft4/Types.pm
|
|
cp lib/JSON/Schema/AsType/Draft3/Types.pm blib/lib/JSON/Schema/AsType/Draft3/Types.pm
|
|
cp lib/JSON/Schema/AsType/Draft6/Types.pm blib/lib/JSON/Schema/AsType/Draft6/Types.pm
|
|
cp lib/JSON/Schema/AsType.pm blib/lib/JSON/Schema/AsType.pm
|
|
cp lib/JSON/Schema/AsType/Draft6.pm blib/lib/JSON/Schema/AsType/Draft6.pm
|
|
cp lib/JSON/Schema/AsType/Draft4.pm blib/lib/JSON/Schema/AsType/Draft4.pm
|
|
Manifying 7 pod documents
|
|
PERL_DL_NONLAZY=1 "/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
|
|
t/00-compile.t ......... ok
|
|
#
|
|
# Versions for all modules listed in MYMETA.json (including optional ones):
|
|
#
|
|
# === Configure Requires ===
|
|
#
|
|
# Module Want Have
|
|
# ------------------- ---- ----
|
|
# ExtUtils::MakeMaker any 7.24
|
|
#
|
|
# === Build Requires ===
|
|
#
|
|
# Module Want Have
|
|
# ------------------- ---- ----
|
|
# ExtUtils::MakeMaker any 7.24
|
|
#
|
|
# === Test Requires ===
|
|
#
|
|
# Module Want Have
|
|
# ------------------- ----- --------
|
|
# Exporter any 5.72
|
|
# ExtUtils::MakeMaker any 7.24
|
|
# File::Spec any 3.62
|
|
# IO::Handle any 1.36
|
|
# IPC::Open3 any 1.20
|
|
# Path::Tiny 0.062 0.104
|
|
# Test::Deep any 1.126
|
|
# Test::Exception any 0.43
|
|
# Test::More any 1.302078
|
|
# lib any 0.64
|
|
# parent any 0.236
|
|
#
|
|
# === Test Recommends ===
|
|
#
|
|
# Module Want Have
|
|
# ---------- -------- --------
|
|
# CPAN::Meta 2.120900 2.150010
|
|
#
|
|
# === Runtime Requires ===
|
|
#
|
|
# Module Want Have
|
|
# ---------------------- ---- --------
|
|
# Class::Load any 0.23
|
|
# Clone any 0.38
|
|
# JSON any 2.90
|
|
# LWP::Simple any 6.26
|
|
# List::AllUtils any 0.14
|
|
# List::MoreUtils any 0.418
|
|
# List::Util any 1.47
|
|
# Moose any 2.2004
|
|
# Moose::Role any 2.2004
|
|
# Moose::Util any 2.2004
|
|
# MooseX::ClassAttribute any 0.28
|
|
# MooseX::MungeHas any 0.007
|
|
# Scalar::Util any 1.47
|
|
# Type::Library any 1.000006
|
|
# Type::Tiny any 1.000006
|
|
# Type::Tiny::Class any 1.000006
|
|
# Type::Utils any 1.000006
|
|
# Types::Standard any 1.000006
|
|
# URI any 1.71
|
|
# strict any 1.11
|
|
# warnings any 1.37
|
|
#
|
|
t/00-report-prereqs.t .. ok
|
|
t/basic.t .............. ok
|
|
t/draft3.t ............. ok
|
|
t/draft4.t ............. ok
|
|
# {
|
|
# 'additionalItems' => {
|
|
# 'type' => 'integer'
|
|
# },
|
|
# 'items' => [
|
|
# {}
|
|
# ]
|
|
# }
|
|
#
|
|
# {
|
|
# 'additionalItems' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
|
|
# 'items' => {}
|
|
# }
|
|
# {
|
|
# 'additionalItems' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
|
|
# 'items' => [
|
|
# {},
|
|
# {},
|
|
# {}
|
|
# ]
|
|
# }
|
|
# "AdditionalItems[3]&Items[ARRAY(0x56068823de98)]" requires that the value pass "AdditionalItems[3]" and "Items[ARRAY(0x56068823de98)]"
|
|
# Reference [1,2,3,4] did not pass type constraint "AdditionalItems[3]"
|
|
# "AdditionalItems[3]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; @$_ <= $size; }
|
|
# {
|
|
# 'additionalItems' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
|
|
# }
|
|
# {
|
|
# 'items' => [
|
|
# {
|
|
# 'type' => 'integer'
|
|
# }
|
|
# ]
|
|
# }
|
|
# {
|
|
# 'anyOf' => [
|
|
# {
|
|
# 'type' => 'integer'
|
|
# },
|
|
# {
|
|
# 'minimum' => 2
|
|
# }
|
|
# ]
|
|
# }
|
|
# Value "1.5" did not pass type constraint "AnyOf[Integer,Minimum[2]]"
|
|
# "AnyOf[Integer,Minimum[2]]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; my $v = $_; any sub { $_->check($v); } , @types; }
|
|
# {
|
|
# 'anyOf' => [
|
|
# {
|
|
# 'maxLength' => 2
|
|
# },
|
|
# {
|
|
# 'minLength' => 4
|
|
# }
|
|
# ],
|
|
# 'type' => 'string'
|
|
# }
|
|
# "AnyOf[MaxLength[2],MinLength[4]]&String" requires that the value pass "AnyOf[MaxLength[2],MinLength[4]]" and "String"
|
|
# Value "3" did not pass type constraint "String"
|
|
# "String" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; return 0 if not defined $_ or ref $_; my $b_obj = B::svref_2object(\$_); my $flags = $b_obj->FLAGS; return $flags & 16384; }
|
|
# "AnyOf[MaxLength[2],MinLength[4]]&String" requires that the value pass "AnyOf[MaxLength[2],MinLength[4]]" and "String"
|
|
# Value "foo" did not pass type constraint "AnyOf[MaxLength[2],MinLength[4]]"
|
|
# "AnyOf[MaxLength[2],MinLength[4]]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; my $v = $_; any sub { $_->check($v); } , @types; }
|
|
# {
|
|
# 'anyOf' => [
|
|
# bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
|
|
# $VAR1->{'anyOf'}[0]
|
|
# ]
|
|
# }
|
|
# {
|
|
# 'anyOf' => [
|
|
# bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
|
|
# bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
|
|
# ]
|
|
# }
|
|
# {
|
|
# 'anyOf' => [
|
|
# bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
|
|
# $VAR1->{'anyOf'}[0]
|
|
# ]
|
|
# }
|
|
# Value "foo" did not pass type constraint "AnyOf[~Any,~Any]"
|
|
# "AnyOf[~Any,~Any]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; my $v = $_; any sub { $_->check($v); } , @types; }
|
|
# {
|
|
# 'dependencies' => {
|
|
# 'bar' => [
|
|
# 'foo'
|
|
# ]
|
|
# }
|
|
# }
|
|
# Reference {"bar" => 2} did not pass type constraint "Dependency[bar,ARRAY(0x560688664b78)]"
|
|
# "Dependency[bar,ARRAY(0x560688664b78)]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Object->check($_); return 1 unless exists $_->{$property}; my $obj = $_; return all(sub { exists $obj->{$_}; } , @$dep) if ref $dep eq 'ARRAY'; return exists $obj->{$dep} unless ref $dep; return $dep->check($_); }
|
|
# {
|
|
# 'dependencies' => {
|
|
# 'bar' => []
|
|
# }
|
|
# }
|
|
# {
|
|
# 'dependencies' => {
|
|
# 'quux' => [
|
|
# 'foo',
|
|
# 'bar'
|
|
# ]
|
|
# }
|
|
# }
|
|
# Reference {"foo" => 1,"quux" => 2} did not pass type constraint "Dependency[quux,ARRAY(0x5606882d89e0)]"
|
|
# "Dependency[quux,ARRAY(0x5606882d89e0)]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Object->check($_); return 1 unless exists $_->{$property}; my $obj = $_; return all(sub { exists $obj->{$_}; } , @$dep) if ref $dep eq 'ARRAY'; return exists $obj->{$dep} unless ref $dep; return $dep->check($_); }
|
|
# Reference {"bar" => 1,"quux" => 2} did not pass type constraint "Dependency[quux,ARRAY(0x5606882d89e0)]"
|
|
# "Dependency[quux,ARRAY(0x5606882d89e0)]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Object->check($_); return 1 unless exists $_->{$property}; my $obj = $_; return all(sub { exists $obj->{$_}; } , @$dep) if ref $dep eq 'ARRAY'; return exists $obj->{$dep} unless ref $dep; return $dep->check($_); }
|
|
# Reference {"quux" => 1} did not pass type constraint "Dependency[quux,ARRAY(0x5606882d89e0)]"
|
|
# "Dependency[quux,ARRAY(0x5606882d89e0)]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Object->check($_); return 1 unless exists $_->{$property}; my $obj = $_; return all(sub { exists $obj->{$_}; } , @$dep) if ref $dep eq 'ARRAY'; return exists $obj->{$dep} unless ref $dep; return $dep->check($_); }
|
|
# {
|
|
# 'dependencies' => {
|
|
# 'bar' => {
|
|
# 'properties' => {
|
|
# 'bar' => {
|
|
# 'type' => 'integer'
|
|
# },
|
|
# 'foo' => {
|
|
# 'type' => 'integer'
|
|
# }
|
|
# }
|
|
# }
|
|
# }
|
|
# }
|
|
# Reference {"bar" => 2,"foo" => "quux"} did not pass type constraint "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x560688404558)]"
|
|
# "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x560688404558)]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Object->check($_); return 1 unless exists $_->{$property}; my $obj = $_; return all(sub { exists $obj->{$_}; } , @$dep) if ref $dep eq 'ARRAY'; return exists $obj->{$dep} unless ref $dep; return $dep->check($_); }
|
|
# Reference {"bar" => "quux","foo" => 2} did not pass type constraint "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x560688404558)]"
|
|
# "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x560688404558)]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Object->check($_); return 1 unless exists $_->{$property}; my $obj = $_; return all(sub { exists $obj->{$_}; } , @$dep) if ref $dep eq 'ARRAY'; return exists $obj->{$dep} unless ref $dep; return $dep->check($_); }
|
|
# Reference {"bar" => "quux","foo" => "quux"} did not pass type constraint "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x560688404558)]"
|
|
# "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x560688404558)]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Object->check($_); return 1 unless exists $_->{$property}; my $obj = $_; return all(sub { exists $obj->{$_}; } , @$dep) if ref $dep eq 'ARRAY'; return exists $obj->{$dep} unless ref $dep; return $dep->check($_); }
|
|
# {
|
|
# 'dependencies' => {
|
|
# 'bar' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
|
|
# 'foo' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
|
|
# }
|
|
# }
|
|
# "Dependency[foo,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887bdd98)]&Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887be050)]" requires that the value pass "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887be050)]" and "Dependency[foo,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887bdd98)]"
|
|
# Reference {"bar" => 2} did not pass type constraint "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887be050)]"
|
|
# "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887be050)]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Object->check($_); return 1 unless exists $_->{$property}; my $obj = $_; return all(sub { exists $obj->{$_}; } , @$dep) if ref $dep eq 'ARRAY'; return exists $obj->{$dep} unless ref $dep; return $dep->check($_); }
|
|
# "Dependency[foo,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887bdd98)]&Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887be050)]" requires that the value pass "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887be050)]" and "Dependency[foo,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887bdd98)]"
|
|
# Reference {"bar" => 2,"foo" => 1} did not pass type constraint "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887be050)]"
|
|
# "Dependency[bar,Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887be050)]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Object->check($_); return 1 unless exists $_->{$property}; my $obj = $_; return all(sub { exists $obj->{$_}; } , @$dep) if ref $dep eq 'ARRAY'; return exists $obj->{$dep} unless ref $dep; return $dep->check($_); }
|
|
# {
|
|
# 'minLength' => 2
|
|
# }
|
|
# Value "f" did not pass type constraint "MinLength[2]"
|
|
# "MinLength[2]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; $length <= length $_ unless not String->check($_); }
|
|
# Value "\x{1f4a9}" did not pass type constraint "MinLength[2]"
|
|
# "MinLength[2]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; $length <= length $_ unless not String->check($_); }
|
|
# {
|
|
# 'uniqueItems' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
|
|
# }
|
|
# Reference [1,1] did not pass type constraint "UniqueItems"
|
|
# "UniqueItems" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; return 1 unless Array->check($_); @$_ == uniq(map({to_json $_, {'allow_nonref', 1};} @$_)); }
|
|
# Reference [1,1,1] did not pass type constraint "UniqueItems"
|
|
# "UniqueItems" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; return 1 unless Array->check($_); @$_ == uniq(map({to_json $_, {'allow_nonref', 1};} @$_)); }
|
|
# Reference [{"foo" => "bar"},{"foo" => "bar"}] did not pass type constraint "UniqueItems"
|
|
# "UniqueItems" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; return 1 unless Array->check($_); @$_ == uniq(map({to_json $_, {'allow_nonref', 1};} @$_)); }
|
|
# Reference [{"foo" => 'HASH(0x56068827dc00)'},{"foo" => 'HASH(0x5606882ba2c8)'}] did not pass type constraint "UniqueItems"
|
|
# "UniqueItems" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; return 1 unless Array->check($_); @$_ == uniq(map({to_json $_, {'allow_nonref', 1};} @$_)); }
|
|
# Reference [["foo"],["foo"]] did not pass type constraint "UniqueItems"
|
|
# "UniqueItems" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; return 1 unless Array->check($_); @$_ == uniq(map({to_json $_, {'allow_nonref', 1};} @$_)); }
|
|
# Reference [{},[1],bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),undef,{},1] did not pass type constraint "UniqueItems"
|
|
# "UniqueItems" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; return 1 unless Array->check($_); @$_ == uniq(map({to_json $_, {'allow_nonref', 1};} @$_)); }
|
|
# bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
|
|
# bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
|
|
# Value "1" did not pass type constraint "~Any"
|
|
# "~Any" is defined as: (not((!!1)))
|
|
# Value "foo" did not pass type constraint "~Any"
|
|
# "~Any" is defined as: (not((!!1)))
|
|
# Reference bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ) did not pass type constraint "~Any"
|
|
# "~Any" is defined as: (not((!!1)))
|
|
# Reference bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ) did not pass type constraint "~Any"
|
|
# "~Any" is defined as: (not((!!1)))
|
|
# Undef did not pass type constraint "~Any"
|
|
# "~Any" is defined as: (not((!!1)))
|
|
# Reference {"foo" => "bar"} did not pass type constraint "~Any"
|
|
# "~Any" is defined as: (not((!!1)))
|
|
# Reference {} did not pass type constraint "~Any"
|
|
# "~Any" is defined as: (not((!!1)))
|
|
# Reference ["foo"] did not pass type constraint "~Any"
|
|
# "~Any" is defined as: (not((!!1)))
|
|
# Reference [] did not pass type constraint "~Any"
|
|
# "~Any" is defined as: (not((!!1)))
|
|
# {
|
|
# 'oneOf' => [
|
|
# {
|
|
# 'type' => 'integer'
|
|
# },
|
|
# {
|
|
# 'minimum' => 2
|
|
# }
|
|
# ]
|
|
# }
|
|
# Value "3" did not pass type constraint "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x560688284198),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884038e0)]"
|
|
# "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x560688284198),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884038e0)]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; my $v = $_; 1 == grep({$_->check($v);} @types); }
|
|
# Value "1.5" did not pass type constraint "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x560688284198),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884038e0)]"
|
|
# "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x560688284198),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884038e0)]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; my $v = $_; 1 == grep({$_->check($v);} @types); }
|
|
# {
|
|
# 'oneOf' => [
|
|
# {
|
|
# 'minLength' => 2
|
|
# },
|
|
# {
|
|
# 'maxLength' => 4
|
|
# }
|
|
# ],
|
|
# 'type' => 'string'
|
|
# }
|
|
# "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x56068878c128),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884041e0)]&String" requires that the value pass "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x56068878c128),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884041e0)]" and "String"
|
|
# Value "3" did not pass type constraint "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x56068878c128),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884041e0)]"
|
|
# "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x56068878c128),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884041e0)]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; my $v = $_; 1 == grep({$_->check($v);} @types); }
|
|
# "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x56068878c128),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884041e0)]&String" requires that the value pass "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x56068878c128),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884041e0)]" and "String"
|
|
# Value "foo" did not pass type constraint "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x56068878c128),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884041e0)]"
|
|
# "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x56068878c128),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606884041e0)]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; my $v = $_; 1 == grep({$_->check($v);} @types); }
|
|
# {
|
|
# 'oneOf' => [
|
|
# bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
|
|
# $VAR1->{'oneOf'}[0],
|
|
# $VAR1->{'oneOf'}[0]
|
|
# ]
|
|
# }
|
|
# Value "foo" did not pass type constraint "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606883f7020),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606882dd728),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606882c0760)]"
|
|
# "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606883f7020),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606882dd728),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606882c0760)]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; my $v = $_; 1 == grep({$_->check($v);} @types); }
|
|
# {
|
|
# 'oneOf' => [
|
|
# bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
|
|
# bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
|
|
# $VAR1->{'oneOf'}[1]
|
|
# ]
|
|
# }
|
|
# {
|
|
# 'oneOf' => [
|
|
# bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
|
|
# $VAR1->{'oneOf'}[0],
|
|
# bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
|
|
# ]
|
|
# }
|
|
# Value "foo" did not pass type constraint "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887c87e0),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887c8798),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887c7fb8)]"
|
|
# "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887c87e0),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887c8798),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887c7fb8)]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; my $v = $_; 1 == grep({$_->check($v);} @types); }
|
|
# {
|
|
# 'oneOf' => [
|
|
# bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
|
|
# $VAR1->{'oneOf'}[0],
|
|
# $VAR1->{'oneOf'}[0]
|
|
# ]
|
|
# }
|
|
# Value "foo" did not pass type constraint "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887cb9e0),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887cbb00),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887cbe48)]"
|
|
# "OneOf[Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887cb9e0),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887cbb00),Moose::Meta::Class::__ANON__::SERIAL::15=HASH(0x5606887cbe48)]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; my $v = $_; 1 == grep({$_->check($v);} @types); }
|
|
# {
|
|
# 'contains' => {
|
|
# 'minimum' => 5
|
|
# }
|
|
# }
|
|
# Reference [2,3,4] did not pass type constraint "Contains[Minimum[5]]"
|
|
# "Contains[Minimum[5]]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Array->check($_); if (Boolean->check($type)) { (); } return any(sub { $type->check($_); } , @$_); }
|
|
# Reference [] did not pass type constraint "Contains[Minimum[5]]"
|
|
# "Contains[Minimum[5]]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Array->check($_); if (Boolean->check($type)) { (); } return any(sub { $type->check($_); } , @$_); }
|
|
# {
|
|
# 'contains' => {
|
|
# 'const' => 5
|
|
# }
|
|
# }
|
|
# Reference [1,2,3,4] did not pass type constraint "Contains[Enum[5]]"
|
|
# "Contains[Enum[5]]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Array->check($_); if (Boolean->check($type)) { (); } return any(sub { $type->check($_); } , @$_); }
|
|
# {
|
|
# 'contains' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
|
|
# }
|
|
# Reference [] did not pass type constraint "Contains[Any]"
|
|
# "Contains[Any]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Array->check($_); if (Boolean->check($type)) { (); } return any(sub { $type->check($_); } , @$_); }
|
|
# {
|
|
# 'contains' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
|
|
# }
|
|
# Reference ["foo"] did not pass type constraint "Contains[~Any]"
|
|
# "Contains[~Any]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Array->check($_); if (Boolean->check($type)) { (); } return any(sub { $type->check($_); } , @$_); }
|
|
# Reference [] did not pass type constraint "Contains[~Any]"
|
|
# "Contains[~Any]" is defined as: sub { package JSON::Schema::AsType::Draft6::Types; return 1 unless Array->check($_); if (Boolean->check($type)) { (); } return any(sub { $type->check($_); } , @$_); }
|
|
# {
|
|
# 'multipleOf' => 2
|
|
# }
|
|
# Value "7" did not pass type constraint "MultipleOf[2]"
|
|
# "MultipleOf[2]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; not Number->check($_) && ($_ / $num) =~ /\./; }
|
|
# {
|
|
# 'multipleOf' => '1.5'
|
|
# }
|
|
# Value "35" did not pass type constraint "MultipleOf[1.5]"
|
|
# "MultipleOf[1.5]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; not Number->check($_) && ($_ / $num) =~ /\./; }
|
|
# {
|
|
# 'multipleOf' => '0.0001'
|
|
# }
|
|
# Value "0.00751" did not pass type constraint "MultipleOf[0.0001]"
|
|
# "MultipleOf[0.0001]" is defined as: sub { package JSON::Schema::AsType::Draft4::Types; not Number->check($_) && ($_ / $num) =~ /\./; }
|
|
# {
|
|
# 'items' => {
|
|
# 'type' => 'integer'
|
|
# }
|
|
# }
|
|
Can't call method "name" on an undefined value at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/5.26.0/B/Deparse.pm line 1492.
|
|
# Tests were run but no plan was declared and done_testing() was not seen.
|
|
# Looks like your test exited with 255 just after 10.
|
|
t/draft6.t .............
|
|
Dubious, test returned 255 (wstat 65280, 0xff00)
|
|
All 10 subtests passed
|
|
t/recurse.t ............ ok
|
|
t/register_uris.t ...... ok
|
|
t/schema-coerce.t ...... ok
|
|
t/spec-schema.t ........ ok
|
|
t/string_number.t ...... ok
|
|
# Value "1" did not pass type constraint "Not[Integer]"
|
|
t/types_draft3.t ....... ok
|
|
# Value "4" did not pass type constraint "Minimum[5]"
|
|
# Value "5" did not pass type constraint "ExclusiveMinimum[5]"
|
|
# Value "6" did not pass type constraint "Maximum[5]"
|
|
# Value "5" did not pass type constraint "ExclusiveMaximum[5]"
|
|
# Value "foo" did not pass type constraint "MinLength[5]"
|
|
# Value "banana" did not pass type constraint "MaxLength[5]"
|
|
# Value "3" did not pass type constraint "MultipleOf[5]"
|
|
# Reference [1,2,3] did not pass type constraint "MaxItems[2]"
|
|
# Reference [1] did not pass type constraint "MinItems[2]"
|
|
Use of uninitialized value in join or string at t/types_draft4.t line 144.
|
|
# Value "banana" did not pass type constraint "Null"
|
|
# Value "1" did not pass type constraint "Boolean"
|
|
# Value "1" did not pass type constraint "Array"
|
|
# Reference [] did not pass type constraint "Object"
|
|
# Reference [] did not pass type constraint "String"
|
|
# Value "1.3" did not pass type constraint "Integer"
|
|
# Reference [] did not pass type constraint "Number"
|
|
# Value "potato" did not pass type constraint "Pattern[(?^:foo)]"
|
|
# Reference {"bar" => 1} did not pass type constraint "Required[foo]"
|
|
# Reference {"bar" => 1} did not pass type constraint "Required[foo,bar]"
|
|
# Value "1" did not pass type constraint "Not[Integer]"
|
|
# Reference {"1" => 2,"3" => 4,"5" => 6} did not pass type constraint "MaxProperties[2]"
|
|
# Reference {"1" => 2} did not pass type constraint "MinProperties[2]"
|
|
# Value "banana" did not pass type constraint "OneOf[Integer,Boolean]"
|
|
# Value "banana" did not pass type constraint "OneOf[MaxLength[7],MaxLength[6]]"
|
|
# Value "banana" did not pass type constraint "AnyOf[Integer,Boolean]"
|
|
# Value "banana" did not pass type constraint "AllOf[MaxLength[5],MinLength[2]]"
|
|
# Reference ["banana"] did not pass type constraint "Items[Number]"
|
|
# Reference [1] did not pass type constraint "AdditionalItems[1,Number]"
|
|
# Reference {"foo" => "x"} did not pass type constraint "PatternProperties[f,Number,b,Array]"
|
|
# Reference {"foo" => "x"} did not pass type constraint "Dependency[baz,MaxProperties[2]]&Dependency[foo,ARRAY(0x5557d0799318)]"
|
|
# Reference {"foo" => "x"} did not pass type constraint "Enum[foo,HASH(0x5557d081bb68)]"
|
|
# Reference [1,1,2,3] did not pass type constraint "UniqueItems"
|
|
# Reference {"foo" => "x"} did not pass type constraint "Properties[foo,Number,bar,Array]"
|
|
# Reference {"quux" => "x"} did not pass type constraint "AdditionalProperties[ARRAY(0x5557d0790a30),0]"
|
|
t/types_draft4.t ....... ok
|
|
|
|
Test Summary Report
|
|
-------------------
|
|
t/draft6.t (Wstat: 65280 Tests: 10 Failed: 0)
|
|
Non-zero exit status: 255
|
|
Parse errors: No plan found in TAP output
|
|
Files=13, Tests=115, 17 wallclock secs ( 0.08 usr 0.01 sys + 5.94 cusr 0.30 csys = 6.33 CPU)
|
|
Result: FAIL
|
|
Failed 1/13 test programs. 0/115 subtests failed.
|
|
Makefile:935: recipe for target 'test_dynamic' failed
|
|
make: *** [test_dynamic] Error 255
|
|
! Installing JSON::Schema::AsType failed. See /home/ryan/.cpanm/work/1492322759.32169/build.log for details. Retry with --force to force install it.
|
|
Expiring 19 work directories.
|
|
FAIL
|
|
Command [cpanm --reinstall --verbose JSON::Schema::AsType] terminated with exit code 1 ($? = 256) under the following perl environment:
|
|
Command terminated with non-zero status.
|
|
|
|
|
|
Current perl:
|
|
Name: perl-blead
|
|
Path: /home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl
|
|
Config: -de -Dprefix=/home/ryan/perl5/perlbrew/perls/perl-blead -Dusedevel -Aeval:scriptdir=/home/ryan/perl5/perlbrew/perls/perl-blead/bin
|
|
Compiled at: Mar 30 2017 03:10:09
|
|
|
|
perlbrew:
|
|
version: 0.78
|
|
ENV:
|
|
PERLBREW_ROOT: /home/ryan/perl5/perlbrew
|
|
PERLBREW_HOME: /home/ryan/.perlbrew
|
|
PERLBREW_PATH: /home/ryan/perl5/perlbrew/bin:/home/ryan/perl5/perlbrew/perls/perl-blead/bin
|
|
PERLBREW_MANPATH: /home/ryan/perl5/perlbrew/perls/perl-blead/man
|