Skip to content

Commit

Permalink
Completely remove usec from the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Feb 16, 2021
1 parent 7fc1574 commit 68faf1b
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 13 deletions.
1 change: 0 additions & 1 deletion big_tests/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
%% We use https:// instead of git://
{deps, [
{base16, {git, "https://github.com/esl/base16.git", {tag, "1.1.0"}}},
{usec, {git, "https://github.com/esl/usec.git", {branch, "master"}}},
{bbmustache, "1.10.0"},
{erlsh, {git, "https://github.com/proger/erlsh.git", {ref, "4e8a107"}}},
{jiffy, "1.0.5"},
Expand Down
4 changes: 0 additions & 4 deletions big_tests/rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@
{ref,"0f0df1b10aac78cbe6088b142d172de43fc387a3"}},
1},
{<<"stun">>,{pkg,<<"stun">>,<<"1.0.32">>},1},
{<<"usec">>,
{git,"https://github.com/esl/usec.git",
{ref,"f85ffd8350d7000c26392c18bdfcdbb30f3b5ee8"}},
0},
{<<"uuid">>,{pkg,<<"uuid_erl">>,<<"1.8.0">>},1},
{<<"worker_pool">>,{pkg,<<"worker_pool">>,<<"3.2.0">>},1}]}.
[
Expand Down
2 changes: 1 addition & 1 deletion big_tests/tests/ejabberdctl_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ set_last(Config) ->

escalus:wait_for_stanza(Alice), % ignore push

Now = usec:to_sec(usec:from_now(os:timestamp())),
Now = os:system_time(second),
TS = integer_to_list(Now - 7200),
{_, 0} = ejabberdctl("set_last", [BobName, Domain, TS, "Status"], Config),
escalus:send(Alice, escalus_stanza:last_activity(BobJid)),
Expand Down
2 changes: 1 addition & 1 deletion big_tests/tests/mam_helper.erl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ wait_for_complete_archive_response(P, Alice, ExpectedCompleteValue)
#{mam_props => P, parsed_iq => ParsedIQ}).

make_iso_time(Micro) ->
calendar:system_time_to_rfc3339(usec:to_sec(Micro), [{offset, "Z"}]).
calendar:system_time_to_rfc3339(erlang:convert_time_unit(Micro, microsecond, second), [{offset, "Z"}]).

generate_message_text(N) when is_integer(N) ->
<<"Message #", (list_to_binary(integer_to_list(N)))/binary>>.
Expand Down
1 change: 0 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
{meck, "0.8.13"},

{pa, {git, "https://github.com/erszcz/pa.git", {branch, "master"}}},
{usec, {git, "https://github.com/esl/usec.git", {branch, "master"}}},
{bbmustache, "1.10.0"},
{recon, "2.5.1"},
{erlcloud, "3.3.1"},
Expand Down
4 changes: 0 additions & 4 deletions rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,6 @@
{<<"tomerl">>,{pkg,<<"tomerl">>,<<"0.4.0">>},0},
{<<"trails">>,{pkg,<<"trails">>,<<"2.1.0">>},0},
{<<"unicode_util_compat">>,{pkg,<<"unicode_util_compat">>,<<"0.5.0">>},1},
{<<"usec">>,
{git,"https://github.com/esl/usec.git",
{ref,"f85ffd8350d7000c26392c18bdfcdbb30f3b5ee8"}},
0},
{<<"uuid">>,{pkg,<<"uuid_erl">>,<<"1.8.0">>},0},
{<<"worker_pool">>,{pkg,<<"worker_pool">>,<<"4.0.3">>},0}]}.
[
Expand Down
1 change: 0 additions & 1 deletion src/mongooseim.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
jid,
fast_tls,
tirerl,
usec,
uuid,
xmerl,
worker_pool,
Expand Down

0 comments on commit 68faf1b

Please sign in to comment.