Permalink
Commits on Jun 5, 2012
  1. Update dependency for windows gem

    Change-Id: Ieb708f7400a03306deca94a900872180b1a583a2
    Reviewed-on: http://review.couchbase.org/16818
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Jun 5, 2012
  2. Bump version 1.2.0.dp2

    Change-Id: I8de28715ca45eaf640d616c4ac0e8b13c0954597
    Reviewed-on: http://review.couchbase.org/16806
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Jun 5, 2012
  3. Merge "Merge branch 'release11'"

    ingenthr committed with Gerrit Code Review Jun 5, 2012
  4. Configure travis-ci notification recipients

    Change-Id: Iec163210d27c5ceab84c5ab6a606c20cbe392d1f
    Reviewed-on: http://review.couchbase.org/16801
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed with ingenthr Jun 5, 2012
  5. Merge branch 'release11'

    * release11:
      Bump version 1.1.2
      Upgrade libcouchbase dependency
      [backport] Use debugger gem for 1.9.x rubies
    
    Conflicts:
    	HISTORY.markdown
    	couchbase.gemspec
    	lib/couchbase/version.rb
    	tasks/compile.rake
    
    Change-Id: I986cc121ed979f3da5c4249de0d8e8e68f1a7e99
    avsej committed Jun 5, 2012
  6. Bump version 1.1.2

    Change-Id: If73e394a00a71b4697697ece3a84ac79d9857131
    Reviewed-on: http://review.couchbase.org/16793
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed Jun 5, 2012
  7. Upgrade libcouchbase dependency

    Change-Id: I09f7b633df9931d28dfa01478f75011b4454b454
    Reviewed-on: http://review.couchbase.org/16792
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed Jun 5, 2012
  8. [backport] Use debugger gem for 1.9.x rubies

    Change-Id: I69ad4c39e099a2a791e64a3f617685459c76e9b3
    Reviewed-on: http://review.couchbase.org/16791
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed May 28, 2012
Commits on Jun 4, 2012
  1. Add table of possible values for error atttribute of the exception

    Change-Id: I6a5449fb1150855138dafa36bfd9e2324c2c1dd8
    Reviewed-on: http://review.couchbase.org/16725
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Jun 4, 2012
  2. Implement get with lock operation

    Change-Id: I9f45616f78af0752f5fcfecf9b2a21652897ade1
    Reviewed-on: http://review.couchbase.org/16717
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed Jun 4, 2012
Commits on Jun 3, 2012
  1. Remove some APT sources before 'apt-get update'

    It fixes issue when travis cannot perform 'apt-get update' because of some
    of these sources. Also it should speedup the installation process.
    
    Change-Id: I389c738027b649a92490c058066c786cb42dc48d
    Reviewed-on: http://review.couchbase.org/16711
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed with ingenthr Jun 3, 2012
  2. Require yajl as development dependency

    1.8.x platform doesn't have built-in JSON parser, so it should load
    something for it before. See multi-json supported libraries.
    
    Change-Id: I4328246652e05d7456f10b8aff9cbf1776628b09
    Reviewed-on: http://review.couchbase.org/16709
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed with ingenthr Jun 3, 2012
  3. Use latest stable build of libcouchbase for travis-ci

    Change-Id: I61342cb71a72cabc73f8f2b1455bdd6c4039d630
    Reviewed-on: http://review.couchbase.org/16708
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Matt Ingenthron <matt@couchbase.com>
    avsej committed with ingenthr Jun 3, 2012
Commits on May 31, 2012
  1. Use debugger gem for 1.9.x rubies

    Change-Id: I849527c540cd432f82241041572c3c44fabee214
    Reviewed-on: http://review.couchbase.org/16464
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson May 28, 2012
  2. Use plain structs instead of typedefs

    Change-Id: I6659afb1c01ab5b90ae4c5ea3d8f66b430c34bb2
    Reviewed-on: http://review.couchbase.org/16465
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson May 28, 2012
  3. Define views only if "views" key presented

    Change-Id: I323d02aae236170b30d75c82ed95a44d1599964b
    Reviewed-on: http://review.couchbase.org/16406
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson May 24, 2012
  4. Specify HTTP method when body is set for View request

    Change-Id: I5897f01d58fe094fe5256a72d19e86b58329db0d
    Reviewed-on: http://review.couchbase.org/15699
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson May 7, 2012
  5. Fix view iterator. It doesn't lock event loop anymore

    Change-Id: Iad4eacf012ed2381b29ff811c06c8a9e99f0f800
    Reviewed-on: http://review.couchbase.org/14993
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Jasdeep Jaitla <jasdeep@scalabl3.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson Apr 18, 2012
Commits on May 24, 2012
  1. Allow to block and wait for part of the requests

    Change-Id: I609b3066ac670f0614d6864dd7c1f4a9c25ea230
    Reviewed-on: http://review.couchbase.org/14963
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Apr 17, 2012
  2. RCBC-34 Use multi_json gem

    multi_json is more portable way to use JSON parser/generator
    
    Change-Id: Ia23b0952cb72364dc9d84bba215c39ba96a79c65
    Reviewed-on: http://review.couchbase.org/16153
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed May 17, 2012
  3. RCBC-35 Fix the params escaping

    Change-Id: I0a0b58b56ca035e9bfe835c23e7e68213d9bbb2c
    Reviewed-on: http://review.couchbase.org/16339
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Jan Lehnardt <jan@couchbase.com>
    avsej committed May 23, 2012
Commits on May 9, 2012
  1. Allow to stop event loop from ruby

    Change-Id: I172c2b7401957bf0cd6d3d16e42ed6ed39136840
    Reviewed-on: http://review.couchbase.org/14992
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson Apr 10, 2012
Commits on Apr 20, 2012
  1. Implement threshold for outgoing commands

    Now the user could specify the value in bytes and the library will send the
    commands to the cluster if the total length of the commands scheduled
    exceeds that number
    
      c = Couchbase.connect
      sent = 0
      c.run(:send_threshold => 8192) do  # 8Kb
        c.set("foo1", "x" * 100) {|r| sent += 1}
        # 128 bytes buffered, sent is 0 now
        c.set("foo2", "x" * 10000) {|r| sent += 1}
        # 10028 bytes added, sent is 2 now
        c.set("foo3", "x" * 100) {|r| sent += 1}
      end
      # all commands were executed and sent is 3 now
    
    Change-Id: Ia59f75ac57e636dd7e0bffe25390de0b5da5607e
    Reviewed-on: http://review.couchbase.org/14962
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    avsej committed with alk Apr 17, 2012
  2. Use monotonic high resolution clock

    Stolen from libcouchbase
    
    Change-Id: Ib9fb6e0fe5267cd185930f398174dab5b8ee1ac0
    Reviewed-on: http://review.couchbase.org/14980
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    avsej committed with alk Apr 18, 2012
Commits on Apr 17, 2012
  1. RCBC-31 Make Bucket#get more consistent

    Now it take into account the type of argument(s) it received:
    
      get(["foo"])  #=> ["bar"]
      get("foo")    #=> "bar"
      get(["x"], :extended => true) #=> {"x"=>["xval", 0, 18336939621176836096]}
    
    Change-Id: Ic16463793dfa805e0af278be6e6eab95e6465834
    Reviewed-on: http://review.couchbase.org/14759
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson Apr 11, 2012
  2. Fix typos in README

    Change-Id: I63e894d8026ef4c006adce11fd2dab7a276d475d
    Reviewed-on: http://review.couchbase.org/14836
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson Apr 13, 2012
Commits on Apr 10, 2012
  1. Update package versions

    Change-Id: Ib481bc4b56e27a423d5b34581209f865e80d5802
    Reviewed-on: http://review.couchbase.org/14725
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Apr 10, 2012
  2. Bump version to 1.2.0.dp

    DP = Development Preview
    
    Change-Id: Id5ae14974f53859c9fd1fb553314a8dcca4fa06a
    Reviewed-on: http://review.couchbase.org/14358
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Mar 27, 2012
Commits on Apr 9, 2012
  1. Verbose by default. Throw exceptions on NOT_FOUND errors

    Change-Id: Ic2a10a7d879333894f9916d298ce211314d78d9e
    Reviewed-on: http://review.couchbase.org/14659
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson Apr 6, 2012
Commits on Apr 6, 2012
  1. Implement views

    Change-Id: I0abc65fddbb86a944b19aa3d62eff083fadf091a
    Reviewed-on: http://review.couchbase.org/13937
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    avsej committed Mar 13, 2012
  2. Use preview version of the libcouchbase

    Change-Id: Ib9f0230796e707067f8750608df9fc6187b1bcb0
    Reviewed-on: http://review.couchbase.org/14585
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed Apr 5, 2012
  3. Do not create zipball

    Change-Id: If2410876dc6374e7480eb5ed96062198e18abff6
    Reviewed-on: http://review.couchbase.org/14629
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed Apr 6, 2012
Commits on Apr 2, 2012
  1. Convert connection_options into Array if needed

    This patch fixes the case when splat operator applied to Hash, e.g.
    
      Couchbase.connection_options = {:port => 9000, :bucket => 'myapp'}
    
    Change-Id: I332881bbd0386b1fc859f906cf591bf9add67406
    Reviewed-on: http://review.couchbase.org/14370
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson Mar 27, 2012
Commits on Mar 30, 2012
  1. There no such class Boolean in ruby

    Change-Id: I2ae54e3748bb53ed9c96046dbfbe6811047d123d
    Reviewed-on: http://review.couchbase.org/14355
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson Mar 27, 2012
  2. Update @see link

    Change-Id: Ib927de91070fe3b7d495ad760a8bdd4c758d9f9a
    Reviewed-on: http://review.couchbase.org/14354
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Chris Anderson <jchris@couchbase.com>
    avsej committed with Chris Anderson Mar 27, 2012