From 064876db0606da0092bc2c5e95f988ab6cf02708 Mon Sep 17 00:00:00 2001 From: Jamie Winsor Date: Thu, 29 May 2014 14:17:12 -0700 Subject: [PATCH 1/2] update for Elixir 0.13.3 --- lib/httpoison.ex | 2 +- mix.exs | 2 +- test/httpoison_test.exs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/httpoison.ex b/lib/httpoison.ex index add03d1..dec5d04 100644 --- a/lib/httpoison.ex +++ b/lib/httpoison.ex @@ -82,7 +82,7 @@ defmodule HTTPoison.Base do {:ok, id} -> %HTTPoison.AsyncResponse { id: id } {:error, reason} -> - raise HTTPoison.HTTPError[message: to_string(reason)] + raise HTTPoison.HTTPError, message: to_string(reason) end end diff --git a/mix.exs b/mix.exs index 6e16a73..9039f9e 100644 --- a/mix.exs +++ b/mix.exs @@ -8,7 +8,7 @@ defmodule HTTPoison.Mixfile do def project do [ app: :httpoison, version: "0.1.1", - elixir: "~> 0.13.1", + elixir: "~> 0.13.3", name: "HTTPoison", description: @description, package: package, diff --git a/test/httpoison_test.exs b/test/httpoison_test.exs index fee54dd..76dadb9 100644 --- a/test/httpoison_test.exs +++ b/test/httpoison_test.exs @@ -4,6 +4,7 @@ defmodule HTTPoisonTest do setup_all do {:ok, _} = :application.ensure_all_started(:httparrot) + :ok end test "get" do From aa3336a8d04267d2208a8fc7f13812571d0f5262 Mon Sep 17 00:00:00 2001 From: Jamie Winsor Date: Thu, 29 May 2014 14:50:47 -0700 Subject: [PATCH 2/2] bump travis to 0.13.3 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2e14d6f..f12760a 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.1/Precompiled.zip && unzip -qq Precompiled.zip -d vendor/elixir + - wget -q https://github.com/elixir-lang/elixir/releases/download/v0.13.3/Precompiled.zip && unzip -qq Precompiled.zip -d vendor/elixir - export PATH="$PATH:$PWD/vendor/elixir/bin" - export MIX_ENV=test - mix local.hex --force