Remove redis-namespace gem (#34742)

This commit is contained in:
Matt Jankowski 2025-05-21 11:20:17 -04:00 committed by GitHub
parent 3a5e310a6d
commit f1a6f4333a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 6 additions and 40 deletions

View file

@ -1,16 +0,0 @@
# frozen_string_literal: true
class Redis
module NamespaceExtensions
def exists?(...)
call_with_namespace('exists?', ...)
end
def with
yield self
end
end
end
Redis::Namespace::COMMANDS['exists?'] = [:first]
Redis::Namespace.prepend(Redis::NamespaceExtensions)