dry_validation_parser 0.1.10 → 0.1.12

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: 7f8a60143d376e1e16b6473161e35fc687c0ce5b5b7a32fb8ba30fdae7aa3d88
4
- data.tar.gz: a2c0a4426cf0c127d5bec5eea7a5d46b52a1a9f7505816a2166540a4c5a50ce7
3
+ metadata.gz: fc2089076364b80c2a1bceae9fbec475a3461cd1ad7a53c497fa2655bf35bccd
4
+ data.tar.gz: 16db5073371c3513db2fc7a0894384c5253cd0b8a592b7298238d970d4572275
5
5
  SHA512:
6
- metadata.gz: 13a89aec21f1a1ae62a1c67e0938406c7c9014e976932eb447dcba6eb1ca29ea0de21441d7cef08406c2d126134319031123dee312e6d17baa8cfb99b2b83fda
7
- data.tar.gz: a5a74761b9bcbc53e7eaadad7a4c6d5777e6cf3cfc7c9de55dc654be00e4a7344f2257b75f667c81e76df9c2ca3fcab064ea24f2be8af2eddbff651c8d86637f
6
+ metadata.gz: 52cb9d96e83f138b7f43f3f13646d39c98d9fa98f9bfad17bda470a20e06e6cab17a27914c3d96386d23ea694b2d633f7d9c089ae12c10de104ba71baaf8e0c6
7
+ data.tar.gz: e13a9dd51d2fc1ff40c13866c90f5269167026dc980a741b1b3a8f14148668ed1eabd7cca1654557cb1fd43ae52b5dc98dd923789ccc9ab6385745aa9fa18b63
@@ -13,7 +13,12 @@ module DryValidationParser
13
13
  int?: "integer",
14
14
  nil?: "nil",
15
15
  str?: "string",
16
- time?: "time"
16
+ time?: "time",
17
+ uuid_v1?: "uuid",
18
+ uuid_v2?: "uuid",
19
+ uuid_v3?: "uuid",
20
+ uuid_v4?: "uuid",
21
+ uuid_v5?: "uuid"
17
22
  }.freeze
18
23
 
19
24
  DESCRIPTION_MAPPING = {
@@ -53,6 +58,10 @@ module DryValidationParser
53
58
  public_send(:"visit_#{meth}", rest, opts)
54
59
  end
55
60
 
61
+ def visit_namespace(node, opts = {})
62
+ visit(node[1], opts)
63
+ end
64
+
56
65
  # @api private
57
66
  def visit_set(node, opts = {})
58
67
  target = (key = opts[:key]) ? self.class.new : self
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DryValidationParser
4
- VERSION = "0.1.10"
4
+ VERSION = "0.1.12"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry_validation_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jane-Terziev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-01 00:00:00.000000000 Z
11
+ date: 2024-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-types