Permalink
Commits on Jun 12, 2012
  1. Add pttl method

    committed Jun 12, 2012
Commits on Apr 10, 2012
Commits on Mar 26, 2012
Commits on Mar 25, 2012
  1. Cut mock_redis 0.4.1 release

    We've received a couple of bug fix pull requests, so may as well cut a
    minor maintenance release.
    
    Related story:
      http://www.pivotaltracker.com/story/show/26970253
      ("Cut mock_redis 0.4.1 release")
    
    Change-Id: Id2ad395cf51741de3adf72c7e68d1ac84f2d78ae
    Reviewed-on: https://gerrit.causes.com/4391
    Tested-by: Greg Hurrell <greg@causes.com>
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Greg Hurrell committed Mar 25, 2012
  2. Add a .mailmap file

    Consolidate the output of `git shortlog -s`.
    
    Change-Id: Ia72546bdd63be066febcef0c6e57b4f73b0b62fb
    Reviewed-on: https://gerrit.causes.com/4390
    Tested-by: Greg Hurrell <greg@causes.com>
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Greg Hurrell committed Mar 25, 2012
  3. Fixed hash methods to handle non-string fields

    Passing a non-string (e.g. integer) member caused incorrect behavior
    because Redis converts all members to strings.
    
    Modified: hdel, hexists, hget, hincrby, and hset.
    
    Via:
    
      brigade#13
    
    Change-Id: I2e1383e51f1986227834a4e8fdb8205990d8eaaa
    Reviewed-on: https://gerrit.causes.com/4389
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Tested-by: Greg Hurrell <greg@causes.com>
    cander committed with Greg Hurrell Mar 24, 2012
Commits on Mar 18, 2012
  1. Fixed zset methods to handle non-string members

    Passing a non-string (e.g. integer) member caused incorrect behavior
    because Redis converts all members to strings.
    Modified: zadd, zincrby, zrank, zrem, zrevrank, and zscore.
    Change-Id: I50c9ca3a9a09d5fa93ca49d9210ffa7c7d4f7880
    Reviewed-on: https://gerrit.causes.com/4107
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Tested-by: Greg Hurrell <greg@causes.com>
    cander committed with Greg Hurrell Mar 17, 2012
Commits on Mar 5, 2012
  1. Cut 0.4.0 mock_redis release

    We've processed all pending pull requests, including some features and a
    couple of bug-fixes, so it's time to cut a new release.
    
    Related story:
      https://www.pivotaltracker.com/story/show/25902899
      ("Cut 0.4.0 mock_redis release")
    
    Change-Id: I640c73b73aa89a1768627257a1567989c3f52ce3
    Reviewed-on: https://gerrit.causes.com/3722
    Tested-by: Greg Hurrell <greg@causes.com>
    Reviewed-by: Lann Martin <lann@causes.com>
    Greg Hurrell committed with lann Mar 5, 2012
  2. Spec for zremrangebyrank when start is too large

    This triggered an underlying error in zrange, for which a spec and patch
    have also been added.
    
    Via:
    
      brigade#11
    
    Change-Id: Iffcc28689ff05aac4ef2d1556a3ac065bc24c60c
    Reviewed-on: https://gerrit.causes.com/3721
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Tested-by: Greg Hurrell <greg@causes.com>
    cander committed with Greg Hurrell Feb 16, 2012
  3. Fix nil pointer zrange when start is too large.

    If the start index is larger than the set size, zrange should return an
    empty set.  Instead,it was triggering a nil pointer error in to_response.
    
    Via:
    
      brigade#11
    
    Change-Id: I2f047e9d7dad59821eb6c649624a681216c69f6e
    Reviewed-on: https://gerrit.causes.com/3720
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Tested-by: Greg Hurrell <greg@causes.com>
    cander committed with Greg Hurrell Feb 16, 2012
  4. Add support for mapped_hmset

    Via:
    
      brigade#10
    
    Change-Id: I66de29dc032e4505a4f43b29c104d5f54287541a
    Reviewed-on: https://gerrit.causes.com/3719
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Tested-by: Greg Hurrell <greg@causes.com>
    mattly committed with Greg Hurrell Feb 6, 2012
  5. Add support for mapped_hmget

    Via:
    
      brigade#10
    
    Change-Id: I8b5a2ce7efd7a8c1f56fe5723e9e5ce8db07c278
    Reviewed-on: https://gerrit.causes.com/3718
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Tested-by: Greg Hurrell <greg@causes.com>
    mattly committed with Greg Hurrell Feb 6, 2012
  6. Fix ttl calculation (was off by 1)

    Via:
    
      brigade#9
    
    Change-Id: I5bd40d0da84f15fd2cc77053eb27e5d4a4a4ee2a
    Reviewed-on: https://gerrit.causes.com/3717
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Tested-by: Greg Hurrell <greg@causes.com>
    Daniel Quimper committed with Greg Hurrell Jan 13, 2012
  7. Added pipelined method

    The redis-rb gem has an implementation of a method called pipelined
    which groups together multiple operations in a single transaction. For
    mocking purposes, faking it without a real transaction should be ok.
    
    Via:
    
      brigade#8
    
    Change-Id: Ic27aee76cbe51bd9cccb3418343fb89b01928386
    Reviewed-on: https://gerrit.causes.com/3716
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Tested-by: Greg Hurrell <greg@causes.com>
    Daniel Quimper committed with Greg Hurrell Jan 13, 2012
  8. Add .rvmrc to the ignore list

    Via:
    
      brigade#8
    
    Change-Id: Id781cf5adeb38c7694da1a3f15fb9defa6cf3ae4
    Reviewed-on: https://gerrit.causes.com/3715
    Reviewed-by: Greg Hurrell <greg@causes.com>
    Tested-by: Greg Hurrell <greg@causes.com>
    Daniel Quimper committed with Greg Hurrell Jan 13, 2012
Commits on Dec 16, 2011
  1. Update owner info in mock_redis gemspec

    Add "Causes Engineering" to the author field in the gemspec. Keep Sam's
    name in the author list, but there's no need to leave his personal email
    address in the email list.
    
    Related story:
      http://www.pivotaltracker.com/story/show/22391457
      ("Update owner info in mock_redis gemspec")
    
    Change-Id: I8839729f7edc78e21ab6b5f7baf537c206860026
    Reviewed-on: https://gerrit.causes.com/1976
    Tested-by: Greg Hurrell <greg@causes.com>
    Reviewed-by: Lann Martin <lann@causes.com>
    Greg Hurrell committed with lann Dec 16, 2011
Commits on Dec 3, 2011
  1. Bump version and changelog for 0.3.0 release

    Change-Id: I4013b957cb18e68aeb2f5884636874ecb8aea884
    Reviewed-on: https://gerrit.causes.com/1529
    Tested-by: Greg Hurrell <greg@causes.com>
    Reviewed-by: Shane da Silva <shane@causes.com>
    Greg Hurrell committed with Shane da Silva Dec 2, 2011
  2. Fixing empty set behavior in with_thing_at

    Change-Id: I5da41ed463daaa6a269d976423f78fb6cd091c3b
    Reviewed-on: https://gerrit.causes.com/1528
    Tested-by: Greg Hurrell <greg@causes.com>
    Reviewed-by: Shane da Silva <shane@causes.com>
    ryansch committed with Shane da Silva Nov 30, 2011
  3. Fixing set store methods wrt existing destination

    Also adding tests for zset store methods
    
    Change-Id: Id62dc85b18340a5bdde56b6000e4ac71d5c99a67
    Reviewed-on: https://gerrit.causes.com/1527
    Tested-by: Greg Hurrell <greg@causes.com>
    Reviewed-by: Shane da Silva <shane@causes.com>
    ryansch committed with Shane da Silva Nov 29, 2011
  4. Add rake as a development dependency

    Rake should be run using "bundle exec rake", otherwise an incompatible
    version of Rake may get loaded.
    
    Change-Id: I963637d60b714d245933a03d1002c9dd9b6d9772
    Reviewed-on: https://gerrit.causes.com/1526
    Tested-by: Greg Hurrell <greg@causes.com>
    Reviewed-by: Shane da Silva <shane@causes.com>
    Greg Hurrell committed with Shane da Silva Dec 2, 2011
  5. Support redisrb's hash operator for get/set

    Change-Id: I0f95aa406c6606382245c6482aa2ef70e0bb4174
    Reviewed-on: https://gerrit.causes.com/1525
    Tested-by: Greg Hurrell <greg@causes.com>
    Reviewed-by: Shane da Silva <shane@causes.com>
    ejfinneran committed with Shane da Silva Nov 14, 2011
  6. Drop ZenTest as a development dependency

    ZenTest wants to force the evil that is RubyGems 1.8 on us, but
    accepting that would mean journeying into a world of spammy deprecation
    notices.
    
    Change-Id: I0badd3f46edb73d25b56c9723630215c15455d9e
    Reviewed-on: https://gerrit.causes.com/1524
    Tested-by: Greg Hurrell <greg@causes.com>
    Reviewed-by: Shane da Silva <shane@causes.com>
    Greg Hurrell committed with Shane da Silva Dec 2, 2011
Commits on Sep 28, 2011
  1. Update version + changelog

    smerritt committed Sep 28, 2011
  2. Merge branch 'block-syntax'

    smerritt committed Sep 28, 2011
  3. Small spec tweak.

    The test for #multi(&blk) was running just against the mock because
    calling methods on @redises inside the block made things all
    wonky. However, the block gets an argument that's the Redis object on
    which multi is called, so if the test uses that instead, then there's
    no confusion around the multiplexer.
    smerritt committed Sep 28, 2011
Commits on Sep 25, 2011
  1. Add support for multi block syntax

    Redis-rb supports redis.multi do... syntax and this changes allows
    mock_redis to do the same.
    ejfinneran committed Sep 25, 2011
Commits on Aug 24, 2011
  1. Fixes for 1.9.2.

    Apparently, 1.9.2 changed the language syntax to disallow colons after
    when clauses in case statements, so
    
    case x
      when Foo:
        true
      when Bar:
        false
    
    is no longer valid Ruby.
    
    Also, 1.9.2 treats "lambda { true }" as a 0-arity lambda, whereas
    1.8.7 treats it as a -1-arity lambda (i.e. takes any number of
    arguments), so a couple lambdas had to sprout argument lists.
    smerritt committed Aug 24, 2011
  2. Fix typo in README

    smerritt committed Aug 24, 2011
  3. Bump version, update changelog.

    smerritt committed Aug 24, 2011
  4. Support non-numeric endpoints in zrevrangebyscore.

    This pushes the logic for handling -inf, +inf, etc. into the Zset
    class and out of the individual commands.
    smerritt committed Aug 24, 2011
Commits on Jul 18, 2011
  1. Add changelog

    smerritt committed Jul 18, 2011