Commit b3631876 authored by Mikko Ahlroth's avatar Mikko Ahlroth

Fix for Elixir 1.5

Updated deps, biggest is Phoenix to 1.3
parent 4d654d57
......@@ -14,7 +14,7 @@ use Mix.Config
config :code_stats, CodeStats.Endpoint,
http: [port: {:system, "PORT"}],
url: [host: "example.com", port: 80],
cache_static_manifest: "priv/static/manifest.json"
cache_static_manifest: "priv/static/cache_manifest.json"
# Do not print debug messages in production
config :logger, level: :error
......
......@@ -3,8 +3,8 @@ defmodule CodeStats.Mixfile do
def project do
[app: :code_stats,
version: "1.8.3",
elixir: "~> 1.4.5",
version: "1.8.4",
elixir: "~> 1.5",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
build_embedded: Mix.env == :prod,
......@@ -31,20 +31,21 @@ defmodule CodeStats.Mixfile do
# Type `mix help deps` for examples and options.
defp deps do
[
{:phoenix, "~> 1.2.0"},
{:phoenix, "~> 1.3.0"},
{:postgrex, ">= 0.0.0"},
{:phoenix_pubsub, "~> 1.0.1"},
{:phoenix_ecto, "~> 3.2.1"},
{:phoenix_html, "~> 2.9.2"},
{:phoenix_live_reload, "~> 1.0.6", only: :dev},
{:gettext, "~> 0.9"},
{:phoenix_pubsub, "~> 1.0.2"},
{:phoenix_ecto, "~> 3.3.0"},
{:phoenix_html, "~> 2.10.4"},
{:phoenix_live_reload, "~> 1.1.2", only: :dev},
{:gettext, "~> 0.13"},
{:cowboy, "~> 1.0"},
{:comeonin, "~> 3.0.1"},
{:number, "~> 0.5.0"},
{:earmark, "~> 1.2.0", only: :dev},
{:ex_doc, "~> 0.15", only: :dev},
{:calendar, "~> 0.17.2"},
{:bamboo, "~> 0.8.0"},
{:comeonin, "~> 4.0.3"},
{:bcrypt_elixir, "~> 1.0.4"},
{:number, "~> 0.5.4"},
{:earmark, "~> 1.2.3", only: :dev},
{:ex_doc, "~> 0.17", only: :dev},
{:calendar, "~> 0.17.4"},
{:bamboo, "1.0.0-rc.1"},
{:corsica, "~> 1.0.0"}
]
end
......
This diff is collapsed.
defmodule CodeStats.Machine do
use CodeStats.Web, :model
alias Comeonin.Bcrypt
schema "machines" do
field :name, :string
......@@ -50,6 +49,6 @@ defmodule CodeStats.Machine do
end
defp generate_api_salt() do
Bcrypt.gen_salt()
Bcrypt.gen_salt(Application.get_env(:comeonin, :bcrypt_log_rounds))
end
end
......@@ -34,6 +34,12 @@
<h2>Changelog</h2>
<h3>1.8.4 – 2017-10-01 – Updated to Elixir 1.5, bumped deps</h3>
<ul>
<li>So I kind of blew up the thing accidentally while restarting it. Now it is fixed.</li>
</ul>
<h3>1.8.3 – 2017-07-16 – Small fixes</h3>
<ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment