diff --git a/lib/divo/file.ex b/lib/divo/file.ex index aa9dc6b..bd70c07 100644 --- a/lib/divo/file.ex +++ b/lib/divo/file.ex @@ -12,7 +12,7 @@ defmodule Divo.File do pass-through from an existing compose file or the path of the file dynamically created by divo. """ - @spec file_name() :: String.t + @spec file_name() :: String.t() def file_name() do app = Helper.fetch_name() @@ -28,7 +28,7 @@ defmodule Divo.File do and writes a dynamic compose file to a temp directory before returning the path to that temp file. """ - @spec ensure_file(String.t | [tuple()] | map()) :: String.t + @spec ensure_file(String.t() | [tuple()] | map()) :: String.t() def ensure_file(app_config) when is_binary(app_config) do Logger.info("Using : #{app_config}") diff --git a/lib/divo/helper.ex b/lib/divo/helper.ex index 7a41e3b..68fb282 100644 --- a/lib/divo/helper.ex +++ b/lib/divo/helper.ex @@ -18,7 +18,7 @@ defmodule Divo.Helper do exs file that defines the container services to run or the path to the config given an existing compose file. """ - @spec fetch_config() :: map() | String.t | [tuple()] + @spec fetch_config() :: map() | String.t() | [tuple()] def fetch_config() do with {:ok, config} <- Application.fetch_env(fetch_name(), :divo) do config diff --git a/mix.exs b/mix.exs index bc6038f..98f3228 100644 --- a/mix.exs +++ b/mix.exs @@ -26,10 +26,10 @@ defmodule Divo.MixProject do [ {:credo, "~> 1.0", only: [:dev, :test], runtime: false}, {:jason, "~> 1.1"}, - {:placebo, "~> 1.2.1", only: [:dev, :test]}, + {:placebo, "~> 1.2", only: [:dev, :test]}, {:ex_doc, "~> 0.19", only: :dev}, - {:patiently, "~> 0.2.0"}, - {:temporary_env, "~> 2.0.1", only: [:dev, :test]} + {:patiently, "~> 0.2"}, + {:temporary_env, "~> 2.0", only: [:dev, :test]} ] end diff --git a/mix.lock b/mix.lock index 1d5d5db..e7c0560 100644 --- a/mix.lock +++ b/mix.lock @@ -1,7 +1,7 @@ %{ "bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], [], "hexpm"}, - "credo": {:hex, :credo, "1.0.2", "88bc918f215168bf6ce7070610a6173c45c82f32baa08bdfc80bf58df2d103b6", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm"}, - "earmark": {:hex, :earmark, "1.3.1", "73812f447f7a42358d3ba79283cfa3075a7580a3a2ed457616d6517ac3738cb9", [:mix], [], "hexpm"}, + "credo": {:hex, :credo, "1.0.4", "d2214d4cc88c07f54004ffd5a2a27408208841be5eca9f5a72ce9e8e835f7ede", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm"}, + "earmark": {:hex, :earmark, "1.3.2", "b840562ea3d67795ffbb5bd88940b1bed0ed9fa32834915125ea7d02e35888a5", [:mix], [], "hexpm"}, "ex_doc": {:hex, :ex_doc, "0.19.3", "3c7b0f02851f5fc13b040e8e925051452e41248f685e40250d7e40b07b9f8c10", [:mix], [{:earmark, "~> 1.2", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.10", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"}, "jason": {:hex, :jason, "1.1.2", "b03dedea67a99223a2eaf9f1264ce37154564de899fd3d8b9a21b1a6fd64afe7", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm"}, "makeup": {:hex, :makeup, "0.8.0", "9cf32aea71c7fe0a4b2e9246c2c4978f9070257e5c9ce6d4a28ec450a839b55f", [:mix], [{:nimble_parsec, "~> 0.5.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm"},