graphiti 1.0.beta.9 → 1.0.beta.10

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: d7b0b17454ee9c8e6c9b1ab668378cf76062db62
4
- data.tar.gz: af37c98aa0f113e94a9f0209bce6d047625c29c9
3
+ metadata.gz: dbd128c5919c9f050e616b3a047e30f6f3ee4476
4
+ data.tar.gz: dc018a848a9e19413596752f3e223a9a91f246ef
5
5
  SHA512:
6
- metadata.gz: d1e0ffd1244927aa10b55c7f481300cfa3d0bfb3ed5c8e0bfd47738c5678cc266cc53b2b61f84cd5e45e5f01fd736bbcbe5122cac4ec103acacd08077ef3c37c
7
- data.tar.gz: ea98a326f693d21407a28ee1b2f57cd5e17ce5f4bb53e486143ad1515dc76e1a884d0146ca6025cbd5f7dd5a8b4a8a5ce5241796a0e149e13bad35e6132ccab7
6
+ metadata.gz: 71dd980185d8e7587f64560479fb10e2c231ca6cff0a948a3222442a7ac6c00f506ea033e522c019e47336f4577759eaa43465bd0b3146c832df321b83cc0836
7
+ data.tar.gz: 978ecb768a70cfbc6623e9a821ab6e26ada74d2b512beb6501d628f531564f7c47a18fc59152cbd79e92aa372d318422754d18c299dceae0220923d104081ff5
@@ -158,7 +158,7 @@ module Graphiti
158
158
  @chunks.each do |chunk|
159
159
  if parent = chunk[:parent]
160
160
  relevant = chunks.find { |c| c[:resource] == parent }
161
- relevant[:children].unshift(chunk)
161
+ relevant[:children].unshift(chunk) if relevant
162
162
  end
163
163
  end
164
164
  @chunks.reject! { |c| !!c[:parent] }
@@ -1,3 +1,3 @@
1
1
  module Graphiti
2
- VERSION = "1.0.beta.9"
2
+ VERSION = "1.0.beta.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.beta.9
4
+ version: 1.0.beta.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-27 00:00:00.000000000 Z
11
+ date: 2018-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jsonapi-serializable