Details

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

      Description

      Using the 1.1.2 gem, specifying a :delta => 10 does not increment or decrement the value by any given delta.

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

        Activity

        karenzeller karenzeller created issue -
        Hide
        avsej Sergey Avseyev added a comment -

        There is only one mention about :delta option: in README, and currenly I don't have code which does it, but it will be easy to implement

        Show
        avsej Sergey Avseyev added a comment - There is only one mention about :delta option: in README, and currenly I don't have code which does it, but it will be easy to implement
        Hide
        karenzeller karenzeller added a comment -

        So right now in Ruby, the increment and decrement only increment/decrement by 1?

        Show
        karenzeller karenzeller added a comment - So right now in Ruby, the increment and decrement only increment/decrement by 1?
        Hide
        karenzeller karenzeller added a comment -

        If you do implement :delta for incr() and decr(), it would make the SDK more consistent with all the other SDKs....

        Show
        karenzeller karenzeller added a comment - If you do implement :delta for incr() and decr(), it would make the SDK more consistent with all the other SDKs....
        Hide
        avsej Sergey Avseyev added a comment -

        Currently you can specify delta using second argument:

        conn.incr("foo", 100)
        conn.decr("foo", 50)

        Show
        avsej Sergey Avseyev added a comment - Currently you can specify delta using second argument: conn.incr("foo", 100) conn.decr("foo", 50)
        Hide
        avsej Sergey Avseyev added a comment -
        Show
        avsej Sergey Avseyev added a comment - Uploaded fix http://review.couchbase.org/17554
        Hide
        karenzeller karenzeller added a comment -

        Great. Will update doc.

        Show
        karenzeller karenzeller added a comment - Great. Will update doc.
        avsej Sergey Avseyev made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        avsej Sergey Avseyev made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        wayne Wayne Siu added a comment -

        Reopening the ticket for administrative reason.

        Show
        wayne Wayne Siu added a comment - Reopening the ticket for administrative reason.
        wayne Wayne Siu made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee Sergey Avseyev [ avsej ] Wayne Siu [ wayne ]
        wayne Wayne Siu made changes -
        Reporter Karen Zeller [ karenzeller ] Karen Zeller [ kzeller ]
        wayne Wayne Siu made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        wayne Wayne Siu made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 17866 ] Couchbase SDK Workflow [ 44827 ]

          People

          • Assignee:
            wayne Wayne Siu
            Reporter:
            kzeller kzeller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes