From af19aa629a8832da8b99a0cadb439f9758377146 Mon Sep 17 00:00:00 2001 From: Jesse Gumm Date: Tue, 17 Jun 2014 21:10:28 -0500 Subject: [PATCH] Version bump, and quick fix to test suite --- Makefile | 6 +++--- rebar.config | 2 +- rebar.test.config | 4 ++-- src/boss_db.app.src | 2 +- src/boss_db_test_app.erl | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 6f00e63c..58cab09a 100644 --- a/Makefile +++ b/Makefile @@ -34,12 +34,12 @@ test_db_mock: compile_db_test test_db_mysql: compile_db_test $(ERL) -pa ebin -pa deps/*/ebin -run boss_db_test start -config $(DB_CONFIG_DIR)/mysql -noshell -test_db_pgsql: +test_db_pgsql: compile_db_test $(ERL) -pa ebin -pa deps/*/ebin -run boss_db_test start -config $(DB_CONFIG_DIR)/pgsql -noshell -test_db_mongodb: +test_db_mongodb: compile_db_test echo "db.boss_db_test_models.remove();"|mongo boss_test $(ERL) -pa ebin -pa deps/*/ebin -run boss_db_test start -config $(DB_CONFIG_DIR)/mongodb -noshell -test_db_riak: +test_db_riak: compile_db_test $(ERL) -pa ebin -pa deps/*/ebin -run boss_db_test start -config $(DB_CONFIG_DIR)/riak -noshell diff --git a/rebar.config b/rebar.config index 824a5f7f..a61fa0d8 100644 --- a/rebar.config +++ b/rebar.config @@ -8,7 +8,7 @@ {parse_transform, import_as} ]}. {deps, [ - {boss_test, ".*", {git, "git://github.com/ChicagoBoss/boss_test.git", {branch, master}}}, + {boss_test, ".*", {git, "git://github.com/ChicagoBoss/boss_test.git", {tag, "0.0.1"}}}, {lager, ".*", {git, "git://github.com/basho/lager.git", {tag, "2.0.3"}}}, {erlando, ".*", {git, "git://github.com/ChicagoBoss/erlando.git", {tag, "b0b77dd9b9"}}}, {aleppo, ".*", {git, "git://github.com/ChicagoBoss/aleppo.git", {tag, "bef139e4c7"}}}, diff --git a/rebar.test.config b/rebar.test.config index bc150e86..1ffd7dec 100644 --- a/rebar.test.config +++ b/rebar.test.config @@ -6,10 +6,10 @@ {parse_transform, cut}, {parse_transform, do}, {parse_transform, import_as}, - {d, boss_test} + {d, boss_test} ]}. {deps, [ - {boss_test, ".*", {git, "git://github.com/ChicagoBoss/boss_test.git", {branch, master}}}, + {boss_test, ".*", {git, "git://github.com/ChicagoBoss/boss_test.git", {tag, "0.0.1"}}}, {lager, ".*", {git, "git://github.com/basho/lager.git", {tag, "2.0.3"}}}, {erlando, ".*", {git, "git://github.com/ChicagoBoss/erlando.git", {tag, "b0b77dd9b9"}}}, {aleppo, ".*", {git, "git://github.com/ChicagoBoss/aleppo.git", {tag, "bef139e4c7"}}}, diff --git a/src/boss_db.app.src b/src/boss_db.app.src index 024347f6..35a2c31f 100644 --- a/src/boss_db.app.src +++ b/src/boss_db.app.src @@ -1,7 +1,7 @@ {application, boss_db, [ {description, "BossDB: a sharded, caching, evented ORM"}, - {vsn, "0.1.0"}, + {vsn, "0.8.13"}, {registered, [ boss_cache, boss_cache_sup, boss_db, boss_db_sup, diff --git a/src/boss_db_test_app.erl b/src/boss_db_test_app.erl index eedf53e3..f2e7944c 100644 --- a/src/boss_db_test_app.erl +++ b/src/boss_db_test_app.erl @@ -176,7 +176,7 @@ run_tests_inner() -> {boss_db:count(boss_db_test_model) =:= 3, "Count failed"} end, fun(_) -> - {boss_db:count(boss_db_test_model, []), "Count with empty conditions failed"} + {boss_db:count(boss_db_test_model, []) =:= 3, "Count with empty conditions failed"} end, fun(_) -> {boss_db:count(boss_db_test_model, [{some_integer, 'gt', 50}]) =:= 2,