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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7aa10e14eae9acbd80c7b653ab286dda09d01e1
4
- data.tar.gz: 1ff8baa779ad96b4a48da949a8e0ad8dd4e7f996
3
+ metadata.gz: 20a20e746fdf62d5c9ce9e43b1474a43da804a09
4
+ data.tar.gz: b5e7171c5a5e25d054a8b5025f4d30ba8872f867
5
5
  SHA512:
6
- metadata.gz: e29892394513884320436f1020669c5d89a8093a7385ce80e32212db274763726131dacbc2a017994f93187fe07acf8b73909094547c9b623dfeac4201dab407
7
- data.tar.gz: 0ed4965e04a9810e851f5e22d62299705172b3f336b1508f3cd21b7315bc4d8541967ce9266fda264f166dd4e9a5617432f91ff890b859036cb1723fecc27067
6
+ metadata.gz: 6bd371aa11c9ca6527022866c0ca58594169a6035c7b479547e3fb1e15d7a52c02c2cc32f35cff0a769a806b0917bd2840cc1abe3c3d937cea1f0a866bf64613
7
+ data.tar.gz: 32fc53dfbadb534dcdaf211c9c38dd1dd6697db362e7cedd52226c64b6371dfb94196463da275397c12801d802a8e5d5bc2107103ab93fc69be0f48f1b515312
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeepUnrest
4
- VERSION = '0.1.10'
4
+ VERSION = '0.1.11'
5
5
  end
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|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deep_unrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lynn Hurley