Switch branches/tags
Nothing to show
Commits on May 11, 2010
  1. added missing EXPIREAT and SETEX commands

    added a few missing tests
    andymccurdy committed May 11, 2010
Commits on May 9, 2010
  1. Fixed test_hincrby

     * Catch exception RedisError on attempt to increment value "a3".
       Redis gives "-ERR Operation against a key holding the wrong
       kind of value" on such attempts.
    kmerenkov committed May 9, 2010
Commits on May 3, 2010
  1. values with scores of 0 were previously failing due to the way the ca…

    …llback converted values. changed to a separate function to get proper handling. fixes #33
    andymccurdy committed May 3, 2010
Commits on Apr 28, 2010
  1. added pubsub tests

    fixed a typo in hmset from the previous commit
    andymccurdy committed Apr 28, 2010
Commits on Apr 19, 2010
  1. Always return a set object from set-based commands. Thanks Adam Charn…

    …ock for the bug report.
    andymccurdy committed Apr 19, 2010
Commits on Apr 16, 2010
  1. HMGET + tests

    kmerenkov committed with andymccurdy Apr 16, 2010
Commits on Apr 12, 2010
  1. HMSET support

    kmerenkov committed with andymccurdy Apr 12, 2010
  2. [issue 29] Redis instance doesn't use shared connection pool by default

     * Redis constructor accepts connection_pool keyword argument,
       that defaults to None (no shared connection pool).
       However, you can create ConnectionManager instance yourself
       and pass it to as many Redis instances as you want, making
       them use shared connection pool.
     * Renamed ConnectionManager to ConnectionPool.
     * Exported ConnectionPool, so now you can import it in your code
       and create instances.
     * Removed test_pipeline_with_fresh_connection test, since
       all redis instances don't use shared pool by default now.
     * corrected few typos in comments.
     * repaired the rest of tests.
    kmerenkov committed with andymccurdy Apr 12, 2010
Commits on Apr 2, 2010
Commits on Apr 1, 2010
  1. Pipeines can not optionally be transactions (wrapped in MULTI/EXEC) o…

    …r not by passing the transaction parameter. This fixes #23.
    andymccurdy committed Apr 1, 2010
Commits on Mar 31, 2010
  1. Move towards binary-safeness of keys and values.

     * Dropped support of all protocols except multi-bulk
       the only protocol that yet to be released redis 2.0 is able
     * As a side-effect there is an 'execute_command' function exposed
       to the library user. As for now it is pretty useless :)
     * Added (only) two tests
    kmerenkov committed Mar 31, 2010
  2. [cosmetic] whitespaces cleanup

    kmerenkov committed Mar 31, 2010
Commits on Mar 30, 2010
  1. added support for subscribe, unsubscribe, publish. tests incoming. pa…

    …ttern is:
    for msg in redis.listen():
        channel, data = msg['channel'], msg['message']
    listen() is a generator that will generate new messages as they come in.  it will continue to block until all channels are unsubscribed.
    andymccurdy committed Mar 30, 2010
Commits on Mar 26, 2010
  1. * fix for #21, make only the "db" argument of select() required. If h…

    …ost and port aren't specified, the host/port options on the existing connection are used.
    * added HINCRBY support
    andymccurdy committed Mar 26, 2010
Commits on Mar 18, 2010
  1. HEXISTS and HLEN implementations

    added a socket_timeout parameter to allow commands to timeout and raise an error
    andymccurdy committed Mar 18, 2010
Commits on Mar 16, 2010
  1. fix for #18 -- i had copy/pasted some code from another function and …

    …forgot to actually change it! thanks to Sam (SJD) for the bug report
    andymccurdy committed Mar 16, 2010
Commits on Mar 15, 2010
  1. HDEL implemented

    andymccurdy committed Mar 15, 2010
Commits on Mar 12, 2010
  1. no reason to join the names here -- just let the format_inline do it,…

    … that way we get the benefit of encoding, too!
    andymccurdy committed Mar 12, 2010
  2. Fixed a bug with pipeline execution of AUTH and SELECT commands. Thes…

    …e failed after MULTI and EXEC were added, since you can't run MULTI until you've auth'd, and it doesn't make sense to run SELECT within a multi/exec.
    Thanks Pat Shields for the bug report
    andymccurdy committed Mar 12, 2010