dry-validation 1.3.1 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +378 -164
- data/LICENSE +1 -1
- data/README.md +10 -10
- data/dry-validation.gemspec +41 -0
- data/lib/dry/validation/config.rb +3 -3
- data/lib/dry/validation/constants.rb +5 -5
- data/lib/dry/validation/contract/class_interface.rb +55 -46
- data/lib/dry/validation/contract.rb +29 -16
- data/lib/dry/validation/evaluator.rb +53 -17
- data/lib/dry/validation/extensions/hints.rb +1 -3
- data/lib/dry/validation/extensions/monads.rb +1 -1
- data/lib/dry/validation/extensions/predicates_as_macros.rb +3 -3
- data/lib/dry/validation/failures.rb +15 -3
- data/lib/dry/validation/function.rb +3 -4
- data/lib/dry/validation/macro.rb +3 -3
- data/lib/dry/validation/macros.rb +3 -3
- data/lib/dry/validation/message.rb +6 -4
- data/lib/dry/validation/message_set.rb +6 -51
- data/lib/dry/validation/messages/resolver.rb +56 -6
- data/lib/dry/validation/result.rb +44 -7
- data/lib/dry/validation/rule.rb +18 -9
- data/lib/dry/validation/schema_ext.rb +1 -28
- data/lib/dry/validation/values.rb +17 -6
- data/lib/dry/validation/version.rb +1 -1
- data/lib/dry/validation.rb +6 -8
- data/lib/dry-validation.rb +1 -1
- metadata +31 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cbb33c9bad218b481c727b04080736ad0d974f47b552ed305de4f50e5bd8d6d
|
4
|
+
data.tar.gz: e464d56a10afa52ab975d44d204a0879649007eeb98a1a15038e5c6d29b78b21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94637a8714ffc4111c0279a7aeb52613fccf894abd33207600131e7af59803371b044691949c9a457c85bbdbb9d063c7c050aa58fc51966e7469b62f97156008
|
7
|
+
data.tar.gz: f15fbb334bd99fe79348a750bca344beff68156394c314f1845307a1b5b2462446117a80e47d0d3eb40108e3042de99744c205a7ffc99ef48bebd179a5fa0299
|