media_types-serialization 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/media_types/serialization.rb +1 -1
- data/lib/media_types/serialization/base.rb +1 -1
- data/lib/media_types/serialization/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: a7e886054d63df27dd6a7cd6deca3d00d9b0a58edcb4a3fa30ae45f369dc2c20
|
4
|
+
data.tar.gz: c601dca445a03064381dc387a3db4395e97bd8ef427710a591318df699380aa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b23ee08585bbe29ca4caff191afd280745f5325082e9ba4b9f2f0a797ba0fc8368e2df8b21fcb8aa32d50d10740461503bdcfc1c669a5fc5615dac4f6508500
|
7
|
+
data.tar.gz: 8ae9a64b67d90619947fcf4d50629f2885786776996c070398b12a7b4753caebbb3523a7bce96d91b82a2f1f2c261b2c77490ada853f9b28e4bc49ef7596f2ed
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -618,7 +618,7 @@ module MediaTypes
|
|
618
618
|
output: result,
|
619
619
|
links: links,
|
620
620
|
}
|
621
|
-
wrapped = @serialization_wrapping_renderer.serialize input, '*/*', self
|
621
|
+
wrapped = @serialization_wrapping_renderer.serialize input, '*/*', context: self
|
622
622
|
render body: wrapped
|
623
623
|
|
624
624
|
response.content_type = 'text/html'
|
@@ -55,7 +55,7 @@ module MediaTypes
|
|
55
55
|
raise ValidatorNotSpecifiedError, :output if serializer_validator.nil?
|
56
56
|
|
57
57
|
versions.each do |v|
|
58
|
-
validator = serializer_validator.view(view).version(v)
|
58
|
+
validator = serializer_validator.view(view).version(v).override_suffix('')
|
59
59
|
|
60
60
|
serializer_output_registration.register_block(self, validator, v, block, true, wildcards: !self.serializer_disable_wildcards)
|
61
61
|
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.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derk-Jan Karrenbeld
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-08-
|
12
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|