From a1e6beaf6790df68921cbed9bd1719299b9add3e Mon Sep 17 00:00:00 2001 From: mdorf Date: Thu, 9 Jul 2020 08:22:56 -0700 Subject: [PATCH] fixed #3 - deprecation warnings --- lib/sparql/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sparql/client.rb b/lib/sparql/client.rb index 3ea76642..bc5bc15a 100644 --- a/lib/sparql/client.rb +++ b/lib/sparql/client.rb @@ -416,7 +416,7 @@ def cache_invalidate_graph(graphs) begin graph = graph.to_s graph = "sparql:graph:#{graph}" unless graph.start_with?("sparql:graph:") - if @redis_cache.exists(graph) + if @redis_cache.exists?(graph) begin @redis_cache.del(graph) rescue => exception