File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,7 @@ Returns a hash:
76
76
},
77
77
"links" : {
78
78
"self" : " /posts/1"
79
- },
80
- "relationships" : {}
79
+ }
81
80
}
82
81
}
83
82
```
@@ -102,8 +101,7 @@ Returns:
102
101
},
103
102
"links" : {
104
103
"self" : " /posts/1"
105
- },
106
- "relationships" : {}
104
+ }
107
105
},
108
106
{
109
107
"id" : " 2" ,
@@ -114,8 +112,7 @@ Returns:
114
112
},
115
113
"links" : {
116
114
"self" : " /posts/2"
117
- },
118
- "relationships" : {}
115
+ }
119
116
}
120
117
]
121
118
}
@@ -311,8 +308,7 @@ Returns:
311
308
},
312
309
"links" : {
313
310
"self" : " /users/1"
314
- },
315
- "relationships" : {}
311
+ }
316
312
},
317
313
{
318
314
"id" : " 1" ,
@@ -350,8 +346,7 @@ Returns:
350
346
},
351
347
"links" : {
352
348
"self" : " /users/2"
353
- },
354
- "relationships" : {}
349
+ }
355
350
}
356
351
]
357
352
}
434
429
435
430
## Release notes
436
431
432
+ * v0.2.2: Compliance fix for excluding empty relationship objects.
437
433
* v0.2.1: Compliance fix for self links.
438
434
* v0.2.0: Initial release with support for the final v1 JSON API spec.
439
435
Original file line number Diff line number Diff line change 1
1
module JSONAPI
2
2
module Serializer
3
- VERSION = '0.2.1 '
3
+ VERSION = '0.2.2 '
4
4
end
5
5
end
You can’t perform that action at this time.
0 commit comments