From 27144987842f5bbcd36ba246a679962ae42caa11 Mon Sep 17 00:00:00 2001 From: Artur Date: Wed, 6 Dec 2017 11:42:33 +0100 Subject: [PATCH 1/3] update httpotion to "~> 3.0" --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 34ab515..3e0e71d 100644 --- a/mix.exs +++ b/mix.exs @@ -23,7 +23,7 @@ defmodule ExFirebase.Mixfile do [ {:ibrowse, github: "cmullaparthi/ibrowse"}, {:exjsx, "~> 3.2"}, - {:httpotion, "~> 2.1"}, + {:httpotion, "~> 3.0"}, {:excoveralls, "~> 0.4", only: :test}, {:exvcr, "~> 0.6", only: :test}, {:mock, github: "parroty/mock", only: :test, branch: "fix"} From 60141b125626054e7a1aa50fe1da97c585974a27 Mon Sep 17 00:00:00 2001 From: Artur Date: Wed, 6 Dec 2017 11:43:57 +0100 Subject: [PATCH 2/3] remove ibrowse from mix file --- mix.exs | 1 - 1 file changed, 1 deletion(-) diff --git a/mix.exs b/mix.exs index 3e0e71d..b4e4ea5 100644 --- a/mix.exs +++ b/mix.exs @@ -21,7 +21,6 @@ defmodule ExFirebase.Mixfile do # { :foobar, "~> 0.1", git: "https://github.com/elixir-lang/foobar.git" } def deps do [ - {:ibrowse, github: "cmullaparthi/ibrowse"}, {:exjsx, "~> 3.2"}, {:httpotion, "~> 3.0"}, {:excoveralls, "~> 0.4", only: :test}, From 0dbe114774c92057ba8dc23768df8fc224a5080c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Pan=CC=83ach?= Date: Wed, 6 Dec 2017 11:52:42 +0100 Subject: [PATCH 3/3] updated Httpotion to version 3, passing tests --- mix.exs | 2 +- mix.lock | 29 ++++++++++++++++------------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/mix.exs b/mix.exs index b4e4ea5..30a44a7 100644 --- a/mix.exs +++ b/mix.exs @@ -24,7 +24,7 @@ defmodule ExFirebase.Mixfile do {:exjsx, "~> 3.2"}, {:httpotion, "~> 3.0"}, {:excoveralls, "~> 0.4", only: :test}, - {:exvcr, "~> 0.6", only: :test}, + {:exvcr, "~> 0.8", only: :test}, {:mock, github: "parroty/mock", only: :test, branch: "fix"} ] end diff --git a/mix.lock b/mix.lock index 51513bf..382d214 100644 --- a/mix.lock +++ b/mix.lock @@ -1,16 +1,19 @@ -%{"certifi": {:hex, :certifi, "0.1.1"}, - "exactor": {:hex, :exactor, "2.2.0"}, - "excoveralls": {:hex, :excoveralls, "0.4.2"}, - "exjsx": {:hex, :exjsx, "3.2.0"}, - "exvcr": {:hex, :exvcr, "0.6.0"}, - "hackney": {:hex, :hackney, "1.4.4"}, +%{"certifi": {:hex, :certifi, "2.0.0", "a0c0e475107135f76b8c1d5bc7efb33cd3815cb3cf3dea7aefdd174dabead064", [], [], "hexpm"}, + "exactor": {:hex, :exactor, "2.2.4", "5efb4ddeb2c48d9a1d7c9b465a6fffdd82300eb9618ece5d34c3334d5d7245b1", [], [], "hexpm"}, + "excoveralls": {:hex, :excoveralls, "0.4.2", "fc444b953b651abfabe8e09c6a0d1210f2f961ff979d7a9a8852d23ca44a006f", [], [{:exjsx, "~> 3.0", [hex: :exjsx, repo: "hexpm", optional: false]}, {:hackney, ">= 0.12.0", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm"}, + "exjsx": {:hex, :exjsx, "3.2.1", "1bc5bf1e4fd249104178f0885030bcd75a4526f4d2a1e976f4b428d347614f0f", [], [{:jsx, "~> 2.8.0", [hex: :jsx, repo: "hexpm", optional: false]}], "hexpm"}, + "exvcr": {:hex, :exvcr, "0.8.11", "76d6f3f93cb764ccb34abca3f54ecdd980a178f908d175e6a326535e0f18e863", [], [{:exactor, "~> 2.2", [hex: :exactor, repo: "hexpm", optional: false]}, {:exjsx, "~> 3.2", [hex: :exjsx, repo: "hexpm", optional: false]}, {:httpoison, "~> 0.11", [hex: :httpoison, repo: "hexpm", optional: true]}, {:httpotion, "~> 3.0", [hex: :httpotion, repo: "hexpm", optional: true]}, {:ibrowse, "~> 4.2.2", [hex: :ibrowse, repo: "hexpm", optional: true]}, {:meck, "~> 0.8.3", [hex: :meck, repo: "hexpm", optional: false]}], "hexpm"}, + "hackney": {:hex, :hackney, "1.10.1", "c38d0ca52ea80254936a32c45bb7eb414e7a96a521b4ce76d00a69753b157f21", [], [{:certifi, "2.0.0", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "5.1.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "1.0.1", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "1.1.1", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}], "hexpm"}, "httpoison": {:hex, :httpoison, "0.7.0"}, - "httpotion": {:hex, :httpotion, "2.1.0"}, - "ibrowse": {:git, "https://github.com/cmullaparthi/ibrowse.git", "fd81d44182507c23445ed720df8c30e2e8da9d9b", []}, - "idna": {:hex, :idna, "1.0.2"}, + "httpotion": {:hex, :httpotion, "3.0.2", "525b9bfeb592c914a61a8ee31fdde3871e1861dfe805f8ee5f711f9f11a93483", [], [{:ibrowse, "~> 4.2", [hex: :ibrowse, repo: "hexpm", optional: false]}], "hexpm"}, + "ibrowse": {:hex, :ibrowse, "4.2.2", "b32b5bafcc77b7277eff030ed32e1acc3f610c64e9f6aea19822abcadf681b4b", [], [], "hexpm"}, + "idna": {:hex, :idna, "5.1.0", "d72b4effeb324ad5da3cab1767cb16b17939004e789d8c0ad5b70f3cea20c89a", [], [{:unicode_util_compat, "0.3.1", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm"}, "jsex": {:hex, :jsex, "2.0.0"}, - "jsx": {:hex, :jsx, "2.6.2"}, - "meck": {:hex, :meck, "0.8.3"}, - "mimerl": {:hex, :mimerl, "1.0.0"}, + "jsx": {:hex, :jsx, "2.8.3", "a05252d381885240744d955fbe3cf810504eb2567164824e19303ea59eef62cf", [], [], "hexpm"}, + "meck": {:hex, :meck, "0.8.9", "64c5c0bd8bcca3a180b44196265c8ed7594e16bcc845d0698ec6b4e577f48188", [], [], "hexpm"}, + "metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [], [], "hexpm"}, + "mimerl": {:hex, :mimerl, "1.0.2", "993f9b0e084083405ed8252b99460c4f0563e41729ab42d9074fd5e52439be88", [], [], "hexpm"}, "mock": {:git, "https://github.com/parroty/mock.git", "33d095a9b028f9f97f6d506ae6b2feb34630fdc5", [branch: "fix"]}, - "ssl_verify_hostname": {:hex, :ssl_verify_hostname, "1.0.5"}} + "ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.1", "28a4d65b7f59893bc2c7de786dec1e1555bd742d336043fe644ae956c3497fbe", [], [], "hexpm"}, + "ssl_verify_hostname": {:hex, :ssl_verify_hostname, "1.0.5"}, + "unicode_util_compat": {:hex, :unicode_util_compat, "0.3.1", "a1f612a7b512638634a603c8f401892afbf99b8ce93a45041f8aaca99cadb85e", [], [], "hexpm"}}