dry-schema 1.10.5 → 1.10.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: 554c25036e827be6ef861157dd83013ca2c04a401c3fb238b4b9d186bd839d90
4
- data.tar.gz: 37556dbf504ed1a928771687627e36034113077437fad2a1eed54c877ab4bf70
3
+ metadata.gz: 9fb3d7983387640c8dfe59ae9229bf2b11a03f8e9a62bd39451241a61723eaa1
4
+ data.tar.gz: 39958cdfd3beee497fd986fa9d243acb519387ef19731db1a5c702a9c38795fc
5
5
  SHA512:
6
- metadata.gz: 5dc91041372b0d8a944c4d43df2bcea7beadc691cde5cd446345908195af1454293bd192b31eea571fcf8f6aca657d3f814eb8ad373a66e5f44be58f4d1486f3
7
- data.tar.gz: f8fb0a30337e95bc3b83781640d0d8b03931907c2b5333df52d36e41ff1d52d8c852cc6056d4d82e4fe6a5e52c81beed8bb893a5e6b82da2814f2817302c6406
6
+ metadata.gz: 27735a200ecca6798b592b7e240c3cfbc44f06fe24b58c35e7475d81cad49fbe0b4be6945220bfe17d7d2aa30b88f082c4374f290b242aa2175c55e47f1f0e12
7
+ data.tar.gz: 6d82d2b2ff0e0fdf3fe38620ffc62296070801ae2c4d17d9797f93eb0ecf99b705233f750b588bf3b147040724247762f59dcef8e57f85c6e779cc3bbdffb9fb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  <!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
2
2
 
3
- ## 1.10.5 2022-10-21
3
+ ## 1.10.6 2022-10-01
4
+
5
+
6
+ ### Fixed
7
+
8
+ - Fix issues with rule name when top_namespace and namespace passed (issue #304 fixed via #432) (@RudskikhIvan)
9
+
10
+
11
+ [Compare v1.10.5...v1.10.6](https://github.com/dry-rb/dry-schema/compare/v1.10.5...v1.10.6)
12
+
13
+ ## 1.10.5 2022-09-21
4
14
 
5
15
 
6
16
  ### Fixed
@@ -11,7 +21,7 @@
11
21
 
12
22
  [Compare v1.10.4...v1.10.5](https://github.com/dry-rb/dry-schema/compare/v1.10.4...v1.10.5)
13
23
 
14
- ## 1.10.4 2022-10-13
24
+ ## 1.10.4 2022-09-13
15
25
 
16
26
 
17
27
  ### Fixed
@@ -21,7 +31,7 @@
21
31
 
22
32
  [Compare v1.10.3...v1.10.4](https://github.com/dry-rb/dry-schema/compare/v1.10.3...v1.10.4)
23
33
 
24
- ## 1.10.3 2022-10-10
34
+ ## 1.10.3 2022-09-10
25
35
 
26
36
 
27
37
  ### Fixed
@@ -63,7 +63,9 @@ module Dry
63
63
  # @api private
64
64
  def rule_lookup_paths(tokens)
65
65
  base_paths = messages.rule_lookup_paths(tokens)
66
- base_paths.map { |key| key.gsub("dry_schema", "dry_schema.#{namespace}") } + base_paths
66
+ base_paths.map { |key|
67
+ key.sub(config.top_namespace, "#{config.top_namespace}.#{namespace}")
68
+ } + base_paths
67
69
  end
68
70
 
69
71
  # @api private
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dry
4
4
  module Schema
5
- VERSION = "1.10.5"
5
+ VERSION = "1.10.6"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.5
4
+ version: 1.10.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-21 00:00:00.000000000 Z
11
+ date: 2022-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby