jsonapi_parameters 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -26
- data/lib/jsonapi_parameters/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ee3931b91f3d2888bec069517cf1c5bb14f88de124306b7ffc3800c202a3a80
|
4
|
+
data.tar.gz: 06d417d811e0224f7c01117a35d4ce5ffbe7a25e28e9fc129a73cf312f2e9c9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 751a7a370207289e62462d826d4306bb5189e313a4c747bd41111bc5d500e4342b4b553c4072208271f84368e21a17c901fcca63b570100117f087ee71d3c7c2
|
7
|
+
data.tar.gz: 7eed067e7e60f58ed60f067a1365a7d6045c08d6972dc595da88fd325863d6d6e109c0e73fcb7b4450986d6111f422ba98b1c738fbcb273d8bf233b0244bd436
|
data/README.md
CHANGED
@@ -192,14 +192,14 @@ Request body:
|
|
192
192
|
title: 'The Terminator',
|
193
193
|
},
|
194
194
|
relationships: {
|
195
|
-
genres:
|
196
|
-
data: {
|
195
|
+
genres: {
|
196
|
+
data: [{
|
197
197
|
id: 1, type: 'genres'
|
198
198
|
},
|
199
|
-
|
199
|
+
{
|
200
200
|
id: 2, type: 'genres'
|
201
|
-
}
|
202
|
-
}
|
201
|
+
}]
|
202
|
+
}
|
203
203
|
}
|
204
204
|
}
|
205
205
|
}
|
@@ -231,28 +231,28 @@ end
|
|
231
231
|
Request body:
|
232
232
|
```
|
233
233
|
{
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
},
|
239
|
-
relationships: {
|
240
|
-
genres: [{
|
241
|
-
data: {
|
242
|
-
id: 1, type: 'genres'
|
243
|
-
}
|
244
|
-
}]
|
245
|
-
}
|
234
|
+
data: {
|
235
|
+
type: 'movies',
|
236
|
+
attributes: {
|
237
|
+
title: 'The Terminator',
|
246
238
|
},
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
239
|
+
relationships: {
|
240
|
+
genres: {
|
241
|
+
data: [{
|
242
|
+
id: 1, type: 'genres'
|
243
|
+
}]
|
244
|
+
}
|
245
|
+
}
|
246
|
+
},
|
247
|
+
included: [
|
248
|
+
{
|
249
|
+
type: 'genres',
|
250
|
+
id: 1,
|
251
|
+
attributes: {
|
252
|
+
name: 'Genre one'
|
253
|
+
}
|
254
|
+
}
|
255
|
+
]
|
256
256
|
}
|
257
257
|
```
|
258
258
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsonapi_parameters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Visuality
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-11-
|
12
|
+
date: 2019-11-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 1.10.
|
49
|
-
type: :
|
48
|
+
version: 1.10.5
|
49
|
+
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 1.10.
|
55
|
+
version: 1.10.5
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: json
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|