jhthorsen / json-validator

:cop: Validate data against a JSON schema
https://metacpan.org/release/JSON-Validator
56 stars 57 forks source link

J::V 4.10+ depends on Mojo 8 #235

Closed 1nickt closed 3 years ago

1nickt commented 3 years ago

Steps to reproduce the behavior

J::V states Mojolicious dependency of 7.2 but it uses the raise cmd which is in Mojo 8. This can be seen easily by installing Mojo 7.94 and hen trying to install JSON::Validator 4.10 or above.

Actual behavior

Running the app crashes immediately because the raise bareword is not known. Same as when the installation tries to test:

#   Failed test 'use JSON::Validator'
#   at t/00-basic.t line 34.
# Can't locate raise.pm in @INC (you may need to install the raise module)
jhthorsen commented 3 years ago

Should be fixed in 4.12.

1nickt commented 3 years ago

Thank you for the quick fix @jhthorsen