lucid_shopify-cache 0.3.3 → 0.4.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 +1 -1
- data/lib/lucid_shopify/cache/version.rb +1 -1
- data/lib/lucid_shopify/cache.rb +2 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33ccb44651bdc4464a44ce9e5a44734914cabe49d3c86298bc834effa2387ce2
|
4
|
+
data.tar.gz: 8b40495498e48193aeb1bdd8b676a1bef6d0b15ec12e9f635411c1d726864479
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7e4b8225b4e512918e7d85bec0b56207a8a256de4f8ee9e18fbd94eead36cb9bd5bd6738b6f804be61a71e8e0bb8e577a86bd61d159292a5dce28e5294c5abf
|
7
|
+
data.tar.gz: aff5239aa196acb2803f1c7cfac9c837963a0282a6359959763ea1137e259764ff5a022021b461ef42408b42aa295d3c14d3cbbb40bdf27632d50af46b192204
|
data/README.md
CHANGED
data/lib/lucid_shopify/cache.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'json'
|
4
|
+
require 'redis'
|
4
5
|
|
5
6
|
module LucidShopify
|
6
7
|
class Cache
|
@@ -11,7 +12,7 @@ module LucidShopify
|
|
11
12
|
# @return [String]
|
12
13
|
param :namespace, default: proc { 'lucid_shopify-cache' }
|
13
14
|
# @return [Redis]
|
14
|
-
option :redis_client, default: proc {
|
15
|
+
option :redis_client, default: proc { Redis.current }
|
15
16
|
|
16
17
|
#
|
17
18
|
# Create a new instance with a new namespace appended to the current one.
|
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.4.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-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.5'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: redis
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '4.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '4.0'
|
69
83
|
description:
|
70
84
|
email: kelsey@lucid.nz
|
71
85
|
executables: []
|