redis-hash 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redis_hash.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 064a2ade91666aeb97ab440f7ed3ad7d9c9516da
|
4
|
+
data.tar.gz: e91e75d65e4fdeae63256768dcd86b0dad22dce2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22a3a16cf5fd0a3e3f35ac552427a4a7cc1f4efd0b41ff7898a9e85e5485a53af87e36ce890d138cd01c7635e213a4b7f5eb384d7cd0f7b7c5531565d22b6ffe
|
7
|
+
data.tar.gz: bf60aa2e636cb2c367bb701806cd4ad1db1c14b20c7e66db1d5de67feb68ffbcbe56c8ecf49aa5112da7362cefcdc6a21277f8dad9e4bda79d6c5b3c1689725a
|
data/lib/redis_hash.rb
CHANGED
@@ -3,7 +3,7 @@ require "redis"
|
|
3
3
|
class RedisHash
|
4
4
|
attr_reader :name
|
5
5
|
|
6
|
-
VERSION = "0.0.
|
6
|
+
VERSION = "0.0.8"
|
7
7
|
|
8
8
|
class InvalidNameException < StandardError; end;
|
9
9
|
class InvalidRedisConfigException < StandardError; end;
|
@@ -76,7 +76,7 @@ class RedisHash
|
|
76
76
|
def remove *keys
|
77
77
|
keys = keys.flatten
|
78
78
|
if keys.size > 0
|
79
|
-
with{|redis| redis.hdel name,
|
79
|
+
with{|redis| redis.hdel name, keys}
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-hash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Misha Conway
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|