ncbo / ncbo_annotator

To automatically process a piece of data text to annotate it with relevant ontology concepts and return the annotations.
http://bioportal.bioontology.org/annotator
Other
18 stars 9 forks source link

deprecation warnings `Redis#exists(key)` will return an Integer in redis-rb 4.3 #14

Closed mdorf closed 4 years ago

mdorf commented 4 years ago

Some code in Annotator throws warnings:

Redis#exists(key) will return an Integer in redis-rb 4.3. exists? returns a boolean, you should use it instead. To opt-in to the new behavior now you can set Redis.exists_returns_integer = true. To disable this message and keep the current (boolean) behaviour of 'exists' you can set Redis.exists_returns_integer = false, but this option will be removed in 5.0. (/srv/ncbo/ncbo_cron/vendor/bundle/ruby/2.6.0/bundler/gems/sparql-client-2ab48e2b7b2a/lib/sparql/client.rb:419:in `block in cache_invalidate_graph')

mdorf commented 4 years ago

duplicate of #13