This includes a new default validator, Catmandu::Validator::Env, and some refactoring of Catmandu::Env which could be extended even further for stores.
Coverage increased (+0.07%) to 93.547% when pulling 590377223cb68e192c044c59488ccec6cab505c8 on validator-env into 51fa6c747f03baa4c025a23b9e7f7a87b104ed10 on dev.
Coverage increased (+0.05%) to 93.526% when pulling 99a07e70466eb6fd89f5f316ea3b3f74d2ee8d46 on validator-env into 51fa6c747f03baa4c025a23b9e7f7a87b104ed10 on dev.
Coverage increased (+0.05%) to 93.526% when pulling 99a07e70466eb6fd89f5f316ea3b3f74d2ee8d46 on validator-env into 51fa6c747f03baa4c025a23b9e7f7a87b104ed10 on dev.
I replaced the Env validator with a Mock validator controlled by a flag. In Env, validators are now also memoized and store also uses the same _named_package helper
This includes a new default validator, Catmandu::Validator::Env, and some refactoring of Catmandu::Env which could be extended even further for stores.