Skip to content

Commit

Permalink
[rebar3_format-0.8.1] Upgrade the formatter to its latest version (#34)
Browse files Browse the repository at this point in the history
* [rebar3_format-0.8.1] Upgrade the formatter to its latest version

* [rebar3_format-0.8.1] Upgrade erliam
  • Loading branch information
Brujo Benavides authored Nov 24, 2020
1 parent 3eb7a08 commit a967d06
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

{deps, [
{lhttpc, {git,"git://github.com/ferd/lhttpc.git", {tag, "1.2.9"}}},
{erliam, {git, "https://github.com/AdRoll/erliam.git", {tag, "v0.3.0"}}}
{erliam, "0.3.1"}
]}.

{cover_enabled, true}.

{plugins, [rebar3_lint, {rebar3_format, "~> 0.7.0"}]}.
{plugins, [rebar3_lint, {rebar3_format, "~> 0.8.1"}]}.

{dialyzer, [
{warnings, [unknown, no_return, error_handling]},
Expand Down
13 changes: 6 additions & 7 deletions rebar.lock
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
{"1.2.0",
[{<<"erliam">>,
{git,"https://github.com/AdRoll/erliam.git",
{ref,"7c2f4d08c7119e70047e80005e54945a286ab10c"}},
0},
{<<"jiffy">>,{pkg,<<"jiffy">>,<<"1.0.4">>},1},
[{<<"erliam">>,{pkg,<<"erliam">>,<<"0.3.1">>},0},
{<<"jiffy">>,{pkg,<<"jiffy">>,<<"1.0.6">>},1},
{<<"lhttpc">>,
{git,"git://github.com/ferd/lhttpc.git",
{ref,"28d5562be7e53576b624a6f82deac7303ce8f2dd"}},
0}]}.
[
{pkg_hash,[
{<<"jiffy">>, <<"72ADEFF75C52A2FF07DE738F0813768ABE7CE158026CC1115A170340259C0CAA">>}]},
{<<"erliam">>, <<"6F64A462DEF3E10696185B94E2555F4A00C4C72438F369029617B0994C699F74">>},
{<<"jiffy">>, <<"8F0AB1D44D72F9A80556EA559907B669574134911FECF836EEB3DB1D238A6899">>}]},
{pkg_hash_ext,[
{<<"jiffy">>, <<"113E5299EE4E6B9F40204256D7BBBD1CAF646EDEAEF31EF0F7F5F842C0DAD39E">>}]}
{<<"erliam">>, <<"8043D85EBFC35EAB3B9AF29BCD0CA76BDC7ECE6F59FAC05CB1458CD144476578">>},
{<<"jiffy">>, <<"6614F7B7EEF8DFE242BF7A74EFE68CEC49989F84C9E40C091F5A58792C65F1C8">>}]}
].
4 changes: 2 additions & 2 deletions src/dinerl.erl
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ batch_write_item(TableName, PutItems, DeleteKeys) ->
api(batch_write_item,
[{<<"RequestItems">>,
[{TableName,
lists:map(fun make_batch_put/1, PutItems) ++
lists:map(fun make_batch_delete/1, DeleteKeys)}]}]).
lists:map(fun make_batch_put/1, PutItems)
++ lists:map(fun make_batch_delete/1, DeleteKeys)}]}]).

make_batch_put(Item) ->
[{<<"PutRequest">>, [{<<"Item">>, Item}]}].
Expand Down

0 comments on commit a967d06

Please sign in to comment.