avocado-redis 0.2.0 → 0.3.0

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
  SHA1:
3
- metadata.gz: a321b2094e6d3007c46cc8233b0b3f8d4b548631
4
- data.tar.gz: 76a71838a875fbefe790ffba574ad792a67c0fe0
3
+ metadata.gz: 8f2a27dca0e304e33ba7cba26e84a940cf9701c8
4
+ data.tar.gz: d50924278c2736ad9ed8bae44f5938f3d08e05e9
5
5
  SHA512:
6
- metadata.gz: 62386ab7776f27d4a47b91e2b4a450228602c44c9f49b8ffa8b20e5cfcdc0c87718e7e773e9ef99fdfb0e7310652a11866e088abc94966d604d86af513b10404
7
- data.tar.gz: 759f57a879ec22ba3bc0397e335a5eec00e0a180a960a7fb6a6a30a145a69c3009d909d171e6fa1e3072a9651b3445ac28b2de6be4957950c57220461d27ff24
6
+ metadata.gz: ae77c1492207fefa749574bf7de4c23152e2476325e05f136e7072af46be154d16171da337c53b97e2ed4a1f097c999c2b821bd2bb28ff4d407473a5f18c1942
7
+ data.tar.gz: 71e545cd923db3f53e8834dfe6eb42d20dc1243719ca683b1a015f96c94188fff83c0c3aece79036f61e93c916246f92a906bc55136582451bd6cb79bc9879f1
@@ -16,7 +16,7 @@ module Avocado
16
16
 
17
17
  def write(data, upload_id)
18
18
  key = "avocado-#{Time.current.to_s(:nsec)}-#{upload_id}"
19
- redis[key] = data.to_json
19
+ redis.set key, data.to_json
20
20
  end
21
21
 
22
22
  def purge_old(upload_id)
@@ -1,5 +1,5 @@
1
1
  module Avocado
2
2
  module Redis
3
- VERSION = '0.2.0'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avocado-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Serman