cache_box 0.0.1.pre.preview5 → 0.0.1.pre.preview6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cache_box.gemspec +1 -1
- data/lib/cache_box.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab194a6029ec0a9e3a9ac5cb8cdac124f7a06ab1d4066d50665bbdf9548a727a
|
4
|
+
data.tar.gz: 06e3109c3d4f9437bd70768d21c69cc3252cc316f60a68072c5d1d8edb7fa4b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2229714e8ce3c5d92eb5a34cfdf047d6f0e315a56db856ea9c05bebacc22ca2c0881689d822df58c01f608cafd00d323b2e64f7decce15695ca671a1383fd1c1
|
7
|
+
data.tar.gz: 83b5d7dac66492c48ea35c5ec82a70c249260d6e0f1961322ed9016ddafa1d0a7fecd6a3323db42cf7f9f2e29d6bced25d50d0117a76ac9af1215d17bb1e8639
|
data/cache_box.gemspec
CHANGED
data/lib/cache_box.rb
CHANGED
@@ -186,7 +186,7 @@ class CacheBox
|
|
186
186
|
data = {}
|
187
187
|
data[:complete] = @state[:complete][name] if @state[:complete][name]
|
188
188
|
data[:result] = @state[:result][name] if @state[:result][name]
|
189
|
-
data[:storage] = @state[:storage][name] if @state[:complete][name]
|
189
|
+
data[:storage] = @state[:storage][name] if @state[:storage][name] && !@state[:complete][name]
|
190
190
|
|
191
191
|
content = Marshal.dump(data)
|
192
192
|
|