dry_validation_parser 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08617a8bec6a0e320de194f8a893cdd8ed95668fca9a19927d81d638fe0911ef'
|
4
|
+
data.tar.gz: e289c597e3a3b9e055b0890a743d3f9ef3ca4f05e8ef12fed9cb08742dd11cb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a37c7571550493d4928ed78dc694378e499ee6680b43c127657ac858cb87b09098331ff3db569e30d7fe94d88aa9b1180865d13dbbd38a719ea56e168c0b35f
|
7
|
+
data.tar.gz: 8d14819d4fff4fef223596e4bee7ba8a53148d1b22aecf17d478467fb552c68fd4c9beb03df3ab2c716b898d20b93a2ab30d63843754e13053637e169c44a337
|
@@ -117,7 +117,7 @@ module DryValidationParser
|
|
117
117
|
elsif PREDICATE_TO_TYPE[name]
|
118
118
|
keys[key][:type] = PREDICATE_TO_TYPE[name]
|
119
119
|
else
|
120
|
-
description = predicate_description(name
|
120
|
+
description = predicate_description(name, rest[0][1].to_s)
|
121
121
|
if keys[key][:description].to_s.empty?
|
122
122
|
keys[key][:description] = description unless description.to_s.empty?
|
123
123
|
else
|