File inch_ex-2.1.0-rc.1-git.patch of Package inch_ex
diff --git a/.tool-versions b/.tool-versions
index 1b33cfe..3561e37 100644
--- a/.tool-versions
+++ b/.tool-versions
@@ -1,2 +1,2 @@
-erlang 21.2.3
-elixir 1.10.0
+erlang 24.1.5
+elixir 1.13.1
diff --git a/config/config.exs b/config/config.exs
index 6dfa82f..8f81a0f 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -1,6 +1,6 @@
# This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
-use Mix.Config
+import Config
# This configuration is loaded before any dependency and is restricted
# to this project. If another project depends on this project, this
diff --git a/lib/inch_ex/application.ex b/lib/inch_ex/application.ex
index d473637..c2f157c 100644
--- a/lib/inch_ex/application.ex
+++ b/lib/inch_ex/application.ex
@@ -2,10 +2,8 @@ defmodule InchEx.Application do
use Application
def start(_type, _args) do
- import Supervisor.Spec, warn: false
-
children = [
- worker(InchEx.UI.Shell, [])
+ InchEx.UI.Shell
]
opts = [strategy: :one_for_one, name: InchEx.Supervisor]
diff --git a/mix.exs b/mix.exs
index f4d76eb..78368db 100644
--- a/mix.exs
+++ b/mix.exs
@@ -23,7 +23,7 @@ defmodule InchEx.Mixfile do
#
# Type `mix help compile.app` for more information
def application do
- [mod: {InchEx.Application, []}, applications: [:bunt, :logger, :inets]]
+ [mod: {InchEx.Application, []}, applications: [:bunt, :logger, :inets, :jason]]
end
# Dependencies can be Hex packages:
@@ -37,9 +37,9 @@ defmodule InchEx.Mixfile do
# Type `mix help deps` for more examples and options
defp deps do
[
- {:jason, "~> 1.0"},
+ {:jason, "~> 1.2"},
{:bunt, "~> 0.2"},
- {:credo, "~> 0.10", only: :dev}
+ {:credo, "~> 1.6", only: :dev}
]
end
end
diff --git a/mix.lock b/mix.lock
index a30025c..a4a33f7 100644
--- a/mix.lock
+++ b/mix.lock
@@ -1,6 +1,6 @@
%{
- "bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], [], "hexpm"},
- "credo": {:hex, :credo, "0.10.0", "66234a95effaf9067edb19fc5d0cd5c6b461ad841baac42467afed96c78e5e9e", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm"},
- "jason": {:hex, :jason, "1.1.1", "d3ccb840dfb06f2f90a6d335b536dd074db748b3e7f5b11ab61d239506585eb2", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm"},
- "poison": {:hex, :poison, "3.0.0", "625ebd64d33ae2e65201c2c14d6c85c27cc8b68f2d0dd37828fde9c6920dd131", [:mix], []},
+ "bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], [], "hexpm", "7af5c7e09fe1d40f76c8e4f9dd2be7cebd83909f31fee7cd0e9eadc567da8353"},
+ "credo": {:hex, :credo, "1.6.1", "7dc76dcdb764a4316c1596804c48eada9fff44bd4b733a91ccbf0c0f368be61e", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2.8", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "698607fb5993720c7e93d2d8e76f2175bba024de964e160e2f7151ef3ab82ac5"},
+ "file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},
+ "jason": {:hex, :jason, "1.3.0", "fa6b82a934feb176263ad2df0dbd91bf633d4a46ebfdffea0c8ae82953714946", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "53fc1f51255390e0ec7e50f9cb41e751c260d065dcba2bf0d08dc51a4002c2ac"},
}