Merge: Counter: fixes
authorJean Privat <jean@pryen.org>
Tue, 28 Feb 2017 13:26:03 +0000 (08:26 -0500)
committerJean Privat <jean@pryen.org>
Tue, 28 Feb 2017 13:26:03 +0000 (08:26 -0500)
commit479a3040379389f3de4d6a5f2e3cf45ed4b3cf9c
tree246d83ffab221e62bca8290e835c1ae70d6271b2
parent0589e2e13e103d64359331f4c1aa643bd4e74596
parent3a2d93f0d7f923dcc8e81467fda8e9162f8af9f3
Merge: Counter: fixes

Hey there,

Some fixes to counter:
* the first one should not be subject to discussion since it only fix the to_s nullable elements.
* the second one is more tricky. I propose to change the add_all behavior to increment all values instead of just rewriting them.

@privat, you are the main user of the `counter` lib, what is you feeling about that?

Pull-Request: #2377