diff --git a/mix.exs b/mix.exs index b58131f..f7e0b19 100644 --- a/mix.exs +++ b/mix.exs @@ -19,7 +19,7 @@ defmodule Calidrought.Mixfile do def application do [mod: {Calidrought, []}, applications: [:phoenix, :phoenix_pubsub, :cowboy, :logger, :gettext, - :phoenix_ecto, :postgrex]] + :phoenix_ecto, :postgrex, :scrivener_ecto]] end # Specifies which paths to compile per environment. @@ -40,6 +40,7 @@ defmodule Calidrought.Mixfile do {:floki, "~> 0.13.1"}, {:edh_phoenix_swagger, "~> 0.2"}, {:exvcr, "~> 0.8", only: :test}, + {:scrivener_ecto, "~> 1.0"}, {:credo, "~> 0.5.0", only: [:dev, :test]} ] end diff --git a/mix.lock b/mix.lock index 03d7933..b407ed8 100644 --- a/mix.lock +++ b/mix.lock @@ -26,4 +26,6 @@ "poison": {:hex, :poison, "2.2.0", "4763b69a8a77bd77d26f477d196428b741261a761257ff1cf92753a0d4d24a63", [:mix], []}, "poolboy": {:hex, :poolboy, "1.5.1", "6b46163901cfd0a1b43d692657ed9d7e599853b3b21b95ae5ae0a777cf9b6ca8", [:rebar], []}, "postgrex": {:hex, :postgrex, "0.13.0", "e101ab47d0725955c5c8830ae8812412992e02e4bd9db09e17abb0a5d82d09c7", [:mix], [{:connection, "~> 1.0", [hex: :connection, optional: false]}, {:db_connection, "~> 1.1", [hex: :db_connection, optional: false]}, {:decimal, "~> 1.0", [hex: :decimal, optional: false]}]}, - "ranch": {:hex, :ranch, "1.2.1", "a6fb992c10f2187b46ffd17ce398ddf8a54f691b81768f9ef5f461ea7e28c762", [:make], []}} + "ranch": {:hex, :ranch, "1.2.1", "a6fb992c10f2187b46ffd17ce398ddf8a54f691b81768f9ef5f461ea7e28c762", [:make], []}, + "scrivener": {:hex, :scrivener, "2.2.1", "5a84cdfc042e3c318a03f965d8197b8294676a8fff7c4a29e482a90c467ebf19", [:mix], []}, + "scrivener_ecto": {:hex, :scrivener_ecto, "1.1.3", "f5615f67964e43e8c9958263939bc365c4783cac652dc282784bbd32bb14723f", [:mix], [{:ecto, "~> 2.0", [hex: :ecto, optional: false]}, {:postgrex, "~> 0.11.0 or ~> 0.12.0 or ~> 0.13.0", [hex: :postgrex, optional: true]}, {:scrivener, "~> 2.0", [hex: :scrivener, optional: false]}]}}