json_api_client 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/json_api_client/linked_data.rb +2 -2
- data/lib/json_api_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 574b5a997ebfb62e31f64d3ff344e4c35d1ef5a9
|
4
|
+
data.tar.gz: 018500b78e06fc27c2d4edb577fede4d698b4242
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b844103832648f10661d8f5f5b73ffd261e5520be262bddd1b721c82dd0cc85b4661bebaa4b6364d3024ffacfec64755d0f75109517a28c6c85d539a0887304
|
7
|
+
data.tar.gz: d00a5471d7851a11455ce66b32d7595eb9284fefa1c3a398599022eed5928e9c8aaaa190965add826ca66a35a4270cea740e87d788e03eaa150f891ff2ec9c5d
|
@@ -53,9 +53,9 @@ module JsonApiClient
|
|
53
53
|
|
54
54
|
# make an api request to fetch the missing data
|
55
55
|
def fetch_data(klass, type, missing_ids)
|
56
|
-
|
56
|
+
uri = URI(link_definition.url_for(type, missing_ids)).to_s
|
57
57
|
|
58
|
-
query = Query::Linked.new(
|
58
|
+
query = Query::Linked.new(uri)
|
59
59
|
results = klass.run_request(query)
|
60
60
|
|
61
61
|
key = link_definition.attribute_name_for(type).to_s
|
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
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Ching
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|