kreynolds/cassandra-cql — pull request #22 by psanford (2011-12-14 19:22:28+00:00)
Title: Support multiple versions of Cassandra

We should not force users to be on the latest version of Cassandra to use this library. This patch series adds the infrastructure to support multiple API versions of C* and adds backwards compatibility for 0.8.x.

It roughly follows the way that fauna (twitter/cassandra) supports multiple API versions.
To explicitly specify a version require "cassandra-cql/#{vesion}". If you just require 'cassandra-cql'
you will get the latest version. Version specific code is broken out into different subclasses by version number.

This also fixes the tests when running against 0.8.x.