Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 7bb02cf

Browse files
committed
chore(deps): upgrade the phoenix-stack to latest
1 parent 781df06 commit 7bb02cf

File tree

6 files changed

+32
-27
lines changed

6 files changed

+32
-27
lines changed

config/config.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ config :groupher_server, GroupherServerWeb.Endpoint,
1313
url: [host: "localhost"],
1414
secret_key_base: "Ru3N3sehqeuFjBV2Z6k7FuyA59fH8bWm8D4aZWu2RifP3xKMBYo3YRILrnXAGezM",
1515
render_errors: [view: GroupherServerWeb.ErrorView, accepts: ~w(json)],
16-
pubsub: [name: GroupherServer.PubSub, adapter: Phoenix.PubSub.PG2]
16+
pubsub_server: GroupherServer.PubSub
1717

1818
# Configures Elixir's Logger
1919
config :logger, :console,

lib/groupher_server/application.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ defmodule GroupherServer.Application do
1111

1212
# Define workers and child supervisors to be supervised
1313
children = [
14+
# Start the PubSub system
15+
{Phoenix.PubSub, name: MyApp.PubSub},
1416
# Start the Ecto repository
1517
supervisor(GroupherServer.Repo, []),
1618
# Start the endpoint when the application starts

mix.exs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ defmodule GroupherServer.Mixfile do
5252
# Type `mix help deps` for examples and options.
5353
defp deps do
5454
[
55-
{:phoenix, "~> 1.4.9"},
56-
{:phoenix_pubsub, "~> 1.1.2"},
57-
{:phoenix_html, "~> 2.13.3"},
58-
{:ecto_sql, "~> 3.2.0"},
59-
{:phoenix_ecto, "~> 4.0"},
60-
{:postgrex, ">= 0.14.1"},
55+
{:phoenix, "~> 1.5.7"},
56+
{:phoenix_pubsub, "~> 2.0"},
57+
{:phoenix_html, "~> 2.14.3"},
58+
{:ecto_sql, "~> 3.5.4"},
59+
{:phoenix_ecto, "~> 4.2.1"},
60+
{:postgrex, "~> 0.15.8"},
6161
{:gettext, "~> 0.18.0"},
62-
{:plug_cowboy, "~> 2.0"},
63-
{:plug, "~> 1.8.0"},
62+
{:plug_cowboy, "~> 2.4.1"},
63+
{:plug, "~> 1.11.0"},
6464
# GraphQl tool
6565
{:absinthe, "~> 1.4.16"},
6666
{:absinthe_ecto, "~> 0.1.3"},

0 commit comments

Comments
 (0)