media_types-serialization 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/media_types/serialization/version.rb +2 -1
- data/lib/media_types/serialization.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8954f231059a19dd11bf92dc2db6ce7528eb476507d4929fc0c06a32e9b94722
|
4
|
+
data.tar.gz: c7864c12936076ab41f207472de9c59343ba71abb1a4e49b8febfbd10ec06dc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb9d67937ca3d0fbb5fa6c12958c655fbedb7a8304f82ea9fa107aa12e5b1f8980f3293c664f2f0776e04064e43f30a05217dd270b7de64ba0d6a135a5f3239a
|
7
|
+
data.tar.gz: 0d590e5fd4a2bf520d842b90a271aedb6db508043c8efeb4645869952bc36c15acdc10310405d72055e59dda092fa55d9dbdaed2bed92d8764a8b5c466b0bafc
|
data/Gemfile.lock
CHANGED
@@ -321,7 +321,7 @@ module MediaTypes
|
|
321
321
|
end
|
322
322
|
end
|
323
323
|
|
324
|
-
def output_error(klazz
|
324
|
+
def output_error(klazz)
|
325
325
|
rescue_from klazz do |error|
|
326
326
|
problem = Problem.new(error)
|
327
327
|
instance_exec { yield problem, error, self } if block_given?
|
@@ -331,7 +331,7 @@ module MediaTypes
|
|
331
331
|
|
332
332
|
render_media(
|
333
333
|
problem,
|
334
|
-
serializers:
|
334
|
+
serializers: [registrations],
|
335
335
|
status: problem.response_status_code
|
336
336
|
)
|
337
337
|
end
|