Skip to content

Commit d04d8ff

Browse files
committed
Remove lager and time_compat.
1 parent 32e31ee commit d04d8ff

File tree

4 files changed

+8
-28
lines changed

4 files changed

+8
-28
lines changed

rebar.config

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
{deps, [
2-
{lager, {git, "https://github.com/basho/lager", {tag, "3.1.0"}}},
3-
{time_compat, {git, "https://github.com/lasp-lang/time_compat.git", {tag, "0.0.2"}}}
4-
]}.
1+
{deps, []}.
52

63
{dialyzer_base_plt_apps, [kernel, stdlib, erts, sasl, eunit, syntax_tools, compiler, crypto]}.
74
{xref_checks, [undefined_function_calls]}.
85
{erl_opts, [debug_info,
96
warnings_as_errors,
10-
{platform_define, "^[0-9]+", namespaced_types},
11-
{parse_transform, lager_transform}]}.
7+
{platform_define, "^[0-9]+", namespaced_types}]}.
128
{cover_enabled, true}.
139
{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.
1410
{edoc_opts, [{preprocess, true}]}.

rebar.lock

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1 @@
1-
[{<<"goldrush">>,
2-
{git,"https://github.com/DeadZen/goldrush.git",
3-
{ref,"212299233c7e7eb63a97be2777e1c05ebaa58dbe"}},
4-
1},
5-
{<<"lager">>,
6-
{git,"https://github.com/basho/lager",
7-
{ref,"b2cb2735713e3021e0761623ff595d53a545438e"}},
8-
0},
9-
{<<"time_compat">>,
10-
{git,"https://github.com/lasp-lang/time_compat.git",
11-
{ref,"6007f68892104ebb6fa2366cebf9d928d8856273"}},
12-
0}].
1+
[].

src/async_iterate.erl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,12 @@ handle_call(iterator, _From, #state{tid=Tid}=State) ->
9494
handle_call({next, Continuation}, From, #state{finished=Finished}=State) ->
9595
read(From, Finished, Continuation),
9696
{noreply, State};
97-
handle_call(Msg, _From, State) ->
98-
lager:warning("Unhandled messages: ~p", [Msg]),
97+
handle_call(_Msg, _From, State) ->
9998
{reply, ok, State}.
10099

101100
%% @private
102101
-spec handle_cast(term(), #state{}) -> {noreply, #state{}}.
103-
handle_cast(Msg, State) ->
104-
lager:warning("Unhandled messages: ~p", [Msg]),
102+
handle_cast(_Msg, State) ->
105103
{noreply, State}.
106104

107105
%% @private
@@ -121,8 +119,7 @@ handle_info({value, Value}, #state{tid=Tid, next_position=NextPosition}=State) -
121119
%% ets table.
122120
true = ets:insert(Tid, [{NextPosition, Value}]),
123121
{noreply, State#state{next_position=NextPosition+1}};
124-
handle_info(Msg, State) ->
125-
lager:warning("Unhandled messages: ~p", [Msg]),
122+
handle_info(_Msg, State) ->
126123
{noreply, State}.
127124

128125
%% @private

src/types.app.src

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
{applications, [
77
kernel,
88
stdlib,
9-
crypto,
10-
lager
9+
crypto
1110
]},
1211
{mod, {types_app, []}},
13-
{modules, []},
14-
{env, [{types, "data"}]}
12+
{modules, []}
1513
]}.

0 commit comments

Comments
 (0)