diff --git a/config/test.exs b/config/test.exs index 7cc64b07..19b4b1ac 100644 --- a/config/test.exs +++ b/config/test.exs @@ -6,16 +6,16 @@ config :paper_trail, repo: PaperTrail.Repo, originator: [name: :user, model: Use config :paper_trail, PaperTrail.Repo, adapter: Ecto.Adapters.Postgres, - username: "postgres", - password: "postgres", + username: System.get_env("POSTGRES_USER"), + password: System.get_env("POSTGRES_PASSWORD"), database: "paper_trail_test", - hostname: "localhost", + hostname: System.get_env("POSTGRES_HOST"), poolsize: 10 config :paper_trail, PaperTrail.UUIDRepo, adapter: Ecto.Adapters.Postgres, - username: "postgres", - password: "postgres", + username: System.get_env("POSTGRES_USER"), + password: System.get_env("POSTGRES_PASSWORD"), database: "paper_trail_uuid_test", - hostname: "localhost", + hostname: System.get_env("POSTGRES_HOST"), poolsize: 10 diff --git a/mix.exs b/mix.exs index cbb0a897..42d4baef 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule PaperTrail.Mixfile do def project do [ app: :paper_trail, - version: "0.7.9", + version: "0.8.0", elixir: "~> 1.6", description: description(), build_embedded: Mix.env() == :prod,