lucid_shopify-resource 0.4.5 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lucid_shopify/resource/read.rb +2 -2
- data/lib/lucid_shopify/resource/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b639c9030746bf1e3f9b380b97d0ac76c7bb630eea3fdfbc67b363255f0c291
|
|
4
|
+
data.tar.gz: 073adb3d3d5f31496b7d3cbe5bc49409c69175567c280bb122c5be224df99237
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5afce0793cc01907fb3c0e4623cbe7b5671d1ca961421c5854aa879a89ef24236b57916408f046be5d49ce45aae1a44bb1f48c18c777956906b71ff443e2de56
|
|
7
|
+
data.tar.gz: 4b137040587e058697516b0feabbb617561c8f69a417677d68363260ce4f8bfd34bb113059be2ef059a55c7b78ddb204fbdfda12200273c10f744a6928e3e003
|
|
@@ -91,13 +91,13 @@ module LucidShopify
|
|
|
91
91
|
# @raise [ArgumentError] if 'fields' does not include 'id'
|
|
92
92
|
#
|
|
93
93
|
def each(credentials, params = {})
|
|
94
|
-
return to_enum(
|
|
94
|
+
return to_enum(__method__, credentials, params) unless block_given?
|
|
95
95
|
|
|
96
96
|
assert_fields_id!(params = finalize_params(params))
|
|
97
97
|
|
|
98
98
|
throttled_client = client.throttled
|
|
99
99
|
|
|
100
|
-
since_id = 1
|
|
100
|
+
since_id = params.delete('since_id') || 1
|
|
101
101
|
|
|
102
102
|
loop do
|
|
103
103
|
logger.info("Fetching #{resource} since_id=#{since_id}")
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lucid_shopify-resource
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kelsey Judson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|