Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reformat, refactor, convert smoke test to ounit #37

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
33c7713
reformat, refactor, convert smoke test to ounit
joelreymont May 5, 2011
c5afbc3
a few renames for clarity
joelreymont May 5, 2011
f80b353
connection is now the first argument
joelreymont May 5, 2011
3736905
refactor bulk and multibulk
joelreymont May 6, 2011
d046017
use int64 instead of float for large ints
joelreymont May 6, 2011
3559da1
remove unused exceptions
joelreymont May 6, 2011
1e1bd95
minor
joelreymont May 6, 2011
7d26a3d
install library as redis
joelreymont May 9, 2011
24fde98
add missing module to the library
joelreymont May 9, 2011
a870899
make incr/decr return int64 as per the redis docs
joelreymont May 9, 2011
dcc943a
HSETNX
joelreymont May 10, 2011
ed1e807
format floats to 8 decimal points
joelreymont May 10, 2011
e678d68
zscore can reeturn nil
joelreymont May 10, 2011
126ca0d
fix rank
joelreymont May 10, 2011
21749d7
make sure optional values are used only when nil can be returned by r…
joelreymont May 11, 2011
56b7b68
mget and hmget always return a non-optional list
joelreymont May 11, 2011
2fec34c
fix processing of empty strings
joelreymont May 11, 2011
fb068fb
get rid of one, many, pair, etc. now that types are greatly simplified
joelreymont May 12, 2011
c44e85d
use input_line, make connection a record with buffers and make the co…
joelreymont May 15, 2011
2db8669
expect ok on quit
joelreymont May 15, 2011
21f9a0b
fix typo
joelreymont May 15, 2011
1ed22e4
pipelining, about doubles performance
joelreymont May 15, 2011
93172df
remove debug printout
joelreymont May 15, 2011
ce43da2
avoid blowing the stack when fetching millions of keys
joelreymont May 31, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _oasis
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Synopsis: Redis client

Library redis
Build: true
FindlibName: ocaml-redis
FindlibName: redis
Path: src
Modules: Redis
Modules: Redis, Redis_common
BuildDepends: unix
Install: true
CompiledObject: best
Expand All @@ -26,7 +26,7 @@ Executable test
MainIs: test.ml
Install: false
Build$: flag(tests)
BuildDepends: oUnit (>= 1.1.0), ocaml-redis, str
BuildDepends: oUnit (>= 1.1.0), redis, str
CompiledObject: best

Test main
Expand Down
6 changes: 3 additions & 3 deletions setup.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* setup.ml generated for the first time by OASIS v0.2.0 *)

(* OASIS_START *)
(* DO NOT EDIT (digest: 777770f645f54a891354965f857051b2) *)
(* DO NOT EDIT (digest: 80846d5ac11899b1cdfb36881853100e) *)
(*
Regenerated by OASIS v0.2.0
Visit http://oasis.forge.ocamlcore.org for more information and
Expand Down Expand Up @@ -5200,10 +5200,10 @@ let setup_t =
bs_nativeopt = [(OASISExpr.EBool true, [])];
},
{
lib_modules = ["Redis"];
lib_modules = ["Redis"; "Redis_common"];
lib_internal_modules = [];
lib_findlib_parent = None;
lib_findlib_name = Some "ocaml-redis";
lib_findlib_name = Some "redis";
lib_findlib_containers = [];
});
Test
Expand Down
Loading