jsonapi.rb 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/jsonapi/rails.rb +1 -1
- data/lib/jsonapi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1557a7b02828b0aee6f7fafc9c67019e0486f05
|
4
|
+
data.tar.gz: 23fd349bb61835beeab3d904d54c04715e4aa9ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d59d76a63b2bbc48f71cafe32f80f9ce5f3ed3575221619071799f76d8ed0bc648ba75988372df29a3aa6130d47a2c9b27375948f6ea165d54cd9e0eb53aaf8
|
7
|
+
data.tar.gz: 9f735bea904696b5a3c043267827a0cadbfdcf8c3a65d42c817a241e139b4adb6a953b4506695a84d28d5c15cdd9cab726360cca1bf6f4e01419f1f10b57593f
|
data/Gemfile.lock
CHANGED
data/lib/jsonapi/rails.rb
CHANGED
@@ -41,7 +41,7 @@ module JSONAPI
|
|
41
41
|
model = resource.instance_variable_get('@base')
|
42
42
|
|
43
43
|
if respond_to?(:jsonapi_serializer_class, true)
|
44
|
-
model_serializer = jsonapi_serializer_class(
|
44
|
+
model_serializer = jsonapi_serializer_class(model, false)
|
45
45
|
else
|
46
46
|
model_serializer = JSONAPI::Rails.serializer_class(model, false)
|
47
47
|
end
|
data/lib/jsonapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsonapi.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stas Suscov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fast_jsonapi
|