jsonapi_compliable 0.11.32 → 0.11.33
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 +5 -5
- data/.ruby-version +1 -1
- data/lib/jsonapi_compliable/query.rb +4 -2
- data/lib/jsonapi_compliable/version.rb +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 01f3e608b051cfaa5b57ba3a7fb903efa236bd7cd0133ca51f877e9e1075f520
|
4
|
+
data.tar.gz: 7d22b7ed049c4a2a1102de5dff16f6b7176a3ef101801a26b378432b6b839f6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff96d1a22840b5a92d2908c9755e3868cedf74d65946823865a94161e9b3654924db34aed625c2d72a6a297fc2bc2e990ddff567f7c03772c3d665cbb892ec37
|
7
|
+
data.tar.gz: cc56759cd4ba9fe9900ca9295fb46a5683c7fcd2fe03fbd806f7e1d7bb34fe6b7cc865c1c5d427b7b1c24d9ab071f6778dfb614c8feb58f617d76e0957b3432e
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.2
|
@@ -209,8 +209,10 @@ module JsonapiCompliable
|
|
209
209
|
key = key.to_sym
|
210
210
|
|
211
211
|
if association?(key)
|
212
|
-
k, v
|
213
|
-
|
212
|
+
symbolized_hash = value.each_with_object({}) do |(k, v), hash|
|
213
|
+
hash[k.to_sym] = v
|
214
|
+
end
|
215
|
+
hash[key][:filter].merge!(symbolized_hash)
|
214
216
|
else
|
215
217
|
hash[resource.type][:filter][key] = value
|
216
218
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsonapi_compliable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
8
8
|
- Venkata Pasupuleti
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jsonapi-serializable
|
@@ -115,7 +115,7 @@ dependencies:
|
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
|
-
description:
|
118
|
+
description:
|
119
119
|
email:
|
120
120
|
- richmolj@gmail.com
|
121
121
|
- spasupuleti4@bloomberg.net
|
@@ -253,11 +253,11 @@ files:
|
|
253
253
|
- lib/jsonapi_compliable/util/sideload.rb
|
254
254
|
- lib/jsonapi_compliable/util/validation_response.rb
|
255
255
|
- lib/jsonapi_compliable/version.rb
|
256
|
-
homepage:
|
256
|
+
homepage:
|
257
257
|
licenses:
|
258
258
|
- MIT
|
259
259
|
metadata: {}
|
260
|
-
post_install_message:
|
260
|
+
post_install_message:
|
261
261
|
rdoc_options: []
|
262
262
|
require_paths:
|
263
263
|
- lib
|
@@ -272,9 +272,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
272
272
|
- !ruby/object:Gem::Version
|
273
273
|
version: '0'
|
274
274
|
requirements: []
|
275
|
-
|
276
|
-
|
277
|
-
signing_key:
|
275
|
+
rubygems_version: 3.0.6
|
276
|
+
signing_key:
|
278
277
|
specification_version: 4
|
279
278
|
summary: Easily build jsonapi.org-compatible APIs
|
280
279
|
test_files: []
|