RCBC-97 Store bucket->{hostname,authority} as Ruby String

Change-Id: Iecf4d0ede305b835c3add661c615108334ac4f6b
Reviewed-on: http://review.couchbase.org/23038
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
RCBC-97 Store bucket->bucket in Ruby String

Change-Id: I32b141a0db98f8c71d93937079ca7868ace60714
Reviewed-on: http://review.couchbase.org/23039
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
RCBC-97 Store bucket->pool in Ruby String

Change-Id: I041d1a6c92e7236f0563acbfb608d7ccdced42ad
Reviewed-on: http://review.couchbase.org/23040
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
RCBC-97 Store bucket->{username,password} as Ruby String

Change-Id: Ia7a2d50946746e12f4288dcd78d1d2f49eb46c94
Reviewed-on: http://review.couchbase.org/23041
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
RCBC-97 Store bucket->node_list as Ruby String

Change-Id: I10a2e2c828b8547f8e10d1c5608f503a07ba68d6
Reviewed-on: http://review.couchbase.org/23045
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
RCBC-97 Remove unused bucket->key_prefix, use always bucket->key_prefix_val

Also make bucket->key_prefix frozen and clean it by setting to nil.

Change-Id: Icdf4b470d2a083551412f3982c03cb5f970e5848
Reviewed-on: http://review.couchbase.org/23042
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
RCBC-98 Internalize empty string and "default"

Change-Id: Ia9887bc6e6b4607d8f9c002d8ebb19df6a9986b8
Reviewed-on: http://review.couchbase.org/23043
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
use rb_str_append when possible

Change-Id: I64ca4986f38e92ae60f7aa6efafb9fc0f9202004
Reviewed-on: http://review.couchbase.org/23044
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
fix assignment for cmd.get.items_gr

Change-Id: Ida4fa762ea6ca99aa4b87717e598e5cb1e11f228
Reviewed-on: http://review.couchbase.org/23046
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
DRY parameters allocation in arguments.c

Change-Id: I6897bcf75b1d9571b5939e0e5fe9696401ad458f
Reviewed-on: http://review.couchbase.org/23047
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
use builtin rb_hash_lookup2 when available

Change-Id: I98ad466d9d848957c1d5f2817f678ea463b033d0
Reviewed-on: http://review.couchbase.org/23048
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Sokolov Yura <funny.falcon@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Use marshal serializer by default for session store

This change allows to store complex objects like FlashHash from Rails

Change-Id: I40ede6ded4dbf3f286c6b48d4b5ce2554173c9ea
Reviewed-on: http://review.couchbase.org/23064
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Merge branch 'master', remote-tracking branch 'origin'