diff --git a/Dockerfile b/Dockerfile index f62b396..c36de97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -101,3 +101,7 @@ ENV ERL_AFLAGS "-proto_dist inet6_tcp" # Appended by flyctl ENV ECTO_IPV6 true ENV ERL_AFLAGS "-proto_dist inet6_tcp" + +# Appended by flyctl +ENV ECTO_IPV6 true +ENV ERL_AFLAGS "-proto_dist inet6_tcp" diff --git a/coveralls.json b/coveralls.json index 1f451ff..51a121b 100644 --- a/coveralls.json +++ b/coveralls.json @@ -8,6 +8,7 @@ "lib/liveview_chat/application.ex", "lib/liveview_chat_web/views/error_helpers.ex", "lib/liveview_chat_web/telemetry.ex", - "lib/liveview_chat_web/channels/user_socket.ex" + "lib/liveview_chat_web/channels/user_socket.ex", + "lib/liveview_chat/release.ex" ] } diff --git a/fly.toml b/fly.toml index 4071ebe..6512216 100644 --- a/fly.toml +++ b/fly.toml @@ -1,6 +1,6 @@ -# fly.toml file generated for dwyl-phoenix-liveview-chat-example on 2023-03-01T09:31:00Z +# fly.toml file generated for liveview-chat-example on 2023-03-01T10:07:32Z -app = "dwyl-phoenix-liveview-chat-example" +app = "liveview-chat-example" kill_signal = "SIGTERM" kill_timeout = 5 processes = [] @@ -9,7 +9,7 @@ processes = [] release_command = "/app/bin/migrate" [env] - PHX_HOST = "dwyl-phoenix-liveview-chat-example.fly.dev" + PHX_HOST = "liveview-chat-example.fly.dev" PORT = "8080" [experimental] diff --git a/mix.exs b/mix.exs index 29e0b31..fd20ccd 100644 --- a/mix.exs +++ b/mix.exs @@ -4,8 +4,8 @@ defmodule LiveviewChat.MixProject do def project do [ app: :liveview_chat, - version: "0.1.0", - elixir: "~> 1.12", + version: "1.7.0", + elixir: "~> 1.14", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, aliases: aliases(), diff --git a/test/liveview_chat_web/controllers/ping_controller_test.exs b/test/liveview_chat_web/controllers/ping_controller_test.exs deleted file mode 100644 index f37cf9b..0000000 --- a/test/liveview_chat_web/controllers/ping_controller_test.exs +++ /dev/null @@ -1,10 +0,0 @@ -defmodule LiveviewChatWeb.PingControllerTest do - use LiveviewChatWeb.ConnCase - - test "GET /ping (GIF) renders 1x1 pixel", %{conn: conn} do - conn = get(conn, Routes.ping_path(conn, :ping)) - assert conn.status == 200 - assert conn.state == :sent - assert conn.resp_body =~ <<71, 73, 70, 56, 57>> - end -end