iconara / cql-rb

Cassandra CQL 3 binary protocol driver for Ruby
106 stars 31 forks source link

Fix warnings when running in ruby 2.2.0 #125

Closed teodor-pripoae closed 9 years ago

teodor-pripoae commented 9 years ago

I was getting a few warnings when using the cequel gem under ruby 2.2.0. I traced the warning source to be in the TimeUuid class in this gem.

/opt/boxen/rbenv/versions/2.2.0/gemsets/kuende/gems/cequel-1.5.0/lib/cequel/record/dirty.rb:59: warning: Comparable#== will no more rescue exceptions of #<=> in the next release.
/opt/boxen/rbenv/versions/2.2.0/gemsets/kuende/gems/cequel-1.5.0/lib/cequel/record/dirty.rb:59: warning: Return nil in #<=> if the comparison is inappropriate or avoid such comparison.
iconara commented 9 years ago

Hi, thank you for the PR, but this gem is no longer being developed. You should ask the maintainer of cequel to start using the new official Ruby driver.