lib/lita/handlers/info.rb in lita-4.7.1 vs lib/lita/handlers/info.rb in lita-4.8.0.beta1

- old
+ new

@@ -38,10 +38,14 @@ response.write(json) end # A hash of information about Redis. def redis_info - @redis_info ||= redis.info + @redis_info ||= begin + r = redis.redis + r = r.redis while r.respond_to?(:redis) + r.info + end end # The current version of Redis. def redis_version redis_info["redis_version"]