async_storage 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6066c81131bf563929ebf745a0025e424aade1c2c85cae099bbf0052bd43423
4
- data.tar.gz: 750940e2dab1347fc3fb61825b5a9fbf5d0094b5ae53d30a99fdcb18676913d0
3
+ metadata.gz: 2f05c20b51c11b4b882ae5100bc5458d4ad4f9115358d85ae5220dff0355805d
4
+ data.tar.gz: 69f402f1af990b5badbffe780f18aff1ae83abe09d2496914ffceabf41c8386b
5
5
  SHA512:
6
- metadata.gz: 5fd978fe08f9a6bf521480a7025899eb58d15b26b0312e2cd80c8dd7beb79db677056d6a6083fb375af1fcea48228a9f3aa005311f0adbe014d63c0529d1ffde
7
- data.tar.gz: 6679f8603e517b2df74e5abbce7a8c6d6bc3c6bd69eab48c6b36bef7bf3c0219c6bd422ff4ef7e00f3d4ec0afd17ced001a18bd216ebf41269379fd5cf234182
6
+ metadata.gz: 88e04667e334619fd1085dddbb0ee2fab2b329df5b61ca8a95b2a90c507cd55f37396be21b00521e592622d0cadafcc6d7c1d0c01e4f9295603149873cc17d3e
7
+ data.tar.gz: e9db70a090fcaede6db42f30c90b9e40523894ea5c22c95527d0d72b2a58cfeaaf7bf46e02fe4634b7b823e4d201f73251d39483c4200f0db87eb7fa0341e810
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- async_storage (0.0.3)
4
+ async_storage (0.0.4)
5
5
  multi_json (> 0.0.0)
6
6
  redis (> 0.0.0)
7
7
 
@@ -9,6 +9,7 @@ module AsyncStorage
9
9
  include Util::Strings
10
10
 
11
11
  SET = {
12
+ temp: 't',
12
13
  head: 'h',
13
14
  body: 'b',
14
15
  none: '_null_',
@@ -22,6 +23,10 @@ module AsyncStorage
22
23
  @class_args = normalize_args(args)
23
24
  end
24
25
 
26
+ def temp
27
+ "#{base}:#{SET[:temp]}"
28
+ end
29
+
25
30
  def head
26
31
  "#{base}:#{SET[:head]}"
27
32
  end
@@ -4,12 +4,6 @@ require 'async_storage/allocator'
4
4
 
5
5
  module AsyncStorage
6
6
  class Repo
7
- CTRL = {
8
- enqueued: '0',
9
- executed: '1',
10
- missing: nil,
11
- }.freeze
12
-
13
7
  attr_reader :resolver_class
14
8
 
15
9
  # @param resolver_class [Class] A class with the call method
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AsyncStorage
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async_storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos G. Zimmermann
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-10 00:00:00.000000000 Z
11
+ date: 2020-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis