Skip to content

Commit

Permalink
Override pars_trans to fix issue with publishing to hex.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
surik authored and mgumz committed Aug 8, 2018
1 parent 65fc4be commit c3f5034
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
15 changes: 15 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,18 @@
{hackney, "1.12.1"},
{exometer_core, "1.5.2"}
]}.

{overrides, [
{override, exometer_core, [
% There is version conflict between parse_trans in certifi(comes with hackney)
% and parse_trans in exometer_core. We override dependencies for exometer_core
% to have ability to publish exometer_core to hex.pm.
{deps, [
{lager, "~>3.5.0"},
{parse_trans, "~>3.2.0"}, % to have the same version with certifi
{folsom, "~>0.8.5"},
{setup, "~>1.8.2"},
{hut, "~>1.2.0"}
]}
]}
]}.
12 changes: 6 additions & 6 deletions rebar.lock
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{"1.1.0",
[{<<"bear">>,{pkg,<<"bear">>,<<"0.8.5">>},2},
[{<<"bear">>,{pkg,<<"bear">>,<<"0.8.7">>},2},
{<<"certifi">>,{pkg,<<"certifi">>,<<"2.3.1">>},1},
{<<"exometer_core">>,{pkg,<<"exometer_core">>,<<"1.5.2">>},0},
{<<"folsom">>,{pkg,<<"folsom">>,<<"0.8.5">>},1},
{<<"folsom">>,{pkg,<<"folsom">>,<<"0.8.7">>},1},
{<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.9">>},2},
{<<"hackney">>,{pkg,<<"hackney">>,<<"1.12.1">>},0},
{<<"hut">>,{pkg,<<"hut">>,<<"1.2.0">>},1},
{<<"idna">>,{pkg,<<"idna">>,<<"5.1.1">>},1},
{<<"lager">>,{pkg,<<"lager">>,<<"3.5.2">>},1},
{<<"metrics">>,{pkg,<<"metrics">>,<<"1.0.1">>},1},
{<<"mimerl">>,{pkg,<<"mimerl">>,<<"1.0.2">>},1},
{<<"parse_trans">>,{pkg,<<"parse_trans">>,<<"3.0.0">>},1},
{<<"parse_trans">>,{pkg,<<"parse_trans">>,<<"3.2.0">>},1},
{<<"setup">>,{pkg,<<"setup">>,<<"1.8.4">>},1},
{<<"ssl_verify_fun">>,{pkg,<<"ssl_verify_fun">>,<<"1.1.1">>},1},
{<<"unicode_util_compat">>,{pkg,<<"unicode_util_compat">>,<<"0.3.1">>},2}]}.
[
{pkg_hash,[
{<<"bear">>, <<"E95FCA1627CD9E15BAF93CE0A52AFF16917BAF325F0EE65B88CD715376CD2344">>},
{<<"bear">>, <<"16264309AE5D005D03718A5C82641FCC259C9E8F09ADEB6FD79CA4271168656F">>},
{<<"certifi">>, <<"D0F424232390BF47D82DA8478022301C561CF6445B5B5FB6A84D49A9E76D2639">>},
{<<"exometer_core">>, <<"62A99A361BA8A14D53857D4C716A191E810299D2F43C5C981EB7B086C0BFCCE1">>},
{<<"folsom">>, <<"94A027B56FE84FEED264F9B33CB4C6AC9A801FAD84B87DBDA0836CE83C3B8D69">>},
{<<"folsom">>, <<"A885F0AEEE4C84270954C88A55A5A473D6B2C7493E32FFDC5765412DD555A951">>},
{<<"goldrush">>, <<"F06E5D5F1277DA5C413E84D5A2924174182FB108DABB39D5EC548B27424CD106">>},
{<<"hackney">>, <<"8BF2D0E11E722E533903FE126E14D6E7E94D9B7983CED595B75F532E04B7FDC7">>},
{<<"hut">>, <<"0089DF0FAA2827C605BBADA88153F24FFF5EA7A4BE32ECF0250A7FDC2719CAFB">>},
{<<"idna">>, <<"CBC3B2FA1645113267CC59C760BAFA64B2EA0334635EF06DBAC8801E42F7279C">>},
{<<"lager">>, <<"614A8C8F67BF99B69EB264EA22121AD25511C055AAEC09B086773D5108C6767F">>},
{<<"metrics">>, <<"25F094DEA2CDA98213CECC3AEFF09E940299D950904393B2A29D191C346A8486">>},
{<<"mimerl">>, <<"993F9B0E084083405ED8252B99460C4F0563E41729AB42D9074FD5E52439BE88">>},
{<<"parse_trans">>, <<"9E96B1C9C3A0DF54E7B76F8F685D38BFA1EB21B31E042B1D1A5A70258E4DB1E3">>},
{<<"parse_trans">>, <<"2ADFA4DAF80C14DC36F522CF190EB5C4EE3E28008FC6394397C16F62A26258C2">>},
{<<"setup">>, <<"738DB0685DC1741F45C6A9BF78478E0D5877F3D0876C0B50FD02F0210EDB5AA4">>},
{<<"ssl_verify_fun">>, <<"28A4D65B7F59893BC2C7DE786DEC1E1555BD742D336043FE644AE956C3497FBE">>},
{<<"unicode_util_compat">>, <<"A1F612A7B512638634A603C8F401892AFBF99B8CE93A45041F8AACA99CADB85E">>}]}
Expand Down

0 comments on commit c3f5034

Please sign in to comment.