Skip to content

Commit 30a8d04

Browse files
committed
v0.3.1
1 parent 77ba0be commit 30a8d04

2 files changed

Lines changed: 45 additions & 30 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## Changelog
22

3+
## v0.3.1
4+
5+
### Changes
6+
7+
- Fix warnings on Elixir v1.11 about missing apps @josevalim (#152)
8+
39
## v0.3.0 - 2020-07-14
410

511
### Changed

mix.exs

Lines changed: 39 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,50 @@
11
defmodule PhoenixSwoosh.Mixfile do
22
use Mix.Project
33

4-
@version "0.3.0"
4+
@version "0.3.1"
55

66
def project do
7-
[app: :phoenix_swoosh,
8-
version: @version,
9-
elixir: "~> 1.8",
10-
compilers: compilers(Mix.env),
11-
build_embedded: Mix.env == :prod,
12-
start_permanent: Mix.env == :prod,
13-
deps: deps(),
14-
15-
# Hex
16-
description: description(),
17-
package: package(),
18-
19-
# Docs
20-
name: "Phoenix.Swoosh",
21-
docs: [source_ref: "v#{@version}", main: "Phoenix.Swoosh",
22-
canonical: "http://hexdocs.pm/phoenix_swoosh",
23-
source_url: "https://github.com/swoosh/phoenix_swoosh"]]
7+
[
8+
app: :phoenix_swoosh,
9+
version: @version,
10+
elixir: "~> 1.8",
11+
compilers: compilers(Mix.env()),
12+
build_embedded: Mix.env() == :prod,
13+
start_permanent: Mix.env() == :prod,
14+
deps: deps(),
15+
16+
# Hex
17+
description: description(),
18+
package: package(),
19+
20+
# Docs
21+
name: "Phoenix.Swoosh",
22+
docs: [
23+
source_ref: "v#{@version}",
24+
main: "Phoenix.Swoosh",
25+
canonical: "http://hexdocs.pm/phoenix_swoosh",
26+
source_url: "https://github.com/swoosh/phoenix_swoosh"
27+
]
28+
]
2429
end
2530

26-
defp compilers(:test), do: [:phoenix] ++ Mix.compilers
27-
defp compilers(_), do: Mix.compilers
31+
defp compilers(:test), do: [:phoenix] ++ Mix.compilers()
32+
defp compilers(_), do: Mix.compilers()
2833

2934
def application do
3035
[extra_applications: [:logger]]
3136
end
3237

3338
defp deps do
34-
[{:swoosh, "~> 1.0"},
35-
{:phoenix, "~> 1.4"},
36-
{:phoenix_html, "~> 2.14"},
37-
{:hackney, "~> 1.9"},
38-
{:credo, "~> 1.0", only: [:dev, :test]},
39-
{:ex_doc, "~> 0.22", only: :docs},
40-
{:inch_ex, ">= 0.0.0", only: :docs}]
39+
[
40+
{:swoosh, "~> 1.0"},
41+
{:phoenix, "~> 1.4"},
42+
{:phoenix_html, "~> 2.14"},
43+
{:hackney, "~> 1.9"},
44+
{:credo, "~> 1.0", only: [:dev, :test]},
45+
{:ex_doc, "~> 0.22", only: :docs},
46+
{:inch_ex, ">= 0.0.0", only: :docs}
47+
]
4148
end
4249

4350
defp description do
@@ -47,8 +54,10 @@ defmodule PhoenixSwoosh.Mixfile do
4754
end
4855

4956
defp package do
50-
[maintainers: ["Steve Domin", "Po Chen"],
51-
licenses: ["MIT"],
52-
links: %{"GitHub" => "https://github.com/swoosh/phoenix_swoosh"}]
57+
[
58+
maintainers: ["Steve Domin", "Po Chen"],
59+
licenses: ["MIT"],
60+
links: %{"GitHub" => "https://github.com/swoosh/phoenix_swoosh"}
61+
]
5362
end
5463
end

0 commit comments

Comments
 (0)