cache_box 0.0.1.pre.preview9 → 0.0.1.pre.preview10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca77451aab70af003b3741b676a17715213ffef2fc7caeeca3fce5aa960001a9
4
- data.tar.gz: d43ccd11cb493f00c84131cf22eb69bf1e45794736ecf7bd650c043260effeb0
3
+ metadata.gz: c4b54107afc5c33e03caf7c0f60ed4dd43146b3538d3ed6e4542bdfc2793e42c
4
+ data.tar.gz: 31a851d0e5ad63dc56ff016843c285807ccf4ac52d3ff758b13d792ef08a1964
5
5
  SHA512:
6
- metadata.gz: 7e83cbd1efe8a0027d8ba3c8032d94400b75c968d78df484390a9168dded13fcd9b8e2625f9ce2a1c605bf672c967018375f18f0ca35e2fb85f82e6d0e4ae489
7
- data.tar.gz: 55771fa58ca7e96b81b45e26ba7164e45435d04bea0010f8ce76696861e056d6a3c9ca06633673834d28b1bd8eaf59a5ecaa90b421d348f2355cbc5054fef790
6
+ metadata.gz: d6c14872969670696c93c1beb26a4decbad6b6ad314046899a3ed1e78dfbc52ae5a7d14de2277480bb75a225610918316ca2f1a0c490c46b9cd49a4692f01de3
7
+ data.tar.gz: 2ef2894c33f1c0bba7a145da432992a89771bf9c85dc4590f8dcded28c4b395762a2008fd19ee96528bfab65fa0e20299a4d91db61846d2a2ae0968a9c7ace65
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'cache_box'
5
- spec.version = '0.0.1-preview9'
5
+ spec.version = '0.0.1-preview10'
6
6
  spec.authors = ['Codruț Constantin Gușoi']
7
7
  spec.email = ['codrut.gusoi+rubygems.org@gmail.com']
8
8
 
@@ -77,6 +77,8 @@ class CacheBox
77
77
  @storage.write!(name_s, { result: @state[:result][name_s] })
78
78
  else
79
79
  stash = box.stash
80
+ stash = ::CacheBox::Stash.new(stash) if stash.is_a?(Hash)
81
+
80
82
  stash.with do |state|
81
83
  dump = { stash: state }
82
84
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache_box
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.preview9
4
+ version: 0.0.1.pre.preview10
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
- date: 2020-08-06 00:00:00.000000000 Z
11
+ date: 2020-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.18'
83
- description:
83
+ description:
84
84
  email:
85
85
  - codrut.gusoi+rubygems.org@gmail.com
86
86
  executables: []
@@ -107,7 +107,7 @@ licenses:
107
107
  metadata:
108
108
  homepage_uri: https://gitlab.com/sdwolfz/cache_box_rb
109
109
  source_code_uri: https://gitlab.com/sdwolfz/cache_box_rb
110
- post_install_message:
110
+ post_install_message:
111
111
  rdoc_options: []
112
112
  require_paths:
113
113
  - lib
@@ -122,8 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: 1.3.1
124
124
  requirements: []
125
- rubygems_version: 3.1.2
126
- signing_key:
125
+ rubygems_version: 3.1.4
126
+ signing_key:
127
127
  specification_version: 4
128
128
  summary: A simple, fast, and easy to use local cache.
129
129
  test_files: []