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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5fdba9a2957365a5a46bcfa292bb65e4f7067ca
4
- data.tar.gz: 4b2cd03a3045fd835f8f3461e1da9a6878fdc593
3
+ metadata.gz: b1557a7b02828b0aee6f7fafc9c67019e0486f05
4
+ data.tar.gz: 23fd349bb61835beeab3d904d54c04715e4aa9ce
5
5
  SHA512:
6
- metadata.gz: 163a80a360a5b29b4703f8086796ceaa08043c0bd44e13b7e0c89de706d7865dcfbb482e1635a05f4bc711bf8acc2155f7722c19b3aae1aa5f23e13f2828bebf
7
- data.tar.gz: 34a34bc75f47186a076f7a1e1707b73c73cb498320f590010913eb107d2f95d1cde79720ce34d48f9bca1dc0c0eba9067a17ce353f149bc3eaccefbf5c57f741
6
+ metadata.gz: 3d59d76a63b2bbc48f71cafe32f80f9ce5f3ed3575221619071799f76d8ed0bc648ba75988372df29a3aa6130d47a2c9b27375948f6ea165d54cd9e0eb53aaf8
7
+ data.tar.gz: 9f735bea904696b5a3c043267827a0cadbfdcf8c3a65d42c817a241e139b4adb6a953b4506695a84d28d5c15cdd9cab726360cca1bf6f4e01419f1f10b57593f
data/Gemfile.lock CHANGED
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- jsonapi.rb (1.4.0)
11
+ jsonapi.rb (1.4.1)
12
12
  fast_jsonapi (~> 1.5)
13
13
  rack
14
14
  ransack
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(resource, false)
44
+ model_serializer = jsonapi_serializer_class(model, false)
45
45
  else
46
46
  model_serializer = JSONAPI::Rails.serializer_class(model, false)
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module JSONAPI
2
- VERSION = '1.4.0'
2
+ VERSION = '1.4.1'
3
3
  end
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.0
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-13 00:00:00.000000000 Z
11
+ date: 2019-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fast_jsonapi