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: ccb12036211270788b640b218b3f50906ad6f8daf79c683e82b2ba4f4e9730b0
4
- data.tar.gz: 9cf5b8d262ce584279af7b43566d148fa2ee224cc74630689ac5c824aca7b0f8
3
+ metadata.gz: '08617a8bec6a0e320de194f8a893cdd8ed95668fca9a19927d81d638fe0911ef'
4
+ data.tar.gz: e289c597e3a3b9e055b0890a743d3f9ef3ca4f05e8ef12fed9cb08742dd11cb9
5
5
  SHA512:
6
- metadata.gz: 8be3fe48b53e530f316af84f4910d6a5d225b78b76de0fed4dbca1bff7435e69cf5d94ad24bd46bd98b924eff745c79aa2bb413e45c3d917b52cc3615e5d8c72
7
- data.tar.gz: 4c118798fc0736758d95587a63098917dea8bcb5f02a8dccf799bf69619409295ed03ab120f367b6906d5b663da2877480a10f035217b3072546cc26811314ac
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.to_s, rest[0][1].to_s)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DryValidationParser
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry_validation_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jane-Terziev