lib/redis.rb in redis-4.7.1 vs lib/redis.rb in redis-4.8.0

- old
+ new

@@ -5,15 +5,16 @@ require "redis/commands" class Redis BASE_PATH = __dir__ @exists_returns_integer = true + @sadd_returns_boolean = true Deprecated = Class.new(StandardError) class << self attr_reader :exists_returns_integer - attr_accessor :silence_deprecations, :raise_deprecations + attr_accessor :silence_deprecations, :raise_deprecations, :sadd_returns_boolean def exists_returns_integer=(value) unless value deprecate!( "`Redis#exists(key)` will return an Integer by default in redis-rb 4.3. The option to explicitly " \