diff --git a/include/dinerl_types.hrl b/include/dinerl_types.hrl index b2d27e6..ad684b9 100644 --- a/include/dinerl_types.hrl +++ b/include/dinerl_types.hrl @@ -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"}} diff --git a/rebar.config b/rebar.config index 27ab07d..c79c51c 100644 --- a/rebar.config +++ b/rebar.config @@ -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]}, diff --git a/rebar.lock b/rebar.lock index 54b8c36..f912a58 100644 --- a/rebar.lock +++ b/rebar.lock @@ -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">>}]} ].