basho/riak-ruby-client — pull request #45 by seancribbs (2012-07-10 17:06:30+00:00)
Title: Update for Riak 1.2 features

This adds Riak 1.2-related features (specifically 2I and Search queries over PBC) and catches up some other technical debt.

* Client backends can now use feature detection to turn on/off various features (currently based on detected Riak version). This helps prevent sending newer PBC messages to hosts that don't support them (and fields, which might cause the connection to dump on pre 1.2 nodes).
* Riak 1.1 and later supports phase-less MapReduce queries.
* Added support for 2I and Search via PBC.
* Fixed the version-filter for specs.
* Upgrade to RSpec 2.10.
* Use correct conditional store method on PBC for 1.0+ nodes, fixing #5.
* Replace `Riak::Client::Pool` with the innertube gem.

**NOTE** The format of the return value from the `search` client operation has been simplified so that it can be consistent across both transports.