Uploaded image for project: 'Couchbase Ruby client library'
  1. Couchbase Ruby client library
  2. RCBC-152

environment setting on bucket connection doesn't set to :development when specified

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.3.5
    • Component/s: library
    • Security Level: Public
    • Labels:
      None

      Description

      prod = Couchbase.new ( bucket: 'mybucket', environment: :production )
      print prod.environment.to_s
      p prod

      dev = Couchbase.new ( bucket: 'mybucket', environment: :development )
      print dev.environment.to_s
      p dev

      — output

      production - #<Couchbase::Bucket:0x007fab008669d0 "http://localhost:8091/pools/default/buckets/mybucket/" transcoder=Couchbase::Transcoder::Document, default_flags=0x0, quiet=false, connected=true, timeout=2500000>

      production - #<Couchbase::Bucket:0x007fab0086dc08 "http://localhost:8091/pools/default/buckets/mybucket/" transcoder=Couchbase::Transcoder::Document, default_flags=0x0, quiet=false, connected=true, timeout=2500000>

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Show
        avsej Sergey Avseyev added a comment - http://review.couchbase.org/32318

          People

          • Assignee:
            avsej Sergey Avseyev
            Reporter:
            scalabl3 scalabl3
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes