Commits

Jacob Perkins committed e81e2af

vsn 0.2.1

  • Participants
  • Parent commits 855590a

Comments (0)

Files changed (3)

File ebin/erldis.app

 {application, erldis, [
 	{description, "Erlang Redis application"},
-	{vsn, "0.2.0"},
+	{vsn, "0.2.1"},
 	{registered, [erldis_sup]},
 	{mod, {erldis_app, []}},
 	{applications, [kernel, stdlib]},

File ebin/erldis.appup

-{"0.2.0", [
+{"0.2.1", [
+	{"0.2.0", [{load_module, erldis}]},
 	{"0.1.6", [
 		{add_module, erldis_binaries},
 		{load_module, erldis_client},
 		{add_module, erldis_sets}
 	]}
 ], [
+	{"0.2.0", [{load_module, erldis}]},
 	{"0.1.6", [
 		{load_module, erldis_client},
 		{load_module, erldis},

File src/erldis.erl

 withscores([], Acc) ->
 	lists:reverse(Acc);
 withscores([_], _Acc) ->
-	throw({error, invalid_scores_list});
-withscores([Member | [Score | T]], Acc) ->
+	erlang:error(badarg);
+withscores([Member, Score | T], Acc) ->
 	withscores(T, [{Member, numeric(Score)} | Acc]).