asynchronic 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/lib/asynchronic/data_store/in_memory.rb +2 -2
- data/lib/asynchronic/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a894f32132a0a511bd83773c446ce495de49f44
|
4
|
+
data.tar.gz: 9b6702827151e7bc0ade84a66edd372122a92f8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56a7b05b1cd4bf276d1793c91fee9a4cdbb2832ac6605369e23c8ab123a258f4e13023ba30544dae38bf33d6833ea8ca91018da98995a7f1b130acd6bc7baa2b
|
7
|
+
data.tar.gz: 0a354c88eef225439e81a0ac3ee659cb733aa7f74a1d6550f686b4410a2a7a0b5b964b195872ea4778777885ba147e91619faea17ea2609b0ae7c568fa25e338
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.
|
1
|
+
ruby-2.4.0
|
@@ -12,11 +12,11 @@ module Asynchronic
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def [](key)
|
15
|
-
@hash[key.to_s]
|
15
|
+
Marshal.load(@hash[key.to_s]) if @hash.key? key.to_s
|
16
16
|
end
|
17
17
|
|
18
18
|
def []=(key, value)
|
19
|
-
@mutex.synchronize { @hash[key.to_s] = value }
|
19
|
+
@mutex.synchronize { @hash[key.to_s] = Marshal.dump(value) }
|
20
20
|
end
|
21
21
|
|
22
22
|
def delete(key)
|
data/lib/asynchronic/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asynchronic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Naiman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -290,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
290
290
|
version: '0'
|
291
291
|
requirements: []
|
292
292
|
rubyforge_project:
|
293
|
-
rubygems_version: 2.
|
293
|
+
rubygems_version: 2.6.8
|
294
294
|
signing_key:
|
295
295
|
specification_version: 4
|
296
296
|
summary: DSL for asynchronic pipeline using queues over Redis
|