deep_unrest 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deep_unrest/version.rb +1 -1
- data/lib/deep_unrest.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20a20e746fdf62d5c9ce9e43b1474a43da804a09
|
4
|
+
data.tar.gz: b5e7171c5a5e25d054a8b5025f4d30ba8872f867
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bd371aa11c9ca6527022866c0ca58594169a6035c7b479547e3fb1e15d7a52c02c2cc32f35cff0a769a806b0917bd2840cc1abe3c3d937cea1f0a866bf64613
|
7
|
+
data.tar.gz: 32fc53dfbadb534dcdaf211c9c38dd1dd6697db362e7cedd52226c64b6371dfb94196463da275397c12801d802a8e5d5bc2107103ab93fc69be0f48f1b515312
|
data/lib/deep_unrest/version.rb
CHANGED
data/lib/deep_unrest.rb
CHANGED
@@ -352,7 +352,7 @@ module DeepUnrest
|
|
352
352
|
base_path = operation[:error_path] || operation[:path]
|
353
353
|
{ title: "#{path_info[:field].humanize} #{msg}",
|
354
354
|
detail: msg,
|
355
|
-
source: { pointer: "#{base_path}.#{path_info[:field]}" } }
|
355
|
+
source: { pointer: "#{base_path}.#{path_info[:field].camelize(:lower)}" } }
|
356
356
|
end
|
357
357
|
end
|
358
358
|
values.map do |msg|
|