Skip to content

Commit

Permalink
[hotfix] Change :fs initialization for 2.11.0 :fs package
Browse files Browse the repository at this point in the history
We can't release with a non packaged dependency, so we have to conform
to the way :fs is initialized, at 2.11.0.
  • Loading branch information
zorbash committed Dec 10, 2016
1 parent 0736894 commit 2df505e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/kitto/code_reloader.ex
Expand Up @@ -17,8 +17,8 @@ defmodule Kitto.CodeReloader do
@doc false
def init(opts) do
if reload_code? do
Application.ensure_all_started(:fs)
:fs.subscribe
:fs.start_link(:default_fs)
:fs.subscribe(:default_fs)
end

{:ok, %{opts: opts}}
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Expand Up @@ -32,7 +32,7 @@ defmodule Kitto.Mixfile do
[{:cowboy, "~> 1.0.0"},
{:plug, "~> 1.2"},
{:poison, "~> 3.0"},
{:fs, github: "kittoframework/fs", tag: "v1.9-kitto-1"},
{:fs, "~> 2.11.0"},
{:httpoison, "~> 0.10.0"},
{:ex_doc, "~> 0.14", only: :dev},
{:credo, "~> 0.5", only: [:dev, :test]},
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Expand Up @@ -8,7 +8,7 @@
"ex_doc": {:hex, :ex_doc, "0.14.4", "a0a79a6896075814f4bc6802b74ccbed6549f47cc5ab34c71eaee2303170b8ef", [:mix], [{:earmark, "~> 1.0", [hex: :earmark, optional: false]}]},
"excoveralls": {:hex, :excoveralls, "0.5.6", "35a903f6f78619ee7f951448dddfbef094b3a0d8581657afaf66465bc930468e", [:mix], [{:exjsx, "~> 3.0", [hex: :exjsx, optional: false]}, {:hackney, ">= 0.12.0", [hex: :hackney, optional: false]}]},
"exjsx": {:hex, :exjsx, "3.2.0", "7136cc739ace295fc74c378f33699e5145bead4fdc1b4799822d0287489136fb", [:mix], [{:jsx, "~> 2.6.2", [hex: :jsx, optional: false]}]},
"fs": {:git, "https://github.com/kittoframework/fs.git", "17a1b227d9590e0cf92601f1b9690ac3e503095e", [tag: "v1.9-kitto-1"]},
"fs": {:hex, :fs, "2.11.0", "0dc1acc602e19de4075cfdf4cadbbb0a3316b2ee5f292d9f3ed1e26818f23f35", [:mix, :rebar3], []},
"gettext": {:hex, :gettext, "0.11.0"},
"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]}]},
"httpoison": {:hex, :httpoison, "0.10.0", "4727b3a5e57e9a4ff168a3c2883e20f1208103a41bccc4754f15a9366f49b676", [:mix], [{:hackney, "~> 1.6.3", [hex: :hackney, optional: false]}]},
Expand Down

0 comments on commit 2df505e

Please sign in to comment.