From 39203b87b373d8ea6dfeb24444b482336203f375 Mon Sep 17 00:00:00 2001 From: Jonas Martinez <36544012+jonas-martinez@users.noreply.github.com> Date: Mon, 24 Jan 2022 12:09:48 +0100 Subject: [PATCH] feat: Update application_runner dependency (#28) --- apps/lenra_web/mix.exs | 2 +- apps/lenra_web/test/channels/app_channel_test.exs | 6 +++--- config/config.exs | 2 +- mix.lock | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/lenra_web/mix.exs b/apps/lenra_web/mix.exs index 74c83dce..f31442f2 100644 --- a/apps/lenra_web/mix.exs +++ b/apps/lenra_web/mix.exs @@ -54,7 +54,7 @@ defmodule LenraWeb.MixProject do name: :application_runner, host: "github.com", project: "lenra-io/application-runner.git", - tag: "v1.0.0-beta.4", + tag: "v1.0.0-beta.13", credentials: "nesqwik:#{System.get_env("GH_PERSONNAL_TOKEN")}" ) ] diff --git a/apps/lenra_web/test/channels/app_channel_test.exs b/apps/lenra_web/test/channels/app_channel_test.exs index e14c3d46..15c0c8f1 100644 --- a/apps/lenra_web/test/channels/app_channel_test.exs +++ b/apps/lenra_web/test/channels/app_channel_test.exs @@ -43,19 +43,19 @@ defmodule LenraWeb.AppChannelTest do @textfield %{ "type" => "textfield", "value" => "Hello World", - "onChange" => %{"action" => @listener_name} + "onChanged" => %{"action" => @listener_name} } @textfield2 %{ "type" => "textfield", "value" => "Hello Bob", - "onChange" => %{"action" => @listener_name} + "onChanged" => %{"action" => @listener_name} } @transformed_textfield %{ "type" => "textfield", "value" => "Hello World", - "onChange" => %{"code" => @listener_code} + "onChanged" => %{"code" => @listener_code} } @ui %{"root" => %{"type" => "flex", "children" => [@textfield]}} diff --git a/config/config.exs b/config/config.exs index 13ded4ab..750731d2 100644 --- a/config/config.exs +++ b/config/config.exs @@ -60,7 +60,7 @@ config :ex_component_schema, {ApplicationRunner.JsonSchemata, :read_schema} config :application_runner, - adapter: DevTool.ApplicationRunnerAdapter, + adapter: LenraWeb.ApplicationRunnerAdapter, app_loader: ApplicationRunner.AppLoaderImpl, # 10 min session_inactivity_timeout: 1000 * 60 * 10, diff --git a/mix.lock b/mix.lock index 5f20b392..c6119c2d 100644 --- a/mix.lock +++ b/mix.lock @@ -1,5 +1,5 @@ %{ - "application_runner": {:git, "git@github.com:lenra-io/application-runner.git", "56096bf195a2312057b8e4834b04bdce54b344c7", [tag: "v1.0.0-beta.3", submodules: true]}, + "application_runner": {:git, "git@github.com:lenra-io/application-runner.git", "771c91d4025db70043806d709f4493854f1d4053", [tag: "v1.0.0-beta.13", submodules: true]}, "argon2_elixir": {:hex, :argon2_elixir, "2.4.0", "2a22ea06e979f524c53b42b598fc6ba38cdcbc977a155e33e057732cfb1fb311", [:make, :mix], [{:comeonin, "~> 5.3", [hex: :comeonin, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "4ea82e183cf8e7f66dab1f767fedcfe6a195e140357ef2b0423146b72e0a551d"}, "bamboo": {:hex, :bamboo, "2.1.0", "3c58f862efd74fa8c8d48a410ac592b41f7d24785e828566f7a0af549269ddc3", [:mix], [{:hackney, ">= 1.15.2", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:mime, "~> 1.4", [hex: :mime, repo: "hexpm", optional: false]}, {:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm", "f0ad2623b9a1d2dc06dcf289b59df9ebc522f49f3a21971ec87a8fce04e6d33e"}, "bamboo_smtp": {:hex, :bamboo_smtp, "4.0.1", "7e48188663f6164a81183688bb263be4c3952648fcd3ce52164f44d68777f9cd", [:mix], [{:bamboo, "~> 2.1.0", [hex: :bamboo, repo: "hexpm", optional: false]}, {:gen_smtp, "~> 1.1.1", [hex: :gen_smtp, repo: "hexpm", optional: false]}], "hexpm", "7ff1d62ae39bfb1c14f6d3cddba0fa1482a45c2a2b497a2da601eff7099605c8"}, @@ -26,7 +26,7 @@ "ecto_sql": {:hex, :ecto_sql, "3.6.2", "9526b5f691701a5181427634c30655ac33d11e17e4069eff3ae1176c764e0ba3", [:mix], [{:db_connection, "~> 2.2", [hex: :db_connection, repo: "hexpm", optional: false]}, {:ecto, "~> 3.6.2", [hex: :ecto, repo: "hexpm", optional: false]}, {:myxql, "~> 0.4.0 or ~> 0.5.0", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.15.0 or ~> 1.0", [hex: :postgrex, repo: "hexpm", optional: true]}, {:tds, "~> 2.1.1", [hex: :tds, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "5ec9d7e6f742ea39b63aceaea9ac1d1773d574ea40df5a53ef8afbd9242fdb6b"}, "elixir_make": {:hex, :elixir_make, "0.6.2", "7dffacd77dec4c37b39af867cedaabb0b59f6a871f89722c25b28fcd4bd70530", [:mix], [], "hexpm", "03e49eadda22526a7e5279d53321d1cced6552f344ba4e03e619063de75348d9"}, "event_queue": {:git, "git@github.com:lenra-io/event-queue.git", "3278e1224b63f51cbb7f574894d67ced104e928f", [tag: "v1.0.0"]}, - "ex_component_schema": {:git, "https://github.com/lenra-io/ex_component_schema", "bd047e4e9994b584e544d7e4a76ffdc1b8dc86dc", [ref: "v1.0.0-beta.1"]}, + "ex_component_schema": {:git, "https://github.com/lenra-io/ex_component_schema", "a051ba94057cdd3218c4625e24f56a834a586aa6", [ref: "v1.0.0-beta.2"]}, "ex_doc": {:hex, :ex_doc, "0.25.0", "4070a254664ee5495c2f7cce87c2f43064a8752f7976f2de4937b65871b05223", [:mix], [{:earmark_parser, "~> 1.4.0", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "2d90883bd4f3d826af0bde7fea733a4c20adba1c79158e2330f7465821c8949b"}, "ex_json_schema": {:hex, :ex_json_schema, "0.7.4", "09eb5b0c8184e5702bc89625a9d0c05c7a0a845d382e9f6f406a0fc1c9a8cc3f", [:mix], [], "hexpm", "45c67fa840f0d719a2b5578126dc29bcdc1f92499c0f61bcb8a3bcb5935f9684"}, "excoveralls": {:hex, :excoveralls, "0.14.2", "f9f5fd0004d7bbeaa28ea9606251bb643c313c3d60710bad1f5809c845b748f0", [:mix], [{:hackney, "~> 1.16", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "ca6fd358621cb4d29311b29d4732c4d47dac70e622850979bc54ed9a3e50f3e1"},