Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/std_json_io.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule StdJsonIo do


def start_link(opts \\ []) do
Supervisor.start_link(__MODULE__, :ok, name: {:local, __MODULE__})
Supervisor.start_link(__MODULE__, :ok, name: __MODULE__)
end

def init(:ok) do
Expand Down
2 changes: 1 addition & 1 deletion lib/std_json_io/reloader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule StdJsonIo.Reloader do
use GenServer

def start_link(mod, files) do
GenServer.start_link(__MODULE__, [mod, files], name: {:local, __MODULE__})
GenServer.start_link(__MODULE__, [mod, files], name: __MODULE__)
end

def init([mod, files]) do
Expand Down
6 changes: 3 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ defmodule StdJsonIo.Mixfile do
maintainers: @maintainers,
description: "Application for managing and communicating with IO servers via JSON",
homepage_url: @url,
docs: docs,
deps: deps]
docs: docs(),
deps: deps()]
end

def application do
Expand All @@ -40,7 +40,7 @@ defmodule StdJsonIo.Mixfile do
[
{:porcelain, "~> 2.0"},
{:poolboy, "~> 1.5.1"},
{:poison, "~> 1.5.0"},
{:poison, "~> 2.2"},
{:fs, "~> 0.9.1"},
]
end
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%{"fs": {:hex, :fs, "0.9.2", "ed17036c26c3f70ac49781ed9220a50c36775c6ca2cf8182d123b6566e49ec59", [:rebar], []},
"poison": {:hex, :poison, "1.5.0", "f2f4f460623a6f154683abae34352525e1d918380267cdbd949a07ba57503248", [:mix], []},
"poison": {:hex, :poison, "2.2.0", "4763b69a8a77bd77d26f477d196428b741261a761257ff1cf92753a0d4d24a63", [:mix], []},
"poolboy": {:hex, :poolboy, "1.5.1", "6b46163901cfd0a1b43d692657ed9d7e599853b3b21b95ae5ae0a777cf9b6ca8", [:rebar], []},
"porcelain": {:hex, :porcelain, "2.0.1", "9c3db2b47d8cf6879c0d9ac79db8657333974a88faff09e856569e00c1b5e119", [:mix], []}}