Selaa lähdekoodia

Update to goldrush 0.1.5

pull/179/head
Andrew Thompson 11 vuotta sitten
vanhempi
commit
b29710406e
3 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. +1
    -1
      rebar.config
  2. +2
    -2
      src/lager.app.src
  3. +2
    -2
      test/lager_test_backend.erl

+ 1
- 1
rebar.config Näytä tiedosto

@ -2,7 +2,7 @@
{erl_first_files, ["src/lager_util.erl"]}.
{deps, [
{goldrush, ".*",
{git, "git://github.com/DeadZen/goldrush.git", {tag, "879c69874a"}}}
{git, "git://github.com/DeadZen/goldrush.git", {tag, "0.1.5"}}}
]}.
{cover_enabled, true}.

+ 2
- 2
src/lager.app.src Näytä tiedosto

@ -7,10 +7,10 @@
{modules, []},
{applications, [
kernel,
stdlib
stdlib,
goldrush
]},
{registered, [lager_sup, lager_event, lager_crash_log, lager_handler_watcher_sup]},
{included_applications, [goldrush]},
{mod, {lager_app, []}},
{env, [
%% What handlers to install with what arguments

+ 2
- 2
test/lager_test_backend.erl Näytä tiedosto

@ -109,7 +109,7 @@ print_bad_state() ->
has_line_numbers() ->
%% are we R15 or greater
Rel = erlang:system_info(otp_release),
{match, [Major]} = re:run(Rel, "^R(\\d+)[A|B](|0(\\d))$", [{capture, [1], list}]),
{match, [Major]} = re:run(Rel, "^R(\\d+)[A|B](|0(\\d))", [{capture, [1], list}]),
list_to_integer(Major) >= 15.
not_running_test() ->
@ -555,7 +555,7 @@ setup() ->
application:load(lager),
application:set_env(lager, handlers, [{?MODULE, info}]),
application:set_env(lager, error_logger_redirect, false),
application:start(lager),
lager:start(),
gen_event:call(lager_event, ?MODULE, flush).
cleanup(_) ->

Ladataan…
Peruuta
Tallenna