Skip to content

Commit

Permalink
fixed #3 - deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorf committed Jul 9, 2020
1 parent 2ab48e2 commit a1e6bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sparql/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1e6bea

Please sign in to comment.