aboutsummaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
authorSam Seay <sam@manuka.co>2016-09-01 09:43:23 +1200
committerGitHub <noreply@github.com>2016-09-01 09:43:23 +1200
commit3b5120b087182cb96a1a2082a5fb149276e45304 (patch)
tree53f44594fbac8a78ddf7d1fec99779ba310f4e00 /mix.exs
parent7ff101f0fa5aaf52df07d37584472521c4b3cc55 (diff)
downloadrecaptcha-3b5120b087182cb96a1a2082a5fb149276e45304.tar.gz
recaptcha-3b5120b087182cb96a1a2082a5fb149276e45304.tar.xz
Feature/v2 rewrite (#7)
Rewrite of the API. * Change the copyright holder since its a rewrite. * Bump dependencies to their latest versions. * Revision of the README to document the new API * Break config up into keyword list (no longer a map) * A rewrite of the recaptcha verify API and move of templating into Recaptcha.Template * Add tests and credo for code style * Remove exception raising method calls (`HTTPoison.post!` and `Poison.decode!`) * Change Elixir version to 1.2 for `with` support.
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs16
1 files changed, 9 insertions, 7 deletions
diff --git a/mix.exs b/mix.exs
index bf4dc31..46c88c1 100644
--- a/mix.exs
+++ b/mix.exs
@@ -3,8 +3,8 @@ defmodule Recaptcha.Mixfile do
def project do
[app: :recaptcha,
- version: "1.1.1",
- elixir: "~> 1.0",
+ version: "2.0.0",
+ elixir: "~> 1.2",
description: description,
deps: deps,
package: package]
@@ -16,21 +16,23 @@ defmodule Recaptcha.Mixfile do
defp description do
"""
- A simple reCaptcha package for Phoenix applications.
+ A simple reCaptcha package for Elixir applications, provides verification
+ and templates for rendering forms with the reCaptcha widget
"""
end
defp deps do
[
- {:httpoison, "~> 0.7"},
- {:poison, "~> 1.5"}
+ {:httpoison, "~> 0.9.0"},
+ {:poison, "~> 2.0"},
+ {:credo, "~> 0.4", only: [:dev, :test]}
]
end
defp package do
[files: ["lib", "mix.exs", "README.md", "LICENSE"],
- maintainers: ["Alekseev Mikhail"],
+ maintainers: ["Samuel Seay"],
licenses: ["MIT"],
- links: %{"GitHub" => "https://github.com/JustMikey/recaptcha"}]
+ links: %{"GitHub" => "https://github.com/samueljseay/recaptcha"}]
end
end