Skip to content

Commit

Permalink
Fixes for @gadgetci
Browse files Browse the repository at this point in the history
  • Loading branch information
elbrujohalcon committed Jun 7, 2015
1 parent e6823a5 commit 2f8ea95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CONFIG ?= rel/sys.config
SELL_DEPS = sync
TEST_DEPS = cowboy lager shotgun meck katana xref_runner

dep_meck = https://github.com/eproxus/meck.git 0.8.2
dep_meck = git https://github.com/eproxus/meck.git 0.8.2
dep_cowboy = git https://github.com/extend/cowboy.git 1.0.1
dep_shotgun = git https://github.com/inaka/shotgun.git 0.1.11
dep_katana = git https://github.com/inaka/erlang-katana.git 0.2.5
Expand Down
5 changes: 3 additions & 2 deletions src/lasse_handler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{'nosend', NewState :: any()} |
{'stop', NewState :: any()}.

-callback init(InitArgs :: any(), LastEvtId :: any(), Req :: cowboy_req:req()) ->
-callback init(InitArgs::any(), LastEvtId::any(), Req::cowboy_req:req()) ->
{ok, NewReq :: cowboy_req:req(), State :: any()} |
{no_content, NewReq :: cowboy_req:req()} |
{
Expand Down Expand Up @@ -204,4 +204,5 @@ build_field(Name, Value) ->
build_data(undefined) ->
throw(data_required);
build_data(Data) ->
[[<<"data: ">>, X, <<"\n">>] || X <- binary:split(Data, <<"\n">>, [global])].
[[<<"data: ">>, X, <<"\n">>]
|| X <- binary:split(Data, <<"\n">>, [global])].

0 comments on commit 2f8ea95

Please sign in to comment.