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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 159a20aec1547f40a318c666acc8616e3b3396317b552f0a8cf7501fae609b5f
4
- data.tar.gz: 485188d6f57ec55c684952fe9c00051ac1dbcbdd93dbc8136f26dd5e8ce351d3
3
+ metadata.gz: 8954f231059a19dd11bf92dc2db6ce7528eb476507d4929fc0c06a32e9b94722
4
+ data.tar.gz: c7864c12936076ab41f207472de9c59343ba71abb1a4e49b8febfbd10ec06dc2
5
5
  SHA512:
6
- metadata.gz: 932707eb3baa03f83ea24d7a70cdc3750b41122ab62446d5d4a1956d6eb1b13a2bec4e86b3ed4e2f4689608f2589bc40aae92add3e4a81a016fa7ef5684e944a
7
- data.tar.gz: e083a0e056227b9fe46c0a380c37cf5af8cdd3a9835b216f6b5aa2248669987be6b4ad8ff533f855f064cad59bc052e60a8201cebf738389b8c462cc7e1ae732
6
+ metadata.gz: eb9d67937ca3d0fbb5fa6c12958c655fbedb7a8304f82ea9fa107aa12e5b1f8980f3293c664f2f0776e04064e43f30a05217dd270b7de64ba0d6a135a5f3239a
7
+ data.tar.gz: 0d590e5fd4a2bf520d842b90a271aedb6db508043c8efeb4645869952bc36c15acdc10310405d72055e59dda092fa55d9dbdaed2bed92d8764a8b5c466b0bafc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- media_types-serialization (1.3.7)
4
+ media_types-serialization (1.3.8)
5
5
  actionpack (>= 4.0.0)
6
6
  activesupport (>= 4.0.0)
7
7
  media_types (>= 2.1.1, < 3.0.0)
@@ -1,5 +1,6 @@
1
+ # frozen_string_literal: true
1
2
  module MediaTypes
2
3
  module Serialization
3
- VERSION = '1.3.7'.freeze
4
+ VERSION = '1.3.8'
4
5
  end
5
6
  end
@@ -321,7 +321,7 @@ module MediaTypes
321
321
  end
322
322
  end
323
323
 
324
- def output_error(klazz, additional_serializers: [])
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: additional_serializers.concat([registrations]),
334
+ serializers: [registrations],
335
335
  status: problem.response_status_code
336
336
  )
337
337
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: media_types-serialization
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld