Current section
7 Versions
Jump to
Current section
7 Versions
Compare versions
3
files changed
+10
additions
-2
deletions
| @@ -118,9 +118,14 @@ | |
| 118 118 | {<<"optional">>,false}, |
| 119 119 | {<<"repository">>,<<"hexpm">>}, |
| 120 120 | {<<"requirement">>,<<">= 1.0.0">>}], |
| 121 | + [{<<"app">>,<<"hackney">>}, |
| 122 | + {<<"name">>,<<"hackney">>}, |
| 123 | + {<<"optional">>,false}, |
| 124 | + {<<"repository">>,<<"hexpm">>}, |
| 125 | + {<<"requirement">>,<<"~> 1.6">>}], |
| 121 126 | [{<<"app">>,<<"tesla">>}, |
| 122 127 | {<<"name">>,<<"tesla">>}, |
| 123 128 | {<<"optional">>,false}, |
| 124 129 | {<<"repository">>,<<"hexpm">>}, |
| 125 130 | {<<"requirement">>,<<"~> 0.8">>}]]}. |
| 126 | - {<<"version">>,<<"0.1.0">>}. |
| 131 | + {<<"version">>,<<"0.1.1">>}. |
| @@ -13,6 +13,8 @@ defmodule Voxbone.Connection do | |
| 13 13 | |
| 14 14 | use Tesla |
| 15 15 | |
| 16 | + adapter :hackney |
| 17 | + |
| 16 18 | # Add any middleware here (authentication) |
| 17 19 | plug(Tesla.Middleware.Headers, %{ |
| 18 20 | "User-Agent" => "Elixir", |
| @@ -6,7 +6,7 @@ defmodule Voxbone.MixProject do | |
| 6 6 | def project do |
| 7 7 | [ |
| 8 8 | app: :voxbone, |
| 9 | - version: "0.1.0", |
| 9 | + version: "0.1.1", |
| 10 10 | elixir: "~> 1.6", |
| 11 11 | description: description(), |
| 12 12 | package: package(), |
| @@ -50,6 +50,7 @@ defmodule Voxbone.MixProject do | |
| 50 50 | {:tesla, "~> 0.8"}, |
| 51 51 | {:exvcr, "~> 0.9", only: :test}, |
| 52 52 | {:inch_ex, "~> 0.5", only: [:docs]}, |
| 53 | + {:hackney, "~> 1.6"}, |
| 53 54 | {:ex_doc, ">= 0.0.0", only: [:dev, :test], runtime: false}, |
| 54 55 | {:excoveralls, "~> 0.4", only: [:dev, :test], runtime: false}, |
| 55 56 | {:credo, "~> 0.5", only: [:dev, :test], runtime: false}, |