lucid-shopify-cache 0.10.0 → 0.11.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/README.md +4 -5
- data/lib/lucid/shopify/cache/version.rb +1 -1
- data/lib/lucid/shopify/cached_get.rb +0 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a331fec875478624b9aa711db6bb74c693d91a75b031a45dcfa96629c2e7bfeb
|
|
4
|
+
data.tar.gz: f344eeeefa6c16ffd251aed095367fa716cc460e61a4bf4aa2c412e18474a53c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75399ac8e25c5730054ea38f9670dbb2f34f0da8b191660e90fd5d2eb157549511e5c4834a2fcee1e5d37b350b2acd856000649c43ffbdaaf688e884c5f8be77
|
|
7
|
+
data.tar.gz: 3f9a53eb6742262c63a3ad9f403e7e0696a66a7bec29b93a5bb5ea9cca9ac85bcc3e78103a0e5b22816907d45f5bd18431b51817027c3449ddd526ba45365473
|
data/README.md
CHANGED
|
@@ -37,14 +37,13 @@ To clear the cache:
|
|
|
37
37
|
|
|
38
38
|
For the next hour, the data will be cached.
|
|
39
39
|
|
|
40
|
-
You might want to set the TTL to a high value and clear it only
|
|
41
|
-
|
|
42
|
-
webhook which calls:
|
|
40
|
+
You might want to set the TTL to a high value and clear it only when shop data
|
|
41
|
+
actually changes. In this case, set up a ‘shop/update’ webhook which calls:
|
|
43
42
|
|
|
44
43
|
cached_get.clear(*args).(*args)
|
|
45
44
|
|
|
46
45
|
|
|
47
46
|
### TTL
|
|
48
47
|
|
|
49
|
-
The default cache TTL is 3600 seconds (one hour), but this can be
|
|
50
|
-
|
|
48
|
+
The default cache TTL is 3600 seconds (one hour), but this can be changed by
|
|
49
|
+
setting the environment variable ‘LUCID_SHOPIFY_CACHE_TTL’.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lucid-shopify-cache
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.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:
|
|
11
|
+
date: 2020-03-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '0.
|
|
75
|
+
version: '0.52'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '0.
|
|
82
|
+
version: '0.52'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: redis
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
124
124
|
- !ruby/object:Gem::Version
|
|
125
125
|
version: '0'
|
|
126
126
|
requirements: []
|
|
127
|
-
rubygems_version: 3.
|
|
127
|
+
rubygems_version: 3.1.2
|
|
128
128
|
signing_key:
|
|
129
129
|
specification_version: 4
|
|
130
130
|
summary: Cache Shopify API data
|