json_api_client 0.9.4 → 0.9.5

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: b32118172cd75451e1038fe8b5634daa4b004484
4
- data.tar.gz: 798b32b112ab83fe6ae93e2c739d68f0ceca69df
3
+ metadata.gz: f710744217ad35c90e40438162f9dfa5253626b0
4
+ data.tar.gz: b066eb1912f661b084562fe621ce95b4865bce95
5
5
  SHA512:
6
- metadata.gz: e801ad81eb1620047fab620e173e4df91126743e6af11bee7d5b115a362fa1d00da62249133c603511a048670de6baa7a49ed9a4a920ccdbec692dd797b846b2
7
- data.tar.gz: ff709d5e9aaa6a9f7bcb795b226e74949b7d66b0d21de476990e27a9cffbdb023f63557420a549e367083bc9c06bcef13b60daa950e4343158aa9042e3ab797c
6
+ metadata.gz: c371c8c8e2faecf7345213636eb76f789d5586d4ef7d15ee49af97217cad10076f93d7a0e532388733f341a7fbd24be81678a1978989f3a7aa30efcc6afa4d77
7
+ data.tar.gz: 2b3dddf915339ff384979f5857dda62018d725586102f80907ebb378cd651d9532f6ee1aac9d5e20fd490898aefb95ad587e88a6317613bb79f7471137ffd891
@@ -17,6 +17,12 @@ module JsonApiClient
17
17
  klass = klass_for(type)
18
18
  add_data(type, results.map{|result| klass.new(result)})
19
19
  end
20
+
21
+ @results_by_type_by_id.values.each do |results|
22
+ results.values.each do |result|
23
+ result.linked_data = self
24
+ end
25
+ end
20
26
  end
21
27
 
22
28
  def data_for(type, ids)
@@ -66,4 +72,4 @@ module JsonApiClient
66
72
  end
67
73
 
68
74
  end
69
- end
75
+ end
@@ -1,3 +1,3 @@
1
1
  module JsonApiClient
2
- VERSION = "0.9.4"
2
+ VERSION = "0.9.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Ching
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-28 00:00:00.000000000 Z
11
+ date: 2015-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.8.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.8.0
41
41
  - !ruby/object:Gem::Dependency
@@ -154,3 +154,4 @@ signing_key:
154
154
  specification_version: 4
155
155
  summary: Build client libraries compliant with specification defined by jsonapi.org
156
156
  test_files: []
157
+ has_rdoc: