lucid_shopify-resource 0.7.2 → 0.7.3

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
  SHA256:
3
- metadata.gz: f4c431cb8ad48ce3a734093446081a002683f1b34c46aa8acc267b8465ba7781
4
- data.tar.gz: e5f577b37f11fff8d62244708e88970f6d032a488f2f750b108560712f7fadad
3
+ metadata.gz: f45fc0b1d41a7ddfa398ab58a1d9f8eccd4278eeaf059b572dc40f2df46671c4
4
+ data.tar.gz: 78fcb46622b11b5449cc8cd0207d2fffdcfced32f57ec2593f3a62c37af40ce8
5
5
  SHA512:
6
- metadata.gz: 246948304c3ec0f3d381f747e68c76ae1a1f3bd843e3b466607f31bec9915c53ef82dfa387dbbd2308e0c03499a8f6c236747444606cecfe4eca79a9c7d9bfd4
7
- data.tar.gz: 7e1f37ddf1b44fe76d24dd543df3e9397dfecec18029dd7850f7181823510a948f5587a91a33754fbfae1e1c4ebbdecd99360f2cbabe45d589765df33dc79263
6
+ metadata.gz: 7d0a982afc59cfe87cf16a063d6ca5f05a9c5f458acd7aa015c8dd0fc765ffbf15645a435cbe6cf67225a4aa48da467c31cfab90d48dc93dbb883d4004da3570
7
+ data.tar.gz: 7df8e77b3c041026910056c2f595fafeda87df3d2ff0db89c12f1aa8722c0e1f8e05587bfdc06c2f28a73ff2d0645d2897d720a6b0da16c80a2e9ac639b7ecbe
@@ -71,7 +71,7 @@ module LucidShopify
71
71
 
72
72
  logger.info("Fetching #{resource_singular} id=#{id}")
73
73
 
74
- client.get(credentials, "#{resource}/#{id}", params).values.first
74
+ client.get(credentials, "#{resource}/#{id}", params)[resource_singular]
75
75
  end
76
76
 
77
77
  #
@@ -102,7 +102,7 @@ module LucidShopify
102
102
  loop do
103
103
  logger.info("Fetching #{resource} since_id=#{since_id}")
104
104
 
105
- results = throttled_client.get(credentials, resource, params.merge(since_id: since_id)).values.first
105
+ results = throttled_client.get(credentials, resource, params.merge(since_id: since_id))[resource]
106
106
  results.each do |result|
107
107
  yield result
108
108
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module LucidShopify
4
4
  module Resource
5
- VERSION = '0.7.2'
5
+ VERSION = '0.7.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucid_shopify-resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelsey Judson
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.26'
47
+ version: '0.27'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.26'
54
+ version: '0.27'
55
55
  description:
56
56
  email: kelsey@lucid.nz
57
57
  executables: []