Skip to content

Commit f05d86c

Browse files
authored
Merge pull request #187 from dwyl/update-dependencies-#186
udpate dependencies
2 parents e121667 + 86c7b2e commit f05d86c

File tree

7 files changed

+44
-36
lines changed

7 files changed

+44
-36
lines changed

Diff for: README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,14 @@ Once the Phoenix App is compiled/running,
201201
you can visit [`localhost:4000`](http://localhost:4000) from your browser.
202202

203203

204+
### 6. Check application status
205+
206+
Visit [`localhost:4000/init`](http://localhost:4000/init) to make sure that
207+
all the environment variables are properly defined:
208+
209+
![image](https://user-images.githubusercontent.com/194400/152709372-6496b83d-4a8a-4a14-ba5f-f41645fe8c1c.png)
210+
211+
204212
<br />
205213

206214
### Dependencies
@@ -319,4 +327,4 @@ we recommend checkout out these great resources
319327
+ Auth Boss: <https://github.com/teesloane/Auth-Boss>
320328
+ Introduction to OAuth2: <https://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2>
321329

322-
![wake-sleeping-heroku-app](https://dwylauth.herokuapp.com/ping)
330+
![wake-sleeping-heroku-app](https://dwylauth.herokuapp.com/ping)

Diff for: config/config.exs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# is restricted to this project.
66

77
# General application configuration
8-
use Mix.Config
8+
import Config
99

1010
config :auth,
1111
ecto_repos: [Auth.Repo]
@@ -44,4 +44,4 @@ config :esbuild,
4444
]
4545

4646
config :auth_plug,
47-
api_key: System.get_env("AUTH_API_KEY")
47+
api_key: System.get_env("AUTH_API_KEY")

Diff for: config/dev.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use Mix.Config
1+
import Config
22

33
# Configure your database
44
config :auth, Auth.Repo,

Diff for: config/prod.exs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use Mix.Config
1+
import Config
22

33
# For production, don't forget to configure the url host
44
# to something meaningful, Phoenix uses this information
@@ -66,4 +66,4 @@ config :auth, Auth.Repo,
6666
ssl: dbssl,
6767
url: System.get_env("DATABASE_URL"),
6868
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
69-
size: String.to_integer(System.get_env("POOL_SIZE") || "20")
69+
size: String.to_integer(System.get_env("POOL_SIZE") || "20")

Diff for: config/test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use Mix.Config
1+
import Config
22

33
# Configure your database
44
config :auth, Auth.Repo,

Diff for: mix.exs

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule Auth.Mixfile do
44
def project do
55
[
66
app: :auth,
7-
version: "1.6.5",
7+
version: "1.6.6",
88
elixir: "~> 1.12",
99
elixirc_paths: elixirc_paths(Mix.env()),
1010
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
@@ -60,7 +60,7 @@ defmodule Auth.Mixfile do
6060
{:telemetry_metrics, "~> 0.6.1"},
6161
{:telemetry_poller, "~> 1.0"},
6262
{:gettext, "~> 0.19.0"},
63-
{:jason, "~> 1.2.2"},
63+
{:jason, "~> 1.3"},
6464
{:plug_cowboy, "~> 2.5.2"},
6565

6666
# Auth:
@@ -74,10 +74,10 @@ defmodule Auth.Mixfile do
7474
{:envar, "~> 1.0.5"},
7575

7676
# https://github.com/dwyl/auth_plug
77-
{:auth_plug, "~> 1.4.11"},
77+
{:auth_plug, "~> 1.4"},
7878

7979
# https://github.com/dwyl/rbac
80-
{:rbac, "~> 0.5.3"},
80+
{:rbac, "~> 0.7"},
8181

8282
# Field Validation and Encryption: github.com/dwyl/fields
8383
{:fields, "~> 2.8.2"},
@@ -98,7 +98,7 @@ defmodule Auth.Mixfile do
9898
{:stream_data, "~> 0.5.0", only: :test},
9999

100100
# Create Documentation for publishing Hex.docs:
101-
{:ex_doc, "~> 0.25.3", only: :dev},
101+
{:ex_doc, "~> 0.28", only: :dev},
102102
{:credo, "~> 1.4", only: [:dev], runtime: false},
103103
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
104104
{:sobelow, "~> 0.11.1", only: [:dev]}

Diff for: mix.lock

+24-24
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)