fast_serializer_ruby 0.6.8 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fast_serializer/schema.rb +3 -1
- data/lib/fast_serializer/utils.rb +1 -1
- data/lib/fast_serializer/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: f2940f6fcbb0acd2b9606012952b2a49f2a50e2ae1af63ea42d7d31868783204
|
4
|
+
data.tar.gz: dae74a23431c7230147e1285cd3920c25ebb6573a012c13cabdbcc1607293ddc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 208cac4f8ace7a76264b5d5175d290c884f1364978a2c3687ed80cc9bad9ad3d9874701547cd1c95a7a2eaeffe06678b9ed18b2e3069905a6b5a011b8685414e
|
7
|
+
data.tar.gz: 389bce4ee62355324e7aaffcc187f6201305a987fed082f83c339f01d662017f2c2303e0a8399d66193f2167589f7f638f220c859aa10aacfcf7672c4222ea67
|
@@ -132,8 +132,10 @@ module FastSerializer
|
|
132
132
|
end
|
133
133
|
|
134
134
|
def serialize_resource(resource, params = {}, context = self)
|
135
|
-
Utils.ref_merge(self.params, params)
|
136
135
|
_params_dup = FastSerializer::Utils.symbolize_keys(self.params)
|
136
|
+
Utils.ref_merge(_params_dup, params)
|
137
|
+
self.params.delete(:meta)
|
138
|
+
|
137
139
|
meta = _params_dup.delete(:meta)
|
138
140
|
|
139
141
|
is_collection = if _params_dup.key?(:is_collection)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fast_serializer_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evgeny Stepanov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This library intends to solve such a typical and on the other hand important
|
14
14
|
problem as efficient ruby object to hash transformation.
|