Skip to content

Commit

Permalink
Version bump, and quick fix to test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
choptastic committed Jun 18, 2014
1 parent 2efb941 commit af19aa6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}},
Expand Down
4 changes: 2 additions & 2 deletions rebar.test.config
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}},
Expand Down
2 changes: 1 addition & 1 deletion src/boss_db.app.src
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/boss_db_test_app.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit af19aa6

Please sign in to comment.