avocado-redis 0.1.0 → 0.2.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: 08ea9545d5c518ce96718e4ebd0e08fb96b1fb01
4
- data.tar.gz: 4b5713d9dce2faf12369c925fca278ad199d8435
3
+ metadata.gz: a321b2094e6d3007c46cc8233b0b3f8d4b548631
4
+ data.tar.gz: 76a71838a875fbefe790ffba574ad792a67c0fe0
5
5
  SHA512:
6
- metadata.gz: 56bed07dd3847c7cc6c4fe20d23af29c574ec3ada8ca4efb75babc1d2d3c49ac362f4cea972dc2f865258775d7be66cb05fc3dcf00e8caa831e542cccf968c92
7
- data.tar.gz: 6878c95adcace41a9a32df8b3d77daecc690b5a412ee77297f490607ca495664ad0825712c1913c8b0b9ec783cee8e591de59b6ddc8333b344af8345b1b15485
6
+ metadata.gz: 62386ab7776f27d4a47b91e2b4a450228602c44c9f49b8ffa8b20e5cfcdc0c87718e7e773e9ef99fdfb0e7310652a11866e088abc94966d604d86af513b10404
7
+ data.tar.gz: 759f57a879ec22ba3bc0397e335a5eec00e0a180a960a7fb6a6a30a145a69c3009d909d171e6fa1e3072a9651b3445ac28b2de6be4957950c57220461d27ff24
@@ -8,6 +8,7 @@ module Avocado
8
8
  end
9
9
 
10
10
  def read
11
+ return [] if keys.empty?
11
12
  redis.mget(*keys).map do |value|
12
13
  JSON.parse value
13
14
  end
@@ -1,5 +1,5 @@
1
1
  module Avocado
2
2
  module Redis
3
- VERSION = '0.1.0'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avocado-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Serman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-05 00:00:00.000000000 Z
11
+ date: 2018-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avocado-docs