Skip to content

Commit

Permalink
Merge pull request #84 from dwyl/update-dependencies-issue#83
Browse files Browse the repository at this point in the history
Update Dependencies issue #83
  • Loading branch information
th0mas authored Jul 17, 2020
2 parents 946f6ba + fea04e3 commit fafc5e0
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 42 deletions.
7 changes: 6 additions & 1 deletion lib/auth_web/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ defmodule AuthWeb.Endpoint do
# The session will be stored in the cookie and signed,
# this means its contents can be read but not tampered with.
# Set :encryption_salt if you would also like to encrypt it.
@session_options [
store: :cookie,
key: "_app_key",
signing_salt: "Fir8x4nA"
]

socket "/socket", AuthWeb.UserSocket,
websocket: true,
Expand Down Expand Up @@ -37,6 +42,6 @@ defmodule AuthWeb.Endpoint do

plug Plug.MethodOverride
plug Plug.Head
plug Plug.Session, AuthPlug.session_options()
plug Plug.Session, @session_options
plug AuthWeb.Router
end
19 changes: 10 additions & 9 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ defmodule Auth.Mixfile do
def project do
[
app: :auth,
version: "1.2.2",
elixir: "~> 1.9",
version: "1.2.4",
elixir: "~> 1.10",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
test_coverage: [tool: ExCoveralls],
Expand Down Expand Up @@ -45,31 +45,32 @@ defmodule Auth.Mixfile do
defp deps do
[
# Phoenix core:
{:phoenix, "~> 1.5.1"},
{:phoenix, "~> 1.5.3"},
{:phoenix_pubsub, "~> 2.0"},
{:phoenix_ecto, "~> 4.1.0"},
{:ecto_sql, "~> 3.4.4"},
{:ecto_sql, "~> 3.4.5"},
{:postgrex, ">= 0.0.0"},
{:phoenix_html, "~> 2.14.2"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:gettext, "~> 0.18.0"},
{:jason, "~> 1.2.1"},
{:plug_cowboy, "~> 2.2.1"},
{:plug_cowboy, "~> 2.3.0"},

# Auth:
# https://github.com/dwyl/elixir-auth-github
{:elixir_auth_github, "~> 1.2.0"},
{:elixir_auth_github, "~> 1.3.0"},
# https://github.com/dwyl/elixir-auth-google
{:elixir_auth_google, "~> 1.2.0"},
{:elixir_auth_google, "~> 1.3.0"},
# https://github.com/dwyl/auth_plug
{:auth_plug, "~> 1.1.1"},
{:auth_plug, "1.2.0"},

# Field Validation and Encryption: github.com/dwyl/fields
{:fields, "~> 2.6.0"},
# Base58 Encodeing: https://github.com/dwyl/base58
{:B58, "~> 1.0", hex: :b58},

# Check test coverage
{:excoveralls, "~> 0.12.3", only: :test},
{:excoveralls, "~> 0.12.3", only: :test},

#  Property based tests: github.com/dwyl/learn-property-based-testing
{:stream_data, "~> 0.4.3", only: :test},
Expand Down
Loading

0 comments on commit fafc5e0

Please sign in to comment.