Packages
nova
0.10.2
0.15.1
0.14.3
0.14.1
0.13.7
0.13.1
0.13.0
0.12.1
0.12.0
0.11.0
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.24
0.9.23
0.9.22
0.9.21
0.9.20
0.9.19
0.9.18
0.9.17
0.9.16
0.9.15
0.9.11
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
0.6.2
0.6.1
0.6.0
0.5.2
0.5.1
0.4.4
0.4.3
0.4.2
0.4.1
0.2.2
0.1.0
0.0.1
0.0.0
Nova is a web application framework
Current section
54 Versions
Jump to
Current section
54 Versions
Compare versions
7
files changed
+22
additions
-22
deletions
| @@ -2,9 +2,10 @@ | |
| 2 2 | {<<"build_tools">>,[<<"rebar3">>]}. |
| 3 3 | {<<"description">>,<<"Nova is a web application framework">>}. |
| 4 4 | {<<"files">>, |
| 5 | - [<<"LICENSE">>,<<"README.md">>,<<"include/nova.hrl">>, |
| 6 | - <<"include/nova_pubsub.hrl">>,<<"include/nova_router.hrl">>, |
| 7 | - <<"priv/static/nova.png">>,<<"rebar.config">>,<<"rebar.lock">>, |
| 5 | + [<<"LICENSE">>,<<"README.md">>,<<"include">>,<<"include/nova.hrl">>, |
| 6 | + <<"include/nova_pubsub.hrl">>,<<"include/nova_router.hrl">>,<<"priv">>, |
| 7 | + <<"priv/static">>,<<"priv/static/nova.png">>,<<"rebar.config">>, |
| 8 | + <<"rebar.lock">>,<<"src">>,<<"src/controllers">>, |
| 8 9 | <<"src/controllers/nova_error_controller.erl">>, |
| 9 10 | <<"src/controllers/nova_file_controller.erl">>,<<"src/nova.app.src">>, |
| 10 11 | <<"src/nova.erl">>,<<"src/nova.hrl">>,<<"src/nova_app.erl">>, |
| @@ -16,10 +17,10 @@ | |
| 16 17 | <<"src/nova_session_ets.erl">>,<<"src/nova_stream_h.erl">>, |
| 17 18 | <<"src/nova_sup.erl">>,<<"src/nova_watcher.erl">>, |
| 18 19 | <<"src/nova_websocket.erl">>,<<"src/nova_ws_handler.erl">>, |
| 19 | - <<"src/plugins/nova_correlation_plugin.erl">>, |
| 20 | + <<"src/plugins">>,<<"src/plugins/nova_correlation_plugin.erl">>, |
| 20 21 | <<"src/plugins/nova_cors_plugin.erl">>, |
| 21 | - <<"src/plugins/nova_request_plugin.erl">>,<<"src/views/nova_error.dtl">>, |
| 22 | - <<"src/views/nova_file.dtl">>]}. |
| 22 | + <<"src/plugins/nova_request_plugin.erl">>,<<"src/views">>, |
| 23 | + <<"src/views/nova_error.dtl">>,<<"src/views/nova_file.dtl">>]}. |
| 23 24 | {<<"licenses">>,[<<"Apache 2.0">>]}. |
| 24 25 | {<<"links">>,[{<<"GitHub">>,<<"https://github.com/novaframework/nova">>}]}. |
| 25 26 | {<<"name">>,<<"nova">>}. |
| @@ -52,4 +53,4 @@ | |
| 52 53 | [{<<"app">>,<<"uuid">>}, |
| 53 54 | {<<"optional">>,false}, |
| 54 55 | {<<"requirement">>,<<"~>2.0.7">>}]}]}. |
| 55 | - {<<"version">>,<<"0.10.1">>}. |
| 56 | + {<<"version">>,<<"0.10.2">>}. |
| @@ -12,7 +12,6 @@ | |
| 12 12 | |
| 13 13 | {deps, [ |
| 14 14 | {cowboy, "2.12.0"}, |
| 15 | - {uuid, "2.0.7", {pkg, uuid_erl}}, |
| 16 15 | {erlydtl, "0.14.0"}, |
| 17 16 | {jhn_stdlib, "5.1.0"}, |
| 18 17 | {pmod_transform, "1.1.0"}, |
| @@ -1,6 +1,6 @@ | |
| 1 1 | {application,nova, |
| 2 2 | [{description,"Nova is a web application framework"}, |
| 3 | - {vsn,"0.10.1"}, |
| 3 | + {vsn,"0.10.2"}, |
| 4 4 | {registered,[]}, |
| 5 5 | {mod,{nova_app,[]}}, |
| 6 6 | {included_applications,[]}, |
| @@ -55,7 +55,7 @@ | |
| 55 55 | handle_info/2, |
| 56 56 | terminate/2, |
| 57 57 | code_change/3, |
| 58 | - format_status/2 |
| 58 | + format_status/1 |
| 59 59 | ]). |
| 60 60 | |
| 61 61 | -include_lib("kernel/include/logger.hrl"). |
| @@ -260,9 +260,9 @@ code_change(_OldVsn, State, _Extra) -> | |
| 260 260 | %% or when it appears in termination error logs. |
| 261 261 | %% @end |
| 262 262 | %%-------------------------------------------------------------------- |
| 263 | - -spec format_status(Opt :: normal | terminate, |
| 264 | - Status :: list()) -> Status :: term(). |
| 265 | - format_status(_Opt, Status) -> |
| 263 | + -spec format_status(Status) -> NewStatus when Status :: #{'log'=>[any()], 'message'=>_, 'reason'=>_, 'state'=>_}, |
| 264 | + NewStatus :: #{'log'=>[any()], 'message'=>_, 'reason'=>_, 'state'=>_}. |
| 265 | + format_status(Status) -> |
| 266 266 | Status. |
| 267 267 | |
| 268 268 | %%%=================================================================== |
| @@ -21,7 +21,7 @@ | |
| 21 21 | |
| 22 22 | %% gen_server callbacks |
| 23 23 | -export([init/1, handle_call/3, handle_cast/2, handle_info/2, |
| 24 | - terminate/2, code_change/3, format_status/2]). |
| 24 | + terminate/2, code_change/3, format_status/1]). |
| 25 25 | |
| 26 26 | -define(SERVER, ?MODULE). |
| 27 27 | -define(TABLE, nova_session_ets_entries). |
| @@ -198,9 +198,9 @@ code_change(_OldVsn, State, _Extra) -> | |
| 198 198 | %% or when it appears in termination error logs. |
| 199 199 | %% @end |
| 200 200 | %%-------------------------------------------------------------------- |
| 201 | - -spec format_status(Opt :: normal | terminate, |
| 202 | - Status :: list()) -> Status :: term(). |
| 203 | - format_status(_Opt, Status) -> |
| 201 | + -spec format_status(Status) -> NewStatus when Status :: #{'log'=>[any()], 'message'=>_, 'reason'=>_, 'state'=>_}, |
| 202 | + NewStatus :: #{'log'=>[any()], 'message'=>_, 'reason'=>_, 'state'=>_}. |
| 203 | + format_status(Status) -> |
| 204 204 | Status. |
| 205 205 | |
| 206 206 | %%%=================================================================== |
Loading more files…