Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 12, 2012
  1. Add pttl method

    authored
Commits on Apr 10, 2012
Commits on Mar 26, 2012
Commits on Mar 25, 2012
  1. Cut mock_redis 0.4.1 release

    Greg Hurrell authored
    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>
  2. Add a .mailmap file

    Greg Hurrell authored
    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>
  3. @cander

    Fixed hash methods to handle non-string fields

    cander authored Greg Hurrell committed
    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>
Commits on Mar 18, 2012
  1. @cander

    Fixed zset methods to handle non-string members

    cander authored Greg Hurrell committed
    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>
Commits on Mar 5, 2012
  1. @lann

    Cut 0.4.0 mock_redis release

    Greg Hurrell authored lann committed
    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>
  2. @cander

    Spec for zremrangebyrank when start is too large

    cander authored Greg Hurrell committed
    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>
  3. @cander

    Fix nil pointer zrange when start is too large.

    cander authored Greg Hurrell committed
    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>
  4. @mattly

    Add support for mapped_hmset

    mattly authored Greg Hurrell committed
    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>
  5. @mattly

    Add support for mapped_hmget

    mattly authored Greg Hurrell committed
    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>
  6. Fix ttl calculation (was off by 1)

    Daniel Quimper authored Greg Hurrell committed
    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>
  7. Added pipelined method

    Daniel Quimper authored Greg Hurrell committed
    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>
  8. Add .rvmrc to the ignore list

    Daniel Quimper authored Greg Hurrell committed
    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>
Commits on Dec 16, 2011
  1. @lann

    Update owner info in mock_redis gemspec

    Greg Hurrell authored lann committed
    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>
Commits on Dec 3, 2011
  1. Bump version and changelog for 0.3.0 release

    Greg Hurrell authored Shane da Silva committed
    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>
  2. @ryansch

    Fixing empty set behavior in with_thing_at

    ryansch authored Shane da Silva committed
    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>
  3. @ryansch

    Fixing set store methods wrt existing destination

    ryansch authored Shane da Silva committed
    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>
  4. Add rake as a development dependency

    Greg Hurrell authored Shane da Silva committed
    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>
  5. @ejfinneran

    Support redisrb's hash operator for get/set

    ejfinneran authored Shane da Silva committed
    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>
  6. Drop ZenTest as a development dependency

    Greg Hurrell authored Shane da Silva committed
    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>
Commits on Sep 28, 2011
  1. @smerritt

    Update version + changelog

    smerritt authored
  2. @smerritt

    Merge branch 'block-syntax'

    smerritt authored
  3. @smerritt

    Small spec tweak.

    smerritt authored
    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.
Commits on Sep 25, 2011
  1. @ejfinneran

    Add support for multi block syntax

    ejfinneran authored
    Redis-rb supports redis.multi do... syntax and this changes allows
    mock_redis to do the same.
Commits on Aug 24, 2011
  1. @smerritt

    Fixes for 1.9.2.

    smerritt authored
    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.
  2. @smerritt

    Fix typo in README

    smerritt authored
  3. @smerritt
  4. @smerritt
  5. @smerritt

    Support non-numeric endpoints in zrevrangebyscore.

    smerritt authored
    This pushes the logic for handling -inf, +inf, etc. into the Zset
    class and out of the individual commands.
  6. @smerritt
  7. @smerritt
  8. @SweeD
Commits on Jul 18, 2011
  1. @smerritt

    Add changelog

    smerritt authored
Something went wrong with that request. Please try again.