From 0cd7fca21f0657fd5ab468e452bea35bf6749607 Mon Sep 17 00:00:00 2001 From: Neil Chandler Date: Wed, 24 May 2023 15:38:59 +0100 Subject: [PATCH] FIX add srem_returns_boolean method to namespace --- lib/redis/namespace.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/redis/namespace.rb b/lib/redis/namespace.rb index 8b1fc31..cdaf127 100644 --- a/lib/redis/namespace.rb +++ b/lib/redis/namespace.rb @@ -244,8 +244,11 @@ class Namespace # This is used by the Redis gem to determine whether or not to display that deprecation message. @sadd_returns_boolean = true + # This is used by the Redis gem to determine whether or not to display that deprecation message. + @srem_returns_boolean = true + class << self - attr_accessor :sadd_returns_boolean + attr_accessor :sadd_returns_boolean, srem_returns_boolean end attr_writer :namespace