From feeb98cde3bcfa56adbe446cd128d1047dca9fc4 Mon Sep 17 00:00:00 2001 From: handnot2 Date: Fri, 8 Sep 2017 15:21:42 -0700 Subject: [PATCH] updated version --- mix.exs | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/mix.exs b/mix.exs index 026a29e..50ed8cf 100644 --- a/mix.exs +++ b/mix.exs @@ -1,15 +1,16 @@ defmodule Samly.Mixfile do use Mix.Project - @version "0.4.0" + @version "0.5.0" @description "SAML plug" @source_url "https://github.com/handnot2/samly" - def project do + def project() do [ app: :samly, version: @version, description: @description, + docs: docs(), package: package(), elixir: "~> 1.5", start_permanent: Mix.env == :prod, @@ -18,14 +19,14 @@ defmodule Samly.Mixfile do end # Run "mix help compile.app" to learn about applications. - def application do + def application() do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. - defp deps do + defp deps() do [ {:plug, "~> 1.4"}, {:esaml, "~> 3.0"}, @@ -33,6 +34,15 @@ defmodule Samly.Mixfile do ] end + defp docs() do + [ + #extras: ["README.md"], + #main: "readme", + source_ref: "v#{@version}", + source_url: @source_url, + ] + end + defp package() do [ maintainers: ["handnot2"],