Skip to content

Commit

Permalink
fix MixFile deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Aug 30, 2024
1 parent 4e5c928 commit c6c54b0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ config :paper_trail, PaperTrail.UUIDWithCustomNameRepo,
show_sensitive_data_on_connection_error: true,
poolsize: 10

config :logger, level: :warn
config :logger, level: :warning
2 changes: 1 addition & 1 deletion example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If [available in Hex](https://hex.pm/docs/publish), the package can be installed

```elixir
def application do
[applications: [:example]]
[extra_applications: [:example]]
end
```

4 changes: 2 additions & 2 deletions example/mix.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule Example.Mixfile do
defmodule Example.MixProject do
use Mix.Project

def project do
Expand All @@ -16,7 +16,7 @@ defmodule Example.Mixfile do
def application do
[
mod: {Example, []},
applications: [:logger, :postgrex, :ecto]
extra_applications: [:logger, :postgrex, :ecto]
]
end

Expand Down
6 changes: 3 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
defmodule PaperTrail.Mixfile do
defmodule PaperTrail.MixProject do
use Mix.Project

@source_url "https://github.com/izelnakri/paper_trail"
@version "1.0.1"
@version "1.1.0"

def project do
[
Expand All @@ -21,7 +21,7 @@ defmodule PaperTrail.Mixfile do

def application do
[
applications: [:logger, :ecto, :ecto_sql, :runtime_tools]
extra_applications: [:logger, :ecto, :ecto_sql, :runtime_tools]
]
end

Expand Down

0 comments on commit c6c54b0

Please sign in to comment.