json_apiable 0.5 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/json_apiable/json_apiable.rb +1 -0
- data/lib/json_apiable/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: c0104de3e7f3d39c672c55ab53075ceb19a03dcd490937bc5414fff3b07bec96
|
4
|
+
data.tar.gz: 419896ce99a9854037332594c09fdea3223236af9b260ad02f341d3b20fe8eb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d893bd2165aacdc9535aef14a273905aa80c05955cb643dd829b414b0139df0fbb98eb4d8d5661f866c5521929256595b5afc3f4795ff9e0ea7a5d85bc53e2b
|
7
|
+
data.tar.gz: 68edd4b6ee0138f8d08872204e147de134f7f1a9f4c0a0a8eaf6ca88a235c8b6fc81227c87273fa173f78be38b9e903e78074726ac591a155c3e1134bc6114ef
|
@@ -20,6 +20,7 @@ module JsonApiable
|
|
20
20
|
|
21
21
|
rescue_from ArgumentError, with: :respond_to_bad_argument
|
22
22
|
rescue_from ActionController::UnpermittedParameters, with: :respond_to_bad_argument
|
23
|
+
rescue_from JSONAPI::Serializer::UnsupportedIncludeError, with: :respond_to_bad_argument
|
23
24
|
rescue_from MalformedRequestError, with: :respond_to_malformed_request
|
24
25
|
rescue_from UnprocessableEntityError, with: :respond_to_unprocessable_entity
|
25
26
|
rescue_from UnauthorizedError, with: :respond_to_unauthorized
|
data/lib/json_apiable/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_apiable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Polischuk
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|