simple-json-api-serializer 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f01b7473da01a370910bfc110566885000577817
4
- data.tar.gz: 377851159c9172ac0bc6cdd960ef47f55ae8e015
3
+ metadata.gz: db9d7ad9e9ff2c20fa4e94d11bd1f5efd450a6c6
4
+ data.tar.gz: 02f59b32bd833328a2f80a5683e888f5dce1129e
5
5
  SHA512:
6
- metadata.gz: 568928ec024e634ab04894ca9c1ce1cdcba7e19799bea46a5e987dfda0a9e6e8bac08e2b1874fe3577ebf6857c7efe669af570f601a378720c37cc931ca5be45
7
- data.tar.gz: 533b4dad3d4412d002732ff752255c2ae8c4d4507c432730a31d3a5d1527a186d832b23cd3bccfc24b8ee7db54fdf86ea8c799bb87d22c53526efac26352f3f9
6
+ metadata.gz: 4c496038ca335ed6d2e2df678f48707b9703244447f604e5d2229f744bc8f9c5b466352ff061c5300f17f2fc3f283e0612535e88e22d5d6bf8dbd83a70b75226
7
+ data.tar.gz: 971963f0ca6335f00486b606025347ea7ff671f2241f796e900fe79924aa404b5ce9cddb489d30297f2c937bba3e992a2699fc137b3be5582bc1422913ca17c1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple-json-api-serializer (1.0.2)
4
+ simple-json-api-serializer (1.0.3)
5
5
  activesupport (~> 4.2)
6
6
 
7
7
  GEM
@@ -25,7 +25,7 @@ module JSONApi
25
25
 
26
26
  def deserialize_relationships(relationships, attributes)
27
27
  relationships.each do |name, data|
28
- data = data.fetch('data')
28
+ data = data['data']
29
29
  name = sanitize_attribute_name(name)
30
30
 
31
31
  if data
@@ -1,3 +1,3 @@
1
1
  module JSONApi
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-json-api-serializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Schilstra