Skip to content

Commit

Permalink
Merge pull request #187 from dwyl/update-dependencies-#186
Browse files Browse the repository at this point in the history
udpate dependencies
  • Loading branch information
nelsonic authored Mar 14, 2022
2 parents e121667 + 86c7b2e commit f05d86c
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 36 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,14 @@ Once the Phoenix App is compiled/running,
you can visit [`localhost:4000`](http://localhost:4000) from your browser.


### 6. Check application status

Visit [`localhost:4000/init`](http://localhost:4000/init) to make sure that
all the environment variables are properly defined:

![image](https://user-images.githubusercontent.com/194400/152709372-6496b83d-4a8a-4a14-ba5f-f41645fe8c1c.png)


<br />

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

![wake-sleeping-heroku-app](https://dwylauth.herokuapp.com/ping)
![wake-sleeping-heroku-app](https://dwylauth.herokuapp.com/ping)
4 changes: 2 additions & 2 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# is restricted to this project.

# General application configuration
use Mix.Config
import Config

config :auth,
ecto_repos: [Auth.Repo]
Expand Down Expand Up @@ -44,4 +44,4 @@ config :esbuild,
]

config :auth_plug,
api_key: System.get_env("AUTH_API_KEY")
api_key: System.get_env("AUTH_API_KEY")
2 changes: 1 addition & 1 deletion config/dev.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use Mix.Config
import Config

# Configure your database
config :auth, Auth.Repo,
Expand Down
4 changes: 2 additions & 2 deletions config/prod.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use Mix.Config
import Config

# For production, don't forget to configure the url host
# to something meaningful, Phoenix uses this information
Expand Down Expand Up @@ -66,4 +66,4 @@ config :auth, Auth.Repo,
ssl: dbssl,
url: System.get_env("DATABASE_URL"),
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
size: String.to_integer(System.get_env("POOL_SIZE") || "20")
size: String.to_integer(System.get_env("POOL_SIZE") || "20")
2 changes: 1 addition & 1 deletion config/test.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use Mix.Config
import Config

# Configure your database
config :auth, Auth.Repo,
Expand Down
10 changes: 5 additions & 5 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Auth.Mixfile do
def project do
[
app: :auth,
version: "1.6.5",
version: "1.6.6",
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
Expand Down Expand Up @@ -60,7 +60,7 @@ defmodule Auth.Mixfile do
{:telemetry_metrics, "~> 0.6.1"},
{:telemetry_poller, "~> 1.0"},
{:gettext, "~> 0.19.0"},
{:jason, "~> 1.2.2"},
{:jason, "~> 1.3"},
{:plug_cowboy, "~> 2.5.2"},

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

# https://github.com/dwyl/auth_plug
{:auth_plug, "~> 1.4.11"},
{:auth_plug, "~> 1.4"},

# https://github.com/dwyl/rbac
{:rbac, "~> 0.5.3"},
{:rbac, "~> 0.7"},

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

# Create Documentation for publishing Hex.docs:
{:ex_doc, "~> 0.25.3", only: :dev},
{:ex_doc, "~> 0.28", only: :dev},
{:credo, "~> 1.4", only: [:dev], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:sobelow, "~> 0.11.1", only: [:dev]}
Expand Down
48 changes: 24 additions & 24 deletions mix.lock

Large diffs are not rendered by default.

0 comments on commit f05d86c

Please sign in to comment.