media_types-serialization 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c56dd5b756ebbfe9526f1c08b3d207d23bac3eb3ca7733d21adaaac021fb90b9
4
- data.tar.gz: 79afb8d97da4a28c2c1085a12df97d22462b7bad521df4d0114d8d6e19c27d64
3
+ metadata.gz: 0ae22acf937b40d9840867bc3535094c1591ab0b85cd89cfbee3d2c778920a1d
4
+ data.tar.gz: e0fad227cab5c3148c9ed6492ed21200572116f8da98af9f48ffb5c92b24c9c6
5
5
  SHA512:
6
- metadata.gz: 0373faa865ffd99f08385c1a90af40e483e3dd9e4e443113f1d2c67942ddd41ec67e5d272607efe6025d088861182831e446997010a20c0d0df75b1b3d43375f
7
- data.tar.gz: 829b344f7c90958f0d81dbb83aee66f7df988cd9f091ce199d99cb917e58069847900de0b6b60ad51a5aa0cc845bf439a9c75ee5c35bfc4dfa96c326401e5139
6
+ metadata.gz: a2b653bdddd90bf72ec602a002cf899fe7db5aec326d47d19d620e5b5d7a14271aa141fb03978c03af97db4730ad29886ce3bfe8928fb250d5b365d2ed394b6c
7
+ data.tar.gz: 8f58f66dd94680cb2ff52384e3a450026ce73db55f2f72a2a46836be5f45a0662421468380178ef077af199f2e9a4fac45f11196415f9d4850acca5dd269a1a4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.2.1
4
+
5
+ - 🐛 Fix [output error failures on missing input](https://github.com/XPBytes/media_types-serialization/issues/267)
6
+
3
7
  ## 2.2.0
4
8
 
5
9
  - ✨ Add `form_authenticity_token` support
@@ -34,6 +34,8 @@ module MediaTypes
34
34
  end
35
35
 
36
36
  def self.allowed_replies(context, actions = {})
37
+ actions = {} if actions.nil?
38
+
37
39
  request_path = context.request.original_fullpath.split('?')[0]
38
40
 
39
41
  path_prefix = ENV.fetch('RAILS_RELATIVE_URL_ROOT') { '' }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module MediaTypes
4
4
  module Serialization
5
- VERSION = '2.2.0'
5
+ VERSION = '2.2.1'
6
6
  end
7
7
  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: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld