Skip to content

Commit

Permalink
[AUTO] [ RTI-13369 ] Update Dependencies (#46)
Browse files Browse the repository at this point in the history
* Update dependencies

* Adjust to new hex_core format

Co-authored-by: Brujo Benavides Rodriguez <elbrujohalcon@gmail.com>
  • Loading branch information
adroll-rtb-ci and elbrujohalcon authored Nov 7, 2022
1 parent 536cc39 commit 794f27d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{cover_opts, [verbose]}.

{deps, [{hex_core, "~> 0.8.4"}, {verl, "~> 1.1.1"}]}.
{deps, [{hex_core, "~> 0.9.0"}, {verl, "~> 1.1.1"}]}.

{profiles, [{test, [{deps, [{meck, "~> 0.9.2"}]}]}]}.

Expand Down
6 changes: 3 additions & 3 deletions rebar.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{"1.2.0",
[{<<"hex_core">>,{pkg,<<"hex_core">>,<<"0.8.4">>},0},
[{<<"hex_core">>,{pkg,<<"hex_core">>,<<"0.9.0">>},0},
{<<"verl">>,{pkg,<<"verl">>,<<"1.1.1">>},0}]}.
[
{pkg_hash,[
{<<"hex_core">>, <<"FF38B56D164D5987962232C28D769661907B55CE1F058CAECA8E0C8CA5BD85C8">>},
{<<"hex_core">>, <<"BA2B3B8F3FF821B9BAD0C9DAF4D6F76807BB4A13185E2A2EE6AD89F76FC5753C">>},
{<<"verl">>, <<"98F3EC48B943AA4AE8E29742DE86A7CD752513687911FE07D2E00ECDF3107E45">>}]},
{pkg_hash_ext,[
{<<"hex_core">>, <<"4B8C21FA049515D778395E38B0D0E5D48B7ECDC703BBA1F7007E2651292CE61A">>},
{<<"hex_core">>, <<"F160418B48511A08DFDB473814A8C8F95ED109878A74649464F13816036CC2F1">>},
{<<"verl">>, <<"0925E51CD92A0A8BE271765B02430B2E2CFF8AC30EF24D123BD0D58511E8FB18">>}]}
].
2 changes: 1 addition & 1 deletion src/dep_hex.erl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
-spec get_latest_vsn(atom()) -> binary() | undefined.
get_latest_vsn(Name) ->
case hex_repo:get_package(config(), atom_to_binary(Name, utf8)) of
{ok, {200, _, [_ | _] = Versions}} ->
{ok, {200, _, #{releases := [_ | _] = Versions}}} ->
lists:last([Version || #{version := Version} <- Versions]);
Other ->
rebar_api:warn("Couldn't fetch latest version of ~p from hex.pm:\n~p", [Name, Other]),
Expand Down

0 comments on commit 794f27d

Please sign in to comment.