cache_box 0.0.1.pre.preview3 → 0.0.1.pre.preview4
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 +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7a45edfdfa06cb3d977c5329ac5510a4c5a9a8baa56246f74afe7c33ec5f987
|
4
|
+
data.tar.gz: fbfca06a3ec00307db2e79428f38e8ba2b92b70853ad8df067c39cb916430664
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 357b4f7e1a1792adf8366b97e58048b2acd102d3d6fbf5628f57eceb89e336ebbbad50d8dab335d34a15b1e88458c73e6c502542a6005c7549233a0e154c1c96
|
7
|
+
data.tar.gz: 9fad5c9ee9fa09ee7688904d7e03e1d4fd30c10229b2401ff711cf24437c51e30653d60dcaef30722199ff60c8e23cd42aaeb159d13e7e4baec4c7d359f5c31e
|
data/cache_box.gemspec
CHANGED
data/lib/cache_box.rb
CHANGED
@@ -161,7 +161,7 @@ class CacheBox
|
|
161
161
|
|
162
162
|
@state[:complete][name] = data[:complete]
|
163
163
|
@state[:result][name] = data[:result]
|
164
|
-
@state[:
|
164
|
+
@state[:storage][name] = data[:storage] unless data[:complete]
|
165
165
|
end
|
166
166
|
end
|
167
167
|
|
@@ -187,7 +187,7 @@ class CacheBox
|
|
187
187
|
complete: @state[:complete][name],
|
188
188
|
result: @state[:result][name],
|
189
189
|
}
|
190
|
-
data[:
|
190
|
+
data[:storage] = @state[:storage][name] unless @state[:complete][name]
|
191
191
|
|
192
192
|
content = Marshal.dump(data)
|
193
193
|
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cache_box
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.pre.
|
4
|
+
version: 0.0.1.pre.preview4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codruț Constantin Gușoi
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2020-07-19 00:00:00.000000000 Z
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.88'
|
69
|
-
description:
|
69
|
+
description:
|
70
70
|
email:
|
71
71
|
- codrut.gusoi+git-commit@gmail.com
|
72
72
|
executables: []
|
@@ -81,7 +81,7 @@ homepage: https://gitlab.com/sdwolfz/cache_box_rb
|
|
81
81
|
licenses:
|
82
82
|
- BSD 3-clause
|
83
83
|
metadata: {}
|
84
|
-
post_install_message:
|
84
|
+
post_install_message:
|
85
85
|
rdoc_options: []
|
86
86
|
require_paths:
|
87
87
|
- lib
|
@@ -96,8 +96,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: 1.3.1
|
98
98
|
requirements: []
|
99
|
-
rubygems_version: 3.1.
|
100
|
-
signing_key:
|
99
|
+
rubygems_version: 3.1.3
|
100
|
+
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: A simple, fast, and easy to use file backed cache.
|
103
103
|
test_files: []
|