File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
3
- * Setting ` Redis.exists_returns_integer = false ` disables warning message about new behaviour.
3
+ # 4.2.1
4
+
5
+ * Fix ` exists? ` returning an actual boolean when called with multiple keys. See #918 .
6
+ * Setting ` Redis.exists_returns_integer = false ` disables warning message about new behaviour. See #920 .
4
7
5
8
# 4.2.0
6
9
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ class << self
10
10
def exists_returns_integer = ( value )
11
11
unless value
12
12
message = "`Redis#exists(key)` will return an Integer by default in redis-rb 4.3. The option to explicitly " \
13
- "disable this behaviour via `Redis.exists_returns_integer` will be removed in 5.0. You should use " \
14
- "`exists?` instead. "
13
+ "disable this behaviour via `Redis.exists_returns_integer` will be removed in 5.0. You should use " \
14
+ "`exists?` instead."
15
15
16
16
::Kernel . warn ( message )
17
17
end
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
class Redis
4
- VERSION = '4.2.0 '
4
+ VERSION = '4.2.1 '
5
5
end
You can’t perform that action at this time.
0 commit comments