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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f710744217ad35c90e40438162f9dfa5253626b0
4
- data.tar.gz: b066eb1912f661b084562fe621ce95b4865bce95
3
+ metadata.gz: 574b5a997ebfb62e31f64d3ff344e4c35d1ef5a9
4
+ data.tar.gz: 018500b78e06fc27c2d4edb577fede4d698b4242
5
5
  SHA512:
6
- metadata.gz: c371c8c8e2faecf7345213636eb76f789d5586d4ef7d15ee49af97217cad10076f93d7a0e532388733f341a7fbd24be81678a1978989f3a7aa30efcc6afa4d77
7
- data.tar.gz: 2b3dddf915339ff384979f5857dda62018d725586102f80907ebb378cd651d9532f6ee1aac9d5e20fd490898aefb95ad587e88a6317613bb79f7471137ffd891
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
- path = URI(link_definition.url_for(type, missing_ids)).path
56
+ uri = URI(link_definition.url_for(type, missing_ids)).to_s
57
57
 
58
- query = Query::Linked.new(path)
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
@@ -1,3 +1,3 @@
1
1
  module JsonApiClient
2
- VERSION = "0.9.5"
2
+ VERSION = "0.9.6"
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.5
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: 2015-12-15 00:00:00.000000000 Z
11
+ date: 2016-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport