solidus_api 2.11.4 → 2.11.9

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: 75de9120186ffc6697dacf05b5df0ca7b531edffbb6c7c765e268ca3af3b4a35
4
- data.tar.gz: b658c71252435588cf5b5d05fa168238e24088f20e40f6fec15f2acaf70f6cc1
3
+ metadata.gz: 46f7b2f4fa80cdfe1a1e0cb8458b35ff13dd975d0bd857b827abbd7f24d052ca
4
+ data.tar.gz: 52e84f72562766c5e25d26c06514f796f4b49aeb04e168c307aa28b16a6c53ec
5
5
  SHA512:
6
- metadata.gz: 7712941de737d98173d1b636e05b4085049bbaf66ed5440cdfc60f95ca411a4ca1abf66802772c76d7313704898865b05154b226d959af88332878009aed6cae
7
- data.tar.gz: e4786bca23b4766c3af2a4872b74d0602f601fc0371ec97901297636d0916a90f9d03e22a850238f9179b2ee5ba0f4302dcefbfe0402f93abeb07dfc93c89447
6
+ metadata.gz: 25a7538ab4a21ae2e5f664928d5b76a00ab81ca2c452ae125f1eb4335d926a41f8234dc081b49d3f43fc9c62d7e85907eed29c070e3e721ccb0ef4f34cd63c7e
7
+ data.tar.gz: 9682aab60bed3743f14e45d487e51b867ad3ec035f954a1f81b71f9e6dc605f962d4206893540b3fe68fcce63ff3ba24d31463d8ce177fe6fd0634d5153a24a5
@@ -76,7 +76,8 @@ module Spree
76
76
  end
77
77
 
78
78
  def parameter_missing_error(exception)
79
- message = exception.original_message || exception.message
79
+ # use original_message to remove DidYouMean suggestions, if defined
80
+ message = exception.try(:original_message) || exception.message
80
81
  render json: {
81
82
  exception: message,
82
83
  error: message,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.4
4
+ version: 2.11.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-19 00:00:00.000000000 Z
11
+ date: 2021-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jbuilder
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.11.4
61
+ version: 2.11.9
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 2.11.4
68
+ version: 2.11.9
69
69
  description: REST API for the Solidus e-commerce framework.
70
70
  email: contact@solidus.io
71
71
  executables: []