Skip to content

Commit

Permalink
[RTI-9493] Adjust for OTP23 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brujo Benavides authored May 31, 2021
1 parent d501104 commit 336e132
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 20 deletions.
12 changes: 0 additions & 12 deletions include/dinerl_types.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,3 @@
-type header() :: {string() | atom(), string()}.
-type headers() :: [header()].
-type attribute() :: {string(), {s | n, string()}} | {string(), {ns | ss, [string()]}}.

-define(HASHKEYSCHEMA(N, T),
{<<"HashKeyElement">>, [{<<"AttributeName">>, N}, {<<"AttributeType">>, T}]}).
-define(RANGEKEYSCHEMA(N, T),
{<<"RangeKeyElement">>, [{<<"AttributeName">>, N}, {<<"AttributeType">>, T}]}).
-define(HASHKEY(N, V), {<<"HashKeyElement">>, [V]}).
-define(RANGEKEY(N, V), {<<"RangeKeyElement">>, [V]}).

%% Attributes in Responses: {"AttributeName4":{"AttributeType":"AttributeValue"}}
%% Expected Field: {"AttributeName3":{"Value":{"AttributeType":"AttributeValue3"}, "Exists": "true"}}
%% Update Field: {"AttributeName3":{"Value":{"AttributeType":"AttributeValue3_New"},"Action":"PUT"}}
%% Put Item Field: {"AttributeName1":{"AttributeType1": "AttributeValue1"}}
6 changes: 4 additions & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
warn_exported_vars,
debug_info]}.

{deps, [{lhttpc, "1.3.0", {pkg, nextroll_lhttpc}}, {erliam, "0.3.2"}]}.
{deps, [{lhttpc, "1.3.1", {pkg, nextroll_lhttpc}}, {erliam, "0.4.0"}]}.

{cover_enabled, true}.

{cover_opts, [verbose]}.

{project_plugins,
[{rebar3_format, "~> 1.0.0"}, {rebar3_lint, "~> 0.4.0"}, {rebar3_hank, "~> 0.4.0"}]}.
[{rebar3_format, "~> 1.0.1"}, {rebar3_lint, "~> 0.4.0"}, {rebar3_hank, "~> 1.1.2"}]}.

{dialyzer,
[{warnings, [unknown, no_return, error_handling]},
Expand Down
12 changes: 6 additions & 6 deletions rebar.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{"1.2.0",
[{<<"erliam">>,{pkg,<<"erliam">>,<<"0.3.2">>},0},
[{<<"erliam">>,{pkg,<<"erliam">>,<<"0.4.0">>},0},
{<<"jiffy">>,{pkg,<<"jiffy">>,<<"1.0.8">>},1},
{<<"lhttpc">>,{pkg,<<"nextroll_lhttpc">>,<<"1.3.0">>},0}]}.
{<<"lhttpc">>,{pkg,<<"nextroll_lhttpc">>,<<"1.3.1">>},0}]}.
[
{pkg_hash,[
{<<"erliam">>, <<"2381A6F2D2AB75EC2C6BB3A60DC72AD94AAB3EFD63D71003153502E88E0C7304">>},
{<<"erliam">>, <<"BBD142ADE627513211B8F9D4CBE9F7A4E6C3691A11814156EEE1F2FF1540D1C7">>},
{<<"jiffy">>, <<"60E36F00BE35E5AC6E6CF2D4CAF3BDF3103D4460AFF385F543A8D7DF2D6D9613">>},
{<<"lhttpc">>, <<"3C0BFC54EF7AC1128710C9C6BEFA373A766346AE866DB985CE675DFA63A6D4F6">>}]},
{<<"lhttpc">>, <<"9F7EC32071847BAE326C16270F114396125E8CC75A54BCE44482BD4FCAE0DA3B">>}]},
{pkg_hash_ext,[
{<<"erliam">>, <<"24D35B6DE13D4C7D7CB64CB03D9B3E3C1210303E4AF1C277BF8C16C83777A0E2">>},
{<<"erliam">>, <<"CC0623699C581055F939B336820AAC8B17D79132D91BB06AE8BD5F935C61D318">>},
{<<"jiffy">>, <<"F9AE986BA5A0854EB48CF6A76192D9367086DA86C20197DA430630BE7C087A4E">>},
{<<"lhttpc">>, <<"8D04FE6F4CE0B7646099CBADCFDED51CA8B31F2EBDE29648BA3A4422A11F3F91">>}]}
{<<"lhttpc">>, <<"A6E729BD3CF3DCC92179B4210D7DA648D5EA316850C483A21D5D97173A6AC08F">>}]}
].

0 comments on commit 336e132

Please sign in to comment.