iconara / cql-rb

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

Suppress warning "Comparable#== will no more rescue exceptions of #<=> in the next release." #122

Closed Sixeight closed 10 years ago

Sixeight commented 10 years ago

Hi, thank you for your nice gem.

Unfortunately, Comparable#== will no more rescue exception in future release. Thus timeuuid == nil raises undefined method exception. This warning shows in ruby 2.2.0-preview1.

I try to write patch for this problem. How about this?

see also: https://bugs.ruby-lang.org/issues/7688

iconara commented 10 years ago

Hi, thank's for your pull request. This gem will no longer be updated, DataStax has released an official Ruby driver built on cql-rb, so please open this issue over on that project.

Sixeight commented 10 years ago

@iconara Thank you for your response. I'll try to make pull request on official project!

Sixeight commented 10 years ago

done https://github.com/datastax/ruby-driver/pull/13 thank you for your information :bow: