From 72632c75a3d73e80a15e7fd7d9e85ece18edb560 Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Wed, 18 Jan 2017 15:15:47 -0800 Subject: [PATCH] Prepare the 1.3.2 release (#187) This address some remaining Elixir 1.4 warnings, tweaks the docs, and updates a few package dependencies. --- mix.exs | 9 ++++----- mix.lock | 4 ++-- test/parser/resolver_test.exs | 1 - test/test_helper.exs | 2 -- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/mix.exs b/mix.exs index 930ce5bc..94a4ec0a 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Thrift.Mixfile do use Mix.Project - @version "1.3.1" + @version "1.3.2" @project_url "https://github.com/pinterest/elixir-thrift" def project do @@ -34,9 +34,8 @@ defmodule Thrift.Mixfile do # Docs name: "Thrift", docs: [ - main: "readme", - extras: ["README.md": [group: "Documents", title: "README"]], - extra_section: "Overview", + main: "README", + extras: ["README.md": [title: "README"]], source_ref: @version, source_url: @project_url]] end @@ -47,7 +46,7 @@ defmodule Thrift.Mixfile do defp deps do [{:ex_doc, "~> 0.14", only: :dev}, - {:excoveralls, "~> 0.5.7", only: [:dev, :test]}, + {:excoveralls, "~> 0.6", only: [:dev, :test]}, {:credo, "~> 0.5", only: [:dev, :test]}, {:dialyxir, "~> 0.4", only: :dev, runtime: false} ] diff --git a/mix.lock b/mix.lock index 165f54f5..4e12ebf7 100644 --- a/mix.lock +++ b/mix.lock @@ -4,9 +4,9 @@ "dialyxir": {:hex, :dialyxir, "0.4.1", "236056d6acd25f740f336756c0f3b5dd6e2f0156074bc15f3b779aeee15390c8", [:mix], []}, "earmark": {:hex, :earmark, "1.0.3", "89bdbaf2aca8bbb5c97d8b3b55c5dd0cff517ecc78d417e87f1d0982e514557b", [:mix], []}, "ex_doc": {:hex, :ex_doc, "0.14.5", "c0433c8117e948404d93ca69411dd575ec6be39b47802e81ca8d91017a0cf83c", [:mix], [{:earmark, "~> 1.0", [hex: :earmark, optional: false]}]}, - "excoveralls": {:hex, :excoveralls, "0.5.7", "5d26e4a7cdf08294217594a1b0643636accc2ad30e984d62f1d166f70629ff50", [], [{:exjsx, "~> 3.0", [hex: :exjsx, optional: false]}, {:hackney, ">= 0.12.0", [hex: :hackney, optional: false]}]}, + "excoveralls": {:hex, :excoveralls, "0.6.1", "9e946b6db84dba592f47632157ecd135a46384b98a430fd16007dc910c70348b", [:mix], [{:exjsx, "~> 3.0", [hex: :exjsx, optional: false]}, {:hackney, ">= 0.12.0", [hex: :hackney, optional: false]}]}, "exjsx": {:hex, :exjsx, "3.2.1", "1bc5bf1e4fd249104178f0885030bcd75a4526f4d2a1e976f4b428d347614f0f", [], [{:jsx, "~> 2.8.0", [hex: :jsx, optional: false]}]}, - "hackney": {:hex, :hackney, "1.6.3", "d489d7ca2d4323e307bedc4bfe684323a7bf773ecfd77938f3ee8074e488e140", [:mix, :rebar3], [{:certifi, "0.7.0", [hex: :certifi, optional: false]}, {:idna, "1.2.0", [hex: :idna, optional: false]}, {:metrics, "1.0.1", [hex: :metrics, optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, optional: false]}, {:ssl_verify_fun, "1.1.1", [hex: :ssl_verify_fun, optional: false]}]}, + "hackney": {:hex, :hackney, "1.6.5", "8c025ee397ac94a184b0743c73b33b96465e85f90a02e210e86df6cbafaa5065", [:rebar3], [{:certifi, "0.7.0", [hex: :certifi, optional: false]}, {:idna, "1.2.0", [hex: :idna, optional: false]}, {:metrics, "1.0.1", [hex: :metrics, optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, optional: false]}, {:ssl_verify_fun, "1.1.1", [hex: :ssl_verify_fun, optional: false]}]}, "idna": {:hex, :idna, "1.2.0", "ac62ee99da068f43c50dc69acf700e03a62a348360126260e87f2b54eced86b2", [], []}, "jsx": {:hex, :jsx, "2.8.1", "1453b4eb3615acb3e2cd0a105d27e6761e2ed2e501ac0b390f5bbec497669846", [:mix, :rebar3], []}, "metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [], []}, diff --git a/test/parser/resolver_test.exs b/test/parser/resolver_test.exs index af2055ae..a81796d5 100644 --- a/test/parser/resolver_test.exs +++ b/test/parser/resolver_test.exs @@ -1,6 +1,5 @@ defmodule ResolverTest do use ExUnit.Case - @thrift_dir "test/fixtures/app/thrift" alias Thrift.Parser.FileGroup alias Thrift.Parser.Models.{ diff --git a/test/test_helper.exs b/test/test_helper.exs index f5a3a186..d825f019 100644 --- a/test/test_helper.exs +++ b/test/test_helper.exs @@ -1,8 +1,6 @@ ExUnit.start() defmodule ThriftTestHelpers do - @root_dir "test/fixtures/thrift/" - defmacro __using__(_) do quote do require ThriftTestHelpers