Packages
pow_assent
0.2.0
0.4.18
0.4.17
0.4.16
0.4.15
0.4.14
0.4.13
0.4.12
0.4.11
0.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.1.0-rc.2
0.1.0-rc.1
0.1.0-rc.0
0.1.0-alpha.12
0.1.0-alpha.11
0.1.0-alpha.10
0.1.0-alpha.9
0.1.0-alpha.8
0.1.0-alpha.7
0.1.0-alpha.6
0.1.0-alpha.5
0.1.0-alpha.4
0.1.0-alpha.3
0.1.0-alpha.2
retired
0.1.0-alpha.1
0.1.0-alpha
Multi-provider support for Pow
Security advisory:
This version has known vulnerabilities.
View advisories
Current section
Files
Jump to
Current section
Files
pow_assent
mix.exs
mix.exs
defmodule PowAssent.MixProject do
use Mix.Project
@version "0.2.0"
def project do
[
app: :pow_assent,
version: @version,
elixir: "~> 1.6",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
compilers: [:phoenix] ++ Mix.compilers(),
deps: deps(),
# Hex
description: "Multi-provider support for Pow",
package: package(),
# Docs
name: "PowAssent",
docs: docs(),
xref: [exclude: [Mint.HTTP, :certifi, :ssl_verify_hostname]]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:pow, "~> 1.0.3"},
{:oauther, "~> 1.1"},
{:certifi, ">= 0.0.0", optional: true},
{:ssl_verify_fun, ">= 0.0.0", optional: true},
{:mint, "~> 0.1.0", optional: true},
{:castore, "~> 0.1.0", optional: true},
{:phoenix_html, ">= 2.0.0 and <= 3.0.0"},
{:phoenix_ecto, ">= 3.0.0 and <= 4.0.0"},
{:ecto, "~> 2.2 or ~> 3.0"},
{:phoenix, "~> 1.3.0 or ~> 1.4.0"},
{:plug, ">= 1.5.0 and < 1.8.0", optional: true},
{:credo, "~> 0.10.2", only: [:dev, :test]},
{:jason, "~> 1.0", only: [:dev, :test]},
{:ex_doc, "~> 0.19.0", only: :dev},
{:ecto_sql, "~> 3.0.0", only: :test},
{:postgrex, "~> 0.14.0", only: :test},
{:bypass, "~> 1.0.0", only: :test}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp package do
[
maintainers: ["Dan Shultzer"],
licenses: ["MIT"],
links: %{github: "https://github.com/danschultzer/pow_assent"},
files: ~w(lib LICENSE mix.exs README.md)
]
end
defp docs do
[
source_ref: "v#{@version}",
main: "PowAssent",
canonical: "http://hexdocs.pm/pow_assent",
source_url: "https://github.com/danschultzer/pow_assnet",
extras: [
"README.md": [filename: "PowAssent", title: "PowAssent"],
"guides/POW.md": [
filename: "Pow",
title: "Setting up Pow"
],
],
groups_for_modules: [
Ecto: ~r/^PowAssent.Ecto/,
Phoenix: ~r/^PowAssent.Phoenix/,
Strategies: ~r/^PowAssent.Strategy/
]
]
end
end