Remove yard doc from development dependencies

It is better to call it as standalone executable

Change-Id: Id0476db97c0faa7008d1e1f1dd3d223f7bcf11fb
Reviewed-on: http://review.couchbase.org/24478
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
RCBC-118 Alias #total_rows as #total_entries on view result

Change-Id: I9b72c2af5663c8e31493b9a8f8c32c6cd4cafafe
Reviewed-on: http://review.couchbase.org/24464
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Fix async view fetch

Fix case in async fetch with include_docs, when last chunk arrives
after last doc fetched.

Change-Id: Ia022d69c9a82ab80be08ec022d623ba510f5d485
Reviewed-on: http://review.couchbase.org/23991
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
View#fetch_all - async method for fetching all records

Change-Id: Id42af81ca4e2748e3fe7588c2a87bbf8d1aea76f
Reviewed-on: http://review.couchbase.org/24027
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Allow asynchronous connections

This patch allows to use Bucket instance in completely asynchronous
environment like this, without blocking on connect:

  conn = Couchbase.new(:async => true)
  conn.run do
    conn.on_connect do |res|
      if res.success?
        #
        # schedule async requests
        #
      end
    end
  end

Change-Id: I8be3f6e687591019c9bb21ada097ca137933ce48
Reviewed-on: http://review.couchbase.org/23703
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Unfreeze rake version

Change-Id: Ie19ffd85be82b27caa4fd149a3b13fec27f4f518
RCBC-27 EventMachine plugin

Introduce plugin which allows to use EventMachine as event loop for
couchbase client.

With Ruby 1.9 and Fibers it is possible to use blocking interface,
otherwise connection should be asynchronouse and connection.run should not
be used.

Change-Id: I6a5bd7c86f9ce5f3b7090b0c58bc411d6b6a52f7