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 +4 -4
- data/lib/lucid_shopify/resource/read.rb +2 -2
- data/lib/lucid_shopify/resource/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f45fc0b1d41a7ddfa398ab58a1d9f8eccd4278eeaf059b572dc40f2df46671c4
|
4
|
+
data.tar.gz: 78fcb46622b11b5449cc8cd0207d2fffdcfced32f57ec2593f3a62c37af40ce8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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))
|
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
|
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.
|
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.
|
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.
|
54
|
+
version: '0.27'
|
55
55
|
description:
|
56
56
|
email: kelsey@lucid.nz
|
57
57
|
executables: []
|