From 97071dbb27fc15a261a502dcd046a16c5dc859f4 Mon Sep 17 00:00:00 2001 From: Eduardo Gurgel Date: Wed, 11 Jun 2014 20:40:04 +1200 Subject: [PATCH] Update to Elixir 0.14.0 --- .travis.yml | 2 +- lib/httparrot.ex | 2 +- lib/httparrot/supervisor.ex | 2 +- mix.exs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index fd96e9d..a70dd04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ otp_release: install: mix deps.get before_install: - mkdir -p vendor/elixir - - wget -q https://github.com/elixir-lang/elixir/releases/download/v0.13.3/Precompiled.zip && unzip -qq Precompiled.zip -d vendor/elixir + - wget -q https://github.com/elixir-lang/elixir/releases/download/v0.14.0/Precompiled.zip && unzip -qq Precompiled.zip -d vendor/elixir - export PATH="$PATH:$PWD/vendor/elixir/bin" - export MIX_ENV=test - mix local.hex --force diff --git a/lib/httparrot.ex b/lib/httparrot.ex index 517c6e3..29d6c07 100644 --- a/lib/httparrot.ex +++ b/lib/httparrot.ex @@ -1,5 +1,5 @@ defmodule HTTParrot do - use Application.Behaviour + use Application def start(_type, _args) do dispatch = :cowboy_router.compile([ diff --git a/lib/httparrot/supervisor.ex b/lib/httparrot/supervisor.ex index 8534be2..d9957d9 100644 --- a/lib/httparrot/supervisor.ex +++ b/lib/httparrot/supervisor.ex @@ -1,5 +1,5 @@ defmodule HTTParrot.Supervisor do - use Supervisor.Behaviour + use Supervisor def start_link do :supervisor.start_link({:local, __MODULE__}, __MODULE__, []) diff --git a/mix.exs b/mix.exs index 6609e59..60ea572 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule Httparrot.Mixfile do [ app: :httparrot, version: "0.1.1", name: "HTTParrot", - elixir: "~> 0.13.3", + elixir: "~> 0.14.0", deps: deps ] end @@ -20,7 +20,7 @@ defmodule Httparrot.Mixfile do defp deps do [ {:cowboy, github: "extend/cowboy", tag: "0.9.0"}, - {:jsex, '~> 2.0'}, + {:jsex, "~> 2.0"}, {:meck, github: "eproxus/meck", tag: "0.8.2", only: :test } ] end end