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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/redis_hash.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c26c4082f43c09a74b7da2b2c74171d3d821c7b1
4
- data.tar.gz: f1ab70bc59ee5fe54a2a0ff7ff5bf35dc7ec0d38
3
+ metadata.gz: 064a2ade91666aeb97ab440f7ed3ad7d9c9516da
4
+ data.tar.gz: e91e75d65e4fdeae63256768dcd86b0dad22dce2
5
5
  SHA512:
6
- metadata.gz: ebdb31264d8e57cb6ed8227df5b1ffdaeb96e75d0c0c75f4e4bb88ec436bd499af880e185bf37d9a4a381106bd45534d9b1a031a3638dcdcd4d4c1b01cfdf6c5
7
- data.tar.gz: 9784a09b4bc8ae3e71f87cba36bcc8a2c1cd0bc3423ad5d733bdbfb1843eedfcd561ae0e7f27178a07f629cd0de1869bd54e1e2ca3f2e276b3088eea21f75874
6
+ metadata.gz: 22a3a16cf5fd0a3e3f35ac552427a4a7cc1f4efd0b41ff7898a9e85e5485a53af87e36ce890d138cd01c7635e213a4b7f5eb384d7cd0f7b7c5531565d22b6ffe
7
+ data.tar.gz: bf60aa2e636cb2c367bb701806cd4ad1db1c14b20c7e66db1d5de67feb68ffbcbe56c8ecf49aa5112da7362cefcdc6a21277f8dad9e4bda79d6c5b3c1689725a
@@ -3,7 +3,7 @@ require "redis"
3
3
  class RedisHash
4
4
  attr_reader :name
5
5
 
6
- VERSION = "0.0.7"
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, *keys}
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.7
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-06-17 00:00:00.000000000 Z
11
+ date: 2019-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler