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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.3.5
    • 1.3.3
    • library
    • Security Level: Public
    • 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>

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            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

                PagerDuty