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 +4 -4
- data/CHANGELOG.md +13 -3
- data/lib/dry/schema/messages/namespaced.rb +3 -1
- data/lib/dry/schema/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fb3d7983387640c8dfe59ae9229bf2b11a03f8e9a62bd39451241a61723eaa1
|
4
|
+
data.tar.gz: 39958cdfd3beee497fd986fa9d243acb519387ef19731db1a5c702a9c38795fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
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-
|
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|
|
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
|
data/lib/dry/schema/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2022-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|