jsonapi-authorization 1.0.0.alpha1 → 1.0.0.alpha2

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: 50a06e5fdcd473f0bcd5ea8b1881d11933476d6c
4
- data.tar.gz: 4bef789a4172b7c93a0ee20092e2da33fe2704dd
3
+ metadata.gz: c83ed79758b58af1eb5f2682278d59811be7eb20
4
+ data.tar.gz: 8dad69ca7b2bad76f4508c735a1be23f9dd60ad7
5
5
  SHA512:
6
- metadata.gz: 36ae7c80e93eb5cc1f07be3f14869723982419681cd15f6d71b760d78a53305f3824b90f1edd71fc1dd4c8fd26f04ae51a0a26e9e92abb1396ff5944f06a7718
7
- data.tar.gz: 0f91ba98fc0774febee9634c7e0ee28bbf0cd7f9e69703dd0b5b7f0f1e48132ffd446d0e9be4a6c1f8b7797e699b49bcb4b37b6bf989fef27c05dc523ff31bf2
6
+ metadata.gz: a9f9793f5d9a6972e1a5bba3ea7d22d92368c8a8e7e37378dd0a09be44c3b5190df899393b1a76dedef1a6ff0d2515a6ebda8e95bff4d6e2568a72c6561629e1
7
+ data.tar.gz: 2b20f5bd2a639304a0e25b31bb861dbfc9426e4a221afc1be7b70c7f83ba07ccdddc89ac9aef2dd3c5d7c6ca98a3a47db09d27e41a86f374442fac148e9d940d
@@ -277,7 +277,7 @@ module JSONAPI
277
277
  resource_class.find_by_keys(assoc_value, context: context).map(&:_model)
278
278
  else
279
279
  resource_class = resource_class_for_relationship(assoc_name)
280
- resource_class.find_by_key(assoc_value[:id], context: context)._model
280
+ resource_class.find_by_key(assoc_value, context: context)._model
281
281
  end
282
282
 
283
283
  {
@@ -1,5 +1,5 @@
1
1
  module JSONAPI
2
2
  module Authorization
3
- VERSION = "1.0.0.alpha1".freeze
3
+ VERSION = "1.0.0.alpha2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi-authorization
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.alpha1
4
+ version: 1.0.0.alpha2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vesa Laakso